CN114422468A - Message processing method, device, terminal and storage medium - Google Patents

Message processing method, device, terminal and storage medium Download PDF

Info

Publication number
CN114422468A
CN114422468A CN202011088562.8A CN202011088562A CN114422468A CN 114422468 A CN114422468 A CN 114422468A CN 202011088562 A CN202011088562 A CN 202011088562A CN 114422468 A CN114422468 A CN 114422468A
Authority
CN
China
Prior art keywords
message
session
target
audio data
messages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011088562.8A
Other languages
Chinese (zh)
Inventor
夏胜飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011088562.8A priority Critical patent/CN114422468A/en
Publication of CN114422468A publication Critical patent/CN114422468A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a message processing method, a device, a terminal and a storage medium, wherein the method comprises the following steps: responding to the triggering operation of a session interface aiming at the target session, and displaying a message selection interface; the message selection interface includes: each conversation message is displayed in the conversation interface and is in a to-be-selected state; switching the display states of at least two selected target session messages in the message selection interface from a state to be selected to a selected state according to message selection operation; and if the splicing operation aiming at the at least two target session messages is received, splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation. Therefore, the man-machine interaction mode of social application can be effectively enriched, and the user viscosity is improved.

Description

Message processing method, device, terminal and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a message processing method, a message processing apparatus, a terminal, and a computer storage medium.
Background
With the development of internet technology, social applications are gradually widely used by users; the social Application refers to software (APP) that enables information interaction between users through a network. The social application may establish a target session between the users and display session messages sent by the respective users in the target session in a session interface of the target session. Currently, a social application only supports a user to perform single forwarding or viewing and other conventional operations on a session message in a session interface, and the man-machine interaction mode of the social application is single; based on the above, how to enrich the man-machine interaction mode of the social application to improve the user viscosity becomes a research hotspot.
Disclosure of Invention
The embodiment of the application provides a message processing method, a message processing device, a message processing terminal and a message processing storage medium, which can effectively enrich the man-machine interaction mode of social application and improve the user viscosity.
In one aspect, an embodiment of the present application provides a message processing method, where the method includes:
responding to the triggering operation of a session interface aiming at the target session, and displaying a message selection interface; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state;
switching the display states of at least two selected target session messages in the message selection interface from the to-be-selected state to the selected state according to message selection operation;
and if the splicing operation aiming at the at least two target session messages is detected, splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation.
In another aspect, an embodiment of the present application provides a message processing apparatus, where the apparatus includes:
the display unit is used for responding to the triggering operation of the session interface aiming at the target session and displaying a message selection interface; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state;
the display unit is further used for switching the display states of at least two selected target session messages in the message selection interface from the to-be-selected state to the selected state according to message selection operation;
and the processing unit is used for splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation if the splicing operation aiming at the at least two target session messages is detected.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes an input device and an output device, and the terminal further includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
responding to the triggering operation of a session interface aiming at the target session, and displaying a message selection interface; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state;
switching the display states of at least two selected target session messages in the message selection interface from the to-be-selected state to the selected state according to message selection operation;
and if the splicing operation aiming at the at least two target session messages is detected, splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation.
In yet another aspect, embodiments of the present application provide a computer storage medium having one or more instructions stored thereon, the one or more instructions being adapted to be loaded by a processor and perform the following steps:
responding to the triggering operation of a session interface aiming at the target session, and displaying a message selection interface; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state;
switching the display states of at least two selected target session messages in the message selection interface from the to-be-selected state to the selected state according to message selection operation;
and if the splicing operation aiming at the at least two target session messages is detected, splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation.
The social application in the embodiment of the application can support the user to execute message splicing operation on at least two session messages in the session interface, and effectively enriches the man-machine interaction mode of the social application. Specifically, when the session interface of the target session is triggered, a message selection interface can be displayed, and the display states of at least two selected target session messages are switched from the candidate state to the selected state in the message selection interface. After detecting the splicing operation for at least two target session messages, the at least two target session messages can be spliced into a new session message or a multimedia file according to the operation type of the splicing operation. Therefore, the user can conveniently and uniformly operate and process all target session messages (such as voice playing processing, text viewing processing and the like) subsequently through the new session message or the multimedia file, the operation convenience of the user can be effectively improved, and the viscosity of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a system architecture diagram of a communication session system according to an embodiment of the present application;
fig. 1b is a schematic diagram illustrating an operation principle of a communication session system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a message processing method according to an embodiment of the present application;
fig. 3a is a schematic diagram of message patterns of different session messages according to an embodiment of the present application;
FIG. 3b is a diagram illustrating a display message selection interface according to an embodiment of the present application;
fig. 3c is a schematic diagram illustrating a display state of a handover target session message according to an embodiment of the present application;
FIG. 3d is a diagram of an output operation option window provided by an embodiment of the present application;
fig. 3e is a schematic diagram illustrating a new session message according to an embodiment of the present application;
fig. 3f is a schematic diagram of another embodiment of the present application for displaying a new session message;
FIG. 3g is a diagram illustrating an object option for displaying a forwarding object according to an embodiment of the present application;
FIG. 3h is a diagram illustrating another object option for displaying forwarding objects according to an embodiment of the present application;
fig. 3i is a schematic diagram of another example provided in the present application to display a new session message;
FIG. 3j is a diagram illustrating another example of displaying a storage hint as provided by an embodiment of the present application;
fig. 3k is a schematic diagram of another object option for displaying a shared object according to an embodiment of the present disclosure;
FIG. 3l is a diagram of another example of displaying document information provided by an embodiment of the present application;
FIG. 3m is a schematic diagram of another example of displaying document information provided by an embodiment of the present application;
FIG. 3n is a schematic diagram of another display storage hint provided by an embodiment of the present application;
fig. 3o is a schematic diagram of another object option for displaying a shared object according to an embodiment of the present disclosure;
FIG. 3p is a schematic diagram of another example of displaying document information provided by an embodiment of the present application;
fig. 4 is a flowchart illustrating a message processing method according to another embodiment of the present invention;
fig. 5a is a related diagram of generating a new session message according to an embodiment of the present application;
fig. 5b is a schematic diagram of a trigger message type identifier according to an embodiment of the present application;
fig. 5c is a schematic diagram of triggering a new session message according to an embodiment of the present application;
FIG. 5d is a schematic diagram of generating a virtual audio file according to an embodiment of the present application;
fig. 5e is a schematic structural diagram of a virtual audio file provided in an embodiment of the present application;
FIG. 5f is a schematic diagram of another virtual audio file structure provided in the embodiments of the present application;
FIG. 5g is a schematic view of a setup interface provided by an embodiment of the present application;
FIG. 6a is a schematic flowchart of human-computer interaction provided in an embodiment of the present application;
FIG. 6b is a schematic flowchart of human-computer interaction provided in an embodiment of the present application;
FIG. 6c is a schematic flowchart of human-computer interaction provided in an embodiment of the present application;
fig. 6d is an application scenario diagram of a message processing method according to an embodiment of the present application;
fig. 6e is an application scenario diagram of a message processing method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In an embodiment of the present application, it relates to a communication session system; a communication session, also referred to as a session for short, refers to a conversation in which at least two users exchange and transfer information via some kind of behavior or medium. Referring to fig. 1a, the communication session system may comprise at least: at least two terminals 11 and a server 12; any one of the terminals 11 and the server 12 may communicate with each other through any communication method, such as third Generation Partnership Project (3 GPP), fourth Generation mobile communication technology (4G), fifth Generation mobile communication technology (5G), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on TCP/IP Protocol Suite (TCP/IP), User Datagram Protocol (UDP) protocols, and so on.
The terminal 11 refers to any intelligent device with a communication function and a human-computer interaction function; it may specifically include, but is not limited to: terminal devices such as smart phones, tablet computers, smart televisions, smart cars, wearable devices, laptop computers, and desktop computers. A social application may be installed and run in the terminal 11, where the social application refers to an application that can implement information interaction between users through a network; it may specifically include any of the following applications: instant messaging applications such as WeChat and Tencent QQ, or information exchange applications such as microblog and blog; the instant messaging is a terminal service that allows two or more people to use a network to transmit information such as text, files, voice and the like and communicate audio and video in real time. During the operation of the social application, there can be two operation modes: a foreground operating mode and a background operating mode; the foreground operation mode refers to an operation mode of synchronously displaying application interfaces (such as a session interface, a message list interface, a setting interface and the like) of the social application in a terminal screen in the application operation process; the background running mode refers to a running mode in which the application interface of the social application is not displayed in the terminal screen during the running process of the application. Optionally, other various applications may be run in the terminal 11, such as a video playing application, a music playing application, a shopping application, and so on. The server 12 is a service device that can establish a target session between at least two terminals 11 and provide multiple services, such as a message push service, a data storage service, and the like, for each terminal 11 through the target session; it may be any of the following servers: data processing servers, application servers, and web servers, among others. It should be understood that fig. 1a merely exemplary represents a system architecture of a communication session system and is not intended to be limiting; for example, the server 12 in fig. 1a is an independent service device, but in other embodiments, the server 12 may be deployed as a cluster device formed by multiple service devices, which is not limited in this embodiment of the present application.
In a specific implementation, the operation principle of the communication session system can be collectively referred to as shown in fig. 1 b: first, after receiving a session creation request sent by a terminal, the server 12 may establish a target session between the terminal and at least one other terminal, so that a user corresponding to each terminal is in the target session. When a certain user (user a) in the target session performs a message sending operation, the terminal a (i.e., the terminal corresponding to the user a) may send a session message related to the message sending operation performed by the user a to the server 12. Correspondingly, after receiving the session message sent by the terminal a, the server 12 may push the session message to the terminals used by each user in the target session through the message push service, so that each terminal may display the session message in the session interface of the target session displayed by each terminal after receiving the session message pushed by the server, and further each user may receive and view the session message through the session interface, thereby implementing information interaction between the users. It should be noted that, after receiving the session message pushed by the server, if the current terminal screen displays the session interface of the target session, the terminal can directly display the session message in the session interface. If the session interface of the target session is not displayed in the current terminal screen, the session interface of the target session can be displayed and the session message can be displayed in the session interface after the opening operation of the user for the session interface of the target session is detected.
Based on the communication session system, the embodiment of the present application provides a message processing scheme. The message processing scheme can be executed by the terminal in the communication session system or a social application running in the terminal; for convenience of illustration, the embodiment of the present application takes the case that the terminal executes the message processing scheme as an example. In a specific implementation, the general principle of the message processing scheme is as follows: when any user (such as user B) in the target session has a message splicing requirement, at least two pieces of target session messages can be selected from a plurality of pieces of session messages in a session interface of the target session displayed in the terminal B according to the requirement of the user, and the splicing operation is performed on the at least two pieces of target session messages. Correspondingly, the terminal B can respond to the splicing operation, splice at least two target session messages into a larger new session message (also called a session) according to the operation type of the splicing operation, and display the new session message in the session interface to support the user B to view the new session message; or splicing the message data of at least two target session messages into a multimedia file to support the user B to carry out file export or sharing and other operations on the multimedia file.
Therefore, the message processing scheme provided by the embodiment of the application has the following beneficial effects: by supporting the user to execute message splicing operation on at least two session messages in the session interface, the man-machine interaction mode of social application can be effectively enriched, and thus the user viscosity is improved. In addition, with the difference of the operation types of the splicing operation, new session messages or multimedia files can be generated in a targeted manner, so that the different message splicing requirements of users are met, and the viscosity of the users can be further improved; and the user can conveniently and uniformly operate and process all target session messages (such as voice playing processing, text viewing processing and the like) subsequently through the new session message or the multimedia file, so that the operation convenience of the user is effectively improved.
Based on the above description, an embodiment of the present application provides a message processing method. The message processing method may be executed by the target terminal in the above-mentioned communication session system, or by a social application running in the target terminal; for convenience of explanation, the embodiment of the present application takes the case where any terminal performs the message processing method as an example. The target terminal refers to any terminal in the communication session system. Referring to fig. 2, the message processing method may include the following steps S201 to S203:
s201, responding to the trigger operation of the session interface aiming at the target session, and displaying a message selection interface.
The target session may be any session containing a target user (i.e., a user who logs in a social account in a target terminal); that is, the target session may be a single chat session between the target user and any other user, or a group session between the target user and at least two other users. The session interface of the target session may include a plurality of session messages, which may include, but are not limited to: text messages, voice messages, file messages, image messages, and the like. See fig. 3a for an illustration: the text message is a session message composed of text contents such as characters, expressions and the like; the voice message refers to a conversation message generated according to voice input by a user. The file message refers to a message generated according to file information of a file, where the file information may include, but is not limited to: file name, file download address, file size (i.e., amount of data), etc. The image message refers to a message generated according to an image sent by a user, where the image may be a static image or a dynamic image, and the dynamic image refers to an image in which a dynamic effect is generated by switching images of a plurality of frames of static images at a preset frequency. It should be noted that any session message displayed in the session interface of the target session may be sent by the target user, or may be sent by other users in the target session, which is not limited herein.
When the target user has the message splicing requirement, the triggering operation can be executed on the session interface of the target session; the triggering operation herein may include: triggering an operation of a target element in a session interface of the target session, or inputting an operation of a triggering gesture in a session interface of the target session. Among other things, the target elements in the conversational interface may include, but are not limited to: any session message, splice trigger component or blank area; and the operation of triggering the target element may include any of: click operations, long press operations, voice control operations, and the like. It should be noted that the splicing triggering component mentioned herein may be directly displayed in the session interface, or may be displayed in the session interface after a click operation or a long-press operation for any session message in the session interface is detected, which is not limited herein. The triggering gesture input by the target user in the session interface can be set according to business requirements, such as the gesture "O", and the like. For convenience of illustration, the triggering operation for the session interface is taken as the target user to trigger the operation of the splicing triggering component 30 in the session interface, and the splicing triggering component 30 is displayed in the session interface after the click operation for any session message is detected.
Correspondingly, the target terminal can respond to the triggering operation of the session interface aiming at the target session and display a message selection interface; the message selection interface may include at least: and each conversation message is displayed in the conversation interface and is in a candidate state. In one embodiment, the target terminal may directly switch from the session interface of the target session to the message selection interface in response to a trigger operation of the session interface for the target session, as shown in fig. 3 b. In another embodiment, the target terminal may also respond to a trigger operation of a session interface for the target session, and display a message selection interface on an upper layer of the session interface for the target session; in this embodiment, the interface size of the message selection interface may be less than or equal to the interface size of the conversation interface. When the interface size of the message selection interface is equal to the interface size of the conversation interface, the message selection interface can be a cover layer interface, the so-called cover layer refers to a layer of transparent view positioned above the conversation interface, and the transparency of the cover layer can be set according to the actual service requirement.
It should be noted that fig. 3b is a schematic display diagram for exemplarily representing the message selection interface, and is not limited thereto. For example, in fig. 3b, the corresponding session message is characterized as being in the candidate state by displaying an unchecked small circle near each session message; in other embodiments, however, an unchecked small box may be displayed near each conversation message to represent that the corresponding conversation message is in the candidate state; alternatively, it may also be characterized that each session message is in a candidate state by performing a graying process (i.e., a process of displaying the session message in gray) on each session message, and so on.
S202, switching the display states of at least two selected target session messages in the message selection interface from a state to be selected to a selected state according to the message selection operation.
After the message selection interface is displayed, the target user can input message selection operation in the message selection interface according to self requirements so as to select at least two target conversation messages. It should be noted that each item mark session message selected by the target user may be a session message of the same type; for example, if the target user selects a total of 5 items of the conversation-tagged messages, then the 5 items of the conversation-tagged messages are all voice messages or all text messages, and so on. Or, each item mark session message selected by the target user can be different types of session messages; for example, still assuming that the target user has selected a total of 5 items of the conversation-tagged message, then there may be 4 items of the conversation-tagged message as a voice message, 1 item of the conversation-tagged message as a text message, and so on. It should be noted that the message sender of any target conversation message may be the target user himself, or may be another user in the target conversation other than the target user, which is not limited to this.
Correspondingly, the target terminal can switch the display states of at least two selected target session messages in the message selection interface from the state to be selected to the selected state according to the message selection operation. For example, the message selection interface shown in fig. 3b is accepted, and it is assumed that the target user selects 5 items of tagged session messages in total, and each item of tagged session message is a voice message; then, the target terminal may perform a checking process on the small circle in front of the selected entry session message according to the message selection operation to represent that the entry session message is in the selected state, as shown in fig. 3 c.
S203, if a splicing operation for at least two target session messages is received, splicing the at least two target session messages into a new session message or a multimedia file according to an operation type of the splicing operation.
After the target user selects at least two target session messages, the target user can perform splicing operation on the at least two target session messages, and the operation type of the splicing operation can be a first operation type or a second operation type. Wherein, the first operation type is: an operation type for instructing the target terminal to splice at least two target session messages into a new session message; the second operation type is: an operation type for instructing the target terminal to splice message data of at least two target session messages into one multimedia file. In one embodiment, different splicing gestures can be set in advance for different operation types, so that a target user can input corresponding splicing gestures to realize the input of splicing operation; for example, gesture "M" may be set as a stitching gesture corresponding to a first operation type, gesture "N" may be set as a stitching gesture corresponding to a second operation type, and so on. Then, in this embodiment, the stitching operation may include an operation of entering a target stitching gesture (e.g., gesture "M" or "N") in the message selection interface.
In another embodiment, the target terminal may provide at least a first operation option corresponding to the first operation type and a second operation option corresponding to the second operation type for the target user, so that the target user may implement the input of the splicing operation by selecting the corresponding operation options. Specifically, the message selection interface further includes an operation option entry 31; therefore, the target user may perform a triggering operation (e.g., a clicking operation, a pressing operation, etc.) on the operation option entry 31 to trigger the target terminal to output and display operation options corresponding to different operation types. Correspondingly, when the operation option inlet 31 is triggered, the target terminal can output an operation option window 32; the operation option window 32 includes at least: a first operation option 321 corresponding to the first operation type, and a second operation option 322 corresponding to the second operation type. Specifically, the target terminal may directly output the operation option window 32 in the message selection interface, as shown in fig. 3 d; or may switch from the message selection interface to a new interface and output the operation selection window 32 in the new interface, which is not limited in this regard; for convenience of illustration, the operation option window 32 is output directly in the message selection interface. After the operation option window 32 is output, the target user can input splicing operation for at least two target session messages in the operation option window 32; accordingly, the target terminal may obtain a splicing operation for at least two target session messages in the operation option window 32. Then in this embodiment the splicing operation may comprise an operation of selecting the first operation option or an operation of selecting the second operation option.
Correspondingly, if the target terminal receives the splicing operation aiming at the at least two target session messages, the at least two target session messages can be spliced into a new session message or a multimedia file according to the operation type of the splicing operation. Specifically, if the operation type of the splicing operation is the first operation type, at least two pieces of target session messages may be added to one message structure to obtain a new session message. In this embodiment, the new session message is a session message with an independent message structure; that is, the new session message and each entry tag session message are independent of each other. If the operation type of the splicing operation is the second operation type, a multimedia file can be generated according to the message data of at least two target session messages. Specifically, message data of at least two target session messages can be written into a file structure to obtain a multimedia file; or writing the message data of at least two target session messages into the initial file to obtain a multimedia file; the initial file may be a blank file or a file containing predetermined content, which is not limited herein. For convenience of illustration, the following description will take an example of writing the message data of at least two target session messages into an initial file to obtain a multimedia file. In this embodiment, when the target session message is a voice message, the message data thereof is the message audio data corresponding to the voice message; correspondingly, the multimedia file is an audio file obtained by uniformly writing the audio data of each message into an initial file. When the target session message is a text message, the corresponding message data is the text content corresponding to the text message; correspondingly, the multimedia file is a text file obtained by uniformly writing each text content into an initial file.
Optionally, after obtaining the new session message or the multimedia file, the target terminal may further perform corresponding service processing on the new session message or the multimedia file, which may be specifically described in the following description:
after obtaining a new session message:
in one particular implementation, the target terminal may support displaying the new session message 33 directly in the session interface of the target session. Specifically, the target terminal may replace the display message selection interface with a session interface, and display a new session message 33 in the session interface; alternatively, the target terminal may switch from the message selection interface to the conversation interface and display a new conversation message 33 in the conversation interface. Before displaying a new session message 33 in a session interface, a target terminal needs to send a message sending request carrying the new session message 33 to a server to request the server to push the new session message 33 to each user in a target session; accordingly, the server may add the new session message 33 to the server-side message database in response to the message transmission request to update the server-side message database, and push the new session message 33 to the terminal used by each user in the target session. When the target terminal receives the new session message 33 pushed by the server, the step of displaying the new session message 33 in the session interface can be executed.
Moreover, when the target terminal displays a new session message 33 in the session interface, the target terminal can directly display the new session message 33 in the session interface; taking the splicing operation including the operation of selecting the first operation option in the operation option window shown in fig. 3d as an example, a schematic diagram of the target terminal displaying the new session message 33 can be seen in fig. 3 e. Alternatively, the target terminal may replace and display the selected items of the session-marking message with the new session message 33; still taking the operation of splicing operation including selecting the first operation option in the operation option window shown in fig. 3d as an example, the schematic diagram of the target terminal displaying the new session message 33 can be seen in fig. 3 f. Optionally, the target terminal may also display the message type identifier 34 of the new session message in the session interface; by displaying the message type identifier 34, the user can be visually prompted that the new session message is obtained by splicing at least two target session messages.
In another specific implementation, the target terminal may further support the target user to perform a message forwarding operation on the new session message; with this particular implementation, the target terminal may output a message forwarding window 35 for the new session message and display an object option 36 for at least one forwarding object for the new session message in the message forwarding window 35. Among these, forwarding objects may include, but are not limited to: a single chat session, a group chat session, or an associated terminal associated with a target terminal; the associated terminal is a terminal that has the same social account number as the target terminal, and if the target terminal is a smart phone that has a social account number "12345" logged in, the associated terminal may be a computer that has a social account number "12345" logged in. The message forwarding window 35 may be displayed on the message selection interface, may also be displayed on the session interface, and may also be displayed on other interfaces besides the message selection interface and the session interface, which is not limited to this; still taking the example that the splicing operation includes an operation of selecting a first operation option in the operation option window shown in fig. 3d and outputting the message forwarding window 35 on the message selection interface as an example, a schematic diagram of the target terminal displaying the object option 36 of each forwarding object in the message forwarding window 35 may be shown in fig. 3 g. By displaying the object option 36 of at least one forwarding object, the target user may be facilitated to select the target forwarding object to receive the new session message by selecting the target object option, thereby enabling forwarding of the new session message to the target forwarding object.
It should be noted that, the above-mentioned fig. 3 e-fig. 3g are all exemplified by taking the splicing operation as an operation of selecting the first operation option; when the splicing operation includes an operation of inputting a target splicing gesture (e.g., gesture "M") corresponding to the first operation type in the message selection interface, related schematic diagrams related thereto can also be shown in fig. 3 h-3 i.
(II) after obtaining the multimedia file:
in one specific implementation, the target terminal may support direct default storage of multimedia file exports into the local space of the target terminal; in this specific implementation, after the target terminal successfully stores the multimedia file, the target terminal may further output a storage prompt 37, where the storage prompt 37 is used to prompt that the multimedia file has been successfully stored in the local space of the target terminal. Specifically, the target terminal may directly output the storage prompt 37 in the message selection interface; or may switch from the message selection interface to the conversation interface and output the storage hint 37 in the conversation interface. Taking the operation of splicing operation including selecting the second operation option in the operation option window shown in fig. 3d as an example, a schematic diagram of outputting the storage prompt 37 in the session interface can be seen in fig. 3 j.
In another specific implementation, the target terminal may also support the target user to perform a file forwarding operation or a file exporting operation on the multimedia file according to the self-requirement; in this particular implementation, the target terminal may output a file sharing window 38 related to the multimedia file; and in the file sharing window 38, an object option 39 is displayed for at least one sharing object of the multimedia file. The sharing object may include, but is not limited to: a single chat session, a group chat session, a target terminal, or an associated terminal associated with the target terminal. The file sharing window 38 may be displayed on the message selection interface, may be displayed on the conversation interface, or may be displayed on an interface other than the message selection interface and the conversation interface, which is not limited in this respect. Still taking the splicing operation including the operation of selecting the second operation option in the operation option window shown in fig. 3d as an example, and setting the message selection interface to output the file sharing window 38, a schematic diagram of displaying the object option 39 of each forwarding object in the file sharing window 38 may be shown in fig. 3 k.
By displaying the object option 39 of at least one sharing object, the target user can select the target sharing object for receiving the multimedia file by selecting the target object option; correspondingly, if the target terminal detects an object selection operation in the file sharing window 38, a target object option can be selected according to the object selection operation; then sending the multimedia file to a target sharing object corresponding to the target object option, and outputting a sharing result prompt about the multimedia file; the sharing result prompt is used for prompting success or failure of sharing the multimedia file with the target sharing object. Therefore, when the target object is the target terminal, the multimedia file can be exported to the local space of the target terminal for storage; when the target object is other session or associated terminal, the multimedia file can be sent to other session or associated terminal.
In another specific implementation, the target terminal may further support displaying the file message of the multimedia file directly in a session interface of the target session. Specifically, the target terminal can be switched to a session interface from a message selection interface; then, a file message of the multimedia file is displayed in the session interface. Before displaying the file message of the multimedia file in the session interface, the target terminal needs to send a message sending request carrying the multimedia file to the server first so as to request the server to push the file message of the multimedia file to each user in the target session; accordingly, the server may push the file message to the terminals used by the respective users in the target session in response to the message transmission request. And when the target terminal receives the file message pushed by the server, the step of displaying the file message of the multimedia file in the session interface can be executed. When the target terminal displays the file message of the multimedia file in the session interface, the target terminal can directly display the file message of the multimedia file in the session interface; still taking the operation of splicing operation including selecting the second operation option in the operation option window shown in fig. 3d as an example, a schematic diagram of displaying the file message can be seen in fig. 3 l. Alternatively, the target terminal may display the selected items of the session message instead of the file message of the multimedia file, as shown in fig. 3 m.
It should be noted that, the above-mentioned fig. 3j to 3m are all exemplified by using the splicing operation as the operation of selecting the second operation option; when the splicing operation includes an operation of inputting a target splicing gesture (e.g., gesture "M") corresponding to the second operation type in the message selection interface, related schematic diagrams related thereto are also shown in fig. 3 n-3 p.
The social application in the embodiment of the application can support the user to execute message splicing operation on at least two session messages in the session interface, and effectively enriches the man-machine interaction mode of the social application. Specifically, when the session interface of the target session is triggered, a message selection interface can be displayed, and the display states of at least two selected target session messages are switched from the candidate state to the selected state in the message selection interface. After detecting the splicing operation for at least two target session messages, the at least two target session messages can be spliced into a new session message or a multimedia file according to the operation type of the splicing operation. Therefore, the user can conveniently and uniformly operate and process all target session messages (such as voice playing processing, text viewing processing and the like) subsequently through the new session message or the multimedia file, the operation convenience of the user can be effectively improved, and the viscosity of the user is improved.
Please refer to fig. 4, which is a flowchart illustrating another message processing method according to an embodiment of the present application. The message processing method may be executed by the target terminal in the above-mentioned communication session system, or by a social application running in the target terminal; for convenience of explanation, the embodiment of the present application takes the target terminal executing the message processing method as an example for explanation. In addition, the embodiment of the present application mainly takes the example that the target user selects the corresponding operation option to implement the input of the splicing operation. Referring to fig. 4, the message processing method may include the following steps S401 to S406:
s401, responding to the trigger operation of a session interface aiming at the target session, and displaying a message selection interface; the message selection interface includes at least: and operating the option entries and all the session messages displayed in the session interface, wherein all the session messages are in a to-be-selected state.
S402, switching the display states of at least two selected target session messages in the message selection interface from a state to be selected to a selected state according to the message selection operation.
In a specific implementation, the specific implementation of steps S401 to S402 may refer to the related description of steps S201 to S202 in the above application embodiment, and is not described herein again. When the target user selects the target session message, the triggering operation can be executed on the operation option entry in the message selection interface to trigger the target terminal to execute the subsequent steps S403-S406.
S403, when the operation option entrance is triggered, outputting an operation option window; the operation option window may include at least: the first operation option corresponding to the first operation type and the second operation option corresponding to the second operation type.
S404, acquiring splicing operation aiming at least two target session messages in an operation option window; the splicing operation includes: an operation of selecting the first operation option, or an operation of selecting the second operation option.
S405, if the operation type of the splicing operation is the first operation type, adding at least two target session messages into a message structure body to obtain a new session message.
In a specific implementation process, the target terminal may invoke the splicing message generator to sequentially add at least two pieces of target session messages to one message structure according to a descending order of the timestamps of the entry tagging session messages (i.e., a display order of the target session messages in the session interface), so as to obtain a new session message. The function of the spliced message generator is to splice a series of target session messages into a new session message; the work flow can be seen in the left diagram of fig. 5 a:
firstly, traversing each item session marking message to count the data volume of each item session marking message; when the target session message is a voice message, the corresponding data volume is the voice playing duration corresponding to the voice message; when the target session message is a text message, the corresponding data amount is the number of characters corresponding to the text message, and so on. Secondly, a message structure body can be constructed; the basic structure of the message structure body can be collectively shown in the right diagram of fig. 5a, and may specifically include, but is not limited to, the following fields: an Identification (ID) field, a type (type) field, a content (content) field, a uniform resource locator (url) field, a file path (filePath) field, a data volume (duration) field, and a sub message list (array) field. When all the target session messages are voice messages, the value of the type field is aggregated-audio enumeration, namely the audio type of each voice message; the value of the duration field is the total data volume, namely the sum of the voice playing time lengths corresponding to the voice messages; the value of the array field is used for splicing each entry of the new session message to mark the session message. Then, the data amount corresponding to each entry session marking message may be summed, and the summed total data amount is filled into the message structure, and each entry session marking message is added to the message structure, so as to obtain a new session message.
It should be understood that the embodiment of the present application only exemplarily represents a specific structure of the message structure by using the right diagram in fig. 5a, and is not limited thereto. For example, in other embodiments, the field names and the sequence in the message structure may all be transformed according to the business requirements; moreover, the message structure body can also comprise a timestamp field, an account number field and the like; wherein the timestamp field stores a timestamp indicating a generation time of the new session message; the account field is used to store the social account of the message sender (i.e., the target user) of the new conversation message, as well as the social account of the message recipient (the respective user in the target conversation). As another example, the message structure may not be applicable to a specific object (i.e., not using the structure shown in the right diagram of fig. 5 a), but may be implemented using a dictionary structure, and so on.
It should be noted that, if each entry tagged session message is a session message of the same type, the target terminal may directly invoke the concatenation message generator to add each entry tagged session message to one message structure, so as to obtain a new session message. For example, if all the entry mark session messages are voice messages, the spliced message generator can be directly called to add all the voice messages into a message structure body, and a voice message with longer voice playing time is obtained and used as a new session message; for another example, if all the entry mark conversation messages are text messages, the concatenation message generator can be directly called to add all the text messages to a message structure, and a text message with more characters is obtained as a new conversation message, and so on.
If the entry tagged session messages are session messages of different types, the target terminal can firstly perform type conversion processing on the entry tagged session messages so as to convert the entry tagged session messages into session messages of the same type, and then call the spliced message generator to add the converted entry tagged session messages into a message structure body to obtain new session messages. And in this case, the data amount corresponding to the target session message refers to: and after the type conversion processing is carried out on the target session message, the data volume corresponding to the converted target session message is obtained. For example, if there are 4 pieces of tagged session messages as voice messages and there are 1 piece of tagged session messages as Text messages, the 1 piece of Text messages can be converted into voice messages by using TTS (Text To Speech) technology, and then the spliced message generator is called To add the converted voice messages and the other 4 pieces of voice messages into a message structure To obtain a voice message with longer voice duration as a new session message; the data amount corresponding to the 1 text message is: and performing type conversion processing on the text message to obtain a voice playing time length corresponding to the voice message. Or, the 4 voice messages are converted into text messages by adopting an ASR technology, and then the text messages obtained by conversion and the other 1 text message are added into a message structure by calling a splicing message generator to obtain a text message with more text contents as a new conversation message; and, the data volume corresponding to each voice message means: the number of characters corresponding to the text message obtained by performing type conversion processing on the voice message, and the like.
As can be seen from the foregoing, when the operation type of the splicing operation is the first operation type, the target terminal may further output at least one of the following contents after obtaining the new session message: a new session message, a message type identification of the new session message, or an object option for at least one forwarding object of the new session message, etc. In this case, the schematic diagram of the target terminal outputting each content can be seen in fig. 3e to 3g mentioned in the above application embodiment, and is not described herein again.
In an optional implementation manner, after the target terminal displays the message type identifier of the new session message in the session interface; because the message structure body of the new session message comprises the sub-message list field, and the sub-message list field comprises each target session message, the target user can also cause the target terminal to display each entry tagged session message by triggering the message type identifier. Correspondingly, if the message type identifier is triggered, the target terminal may output a message display window 51; and sequentially displays the entry mark conversation messages in the message display window 51 according to the display sequence of the entry mark conversation messages in the conversation interface. When the target terminal displays the message display window 51, the message display window 51 can be directly displayed on the session interface; it is also possible to switch from the conversation interface to the sub-message interface and display the message display window 51 in the sub-message interface, as shown in fig. 5 b.
In another optional implementation, if each target session message has a corresponding message audio data, and the new session message is a voice message, the target user may further trigger the new session message to enable the target terminal to play the message audio data corresponding to each entry of the tagged session message; correspondingly, if the new session message is triggered, the target terminal may play the message audio data corresponding to each entry marked session message in sequence, as shown in fig. 5 c. In the specific implementation process, after detecting that a new session message is triggered, the target terminal may implement the playing of audio data by using the following specific implementation manners:
in a specific implementation, the target terminal may play each message audio data in sequence by directly decoding each message audio data one by one and playing each message audio data one by one. Specifically, if a new session message is triggered, the message audio data corresponding to each entry mark session message may be sequentially played according to the display order of each target session message in the session interface.
In another specific implementation, the target terminal may also play each message audio data in sequence by way of a virtual audio file. Specifically, if the new session message is triggered, the virtual audio file corresponding to the new session message may be acquired; the virtual audio file is generated by sequentially adding the audio track corresponding to each entry mark conversation message to the virtual audio track according to the display sequence of each entry mark conversation message in the conversation interface, wherein the audio track refers to a track for carrying message audio data. Message audio data corresponding to each entry markup conversation message can then be played in sequence based on the virtual audio track in the virtual audio file. It should be noted that the virtual audio file may be generated by the target terminal in real time after detecting that the new session message is triggered, or may be generated by the target terminal in advance before detecting that the new session message is triggered, which is not limited in this respect.
Specifically, the target terminal may generate a virtual audio file by calling a virtual audio generator; referring to fig. 5d, the target terminal may input each entry tagging conversation message into the virtual audio generator, so that the virtual audio generator may generate a virtual audio track first, and traverse each entry tagging conversation message to obtain a corresponding audio track from a message file corresponding to each entry tagging conversation message; then, the virtual audio generator may add the audio track corresponding to each acquired target conversation message to the virtual audio track, and generate a virtual audio file by using the virtual audio track to which the audio track corresponding to each target conversation message is added. Taking the example that the virtual audio file is generated by combining the audio tracks corresponding to the 4-item markup conversation messages, the schematic structural diagram of the virtual audio file can be seen in fig. 5 e. Optionally, the user may further set whether a fixed interval time exists between the audio tracks corresponding to two adjacent target conversation messages, or whether a specific special effect audio data is inserted as a partition, so that the user can better distinguish the message audio data corresponding to each item of the target conversation message in the process of listening to the audio data. Taking the example that special effect audio data is inserted between the audio tracks corresponding to two adjacent target conversation messages, and the special effect audio data is short audio data with the duration of 0.3 second, a structural schematic diagram of the virtual audio file in this case can be further shown in fig. 5 f. Optionally, the target user may also set a splicing permission for the session message sent by the target user through the setting interface shown in fig. 5 g; for example, it is set that only the target user has the right to splice a plurality of session messages sent by the target user into a multimedia file or a new session message, or it can be set that each user in the target session has the right to splice the session messages sent by the target user.
It should be noted that when the target terminal sequentially plays the message audio data corresponding to each entry mark session message, each message audio data can be directly played according to the original volume of the message audio data corresponding to each target session message. Or, the self-adaptive adjustment volume of the message audio data corresponding to the item mark conversation message can be adopted in sequence to play the message audio data; the adaptive adjustment volume of any message audio data is obtained by adaptively adjusting the maximum audio amplitude of the message audio data corresponding to each entry mark conversation message. In this embodiment, by adaptively adjusting the volume of each message audio data, the listening experience of the user can be effectively prevented from being influenced by different volumes of different message audio data, and the viscosity of the user can be effectively improved.
Or, the volume of the audio data with fixed audio length at the beginning and the end of each message audio data can be automatically changed, so as to improve the smoothness of the volume between the message audio data and avoid the jump of the volume when playing the message audio data, thereby influencing the listening experience of the user. In this embodiment, the message audio data corresponding to any target session message at least includes: the audio data comprises initial audio data of initial playing time length and ending audio data of ending playing time length; the total duration between the starting playing duration and the ending playing duration is less than or equal to the total playing duration of the message audio data corresponding to any target session message; and the starting playing time length and the ending playing time length can be set according to experience values, for example, 0.1 second is set as the starting playing time length and the ending playing time length. Correspondingly, the playing mode of the message audio data corresponding to any target session message comprises the following steps: playing the initial audio data according to a playing principle that the volume value is linearly increased from the first volume value to the second volume value; and end audio data is played according to a playback principle that linearly decreases from the second volume value to the first volume value. Here, the first volume value and the second volume value can be set according to empirical values, for example, the first volume value is set to 0, and the second volume value is set to 1; then for the message audio data corresponding to any target conversation message, the volume of the audio data of the beginning 0.1 second thereof may be linearly increased from 0 to 1, and the volume of the audio data of the end 0.1 second thereof may be linearly decreased from 1 to 0.
Further, a session interface of the target session is displayed when the social application is in a foreground running mode; if the screen locking operation or the operation mode of the social application is detected to be switched from the foreground operation mode to the background operation mode in the playing process of the current message audio data, the target terminal can also continue to play the data which are not played in the current message audio data and display the remaining message audio data sequentially behind the current message audio data in the music playing mode. Wherein, the current message audio data refers to: and when the screen locking operation or the operation mode of the social application is detected to be switched from the foreground operation mode to the background operation mode, the message audio data in the playing state. By setting the playing mode of the message audio data to a music playing mode, a target user can also completely listen to the message audio data corresponding to each target conversation message under the condition of screen locking or under the condition of switching the social application to a background for running; and when audio playing is carried out under the condition of screen locking, the target terminal is not required to be always in a bright screen state, and the electric quantity can be effectively saved.
S406, if the operation type of the splicing operation is the second operation type, generating a multimedia file according to the message data of at least two target session messages.
Specifically, the message data of at least two target session messages can be written into an initial file to obtain a multimedia file. It should be noted that, if each entry tagged session message is a session message of the same type, the target terminal may directly write the message data of each entry tagged session message into an initial file to obtain the multimedia file. For example, if each entry tag conversation message is a voice message, the message data of the target conversation message is the message audio data corresponding to the voice message; then, the message audio data of each voice message can be directly decoded in sequence, and the decoded data corresponding to each message audio data is added to an initial file (such as a blank file) by adopting a uniform compression format, so as to obtain an audio file as a multimedia file. Or, the audio track corresponding to each entry mark conversation message may be added to the virtual audio track to generate a virtual audio file, and then the virtual audio file is written into an initial file (such as a blank file) to obtain a real audio file as the multimedia file. If the entry mark session messages are text messages, the message data of the target session message is the text content corresponding to the text message; the text content of each text message may be directly added to an initial file (e.g., a blank file), resulting in a text file as the multimedia file, and so on.
If the entry mark conversation messages are different types of conversation messages, the target terminal can acquire target data of the entry mark conversation messages under a preset data type (such as an audio data type, a text data type and the like) according to the message data of the entry mark conversation messages, and then add the acquired target data of the entry mark conversation messages under the preset data type into an initial file to obtain a multimedia file. For example, the preset data type is set as an audio data type; if there are 4 pieces of tagged session messages as voice messages and 1 piece of tagged session messages as Text messages, a TTS (Text To Speech) technology can be adopted To obtain message audio data of the Text messages under the audio data type according To the Text content corresponding To the 1 piece of Text messages, and then the obtained message audio data and the message audio data corresponding To the other 4 pieces of voice messages are added into an initial file To obtain a multimedia file. Or, the ASR technology is first adopted to obtain the text content of each voice message in the text data type according to the message audio data corresponding to the 4 voice messages, and then the obtained 4 text contents and the text contents corresponding to the other 1 text message are added to an initial file to obtain a multimedia file, and so on.
As can be seen from the foregoing, when the operation type of the splicing operation is the second operation type, the target terminal may further output at least one of the following contents after obtaining the multimedia file: a file message of the multimedia file, or an object option of at least one shared object with respect to the multimedia file, etc. In this case, the schematic diagram of the target terminal outputting each content can be seen in fig. 3j to 3m mentioned in the above application embodiment, and is not described herein again.
The social application in the embodiment of the application can support the user to execute message splicing operation on at least two session messages in the session interface, and effectively enriches the man-machine interaction mode of the social application. Specifically, when the session interface of the target session is triggered, a message selection interface can be displayed, and the display states of at least two selected target session messages are switched from the candidate state to the selected state in the message selection interface. After detecting the splicing operation for at least two target session messages, the at least two target session messages can be spliced into a new session message or a multimedia file according to the operation type of the splicing operation. Therefore, the user can conveniently and uniformly operate and process all target session messages (such as voice playing processing, text viewing processing and the like) subsequently through the new session message or the multimedia file, the operation convenience of the user can be effectively improved, and the viscosity of the user is improved.
In practical applications, the above-mentioned message processing method can be applied to various application scenarios, such as a scenario in which a teacher uses a plurality of voice messages to perform lectures in a target session, a scenario in which a company leader uses a plurality of voice messages to perform a meeting in a target session, a scenario in which any user uses a plurality of text messages to perform event notification in a target session, and the like. The following explains a specific application process of the message processing method by taking a part of scenes as an example:
the teacher adopts a plurality of voice messages to carry out lecture scenes in the target session:
in this scenario, a teacher may send a plurality of voice messages about learning content in real time in a target session according to a teaching progress during a course, so that students in the target session may acquire the learning content by playing each voice message one by one. After a class is given, a teacher may want to splice all voice messages sent during class speaking into a complete voice message or synthesize a multimedia file for export or distribution; alternatively, any student may want to splice all voice messages into a complete voice message for subsequent playback. In this case, a user (e.g., a teacher or a student) may trigger a conversation interface of the target conversation so that the terminal may output a message selection interface; then, the user can select a plurality of voice messages to be spliced through the message selection interface, and the terminal is triggered to output an operation option window so as to select a corresponding operation option in the operation option window according to the requirement of the user.
If the user selects the first operation option (for example, "concatenate to a message"), the terminal may generate a new session message (i.e., a new voice message) according to the plurality of voice messages, and display the new session message in the session interface of the target session, so that the user may perform operations such as complete voice playing, progress drag and drop, and play speed adjustment on the new session message. Specifically, refer to fig. 6 a: after the user selects the first operation option, the terminal can call the splicing message generator to add each voice message into a message structure body to obtain a new session message; the new session message may then be sent to the server to update the server-side message database. Correspondingly, after receiving the new session message, the server may write the new session message into the message database to update the message database, and push the new session message to each user in the target session. After receiving the new session message pushed by the server, the terminal may display the new session message in a session interface of the target session. The message database may be sqlite (a lightweight database), and the fields used for writing new session messages in the message database may be substantially the same as the fields of the message structure; what is different is that the value of the field of the sub-message list used in the message database is a character string formed by splicing the message IDs of the target session messages (i.e. the selected voice messages) by semicolons, such as: xxx; xxxx; xxxx. Optionally, the field used for writing the new session message in the message database may also be different from the field of the message structure; alternatively, the message database may be another type of database; or directly write the new session message to a file, not using a message database, etc.
After displaying the new conversation message, the user may trigger the new conversation message to cause the terminal to play the message audio data of each voice message. Specifically, see fig. 6b for details: after the user clicks on a new session message, the terminal may first detect whether a virtual audio file has been generated. If not, the virtual audio generator can be called to generate a virtual audio file according to the message audio data of each voice message, and then the message audio data of each voice message is played according to the virtual audio file; if the voice message is generated, the message audio data of each voice message can be directly played according to the virtual audio file. In the process of playing the message audio data of each voice message, the user can also adjust the playing progress and the playing speed according to the self requirement; in addition, the terminal can adopt a music playing mode to play the audio data of each message, so that a user can also completely listen to the audio data of each message under the condition of locking a screen or switching the social application to a background for running.
If the user selects the second operation option (for example, "splicing export to a file"), the terminal may generate a complete multimedia file (i.e., a spliced audio file) according to the plurality of voice messages, and pop up a file sharing window so that the user may store the multimedia file in a local space, or send the multimedia file to another terminal, or share the multimedia file to another platform. Specifically, see fig. 6c for details: after the user selects the second operation option, the terminal can call the splicing message generator to add each voice message into a message structure to obtain a new session message; second, the new conversation message may be passed into the virtual audio generator such that the virtual audio generator generates a virtual audio file corresponding to the new conversation message. Then, the virtual audio file can be written into an initial file (such as a blank file) to obtain a multimedia file; it should be noted that, when generating the multimedia file, the terminal may also directly decode the message audio data one by one without generating the virtual audio file, and then write the decoded data into an initial file using a uniform compression format, thereby obtaining the multimedia file. After obtaining the multimedia file, the terminal may output a file sharing window related to the multimedia file, so that a user may perform a sharing operation related to the multimedia file in the file sharing window.
Therefore, by applying the message processing method provided by the embodiment of the application to the scene, after the teacher in the target session finishes lectures, the new session message is generated by the voice messages of all the lectures, so that each user in the target session can directly listen to the new session message for review after class, the review operation is not required to be performed by clicking the previous single voice message one by one, the operation can be effectively simplified, and the user experience is improved. And under the condition of locking the screen or switching the social application to the background for running, the user can also be supported to listen to the audio, so that the electric quantity of the terminal can be saved. In addition, the teacher can export a plurality of voice messages to be multimedia files to be shared to other groups or other platforms, and man-machine interaction modes are enriched.
(II) any user adopts a plurality of text messages to perform event notification in the target session:
in this scenario, the user a in the target session may send a plurality of text messages about the matter content in the target session according to the matter content that needs to be notified, so that other users in the target session may acquire the matter content by viewing the text messages one by one. When any user (user a or other users) wants to combine all the text messages sent by user a into a complete text message, the user can trigger the terminal to output an operation option window, and select a first operation option in the operation option window. Correspondingly, after detecting the operation of selecting the first operation option by the user, the terminal can add the plurality of text messages into a message structure body to generate a new conversation message (i.e. a new text message); the new conversation message (i.e., the new text message) may then be displayed in the conversation interface of the target conversation to facilitate the user's viewing of the new conversation message, as shown in fig. 6 d. Optionally, when any user is inconvenient to view the text message, the terminal may also be triggered to convert a plurality of text messages into a voice message, and add the converted voice message to a message structure, so as to generate a new conversation message (i.e., a new voice message). Then, the terminal may display the new session message (i.e., the new voice message) in the session interface of the target session, so that the user can obtain the item content by playing the new session message, as shown in fig. 6 e.
When any user wants to synthesize all the text messages sent by the user A into a complete multimedia file for export or distribution, the user can trigger the terminal to output an operation option window, and select a second operation option in the operation option window. Correspondingly, after detecting that the user selects the second operation option, the terminal can generate a complete multimedia file (i.e., a text file) according to the plurality of text messages, and pop up a file sharing window so that the user can store the multimedia file in a local space, or send the multimedia file to other terminals, or share the multimedia file to other platforms.
Therefore, by applying the message processing method provided by the embodiment of the application to this scenario, after the user a in the target session completes notification of the item content, a new session message is generated from all the text messages, so that each user in the target session directly obtains the item content through the new session message without looking up previous single text messages one by one, thereby effectively simplifying operation and improving user experience. And a plurality of text messages are exported to be multimedia files to be shared to other groups or other platforms, so that the man-machine interaction mode is enriched.
Based on the description of the above message processing method embodiment, the present application embodiment also discloses a message processing apparatus, which may be a computer program (including program code) running in the above mentioned target terminal. The message processing apparatus may perform the method shown in fig. 2 or fig. 4. Referring to fig. 7, the message processing apparatus may operate as follows:
a display unit 701, configured to display a message selection interface in response to a trigger operation of a session interface for a target session; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state;
a display unit 701, configured to switch, according to a message selection operation, display states of at least two selected target session messages in the message selection interface from the to-be-selected state to a selected state;
the processing unit 702 is further configured to, if a splicing operation for the at least two target session messages is received, splice the at least two target session messages into a new session message or a multimedia file according to an operation type of the splicing operation.
In an embodiment, when the processing unit 702 is configured to splice the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation, it is specifically configured to:
if the operation type of the splicing operation is a first operation type, adding the at least two target session messages into a message structure body to obtain a new session message;
and if the operation type of the splicing operation is a second operation type, generating a multimedia file according to the message data of the at least two target session messages.
In yet another embodiment, after obtaining the new session message; accordingly, the processing unit 702 may also be configured to:
displaying the new conversation message in the conversation interface.
In another embodiment, each target session message has a corresponding message audio data, and the new session message is a voice message; accordingly, the processing unit 702 may also be configured to:
and if the new session message is triggered, sequentially playing the message audio data corresponding to the entry mark session message.
In another embodiment, when the processing unit 702 is configured to play the message audio data corresponding to each entry mark conversation message in sequence if the new conversation message is triggered, the processing unit may be specifically configured to:
if the new conversation message is triggered, acquiring a virtual audio file corresponding to the new conversation message, wherein the virtual audio file is generated by sequentially adding audio tracks corresponding to the entry tagging conversation messages to virtual audio tracks according to the display sequence of the entry tagging conversation messages in the conversation interface; the audio track refers to a track for carrying message audio data;
and sequentially playing the message audio data corresponding to the item tagging conversation messages on the basis of the virtual audio track in the virtual audio file.
In another embodiment, when the processing unit 702 is configured to play the message audio data corresponding to each entry mark conversation message in sequence if the new conversation message is triggered, the processing unit may be specifically configured to:
and if the new session message is triggered, sequentially playing the message audio data corresponding to the entry mark session message according to the display sequence of each target session message in the session interface.
In another embodiment, when the processing unit 702 is configured to sequentially play the message audio data corresponding to each entry mark session message, it may specifically be configured to:
sequentially adopting the self-adaptive adjustment volume of the message audio data corresponding to the item mark conversation messages to play the message audio data;
the adaptive adjustment volume of any message audio data is obtained by adaptively adjusting the maximum audio amplitude of the message audio data corresponding to the entry mark conversation message.
In another embodiment, the message audio data corresponding to any target session message at least includes: the audio data comprises initial audio data of initial playing time length and ending audio data of ending playing time length; wherein, the total duration between the starting playing duration and the ending playing duration is less than or equal to the total playing duration of the message audio data corresponding to any one of the target session messages;
the playing mode of the message audio data corresponding to any target session message comprises the following steps: playing the initial audio data according to a playing principle that the volume value is linearly increased from a first volume value to a second volume value; and playing the ending audio data according to a playing principle that the volume value is linearly reduced from the second volume value to the first volume value.
In another embodiment, the session interface of the target session is displayed when the social application is in a foreground running mode, where the foreground running mode is a running mode in which the application interface of the social application is synchronously displayed in a terminal screen during the running process of the application; accordingly, the processing unit 702 may also be configured to:
if the screen locking operation or the operation mode of the social application is detected to be switched from the foreground operation mode to the background operation mode in the playing process of the current message audio data, continuing to play the data which are not played in the current message audio data and the remaining message audio data which are sequentially behind the current message audio data in the music playing mode;
wherein the current message audio data refers to: and when the screen locking operation or the operation mode of the social application is detected to be switched from the foreground operation mode to the background operation mode, the message audio data in a playing state.
In yet another embodiment, the processing unit 702 is further configured to:
displaying the message type identification of the new session message in the session interface;
if the message type identifier is triggered, outputting a message display window;
and sequentially displaying the item tagging conversation messages in the message display window according to the display sequence of the item tagging conversation messages in the conversation interface.
In yet another embodiment, after obtaining the multimedia file, the processing unit 702 is further configured to:
outputting a file sharing window related to the multimedia file;
and displaying an object option of at least one sharing object related to the multimedia file in the file sharing window.
In yet another embodiment, the processing unit 702 is further configured to:
if an object selection operation is detected in the file sharing window, selecting a target object option according to the object selection operation;
sending the multimedia file to a target sharing object corresponding to the target object option, and outputting a sharing result prompt about the multimedia file; and the sharing result prompt is used for prompting success or failure of sharing the multimedia file with the target sharing object.
In another embodiment, the operation type of the splicing operation is a first operation type or a second operation type, and the message selection interface further includes an operation option entry; accordingly, the processing unit 702 may also be configured to:
when the operation option inlet is triggered, outputting an operation option window, wherein the operation option window at least comprises: a first operation option corresponding to the first operation type and a second operation option corresponding to the second operation type;
and acquiring splicing operation aiming at the at least two target session messages in the operation option window, wherein the splicing operation comprises the operation of selecting the first operation option or the operation of selecting the second operation option.
According to an embodiment of the present invention, each step involved in the method shown in fig. 2 or fig. 4 may be executed by each unit in the message processing apparatus shown in fig. 7. For example, steps S201 to S202 shown in fig. 2 may all be performed by the display unit 701 shown in fig. 7, and step S203 may be performed by the processing unit 702 shown in fig. 7. As another example, steps S401 to S402 shown in fig. 4 may all be performed by the display unit 701 shown in fig. 7, steps S403 to S406 may all be performed by the processing unit 702 shown in fig. 7, and so on.
According to another embodiment of the present invention, the units in the message processing apparatus shown in fig. 7 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) therein may be further split into multiple units with smaller functions to form the same operation, without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the message processing apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present invention, the message processing apparatus device as shown in fig. 7 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 2 or fig. 4 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and implementing the message processing method of the embodiment of the present application. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
The social application in the embodiment of the application can support the user to execute message splicing operation on at least two session messages in the session interface, and effectively enriches the man-machine interaction mode of the social application. Specifically, when the session interface of the target session is triggered, a message selection interface can be displayed, and the display states of at least two selected target session messages are switched from the candidate state to the selected state in the message selection interface. After detecting the splicing operation for at least two target session messages, the at least two target session messages can be spliced into a new session message or a multimedia file according to the operation type of the splicing operation. Therefore, the user can conveniently and uniformly operate and process all target session messages (such as voice playing processing, text viewing processing and the like) subsequently through the new session message or the multimedia file, the operation convenience of the user can be effectively improved, and the viscosity of the user is improved.
Based on the description of the method embodiment and the apparatus embodiment, the present application further provides a terminal (i.e., the above-mentioned target terminal). Referring to fig. 8, the terminal may include at least a processor 801, an input device 802, an output device 803, and a computer storage medium 804. The processor 801, the input device 802, the output device 803, and the computer storage medium 804 within the terminal may be connected by a bus or other means.
A computer storage medium 804 may be stored in the memory of the terminal, the computer storage medium 804 being for storing a computer program comprising program instructions, the processor 801 being for executing the program instructions stored by the computer storage medium 804. The processor 801 (or CPU) is a computing core and a control core of the terminal, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function; in an embodiment, the processor 801 according to the embodiment of the present application may be configured to perform a series of message processing, which specifically includes: responding to the triggering operation of a session interface aiming at the target session, and displaying a message selection interface; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state; switching the display states of at least two selected target session messages in the message selection interface from the to-be-selected state to the selected state according to message selection operation; and if the splicing operation aiming at the at least two target session messages is received, splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation, and the like.
An embodiment of the present application further provides a computer storage medium (Memory), which is a Memory device in the terminal and is used for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium provides a storage space that stores an operating system of the terminal. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 801. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by processor 801 to implement the corresponding steps of the methods described above in relation to the message processing method embodiments; in particular implementations, one or more instructions in the computer storage medium are loaded and executed by the processor 801 to perform the steps of:
responding to the triggering operation of a session interface aiming at the target session, and displaying a message selection interface; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state;
switching the display states of at least two selected target session messages in the message selection interface from the to-be-selected state to the selected state according to message selection operation;
and if the splicing operation aiming at the at least two target session messages is received, splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation.
In an embodiment, when the at least two target session messages are spliced into a new session message or a multimedia file according to the operation type of the splicing operation, the one or more instructions may be loaded and specifically executed by the processor 801:
if the operation type of the splicing operation is a first operation type, adding the at least two target session messages into a message structure body to obtain a new session message;
and if the operation type of the splicing operation is a second operation type, generating a multimedia file according to the message data of the at least two target session messages.
In yet another embodiment, after obtaining the new session message, the one or more instructions may be further loaded and specifically executed by processor 801:
displaying the new conversation message in the conversation interface.
In another embodiment, each target session message has a corresponding message audio data, and the new session message is a voice message; accordingly, the one or more instructions may also be loaded and specifically executed by processor 801:
and if the new session message is triggered, sequentially playing the message audio data corresponding to the entry mark session message.
In another embodiment, when the new session message is triggered and the message audio data corresponding to the entry tagged session message is played in sequence, the one or more instructions may be loaded and specifically executed by the processor 801:
if the new conversation message is triggered, acquiring a virtual audio file corresponding to the new conversation message, wherein the virtual audio file is generated by sequentially adding audio tracks corresponding to the entry tagging conversation messages to virtual audio tracks according to the display sequence of the entry tagging conversation messages in the conversation interface; the audio track refers to a track for carrying message audio data;
and sequentially playing the message audio data corresponding to the item tagging conversation messages on the basis of the virtual audio track in the virtual audio file.
In another embodiment, when the new session message is triggered and the message audio data corresponding to the entry tagged session message is played in sequence, the one or more instructions may be loaded and specifically executed by the processor 801:
and if the new session message is triggered, sequentially playing the message audio data corresponding to the entry mark session message according to the display sequence of each target session message in the session interface.
In another embodiment, when message audio data corresponding to each entry tagged session message is played sequentially, the one or more instructions may be loaded and specifically executed by the processor 801:
sequentially adopting the self-adaptive adjustment volume of the message audio data corresponding to the item mark conversation messages to play the message audio data;
the adaptive adjustment volume of any message audio data is obtained by adaptively adjusting the maximum audio amplitude of the message audio data corresponding to the entry mark conversation message.
In another embodiment, the message audio data corresponding to any target session message at least includes: the audio data comprises initial audio data of initial playing time length and ending audio data of ending playing time length; wherein, the total duration between the starting playing duration and the ending playing duration is less than or equal to the total playing duration of the message audio data corresponding to any one of the target session messages;
the playing mode of the message audio data corresponding to any target session message comprises the following steps: playing the initial audio data according to a playing principle that the volume value is linearly increased from a first volume value to a second volume value; and playing the ending audio data according to a playing principle that the volume value is linearly reduced from the second volume value to the first volume value.
In another embodiment, the session interface of the target session is displayed when the social application is in a foreground running mode, where the foreground running mode is a running mode in which the application interface of the social application is synchronously displayed in a terminal screen during the running process of the application; accordingly, the one or more instructions may also be loaded and specifically executed by processor 801:
if the screen locking operation or the operation mode of the social application is detected to be switched from the foreground operation mode to the background operation mode in the playing process of the current message audio data, continuing to play the data which are not played in the current message audio data and the remaining message audio data which are sequentially behind the current message audio data in the music playing mode;
wherein the current message audio data refers to: and when the screen locking operation or the operation mode of the social application is detected to be switched from the foreground operation mode to the background operation mode, the message audio data in a playing state.
In yet another embodiment, the one or more instructions may be further loaded and specifically executed by the processor 801:
displaying the message type identification of the new session message in the session interface;
if the message type identifier is triggered, outputting a message display window;
and sequentially displaying the item tagging conversation messages in the message display window according to the display sequence of the item tagging conversation messages in the conversation interface.
In yet another embodiment, after obtaining the multimedia file, the one or more instructions may be further loaded and specifically executed by the processor 801:
outputting a file sharing window related to the multimedia file;
and displaying an object option of at least one sharing object related to the multimedia file in the file sharing window.
In yet another embodiment, the one or more instructions may be further loaded and specifically executed by the processor 801:
if an object selection operation is detected in the file sharing window, selecting a target object option according to the object selection operation;
sending the multimedia file to a target sharing object corresponding to the target object option, and outputting a sharing result prompt about the multimedia file; and the sharing result prompt is used for prompting success or failure of sharing the multimedia file with the target sharing object.
In another embodiment, the operation type of the splicing operation is a first operation type or a second operation type, and the message selection interface further includes an operation option entry; accordingly, the one or more instructions may also be loaded and specifically executed by processor 801:
when the operation option inlet is triggered, outputting an operation option window, wherein the operation option window at least comprises: a first operation option corresponding to the first operation type and a second operation option corresponding to the second operation type;
and acquiring splicing operation aiming at the at least two target session messages in the operation option window, wherein the splicing operation comprises the operation of selecting the first operation option or the operation of selecting the second operation option.
The social application in the embodiment of the application can support the user to execute message splicing operation on at least two session messages in the session interface, and effectively enriches the man-machine interaction mode of the social application. Specifically, when the session interface of the target session is triggered, a message selection interface can be displayed, and the display states of at least two selected target session messages are switched from the candidate state to the selected state in the message selection interface. After detecting the splicing operation for at least two target session messages, the at least two target session messages can be spliced into a new session message or a multimedia file according to the operation type of the splicing operation. Therefore, the user can conveniently and uniformly operate and process all target session messages (such as voice playing processing, text viewing processing and the like) subsequently through the new session message or the multimedia file, the operation convenience of the user can be effectively improved, and the viscosity of the user is improved.
It should be noted that according to an aspect of the present application, a computer program product or a computer program is also provided, and the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the method provided in the various alternatives in the aspect of the message processing method embodiment shown in fig. 2 or fig. 4 described above.
It should be understood, however, that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.

Claims (15)

1. A message processing method, comprising:
responding to the triggering operation of a session interface aiming at the target session, and displaying a message selection interface; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state;
switching the display states of at least two selected target session messages in the message selection interface from the to-be-selected state to the selected state according to message selection operation;
and if the splicing operation aiming at the at least two target session messages is received, splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation.
2. The method according to claim 1, wherein said splicing said at least two target session messages into a new session message or a multimedia file according to the operation type of said splicing operation comprises:
if the operation type of the splicing operation is a first operation type, adding the at least two target session messages into a message structure body to obtain a new session message;
and if the operation type of the splicing operation is a second operation type, generating a multimedia file according to the message data of the at least two target session messages.
3. The method of claim 1 or 2, wherein after obtaining the new session message, the method further comprises:
displaying the new conversation message in the conversation interface.
4. The method of claim 3, wherein each target conversation message has a corresponding message audio data, the new conversation message being a voice message; the method further comprises the following steps:
and if the new session message is triggered, sequentially playing the message audio data corresponding to the entry mark session message.
5. The method of claim 4, wherein the playing the message audio data corresponding to each entry mark session message in sequence if the new session message is triggered comprises:
if the new conversation message is triggered, acquiring a virtual audio file corresponding to the new conversation message, wherein the virtual audio file is generated by sequentially adding audio tracks corresponding to the entry tagging conversation messages to virtual audio tracks according to the display sequence of the entry tagging conversation messages in the conversation interface; the audio track refers to a track for carrying message audio data;
and sequentially playing the message audio data corresponding to the item tagging conversation messages on the basis of the virtual audio track in the virtual audio file.
6. The method of claim 4, wherein the playing the message audio data corresponding to each entry mark session message in sequence if the new session message is triggered comprises:
and if the new session message is triggered, sequentially playing the message audio data corresponding to the entry mark session message according to the display sequence of each target session message in the session interface.
7. The method according to any one of claims 4-6, wherein said playing the message audio data corresponding to each entry tagged conversation message in sequence comprises:
sequentially adopting the self-adaptive adjustment volume of the message audio data corresponding to the item mark conversation messages to play the message audio data;
the adaptive adjustment volume of any message audio data is obtained by adaptively adjusting the maximum audio amplitude of the message audio data corresponding to the entry mark conversation message.
8. The method of any of claims 4-6, wherein the message audio data corresponding to any target conversation message includes at least: the audio data comprises initial audio data of initial playing time length and ending audio data of ending playing time length; wherein, the total duration between the starting playing duration and the ending playing duration is less than or equal to the total playing duration of the message audio data corresponding to any one of the target session messages;
the playing mode of the message audio data corresponding to any target session message comprises the following steps: playing the initial audio data according to a playing principle that the volume value is linearly increased from a first volume value to a second volume value; and playing the ending audio data according to a playing principle that the volume value is linearly reduced from the second volume value to the first volume value.
9. The method according to any one of claims 4 to 6, characterized in that the session interface of the target session is displayed when the social application is in a foreground running mode, wherein the foreground running mode refers to a running mode of synchronously displaying the application interface of the social application in a terminal screen in the application running process; the method further comprises the following steps:
if the screen locking operation or the operation mode of the social application is detected to be switched from the foreground operation mode to the background operation mode in the playing process of the current message audio data, continuing to play the data which are not played in the current message audio data and the remaining message audio data which are sequentially behind the current message audio data in the music playing mode;
wherein the current message audio data refers to: and when the screen locking operation or the operation mode of the social application is detected to be switched from the foreground operation mode to the background operation mode, the message audio data in a playing state.
10. The method of claim 3, wherein the method further comprises:
displaying the message type identification of the new session message in the session interface;
if the message type identifier is triggered, outputting a message display window;
and sequentially displaying the item tagging conversation messages in the message display window according to the display sequence of the item tagging conversation messages in the conversation interface.
11. The method of claim 1 or 2, wherein after obtaining the multimedia file, the method further comprises:
outputting a file sharing window related to the multimedia file;
and displaying an object option of at least one sharing object related to the multimedia file in the file sharing window.
12. The method of claim 11, wherein the method further comprises:
if an object selection operation is detected in the file sharing window, selecting a target object option according to the object selection operation;
sending the multimedia file to a target sharing object corresponding to the target object option, and outputting a sharing result prompt about the multimedia file; and the sharing result prompt is used for prompting success or failure of sharing the multimedia file with the target sharing object.
13. The method according to claim 1 or 2, wherein the operation type of the splicing operation is a first operation type or a second operation type, and the message selection interface further comprises an operation option entry; the method further comprises the following steps:
when the operation option inlet is triggered, outputting an operation option window, wherein the operation option window at least comprises: a first operation option corresponding to the first operation type and a second operation option corresponding to the second operation type;
and acquiring splicing operation aiming at the at least two target session messages in the operation option window, wherein the splicing operation comprises the operation of selecting the first operation option or the operation of selecting the second operation option.
14. A message processing apparatus, comprising:
the display unit is used for responding to the triggering operation of the session interface aiming at the target session and displaying a message selection interface; the message selection interface at least comprises: each conversation message displayed in the conversation interface is in a to-be-selected state;
the display unit is further used for switching the display states of at least two selected target session messages in the message selection interface from the to-be-selected state to the selected state according to message selection operation;
and the processing unit is used for splicing the at least two target session messages into a new session message or a multimedia file according to the operation type of the splicing operation if the splicing operation aiming at the at least two target session messages is received.
15. A terminal comprising an input device and an output device, further comprising:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium having stored thereon one or more instructions adapted to be loaded by the processor and to execute the message processing method according to any of claims 1-12.
CN202011088562.8A 2020-10-12 2020-10-12 Message processing method, device, terminal and storage medium Pending CN114422468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011088562.8A CN114422468A (en) 2020-10-12 2020-10-12 Message processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011088562.8A CN114422468A (en) 2020-10-12 2020-10-12 Message processing method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114422468A true CN114422468A (en) 2022-04-29

Family

ID=81260347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011088562.8A Pending CN114422468A (en) 2020-10-12 2020-10-12 Message processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114422468A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987927A (en) * 2022-12-07 2023-04-18 上海掌门科技有限公司 Information processing method, equipment and machine-readable storage medium
WO2024021646A1 (en) * 2022-07-25 2024-02-01 腾讯科技(深圳)有限公司 Session message processing method and apparatus, and device, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760104A (en) * 2016-02-26 2016-07-13 深圳市金立通信设备有限公司 Message handling method and terminal
CN107566892A (en) * 2017-09-18 2018-01-09 北京小米移动软件有限公司 Video file processing method, device and computer-readable recording medium
CN110061910A (en) * 2019-04-30 2019-07-26 上海掌门科技有限公司 A kind of processing method of voice short message, equipment and medium
US20200067860A1 (en) * 2017-05-08 2020-02-27 Beijing Sankuai Online Technology Co., Ltd File sending in instant messaging application
CN111327518A (en) * 2020-01-21 2020-06-23 上海掌门科技有限公司 Method and equipment for splicing messages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760104A (en) * 2016-02-26 2016-07-13 深圳市金立通信设备有限公司 Message handling method and terminal
US20200067860A1 (en) * 2017-05-08 2020-02-27 Beijing Sankuai Online Technology Co., Ltd File sending in instant messaging application
CN107566892A (en) * 2017-09-18 2018-01-09 北京小米移动软件有限公司 Video file processing method, device and computer-readable recording medium
CN110061910A (en) * 2019-04-30 2019-07-26 上海掌门科技有限公司 A kind of processing method of voice short message, equipment and medium
CN111327518A (en) * 2020-01-21 2020-06-23 上海掌门科技有限公司 Method and equipment for splicing messages

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024021646A1 (en) * 2022-07-25 2024-02-01 腾讯科技(深圳)有限公司 Session message processing method and apparatus, and device, storage medium and program product
CN115987927A (en) * 2022-12-07 2023-04-18 上海掌门科技有限公司 Information processing method, equipment and machine-readable storage medium

Similar Documents

Publication Publication Date Title
CN111756917B (en) Information interaction method, electronic device and computer readable medium
CN104951546B (en) Method and device for subscribing message in instant messaging software
US20180288450A1 (en) Method for inserting information push into live video streaming, server, and terminal
CN102929912A (en) Method and system for generating microblog pictures
CN106789581A (en) Instant communication method, apparatus and system
CN110058854B (en) Method, terminal device and computer-readable medium for generating application
WO2022057393A1 (en) Event processing method and apparatus, storage medium, mobile terminal, and computer
CN113778419B (en) Method and device for generating multimedia data, readable medium and electronic equipment
CN113110829B (en) Multi-UI component library data processing method and device
CN112732386A (en) Message processing method, device, terminal and storage medium
CN114422468A (en) Message processing method, device, terminal and storage medium
US10257281B2 (en) Message-based contextual dialog
US10965629B1 (en) Method for generating imitated mobile messages on a chat writer server
CN115510347A (en) Presentation file conversion method and device, electronic equipment and storage medium
CN110083467B (en) Method and device for processing applet message and computer storage medium
CN111818279A (en) Subtitle generating method, display method and interaction method
WO2023246275A1 (en) Method and apparatus for playing speech message, and terminal and storage medium
US9569546B2 (en) Sharing of documents with semantic adaptation across mobile devices
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
US10328336B1 (en) Concurrent game functionality and video content
WO2017165253A1 (en) Modular communications
US20230132664A1 (en) Visual interaction method and device
KR101917325B1 (en) Chatbot dialog management device, method and computer readable storage medium using receiver state
CN115238125A (en) Data processing method and device, computer equipment and readable storage medium
CN114566173A (en) Audio mixing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40067113

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination