CN115529287A - Message processing method and device - Google Patents
Message processing method and device Download PDFInfo
- Publication number
- CN115529287A CN115529287A CN202110713422.3A CN202110713422A CN115529287A CN 115529287 A CN115529287 A CN 115529287A CN 202110713422 A CN202110713422 A CN 202110713422A CN 115529287 A CN115529287 A CN 115529287A
- Authority
- CN
- China
- Prior art keywords
- message
- instant messaging
- session
- identifier
- setting
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a message processing method and a message processing device, which can acquire a to-do setting request generated by first instant messaging; determining a second session identifier and a second message identifier of second instant messaging according to the to-do setting request; determining a session corresponding to the second instant messaging according to the second session identifier, and determining a corresponding second message, a session of the first instant messaging, and message intercommunication between the session of the second instant messaging according to the second message identifier, wherein the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system; and setting the second message as a to-do message, and displaying the to-do message in a to-do display area in the session of the second instant messaging. According to the scheme, the second message in the second instant messaging is set as the to-do message, and the to-do message is displayed, so that the members participating in the conversation can be reminded of the to-do message in the conversation, and the situation that important messages are omitted due to too many messages of the conversation members is avoided.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a message.
Background
When the communication is performed through instant messaging, a corresponding session, for example, a chat dialog box, a group chat, etc., may be generated, since a message generated first may not be displayed on the current display page due to a message generated subsequently, that is, when the chat dialog box or the group chat is opened, the message displayed on the current display page is the message generated subsequently, when a member participating in the session sends an important message, the important message is easily submerged by other messages generated subsequently, and the important message is missed.
Disclosure of Invention
The embodiment of the application provides a message processing method and device, which can remind members participating in a conversation of pending messages in the conversation, and avoid the situation that a user omits important messages due to excessive messages.
The message processing method provided by the embodiment of the application comprises the following steps:
acquiring a to-do setting request generated by first instant messaging, wherein the to-do setting request is generated by triggering a first message in a session of the first instant messaging;
determining a second session identifier and a second message identifier of second instant messaging according to the to-do setting request;
determining a session corresponding to the second instant messaging according to the second session identifier, and determining a second message corresponding to the session of the second instant messaging according to the second message identifier, wherein the session of the first instant messaging is in message intercommunication with the session of the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system;
and setting the second message as a to-do message, and displaying the to-do message in a to-do display area in the session of the second instant messaging.
The message processing method provided by the embodiment of the application comprises the following steps:
receiving a first message in a session aiming at first instant messaging, and a to-do setting request triggered by the first message, wherein the to-do setting request carries a first session identifier and a first message identifier;
mapping the first session identifier to a second session identifier of second instant messaging, and mapping the first message identifier to a second message identifier to obtain a to-do setting instruction;
sending the to-do setting instruction to a second instant messaging, wherein the to-do setting instruction is used for indicating the second instant messaging to determine a second session identifier and a second message identifier based on the to-do setting instruction, setting a second message in the session of the second instant messaging as the to-do message, and displaying the to-do message, the session of the first instant messaging is in message intercommunication with the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
Correspondingly, an embodiment of the present application further provides a message processing apparatus, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a to-do setting request generated by first instant messaging, and the to-do setting request is generated by triggering a first message in a session of the first instant messaging;
the first determining unit is used for determining a second session identifier and a second message identifier of second instant messaging according to the to-do setting request;
a second determining unit, configured to determine, according to the second session identifier, a session corresponding to the second instant messaging, and determine, according to the second message identifier, a second message corresponding to the second instant messaging session, where the first instant messaging session is in message intercommunication with the second instant messaging session, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system;
and the display unit is used for setting the second message as a to-do message and displaying the to-do message in a to-do display area in the session of the second instant messaging.
Correspondingly, an embodiment of the present application further provides a message processing apparatus, including:
the receiving unit is used for receiving a to-do setting request triggered by a first message in a session aiming at first instant messaging, wherein the to-do setting request carries a first session identifier and a first message identifier;
the mapping unit is used for mapping the first session identifier to a second session identifier of second instant messaging, and mapping the first message identifier to a second message identifier to obtain a to-do setting instruction;
and the sending unit is used for sending the to-do setting instruction to second instant messaging, wherein the to-do setting instruction is used for indicating the second instant messaging to determine a second session identifier and a second message identifier based on the to-do setting instruction, setting a second message in the session of the second instant messaging as the to-do message, and displaying the to-do message, the session of the first instant messaging is in message intercommunication with the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
Correspondingly, the embodiment of the application also provides computer equipment, which comprises a memory and a processor; the memory stores a computer program, and the processor is used for operating the computer program in the memory to execute any message processing method provided by the embodiment of the application.
Accordingly, embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program is loaded by a processor to execute any one of the message processing methods provided in the embodiments of the present application.
The method comprises the steps that a to-do setting request generated by first instant messaging can be obtained, and the to-do setting request is generated by triggering a first message in a session of the first instant messaging; determining a second session identifier and a second message identifier of second instant messaging according to the to-do setting request; determining a session corresponding to the second instant messaging according to the second session identifier, and determining a second message corresponding to the session of the second instant messaging, the session of the first instant messaging and the session of the second instant messaging are in message intercommunication according to the second message identifier, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system; and setting the second message as a to-do message, and displaying the to-do message in a to-do display area in the session of the second instant messaging. According to the scheme, the second message in the second instant messaging is set as the to-do message through the first instant messaging, and the to-do message is displayed in the to-do display area, so that members participating in conversation can be reminded of the to-do message in the conversation, and the situation that important messages are omitted due to too many messages of the conversation members is avoided.
Drawings
In order to more clearly illustrate the technical solutions in 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 only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene diagram of a message processing method provided in an embodiment of the present application;
fig. 2 is a flowchart of a message processing method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a graphical interface of a first instant messaging provided in an embodiment of the present application;
FIG. 4 is a graphical interface diagram of a second instant messaging provided by an embodiment of the present application;
fig. 5 is another flowchart of a message processing method provided in an embodiment of the present application;
fig. 6 is another flowchart of a message processing method provided in an embodiment of the present application;
FIG. 7 is a flow diagram for completing pending messages according to an embodiment of the present application;
fig. 8 is a schematic diagram of a message processing apparatus according to an embodiment of the present application;
FIG. 9 is a schematic diagram of another message processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a message processing method and device. The message processing apparatus may be integrated into a computer device, which may be a terminal or a device such as a server.
An embodiment of the present invention provides a message processing system, including: a message processing apparatus suitable for a terminal and a message processing apparatus suitable for a server.
The terminal can comprise a mobile phone, a wearable intelligent device, a tablet Computer, a notebook Computer, personal Computer (PC) and other devices, first instant messaging and second instant messaging can be installed on the terminal, the message processing terminal can further comprise a first terminal and a second terminal, the first terminal can be provided with the first instant messaging, and the second terminal can be provided with the second instant messaging. Or the terminal can access the first instant messaging and the second instant messaging through a webpage and the like.
The first instant messaging may be a platform capable of instantly sending and receiving services such as internet messages. The second instant messaging may be a platform capable of instantly transmitting and receiving a service such as an internet message, unlike the first instant messaging. The messages between the first instant messaging and the second instant messaging can be intercommunicated, the first instant messaging belongs to a first message system, the second instant messaging belongs to a second message system, the first instant messaging and the second instant messaging belong to a second message system, the second message system belongs to a heterogeneous message system, and each message system corresponds to one account number type.
The server may be an independent physical server, may also be a distributed system, and may also be a cloud server that provides basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content Delivery Network (CDN), and a big data and artificial intelligence platform.
The server may also be a server cluster formed by a plurality of physical servers, and the server cluster may include an interworking server between a plurality of heterogeneous message systems, which may also be referred to as a gateway server, and a backend server of a message system, such as a first backend server of a first message system, and a second backend server of a second message system. The first background server can respond to the request of the first instant messaging to execute corresponding operation, and the second background server can respond to the request of the second instant messaging to execute corresponding operation.
For example, as shown in fig. 1, the message processing system includes a first backend server for first instant messaging, a second backend server for second instant messaging, a gateway server between the first message system and the second message system, and a terminal.
The terminal acquires first instant messaging, responds to a first message trigger in a session of the first instant messaging by a user, and generates a to-do setting request which carries a first session identifier of the session of the first instant messaging and a first message identifier of a first message; and the terminal sends the to-do setting request to the first background server.
The first background server sends the to-be-handled setting request to the gateway server, the gateway server maps the first session identifier in the to-be-handled setting request to a universal session identifier, maps the first message identifier to a universal message identifier to obtain a universal to-be-handled setting instruction, and the universal to-be-handled setting instruction is sent to the background servers corresponding to the first instant messaging and the second instant messaging respectively.
The first background server maps the general session identifier as a first session identifier and maps the general message identifier as a first message identifier according to the received general to-do setting instruction to obtain a first to-do setting instruction, the first to-do setting instruction is sent to a terminal where the first instant messaging is located, and the terminal marks the to-do of the first message according to the received first to-do setting instruction.
The second background server receives the general to-do setting instruction, maps the general session identifier to a second session identifier, maps the general message identifier to a second message identifier to obtain a second to-do setting instruction, sends the second to-do setting instruction to a terminal where the second instant messaging is located, and the terminal sets the second message to be a to-do message according to the received second to-do setting instruction and displays the to-do message at a preset position.
According to the scheme, the second message in the second instant messaging is set as the to-do message through the first instant messaging, and the to-do message is displayed, so that the members participating in the conversation can be reminded, the to-do message in the conversation can be reminded, and the situation that important messages are omitted due to too many messages of the conversation members can be avoided.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment will be described from the perspective of a message processing apparatus, which may be specifically integrated in a computer device, which may be a terminal or the like. As shown in fig. 2, the specific flow of the message processing method may be as follows:
101. and acquiring a to-do setting request generated by the first instant messaging, wherein the to-do setting request is generated by triggering a first message in a session of the first instant messaging.
The session of the first instant messaging (which may be referred to as a first session) may be a certain session in the first instant messaging, the session of the second instant messaging (which may be referred to as a second session) may be a certain session in the first instant messaging, and the session of the first instant messaging and the session of the second instant messaging are in message intercommunication, that is, the messages between the session of the first instant messaging and the session of the second instant messaging are synchronized.
For example, a user account of a first user with a first user account type is logged in on a first instant messaging, a user account of a second user with a second user account type is logged in on a second instant messaging, the first user can chat with the second user through a first session, the second user can chat with the first user through a second session, the chat messages included in the first session and the second session can be the same, for example, the first user sends a first message in the first session, the second user can receive the message in the second session, that is, a second message in the second session, and therefore, the first message is matched with the second message.
The session may be a session including only the first user and the second user, i.e. messages received or sent in the session are from the first user or the second user, and may also be a multi-person session including the first user, the second user, and other users, for example, a chat group, a group chat, and the like.
Wherein the first message may be a message in a conversation of the first instant communication, e.g., the first message as shown in fig. 3.
Wherein the second message may be a message in a session of a second instant communication, e.g., the second message as shown in fig. 4.
For example, the method may specifically be that the user sets a first message in the first session in a graphical user interface provided by the first instant messaging, triggers the first instant messaging to generate a to-do setting request, and the terminal obtains the to-do setting request generated by the first instant messaging.
102. And determining a second session identifier and a second message identifier of the second instant messaging according to the to-do setting request.
The second session identifier may be an identifier used in the second message system to uniquely represent the second session, such as a session id, each session in the second instant messaging may correspond to one session identifier, and the terminal may locate the corresponding session according to the session identifier, for example, the terminal locates the second session according to the second session identifier.
The second message identifier may be an identifier, such as a message id, used in the second message system to uniquely represent the second message in the second session, each message in the second instant messaging may correspond to one message identifier, and the terminal may locate the corresponding message according to the message, for example, the terminal may locate the second message according to the second message identifier.
For example, the to-do setting request may specifically carry a first session identifier and a first message identifier, and according to the to-do setting request, the first session identifier is mapped to a second session identifier, and the first message identifier is mapped to the second message identifier.
In an embodiment, in order to reduce the size of the memory occupied by the second instant messaging and reduce the occupation of the terminal resources, the mapping of the first session identifier to the second session identifier and the mapping of the first message identifier to the second message identifier may be performed by the server, that is, the step "determining the session identifier and the second message identifier of the second instant messaging according to the to-do setting request" may specifically include:
sending a to-do setting request to a server, wherein the to-do setting request carries a first session identifier and a first message identifier of first instant messaging, the to-do setting request is used for indicating the server to map the first session identifier to a second session identifier of second instant messaging, map the first message identifier to the second message identifier, and generate a to-do setting instruction based on the session identifier and the second message identifier;
receiving a to-do setting instruction returned by the server based on the to-do setting request;
and determining a second session identifier and a second message identifier of the second instant messaging according to the to-do setting instruction.
The to-do setting instruction may be an instruction that can be identified by the second instant messaging and executes a corresponding operation, and the to-do setting instruction may also be a control message that can be identified by the second instant messaging.
For example, the to-do setting request generated in the first instant messaging may be sent to the server, the server is instructed to map the first session identifier to the second session identifier, the first message identifier is mapped to the second message identifier, the to-do setting instruction is generated based on the second session identifier and the second message identifier, and the generated to-do setting instruction is returned to the terminal.
The terminal determines the second session identifier and the second message identifier according to the received to-do setting instruction and the information carried by the to-do setting instruction.
103. And determining a session corresponding to the second instant messaging according to the second session identifier, and determining a second message corresponding to the session of the second instant messaging, the session of the first instant messaging and the session of the second instant messaging, wherein the messages are intercommunicated, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
For example, the second instant messaging may specifically query for the second session according to the second session identifier, and locate the second message in the second session according to the second message identifier.
104. And setting the second message as a to-do message, and displaying the to-do message in a to-do display area in the session of the second instant messaging.
The to-do message may be a message obtained based on the second message, and the to-do message may be a text message, a picture message, a file message, or a geographic location message.
The to-do display area may be an area whose display position does not change with the refresh of the conversation message, for example, as shown in fig. 4, the to-do display area, the message input area, the emoticon insertion control, and the like, the display position does not change with the refresh of the conversation message. When the message in the second session is refreshed, the to-be-handled display area is not changed and is always displayed on the current display page.
For example, after the second message is located, the second message is set as a to-do message, and the to-do message is displayed in the to-do display area.
Optionally, after the second message is set as the to-do message, a corresponding to-do control may be generated, and the to-do control is displayed in the to-do display area, where the to-do control may include part of or all of the content of the to-do message, or include a to-do topic or a to-do name set when the user initiates a to-do setting request. And when the triggering operation aiming at the to-do control is detected, such as clicking, long pressing and the like, displaying the complete content of the to-do message.
The user can view the to-do message in the second session of the second instant messaging, and can perform a completion operation on the to-do message, and the terminal can display that the to-do message is completed in the first instant messaging in response to the trigger operation on the to-do message. That is, in an embodiment, the message processing method may further include:
and responding to the completion operation of the to-do message in the session of the second instant messaging, and displaying the completion information of the first message corresponding to the to-do message in the session of the first instant messaging.
Wherein the completion information may be information indicating that the to-do message is completed.
For example, when a completion operation (an operation such as clicking, long-pressing, or sliding) for the to-do message in the to-do display area is detected, the completion information that the to-do message is completed is displayed in the session of the first instant messaging, for example, the to-do completion information is displayed in the to-do display area, a completion control corresponding to the to-do message may also be displayed, and when the completion control is clicked by the user, the completion information is displayed in the first session of the first instant messaging, for example, xx to-do is completed, or xx to-do is completed. Since the to-do message is determined according to the first message and is set based on the second message, completing the to-do message may be equivalent to completing the first message.
The completion condition may also be set, for example, a questionnaire message during the to-do message, that is, the to-do message includes a to-be-filled questionnaire, the user submits the questionnaire as a completion operation for the to-do message, and when the user submits the questionnaire, the completed to-do message is displayed in the first session, or the xx questionnaire is completed.
In an embodiment, the first instant messaging and the second instant messaging may perform message intercommunication through the server, that is, the step "responding to a completion operation of a to-do message in a session for the second instant messaging, and displaying completion information of a first message corresponding to the to-do message in the session for the first instant messaging" may specifically include:
responding to the completion operation of the to-be-handled message in the session aiming at the second instant messaging, and generating a to-be-handled completion request;
sending a to-do completion request to the server, wherein the to-do completion request is used for indicating the server to generate a control instruction corresponding to the first instant messaging;
receiving a control instruction returned by the server based on the to-do completion request;
and displaying the completion information of the first message in the session of the first instant messaging according to the control instruction.
The control instruction may be an instruction which can be identified by the first instant messaging and executes a corresponding operation, or the control instruction may be a control message which can be identified by the first instant messaging.
For example, the to-do completion request may be specifically generated when the terminal detects a completion operation for the to-do message in the session of the second instant messaging, and the to-do completion request may carry the second session identifier of the second session and the message identifier of the to-do message, and send the to-do completion request to the server.
The server maps the message identifier of the to-do message into a first message identifier according to the to-do completion request, generates a control instruction capable of being identified by the first instant messaging based on the to-do setting request and the first message identifier, for example, generates the control instruction based on a transmission protocol of the server and the first instant messaging, and sends the control instruction to the terminal.
And the terminal locates the first message in the session of the first instant messaging according to the control instruction and displays a completion message of the first message.
If the first session and the second session are multi-person sessions, such as group chat, the displayed completion information may include user information for completing the to-do message, that is, in an embodiment, the step "displaying the completion information of the first message in the session of the first instant messaging according to the control instruction" may specifically include:
determining a first message corresponding to the message to be handled in the session of the first instant messaging according to a first message identifier carried by the control instruction;
and displaying the completion information of the first message corresponding to the account identification.
The account ID may identify an ID of the account of the second instant messaging, for example, an account ID.
For example, the first message corresponding to the to-do message may be determined in the session of the first instant messaging according to the first identification information carried by the control instruction. Since, in general, the user identity is determined according to the account nickname of the user, the account nickname can be determined according to the account identifier, and the completion information of the first message corresponding to the account identifier is displayed, where a completes the to-do message, or a completes BB, and where a may be the account nickname corresponding to the account identifier, and BB may be the to-do topic or the to-do name of the to-do message.
The user may set the to-do message or cancel the setting of the to-do message, that is, in an embodiment, the message processing method may further include:
acquiring a to-do revocation request triggered by a first message in a session of first instant messaging;
and canceling and displaying the to-do message corresponding to the first message in the session of the second instant messaging according to the to-do canceling request.
For example, the to-do revocation request triggered by acquiring the first message set as the to-do message may be obtained, and the to-do message may be cancelled and displayed in the to-do display area of the second session according to the to-do revocation request.
As can be seen from the above, the to-do setting request generated by the first instant messaging may be obtained in the embodiment of the present application; determining a second session identifier and a second message identifier of a second instant messaging according to the to-be-handled setting request; determining a session corresponding to the second instant messaging according to the second session identifier, and determining a corresponding second message, a session of the first instant messaging, and message intercommunication between the session of the second instant messaging according to the second message identifier, wherein the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system; and setting the second message as a to-do message, and displaying the to-do message in a to-do display area in the session of the second instant messaging. According to the scheme, the second message in the second instant messaging is set as the to-do message, and the to-do message is displayed, so that the members participating in the conversation can be reminded of the to-do message in the conversation, and the condition that important messages are omitted due to excessive messages of the conversation members is avoided.
On the basis of the above-described embodiments, further details will be given below by way of example.
This embodiment will be described from the perspective of a message processing apparatus, which may be specifically integrated in a computer device, and the computer device may be a server or other devices; the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (content delivery network), big data and artificial intelligence platforms and the like.
As shown in fig. 5, a specific flow of the message processing method provided in the embodiment of the present application may be as follows:
201. receiving a first message in a session aiming at the first instant messaging, and triggering a to-do setting request, wherein the to-do setting request carries a first session identifier and a first message identifier.
For example, the to-do setting request sent by the terminal may be specifically received, for example, the to-do setting request may be a user graphical interface provided by the user in the first instant messaging, the first message of the first session is set as the to-do message, the terminal is triggered to generate the to-do setting request according to the session identifier of the first session and the message identifier of the first message, and the to-do setting request is sent to the server. And the server receives the to-do setting request sent by the terminal.
202. And mapping the first session identifier to a second session identifier of the second instant messaging, and mapping the first message identifier to a second message identifier to obtain a to-do setting instruction.
For example, the server may specifically map a first session identifier in the to-do setting request to a second session identifier, map the first message identifier to a second message identifier, and generate, according to the second session identifier and the second message identifier, a to-do setting instruction that can be identified by the second instant messaging and execute a corresponding operation.
In an embodiment, the server may include a gateway server, a first backend server corresponding to the first instant messaging, and a second backend server corresponding to the second instant messaging, and the step of mapping the first session identifier to a second session identifier of the second instant messaging, and mapping the first message identifier to a second message identifier to obtain the to-do setting instruction may specifically include:
sending a to-do setting request to a gateway server, wherein a to-do setting request user indicates the gateway server to map a first session identifier into a universal session identifier, map the first message identifier into a universal message identifier, and obtain a universal to-do setting instruction based on the universal session identifier and the universal message identifier;
receiving a general to-do setting instruction returned by the gateway server based on the to-do setting request;
and mapping the general session identifier to a second session identifier of the second instant messaging according to the general to-do setting instruction, and mapping the general message identifier to a second message identifier to obtain the to-do setting instruction.
Wherein the generic session identity may be a session identity that is recognizable by the first instant messaging and mapped to the first session identity, and that is recognizable by the second instant messaging and mapped to the second session identity.
The universal message identity may be a message identity that is recognizable by the first instant communication and mapped to the first message identity, and the second instant communication is recognizable and mapped to the second message identity.
The general-purpose to-do setting instruction can be an instruction which can be identified by the first instant messaging and the second instant messaging.
For example, the first backend server may send the to-do setting request to the gateway server, the gateway server converts the first session identifier into a general session identifier, converts the first message identifier into a general message identifier, generates a general to-do setting instruction based on the general session identifier and the first session identifier, and sends the general to-do setting instruction to the second backend server.
And the second background server converts the general session identifier into a second session identifier according to the general to-do setting instruction, converts the general message identifier into a second message identifier, and generates the to-do setting instruction according to the second session identifier and the second message identifier.
203. And sending the to-do setting instruction to a second instant messaging, wherein the to-do setting instruction is used for indicating the second instant messaging to determine a second session identifier and a second message identifier based on the to-do setting instruction, setting a second message in the session of the second instant messaging as the to-do message, and displaying the to-do message, the session of the first instant messaging is intercommunicated with the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
For example, the to-do setting instruction may be specifically sent to the second instant messaging, the second instant messaging is instructed to set the second message as the to-do message, and the to-do message is displayed.
As can be seen from the above, the embodiment of the application may receive a first message in a session for first instant messaging, and a to-do setting request triggered by the first message in the session, where the to-do setting request carries a first session identifier and a first message identifier; mapping the first session identifier to a second session identifier of second instant messaging, and mapping the first message identifier to a second message identifier to obtain a to-do setting instruction; and sending the to-do setting instruction to the second instant messaging, wherein the to-do setting instruction is used for indicating the second instant messaging to determine a second session identifier and a second message identifier based on the to-do setting instruction, setting a second message in the session of the second instant messaging as the to-do message, and displaying the to-do message. According to the scheme, the second message in the second instant messaging is set as the to-do message, and the to-do message is displayed, so that the members participating in the conversation can be reminded of the to-do message in the conversation, and the situation that important messages are omitted due to too many messages of the conversation members is avoided.
On the basis of the above-described embodiments, further details will be given below by way of example.
In this embodiment, the message processing system includes a first terminal and a second terminal, the first terminal is provided with a first client corresponding to the first instant messaging, the second terminal is provided with a second client corresponding to the second instant messaging, and the first backend server corresponding to the first client, the second backend server corresponding to the second client, and the gateway server connecting the first backend server and the second backend server are provided.
The first terminal and the second terminal may be two different terminals or the same terminal.
The first background server may specifically include a to-do server, an interworking message server, and a message server. As shown in fig. 6, the specific flow of the message processing method may be as follows:
301. the terminal obtains the to-do setting request generated by the first application and sends the to-do setting request to the to-do server.
For example, the teacher may specifically set the first message in the first session in a graphical user interface provided by the first client, and trigger the first client to generate the to-do setting request.
The terminal acquires the to-do setting request and sends the to-do setting request to the to-do server of the first background server.
302. And the to-do server sends the to-do setting request to the gateway server.
For example, the to-do server may specifically send the to-do setting request to the gateway server.
303. The gateway server converts the to-do setting request into a general to-do setting instruction and distributes the general to-do setting instruction to the intercommunication message server and the second background server.
For example, the gateway server may specifically convert the first session identifier carried by the to-do setting request into a general session identifier, convert the first message identifier into a general message identifier, generate a general to-do setting instruction based on the general session identifier and the first session identifier, and send the general to-do setting instruction to the interworking message server and the second backend server.
304. The intercommunication message server converts the general to-do setting instruction into a first to-do setting instruction and sends the first to-do setting instruction to the message server.
The first to-do setting instruction may be an instruction that the first client may recognize and perform a corresponding operation.
For example, the interworking message server may specifically convert the general session identifier into a first session identifier according to the general to-do setting instruction, convert the general message identifier into a first message identifier, generate a first to-do setting instruction according to the first session identifier and the first message identifier, and send the first to-do setting instruction to the message server.
305. And the message server sends the first to-be-processed setting instruction to a first client in the terminal.
For example, the message server may specifically send the first to-do setting instruction to the first client on the terminal.
306. And the terminal marks the first message through the first client according to the first to-be-handled setting instruction.
For example, the terminal may specifically receive the first to-do setting instruction, locate, by the first client, the first session according to the first session identifier, locate, according to the first message identifier, the first message in the first session, and mark the first message as to-do. For example, as shown in fig. 3, the already-set to-do message is displayed below the first message, and the first message may be marked to do elsewhere.
The marking position can be flexibly set according to the actual application requirement, and is not limited herein.
307. And the second background server converts the general to-do setting instruction into a second to-do setting instruction and sends the to-do setting instruction to a second client in the terminal.
For example, the second background server may specifically convert the general session identifier into a second session identifier according to the general to-do setting instruction, convert the general message identifier into a second message identifier, generate a second to-do setting instruction according to the second session identifier and the second message identifier, and send the second to-do setting instruction to a second client on the terminal.
308. And the terminal displays the information to be handled in the display area to be handled of the second session through the second client.
For example, the specific method may be that the terminal receives the second to-do setting instruction, locates the second session in the second client, sets the second message as the to-do message in the second session, displays the to-do message in the to-do display area, and completes setting of the to-do message.
After the setup of the to-do message is completed, the parent may view the to-do message through the second client and complete the to-do message, for example, as shown in fig. 7:
3081. and the terminal sends the to-be-handled completion request to the second background server.
For example, the parent may perform a completion operation on the to-do message in a session interface of a second session provided by the second client, trigger the second client to generate a to-do completion request, where the to-do completion request carries an account id of the parent, a second session id, and a message id of the to-do message that completes the to-do message,
and the terminal sends the to-do completion request to a second background server, and cancels the to-do message to be displayed in the session interface through a second client logged in with the user account of the parent.
3082. And the second background server sends the request to be handled to the gateway server.
3083. And the gateway server generates a control instruction based on the to-be-handled completion request and sends the control instruction to the message server.
For example, the gateway server may specifically convert the second session identifier into the first session identifier, convert the second message identifier into the first message identifier, generate the control instruction according to the first session identifier, the first message identifier, and the account identifier, and send the control instruction to the message server based on the to-do completion request.
3084. And the message server sends the control instruction to the terminal.
3085. And the terminal displays the completion information through the second client.
For example, the method may specifically be that the message server sends the control instruction to a second client on the terminal, locates, by the second client, the first session according to a first session identifier carried by the control instruction, locates, according to the first message identifier, the first message, and displays, in a second session, the to-do message corresponding to the parent corresponding to the account identifier that finishes the first message.
As can be seen from the above, the message processing system in the embodiment of the present application may obtain, through the terminal, the to-do setting request generated by the first application, and send the to-do setting request to the to-do server; the to-do server sends the to-do setting request to the gateway server; the gateway server converts the to-do setting request into a general to-do setting instruction, and the general to-do setting instruction is distributed to the intercommunication message server and the second background server; the intercommunication message server converts the general to-be-handled setting instruction into a first to-be-handled setting instruction and sends the first to-be-handled setting instruction to the message server; the message server sends the first to-be-processed setting instruction to a first client in the terminal; the terminal marks the first message through the first client according to the first to-be-handled setting instruction; and displaying the information to be handled in the display area to be handled of the second session through the second client by the terminal. According to the scheme, the second message in the second instant messaging is set as the to-do message, and the to-do message is displayed, so that the members participating in the conversation can be reminded of the to-do message in the conversation, and the situation that important messages are omitted due to too many messages of the conversation members is avoided.
In order to better implement the message processing method provided by the embodiment of the present application, a message processing apparatus is further provided in an embodiment. The terms are the same as those in the message processing method, and details of implementation can refer to the description in the method embodiment.
The message processing apparatus may be specifically integrated in a computer device, as shown in fig. 8, the message processing apparatus may include: the obtaining unit 401, the first determining unit 402, the second determining unit 403, and the displaying unit 404 are as follows:
the acquisition unit 401: the method comprises the steps of obtaining a to-do setting request generated by the first instant messaging, wherein the to-do setting request is generated by triggering a first message in a session of the first instant messaging.
For example, the user may specifically set the first message in the first session in a user graphical interface provided by the first instant messaging, trigger the first instant messaging to generate a to-do setting request, and obtain, by the terminal, the to-do setting request generated by the first instant messaging.
The first determination unit 402: and the second session identifier and the second message identifier of the second instant messaging are determined according to the to-do setting request.
For example, the to-do setting request may specifically carry a first session identifier and a first message identifier, and map the first session identifier to a second session identifier and map the first message identifier to the second message identifier according to the to-do setting request.
In an embodiment, the first determining unit 402 may include a sending subunit, a receiving subunit, and a determining subunit, specifically:
a sending subunit: the device comprises a request sending module, a request receiving module and a server, wherein the request sending module is used for sending a to-do setting request to the server, the to-do setting request carries a first session identifier and a first message identifier of first instant messaging, the to-do setting request is used for indicating the server to map the first session identifier to a second session identifier of second instant messaging, the first message identifier is mapped to the second message identifier, and a to-do setting instruction is generated based on the session identifier and the second message identifier.
A receiving subunit: and the device is used for receiving the to-do setting instruction returned by the server based on the to-do setting request.
Determining a subunit: and the second session identifier and the second message identifier are used for determining the second instant messaging according to the to-do setting instruction.
For example, the to-do setting request generated in the first instant messaging may be sent to the server, the server is instructed to map the first session identifier to the second session identifier, the first message identifier is mapped to the second message identifier, the to-do setting instruction is generated based on the second session identifier and the second message identifier, and the generated to-do setting instruction is returned to the terminal.
The terminal may determine the second session identifier and the second message identifier according to the received to-do setting instruction and the information carried by the to-do setting instruction.
The second determination unit 403: the instant messaging system is used for determining a session corresponding to the second instant messaging according to the second session identifier, determining a second message corresponding to the session of the second instant messaging according to the second message identifier, wherein the session of the first instant messaging is in message intercommunication with the session of the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
For example, the second instant messaging may specifically query for the second session according to the second session identifier, and locate the second message in the second session according to the second message identifier.
The display unit 404: and the display module is used for setting the second message as a to-do message and displaying the to-do message in a to-do display area in the session of the second instant messaging.
For example, after the second message is located, the second message is set as a to-do message, and the to-do message is displayed in the to-do display area.
Optionally, after the second message is set as the to-do message, a corresponding to-do control may be generated, and the to-do control is displayed in the to-do display area, where the to-do control may include part of or all of the content of the to-do message, or include a to-do topic or a to-do name set when the user initiates a to-do setting request. And when the triggering operation aiming at the to-do control is detected, such as clicking, long pressing and the like, displaying the complete content of the to-do message.
The user may view the to-do message in the second session of the second instant messaging, and may perform a completion operation on the to-do message, and the terminal may display that the to-do message has been completed in the first instant messaging in response to the trigger operation on the to-do message. That is, in an embodiment, the message processing apparatus may further include a display unit, specifically:
a display unit: and the processing unit is used for responding to the completion operation of the to-do message in the session of the second instant messaging, and displaying the completion information of the first message corresponding to the to-do message in the session of the first instant messaging.
For example, the completion information that the to-do message is completed may be displayed in the session of the first instant messaging when a completion operation for the to-do message in the to-do display area is detected, for example, a click operation, a long press operation, or a slide operation, and the completion information that the to-do message is completed is determined according to the first message and set based on the second message.
In an embodiment, the first instant messaging and the second instant messaging may perform message intercommunication through the server, and the display unit may include an instruction generation subunit, a sending subunit, a receiving subunit, and a display subunit, specifically:
an instruction generation subunit: and the processing unit is used for responding to the completion operation of the to-do message in the session aiming at the second instant messaging and generating a to-do completion request.
A sending subunit: the system comprises a request sending module, a request receiving module and a server, wherein the request sending module is used for sending a to-do completion request to the server, and the to-do completion request is used for indicating the server to generate a control instruction which can be identified by the first instant messaging.
A receiving subunit: and the control instruction is used for receiving the control instruction returned by the server based on the to-do completion request.
A display subunit: and the display module is used for displaying the completion information of the first message in the session of the first instant messaging according to the control instruction.
For example, the to-do completion request may be specifically generated when the terminal detects a completion operation for the to-do message in the session of the second instant messaging, and the to-do completion request may carry the second session identifier of the second session and the message identifier of the to-do message, and send the to-do completion request to the server.
The server maps the message identifier of the to-do message into a first message identifier according to the to-do completion request, generates a control instruction capable of being identified by the first instant messaging based on the to-do setting request and the first message identifier, for example, generates the control instruction based on a transmission protocol between the server and the first instant messaging, and sends the control instruction to the terminal.
And the terminal locates the first message in the session of the first instant messaging according to the control instruction and displays a completion message of the first message.
If the first session and the second session are multi-person sessions, such as group chat, the displayed completion information may include user information for completing the to-do message, that is, in an embodiment, the display subunit may include a determining module and a display module, specifically:
a determination module: and the processing unit is used for determining a first message corresponding to the to-do message in the session of the first instant messaging according to the first message identifier carried by the control instruction.
A display module: and the terminal is used for displaying the completion information of the first message corresponding to the account identification.
For example, the first message corresponding to the to-do message may be determined in the session of the first instant messaging according to the first identification information carried by the control instruction. Since, in general, the user identity is determined according to the account nickname of the user, the account nickname can be determined according to the account identifier, and the completion information of the first message corresponding to the account identifier is displayed, where a completes the to-do message, or a completes BB, and where a may be the account nickname corresponding to the account identifier, and BB may be the to-do topic or the to-do name of the to-do message.
The user may set the to-do message or cancel the setting of the to-do message, that is, in an embodiment, the message processing apparatus may further include a request obtaining unit and a cancel display unit, specifically:
a request acquisition unit: the method and the device are used for acquiring the to-do revocation request triggered by the first message in the session of the first instant messaging.
A cancel display unit: and the canceling and displaying the to-do message corresponding to the first message in the session of the second instant messaging according to the to-do canceling request.
For example, the to-do revocation request triggered by acquiring the first message set as the to-do message may be specifically obtained, and the to-do message displayed in the to-do display area is cancelled according to the to-do revocation request.
As can be seen from the above, the message processing apparatus in the embodiment of the present application may obtain, by the obtaining unit 401, the to-do setting request generated by the first instant messaging; the first determining unit 402 determines a second session identifier and a second message identifier of the second instant messaging according to the to-do setting request; determining a session corresponding to the second instant messaging according to the second session identifier by the second determining unit 403, and determining a corresponding second message, a session of the first instant messaging, and message intercommunication between the sessions of the second instant messaging according to the second message identifier, where the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system; finally, the display unit 404 sets the second message as a to-do message, and displays the to-do message in the to-do display area in the session of the second instant messaging. According to the scheme, the second message in the second instant messaging is set as the to-do message, and the to-do message is displayed, so that the members participating in the conversation can be reminded of the to-do message in the conversation, and the situation that important messages are omitted due to too many messages of the conversation members is avoided.
In order to better implement the message processing method provided by the embodiment of the present application, a message processing apparatus is further provided in an embodiment. The terms are the same as those in the above message processing method, and details of implementation may refer to the description in the method embodiment.
The message processing apparatus may be specifically integrated in a computer device, as shown in fig. 9, and the message processing apparatus may include: the receiving unit 501, the mapping unit 502, and the sending unit 503 are specifically as follows:
the receiving unit 501: the device comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a first message in a session aiming at first instant messaging and a triggered to-do setting request, and the to-do setting request carries a first session identifier and a first message identifier.
For example, the to-do setting request sent by the terminal may be specifically received, for example, the to-do setting request may be a user graphical interface provided by the user in the first instant messaging, the first message of the first session is set as the to-do message, the terminal is triggered to generate the to-do setting request according to the session identifier of the first session and the message identifier of the first message, and the to-do setting request is sent to the server.
The mapping unit 502: and the second session identifier is used for mapping the first session identifier to a second instant messaging session identifier, and mapping the first message identifier to a second message identifier to obtain the to-do setting instruction.
For example, the server may specifically map a first session identifier in the to-do setting request to a second session identifier, map the first message identifier to a second message identifier, and generate a second to-do setting instruction that can be recognized and perform a corresponding operation with the second instant messaging according to the second session identifier and the second message identifier.
In an embodiment, the server may include a gateway server, a first backend server corresponding to the first instant messaging, and a second backend server corresponding to the second instant messaging, and the mapping unit 502 may include a sending subunit, a receiving subunit, and a mapping subunit, specifically:
a sending subunit: the gateway server is used for sending a to-do setting request to the gateway server, the to-do setting request user indicates the gateway server to map the first session identifier into a universal session identifier, the first message identifier is mapped into a universal message identifier, and a universal to-do setting instruction is obtained based on the universal session identifier and the universal message identifier.
A receiving subunit: and the gateway server is used for receiving the general to-do setting instruction returned by the gateway server based on the to-do setting request.
A mapping subunit: and the processing unit is used for mapping the general session identifier to a second session identifier of the second instant messaging according to the general to-do setting instruction, and mapping the general message identifier to a second message identifier to obtain the to-do setting instruction.
For example, the first backend server may send the to-do setting request to the gateway server, the gateway server converts the first session identifier into a general session identifier, converts the first message identifier into a general message identifier, generates a general to-do setting instruction based on the general session identifier and the first session identifier, and sends the general to-do setting instruction to the second backend server, and the second backend server converts the general session identifier into a second session identifier according to the general to-do setting instruction, converts the general message identifier into a second message identifier, and generates the to-do setting instruction according to the second session identifier and the second message identifier.
The transmission unit 503: the to-do setting instruction is used for indicating the second instant messaging to determine a second session identifier and a second message identifier based on the to-do setting instruction, setting a second message in the session of the second instant messaging as the to-do message, and displaying the to-do message, wherein the session of the first instant messaging is in message intercommunication with the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
For example, the to-do setting instruction may be specifically sent to the second instant messaging, the second instant messaging is instructed to set the second message as the to-do message, and the to-do message is displayed.
As can be seen from the above, the message device in the embodiment of the present application may receive, through the receiving unit 501, a first message in a session for first instant messaging, and a to-do setting request triggered by the first message in the session, where the to-do setting request carries a first session identifier and a first message identifier; mapping the first session identifier to a second session identifier of the second instant messaging and mapping the first message identifier to a second message identifier by the mapping unit 502 to obtain a to-do setting instruction; the to-do setting instruction is sent to the second instant messaging through the sending unit 503, where the to-do setting instruction is used to instruct the second instant messaging to determine the second session identifier and the second message identifier based on the to-do setting instruction, set the second message in the session of the second instant messaging as the to-do message, and display the to-do message. According to the scheme, the second message in the second instant messaging is set as the to-do message, and the to-do message is displayed, so that the members participating in the conversation can be reminded of the to-do message in the conversation, and the condition that important messages are omitted due to excessive messages of the conversation members is avoided.
An embodiment of the present application further provides a computer device, where the computer device may be a terminal or a server, as shown in fig. 10, which shows a schematic structural diagram of the computer device according to the embodiment of the present application, and specifically:
the computer device may include components such as a processor 1001 of one or more processing cores, memory 1002 of one or more computer-readable storage media (which may also be referred to as storage media), a power supply 1003, and an input unit 1004. Those skilled in the art will appreciate that the computer device architecture illustrated in FIG. 10 is not intended to be limiting of computer devices and may include more or less components than those illustrated, or combinations of certain components, or different arrangements of components. Wherein:
the processor 1001 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 1002 and calling data stored in the memory 1002, thereby monitoring the computer device as a whole. Optionally, processor 1001 may include one or more processing cores; preferably, the processor 1001 may integrate an application processor, which mainly handles operating systems, user interfaces, computer programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1001.
The memory 1002 may be used to store software programs and modules, and the processor 1001 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1002. The memory 1002 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 1002 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1002 may also include a memory controller to provide the processor 1001 access to the memory 1002.
The computer device further includes a power source 1003 for supplying power to each component, and preferably, the power source 1003 may be logically connected to the processor 1001 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are implemented through the power management system. The power source 1003 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The computer device may also include an input unit 1004, and the input unit 1004 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 1001 in the computer device loads the executable file corresponding to the process of one or more computer programs into the memory 1002 according to the following instructions, and the processor 1001 runs the computer programs stored in the memory 1002, so as to implement various functions, when the computer device is a terminal, as follows:
acquiring a to-do setting request generated by first instant messaging, wherein the to-do setting request is generated by triggering a first message in a session aiming at the first instant messaging;
determining a second session identifier and a second message identifier of second instant messaging according to the to-do setting request;
determining a session corresponding to the second instant messaging according to the second session identifier, and determining a second message corresponding to the session of the second instant messaging according to the second message identifier, wherein the session of the first instant messaging is in message intercommunication with the session of the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system;
and setting the second message as a to-do message, and displaying the to-do message in a to-do display area in the session of the second instant messaging.
When the computer device is a server, the following is:
receiving a first message in a session aiming at first instant messaging, and triggering a to-do setting request, wherein the to-do setting request carries a first session identifier and a first message identifier;
mapping the first session identifier to a second session identifier of second instant messaging, and mapping the first message identifier to a second message identifier to obtain a to-do setting instruction;
and sending the to-do setting instruction to the second instant messaging, wherein the to-do setting instruction is used for indicating the second instant messaging to determine a second session identifier and a second message identifier based on the to-do setting instruction, setting a second message in the session of the second instant messaging as the to-do message, and displaying the to-do message, the session of the first instant messaging is in message intercommunication with the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, in the embodiment of the application, the computer device sets the second message in the second instant messaging as the to-do message through the first instant messaging, and displays the to-do message in the to-do display area, so that the members participating in the conversation can be reminded of the to-do message in the conversation, and the situation that important messages are omitted due to too many messages of the conversation members is avoided.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by a computer program controlling associated hardware.
To this end, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program can be loaded by a processor to execute any one of the message processing methods provided in the embodiment of the present application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
As the computer program stored in the computer-readable storage medium can execute any message processing method provided in the embodiment of the present application, beneficial effects that can be achieved by any message processing method provided in the embodiment of the present application can be achieved, for details, see the foregoing embodiment, and are not described herein again.
The foregoing detailed description is directed to a message processing method, an apparatus, a computer device, and a storage medium provided in the embodiments of the present application, and specific examples are applied in the present application to explain the principles and implementations of the present application, and the descriptions of the foregoing embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A message processing method, comprising:
acquiring a to-do setting request generated by first instant messaging, wherein the to-do setting request is generated by triggering a first message in a session of the first instant messaging;
determining a second session identifier and a second message identifier of second instant messaging according to the to-do setting request;
determining a session corresponding to the second instant messaging according to the second session identifier, and determining a second message corresponding to the session of the second instant messaging according to the second message identifier, wherein the session of the first instant messaging is in message intercommunication with the session of the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system;
and setting the second message as a to-do message, and displaying the to-do message in a to-do display area in the session of the second instant messaging.
2. The method of claim 1, further comprising:
and responding to a completion operation of the to-do message in the session of the second instant messaging, and displaying completion information of the first message corresponding to the to-do message in the session of the first instant messaging.
3. The method of claim 2, wherein the displaying completion information of a first message corresponding to the to-do message in the session of the first instant messaging in response to the completion operation for the to-do message in the session of the second instant messaging comprises:
responding to the completion operation of the to-be-handled message in the session of the second instant messaging, and generating a to-be-handled completion request;
sending the to-do completion request to a server, wherein the to-do completion request is used for indicating the server to generate a control instruction corresponding to the first instant messaging;
receiving a control instruction returned by the server based on the to-be-handled completion request;
and displaying the completion information of the first message in the session of the first instant messaging according to the control instruction.
4. The method according to claim 3, wherein the determining a session identifier and a second message identifier of a second instant messaging according to the to-do setting request includes:
sending the to-be-handled setting request to a server, wherein the to-be-handled setting request carries a first session identifier and a first message identifier of first instant messaging, the first session identifier is a session identifier corresponding to a session of the first instant messaging, the first message identifier is a message identifier corresponding to a first message, and the to-be-handled setting request is used for indicating the server to map the first session identifier to a second session identifier of second instant messaging, map the first message identifier to a second message identifier, and generate a to-be-handled setting instruction based on the session identifier and the second message identifier;
receiving a to-do setting instruction returned by the server based on the to-do setting request;
and determining a second session identifier and a second message identifier of the second instant messaging according to the to-do setting instruction.
5. The method according to claim 3, wherein the control instruction carries an account identifier and a first message identifier, and the displaying the completion information of the first message in the session of the first instant messaging according to the control instruction comprises:
determining a first message corresponding to the to-do message in the session of the first instant messaging according to a first message identifier carried by the control instruction;
and displaying the completion information of the first message corresponding to the account identification.
6. The method of claim 1, further comprising:
acquiring a to-do revocation request triggered by the first message in a session of first instant messaging;
and canceling and displaying the to-do message corresponding to the first message in the session of the second instant messaging according to the to-do revocation request.
7. A message processing method, comprising:
receiving a first message in a session aiming at first instant messaging, and a to-do setting request triggered by the first message, wherein the to-do setting request carries a first session identifier and a first message identifier;
mapping the first session identifier to a second session identifier of second instant messaging, and mapping the first message identifier to a second message identifier to obtain a to-do setting instruction;
sending the to-do setting instruction to a second instant messaging, wherein the to-do setting instruction is used for indicating the second instant messaging to determine a second session identifier and a second message identifier based on the to-do setting instruction, setting a second message in the session of the second instant messaging as the to-do message, and displaying the to-do message, the session of the first instant messaging is in message intercommunication with the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
8. The method of claim 7, wherein mapping the first session identifier to a second session identifier of a second instant messaging and mapping the first message identifier to a second message identifier to obtain a to-do setting instruction comprises:
sending the to-do setting request to a gateway server, wherein the to-do setting request is used for indicating the gateway server to map a first session identifier into a universal session identifier, map the first message identifier into a universal message identifier, and obtain a universal to-do setting instruction based on the universal session identifier and the universal message identifier;
receiving a general to-do setting instruction returned by the gateway server based on the to-do setting request;
and mapping the general session identifier to a second session identifier of second instant messaging according to the general to-do setting instruction, and mapping the general message identifier to a second message identifier to obtain the to-do setting instruction.
9. A message processing apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a to-do setting request generated by first instant messaging, and the to-do setting request is generated by triggering a first message in a session aiming at the first instant messaging;
the first determining unit is used for determining a second session identifier and a second message identifier of second instant messaging according to the to-do setting request;
a second determining unit, configured to determine, according to the second session identifier, a session corresponding to the second instant messaging, and determine, according to the second message identifier, a second message corresponding to the second instant messaging session, where the first instant messaging session is in message intercommunication with the second instant messaging session, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system;
and the display unit is used for setting the second message as a to-do message and displaying the to-do message in a to-do display area in the session of the second instant messaging.
10. A message processing apparatus, comprising:
the receiving unit is used for receiving a to-do setting request triggered by a first message in a session aiming at first instant messaging, wherein the to-do setting request carries a first session identifier and a first message identifier;
the mapping unit is used for mapping the first session identifier to a second session identifier of second instant messaging, and mapping the first message identifier to a second message identifier to obtain a to-do setting instruction;
and the sending unit is used for sending the to-do setting instruction to second instant messaging, wherein the to-do setting instruction is used for indicating the second instant messaging to determine a second session identifier and a second message identifier based on the to-do setting instruction, setting a second message in the session of the second instant messaging as the to-do message, and displaying the to-do message, the session of the first instant messaging is in message intercommunication with the second instant messaging, the first message is matched with the second message, and the first instant messaging belong to a heterogeneous system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110713422.3A CN115529287A (en) | 2021-06-25 | 2021-06-25 | Message processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110713422.3A CN115529287A (en) | 2021-06-25 | 2021-06-25 | Message processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115529287A true CN115529287A (en) | 2022-12-27 |
Family
ID=84694433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110713422.3A Pending CN115529287A (en) | 2021-06-25 | 2021-06-25 | Message processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115529287A (en) |
-
2021
- 2021-06-25 CN CN202110713422.3A patent/CN115529287A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9479900B2 (en) | Geographic location-based communications method, mobile terminal, server, and geographic location-based communications system | |
CN102138156B (en) | Persisting a group in an instant messaging application | |
US10863312B2 (en) | Moving track sharing method and apparatus, and storage medium | |
CN104052655A (en) | Group chatting method and instant messaging client-side | |
CN109428859B (en) | Synchronous communication method, terminal and server | |
US10574782B2 (en) | Method and server for generating contact relationship data in network communication system | |
CN101272358B (en) | Method, device and system for showing user group communication ability in instant communication | |
CN110609970B (en) | User identity identification method and device, storage medium and electronic equipment | |
CN113395202B (en) | Session management method, device, computer equipment and storage medium | |
CN109274575B (en) | Message sending method and device and electronic equipment | |
CN108616443A (en) | Associated person information methods of exhibiting and device | |
CN110109594B (en) | Drawing data sharing method and device, storage medium and equipment | |
CN114244793B (en) | Information processing method, device, equipment and storage medium | |
CN105306695B (en) | The communication means and mobile terminal of mobile terminal | |
CN107508745B (en) | Prompting message associated input method and device and computing equipment | |
CN114157627B (en) | Group processing method, device, electronic equipment and medium | |
CN113497715A (en) | Chat service providing method and device | |
CN115529287A (en) | Message processing method and device | |
CN105681262A (en) | Interaction message allocating method and system | |
CN114417201A (en) | Message processing method and device, computer equipment and storage medium | |
CN109150696B (en) | Information processing method, server, client, and computer-readable storage medium | |
CN104468645A (en) | Control method, electronic equipment, and information transmission method and device | |
CN108924182B (en) | Text information sending method and device in virtual reality scene | |
CN106899487B (en) | Communication processing method, device, server and equipment | |
CN112291420A (en) | Message display method and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |