CN110620846A - Message merging method, device, equipment and storage medium - Google Patents

Message merging method, device, equipment and storage medium Download PDF

Info

Publication number
CN110620846A
CN110620846A CN201910920212.4A CN201910920212A CN110620846A CN 110620846 A CN110620846 A CN 110620846A CN 201910920212 A CN201910920212 A CN 201910920212A CN 110620846 A CN110620846 A CN 110620846A
Authority
CN
China
Prior art keywords
message
sender
identifier
merging
identification
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.)
Granted
Application number
CN201910920212.4A
Other languages
Chinese (zh)
Other versions
CN110620846B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910920212.4A priority Critical patent/CN110620846B/en
Publication of CN110620846A publication Critical patent/CN110620846A/en
Application granted granted Critical
Publication of CN110620846B publication Critical patent/CN110620846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption

Abstract

The embodiment of the application discloses a message merging method, a message merging device, message merging equipment and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: receiving a first message of a sender, wherein the first message comprises message content and a first message identifier; determining a second message meeting a merging condition for merging messages with the first message from the received second messages according to the first message identifier and a second message identifier of the received second message, wherein the merging condition at least comprises that a sender is the same as the sender of the first message; and merging the first message and the second message meeting the merging condition into the same session page. The method and the device for displaying the messages can display the messages of the same sender in the same conversation page, improve message display effect, and avoid user understanding deviation caused by displaying the messages of the same sender in different conversation pages.

Description

Message merging method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for message merging.
Background
At present, users can communicate by sending messages to other users, for example, merchants can send promotion messages or notification messages to target groups in a group, so as to achieve the effect of publicity or notification.
The message is generally sent to the receiver through the operator channel number of the operator, the same operator channel number can be used by different senders, and the same sender can also send the message by using different operator channel numbers at different times. For the receiving end, different operator channel numbers are displayed as different numbers, and messages sent by different operator channel numbers are displayed in different session pages. Thus, the message of the same sender can be issued to the receiver through different operator channel numbers, and then displayed in different session pages.
Because messages of the same sender can be displayed in different conversation pages, the message display effect is poor, and the understanding deviation of a user is easily caused.
Disclosure of Invention
The embodiment of the application provides a message merging method, a message merging device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a message merging method, which is applied to a terminal, and the method includes:
receiving a first message of a sender, wherein the first message comprises message content and a first message identifier;
determining a second message meeting a merging condition for merging messages with the first message from the received second messages according to the first message identifier and a second message identifier of the received second message, wherein the merging condition at least comprises that a sender is the same as the sender of the first message;
and merging the first message and the second message meeting the merging condition into the same session page.
In another aspect, a message merging apparatus is provided, where the apparatus is applied in a terminal, and the apparatus includes:
the receiving module is used for receiving a first message of a sender, wherein the first message comprises message content and a first message identifier;
a determining module, configured to determine, according to the first message identifier and a second message identifier of a received second message, a second message that meets a merging condition for merging messages with the first message from the received second message, where the merging condition at least includes that a sender is the same as a sender of the first message;
and the merging module is used for merging the first message and the second message meeting the merging condition into the same session page.
In another aspect, a terminal is provided that includes a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the message merge method described above.
In another aspect, a message merging method is provided, which is applied in a network server, and the method includes:
generating a first message identifier based on the associated information of the message content to be sent by the sender;
generating a first message based on the message content and the first message identification, the first message comprising the message content and the first message identification;
and sending the first message to a terminal of a receiver through a message channel, wherein the first message is used for indicating the terminal to merge a second message, meeting a merging condition of merging messages with the first message, in the first message and the received second message into the same session page according to the first message identifier of the first message and a second message identifier of the received second message, and the merging condition at least comprises that a sender is the same as the sender of the first message.
In another aspect, a message merging apparatus is provided, which is applied in a network server, and the apparatus includes:
the first generation module is used for generating a first message identifier based on the associated information of the message content to be sent by the sender;
a second generating module, configured to generate a first message based on the message content and the first message identifier, where the first message includes the message content and the first message identifier;
a sending module, configured to send the first message to a terminal of a receiver through a message channel, where the first message is used to instruct the terminal to combine, according to the first message identifier of the first message and a second message identifier of a received second message, a second message that meets a combining condition for combining messages with the first message in the first message and the received second message into a same session page, and the combining condition at least includes that a sender is the same as a sender of the first message.
In another aspect, a server is provided, the server comprising a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the message merge method described above.
In another aspect, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, and the at least one instruction is configured to be executed by a processor to implement the message merging method on the terminal side or the message merging method on the network server side.
In another aspect, a computer program product is provided, where at least one instruction is stored, and the at least one instruction is used for being executed by a processor to implement the message merging method on the terminal side or the message merging method on the network server side.
The technical scheme provided by the application can at least bring the following beneficial effects:
in the embodiment of the application, the first message received by the terminal not only includes the message content but also includes the first message identifier, so that after the message is received, the terminal can determine the message which is the same as the sender of the first message from the received second message according to the first message identifier and the received second message identifier of the second message, and further display the message of the same sender in the same conversation page, thereby improving the message display effect and avoiding the user understanding deviation caused by displaying the message of the same sender in different conversation pages.
Drawings
Fig. 1 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application;
FIG. 2 is a block diagram illustrating a network server according to an exemplary embodiment of the present application;
FIG. 3 illustrates a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 4 illustrates a schematic diagram of an implementation environment provided by another exemplary embodiment of the present application;
FIG. 5 illustrates a flow chart of a message merge method shown in an exemplary embodiment of the present application;
FIG. 6 shows a flow diagram of a message merge method shown in another example embodiment of the present application;
FIG. 7 illustrates a flow chart of a message merge method, shown in yet another exemplary embodiment of the present application;
fig. 8 is a block diagram illustrating a message merging apparatus according to an embodiment of the present application;
fig. 9 is a block diagram illustrating a message merging apparatus according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Referring to fig. 1, a block diagram of a terminal 100 according to an exemplary embodiment of the present application is shown. The terminal 100 may be a smart phone, a tablet computer, a notebook computer, etc. The terminal 100 in the present application may include one or more of the following components: processor 110, memory 120, display 130.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall terminal 100 using various interfaces and lines, and performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user page, an application program and the like; the GPU is used for rendering and drawing the content to be displayed by the touch display screen 130; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a single chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the terminal 100, and the like.
The display screen 130 is a display component for displaying user pages. Optionally, the display screen 130 further has a touch function, and a user can perform a touch operation on the display screen 130 by using any suitable object such as a finger, a touch pen, and the like through the touch function. For example, a conversation page of a message may be displayed according to a touch operation of a user.
The display 130 is generally disposed on a front panel of the terminal 130. The display screen 130 may be designed as a full-face screen, a curved screen, a contoured screen, a double-face screen, or a folding screen. The display 130 may also be designed as a combination of a full-screen and a curved-screen, and a combination of a non-flat screen and a curved-screen, which is not limited in this embodiment.
In a possible implementation manner, the terminal 100 may further receive a first message of a sender through an operator channel or a network channel, transmit the first message to the processor 110, determine, by the processor 110, a second message meeting a merging condition from the received second messages according to a first message identifier of the first message and a second message identifier of the received second message, merge the first message and the second message meeting the merging condition into the same conversation page, and display the merged conversation page by the display 130. The first message comprises message content and a first message identifier, the first message identifier at least comprises a sender identifier obtained by registering a sender on the network server according to the identity information, the first message identifier is generated by the network server according to the associated information of the message content, and the associated information at least comprises the identity information of the sender.
In addition, those skilled in the art will appreciate that the configuration of terminal 100 as illustrated in the above-described figures is not intended to be limiting of terminal 100, and that terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal 100 further includes a microphone, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wireless Fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
Referring to fig. 2, a block diagram of a network server 200 according to an exemplary embodiment of the present application is shown. The network server 200 may be a background server of a network platform, and the network platform is configured to generate a message identifier for a message, so that a terminal merges according to the message identifier in the message. The network server 200 may be a server or a server cluster.
The network server 200 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 201 and one or more memories 202. Wherein, the memory 202 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 201 to implement the message merging method provided by the above-mentioned method embodiments. Certainly, the network server 200 may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the network server 200 may further include other components for implementing the functions of the device, which are not described herein again.
Referring to fig. 3, a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application is shown, where the implementation environment includes a message server 31, a network server 32, and a terminal 33.
The message server 31 is a background server of a message service platform, and the message service platform is configured to provide a message sending service for a sender, where the message sending service includes sending an authentication code, a message notification, a promotion message, and the like. As an example, the message server 31 provides a message service to the sender through the carrier channel, that is, the message server 31 serves to transmit a message to the terminal 33 through the carrier channel. As one example, the message service platform generally provides message service for businesses such as large, medium and small enterprises.
The network server 32 is a server added between the message server 31 and the terminal 33 for generating and adding a message identifier for a message according to the embodiment of the present application. The web server 32 is a background server of a web platform for providing a service of generating and adding a message identifier for a message. The message identification includes a sender identification of the message, which the sender may register on the network platform.
The terminal 33 is a terminal of a receiver, and is configured to receive a message sent by a sender to the receiver through the message server 31 and the network server 32, and merge the message according to the method provided in the embodiment of the present application. For example, a message application is installed in the terminal 33, and the message application can combine messages according to the method provided in the embodiment of the present application.
In a possible implementation manner, a sender may generate a message content to be sent on a message service platform provided by the message server 31, the network server 32 generates a first message identifier based on the association information of the message content, generates a first message based on the message content and the first message identifier, returns the first message to the message service platform, and the message server 31 sends the first message to the sender's terminal 33 through an operator channel. Alternatively, after the web server 32 generates the first message based on the content and the first message identifier, the web server 32 may send the first message to the sender's terminal 33 through the carrier channel instead of returning the first message to the message service platform.
Referring to fig. 4, a schematic diagram of an implementation environment provided by another exemplary embodiment of the present application is shown, where the implementation environment includes a network server 41 and a terminal 42. The network server 41 and the terminal 42 may communicate with each other through a wired network or a wireless network.
The web server 41 is a backend server of a web platform that can provide messaging services for senders, as well as services for generating and adding message identifications for messages. As an example, the network platform may provide a message service to the sender through a network channel, that is, a message may be sent to the terminal 42 through the network channel. The message identification includes a sender identification of the message, and the sender may register on the network platform to generate the sender identification. After receiving the first message, the terminal 42 may perform message merging according to the method provided in the embodiment of the present application.
In a possible implementation manner, the sender may generate a message content to be sent on a network platform provided by the network server 41, and the network server 41 generates a first message identifier based on the message content, generates a first message based on the message content and the first message identifier, and sends the first message to the terminal 42 of the sender through a network channel. After receiving the first message, the terminal 42 may perform message merging according to the method provided in the embodiment of the present application.
It should be noted that, in the foregoing embodiment, only the two implementation environments are schematically illustrated, and in other possible application scenarios, the implementation environment for implementing message merging may further include other devices.
In the related art, since the message of the same sender may be delivered to the receiver through different operator channel numbers, for example, the message of the same merchant may be delivered to the receiver through different numbers, and the message sent by the receiving end for different numbers will be displayed in different conversation pages, for the receiving end, the message sent by the same sender will be displayed in different conversation pages, which is easy to cause a deviation in understanding of the user, and the following two scenarios are described as follows:
scene 1: at present, if a previous sender using a certain number sends a spam message, and the user sees the message sent by the number again, the user still can think that the message is a spam message even if the current message is a normal message sent by another sender using the number, and then does not read the message or set interception for the message, which may cause the user to miss an important message.
Scene 2: if the last sender of a certain number is of the bank type, when the user of the number changes, for example, the user of the number changes to a lawless person, the user still can be considered as a message sent by the bank when seeing the message sent by the number again, and the user is easy to be subjected to fraud.
In the method provided by the embodiment of the application, a message identifier can be added to a message sent by a sender to a receiver, and the message identifier at least carries a sender identifier registered by the sender, so that after a terminal receives the message, the message sent by the same sender can be determined according to the message identifier of the currently received message and the message identifier of the received message, and the messages sent by the same sender are combined into the same session page. Because the messages of the same sender can be merged on the same conversation page, the message display effect is improved, and the user understanding deviation caused by displaying the messages of the same sender on different conversation pages is avoided. The following describes the message merging process for the same sender using an exemplary embodiment.
Referring to fig. 5, a flow chart of a message merging method according to an exemplary embodiment of the present application is shown. This embodiment is illustrated by applying the method to the implementation environment shown in fig. 3 or fig. 4. The method comprises the following steps:
step 501, a network server generates a first message identifier based on the associated information of the message content to be sent by a sender.
Optionally, the sender in the embodiment of the present application is a merchant, and the message is a message sent by the merchant. The method provided by the embodiment of the application can combine the messages sent by the same merchant through different operator channel numbers into the same session page.
Optionally, the message is a short message. The message may be a text, picture, video, audio or card type message. Optionally, the association information at least includes identity information of the sender, and the first message identifier at least includes a sender identifier registered by the sender on the network server according to the identity information. In addition, the associated information of the message content may further include at least one of the message content, a key agreed in advance by the sender and the network server, and a combining condition.
Optionally, the first message identifier is an identifier of the message content, and is used for uniquely identifying the message content. The first message identification includes at least a sender identification for uniquely identifying the sender of the message content, illustratively, an identity for uniquely identifying the sender. Optionally, the identifier described in this embodiment of the present application may be at least one of a name, a number, or an ID (identity identifier). For example, the sender identification may be a sender name, a sender number, a sender id, or the like.
In a possible implementation manner, the network server may generate the first message identifier based on the association information of the message content when receiving a message identifier generation request sent by the message server. The relevant information of the message content may be carried in the message identifier generation request, or may be obtained by the network server in other manners, which is not limited in this embodiment of the application.
Optionally, an identifier generation icon is set on a message service platform provided by the message server, and the message identifier generation request may be triggered based on the identifier generation icon. For example, after the sender sets the message content to be sent on the message server platform, the message server may send a message identifier generation request to the network server when detecting the trigger operation for the identifier generation icon, so as to request the network server to generate the first message identifier based on the associated information of the message content.
In another possible implementation manner, the network server may further generate the first message identifier based on the association information of the message content when receiving a message sending instruction of the message content to be sent.
Optionally, the sender may set a message content to be sent on a network platform provided by the network server, and when the network server receives a sending instruction for the message content, generate the first message identifier based on the associated information of the message content.
The network platform provided by the network server provides registration service for the sender, and the sender can register on the network platform and generate a corresponding sender identifier. Alternatively, the network server may generate the sender identification according to a registration request of the sender when receiving the registration request. As an example, when a network service network receives a registration request of a sender, determining a first timestamp corresponding to a time at which a sender identifier is to be generated currently according to the registration request, where the registration request carries identity information of the sender; encrypting the first time stamp, and determining a sender identifier based on an encryption processing result; and correspondingly storing the identity information and the sender identification of the sender in a sender information base.
Optionally, the first timestamp may be encrypted by using a preset encryption algorithm. The predetermined encryption Algorithm may be MD5(Message-Digest Algorithm), Base64 (a coding method), or a hash Algorithm. Optionally, after obtaining the encryption processing result, all or part of the content may be intercepted from the encryption processing result as the sender identifier. As an example, the MD5 may be used to encrypt the first timestamp to obtain a 32-bit string, and then intercept the middle 8-24 bits of the 32-bit string as the sender id.
Optionally, the first message identifier includes a sender identifier, and may further include at least one of a message type identifier, a message template identifier, a smart message identifier, a security identifier, and a merge condition. The message type identification is used for indicating the message type of the message content, the message template identification is used for indicating that the message content is generated based on the message template or the message template adopted by the message content, the intelligent message identification is used for indicating that the message content is generated in an artificial intelligence mode, and the safety identification is used for carrying out safety check on the message.
In a possible implementation manner, if the first message identifier includes a sender identifier, the network server may obtain the sender identifier of the sender according to the identity information of the sender; based on the sender identification, a first message identification is determined.
Optionally, if the sender is registered on the network server, the sender identifier of the sender may be obtained from a sender information base of the network server according to the identity information of the sender, where the sender information base includes the identity information of different senders and corresponding sender identifiers, and the sender identifier of each sender is obtained by the corresponding sender through registration on the network server according to the identity information. If the sender is not registered on the network server, the sender identifier of the sender can be registered and generated according to the identity information of the sender.
Optionally, the network server determines, based on the sender identifier, an implementation manner of the first message identifier, which may include at least one of the following manners:
the first implementation mode comprises the following steps: the sender identification is taken as the first message identification. That is, only the sender id is carried in the first message id.
The second implementation mode comprises the following steps: the associated information of the message content comprises the message content, at least one of a message type identifier, a message template identifier and an intelligent message identifier is generated based on the message content to be sent by a sender, and a first message identifier is determined based on the sender identifier and at least one of the message type identifier, the message template identifier, the intelligent message identifier, a security identifier and a merging condition.
For example, the sender identifier and at least one of the message type identifier, the message template identifier, the smart message identifier, the security identifier and the merging condition are determined as the first message identifier. Or, determining at least one of sender identification, message type identification, message template identification, intelligent message identification, security identification and merging condition, and other identification information as the first message identification.
The third implementation mode comprises the following steps: the associated information of the message content further comprises a preset secret key, a safety identification is generated based on the preset secret key, and first identification information is determined based on the sender identification and the safety identification.
The preset key may be preset, for example, the preset key is a key agreed by the sender and the network server in advance.
For example, the sender identification and the security identification are determined as the first identification information. Alternatively, the sender identification, the security identification, and the other identification information are determined as the first identification information.
The fourth implementation mode comprises the following steps: the associated information of the message content further comprises a merging condition, and the first identification information is determined based on the sender identification and the merging condition.
For example, the sender identification and the merging condition are determined as the first identification information. Alternatively, the sender identification, the merge condition, and other identification information are determined as the first identification information.
Next, the generation manners of the message type identifier, the message template identifier, the intelligent message identifier, the security identifier, and the merging condition will be introduced respectively.
1) Message type identification
In one possible embodiment, a message type identifier may be generated based on the message type of the message content. Optionally, the message types include, but are not limited to: text, picture, video, audio, and card types. Therefore, the embodiment of the application can send not only text messages, but also other types of messages such as pictures, videos and audios, and can realize the combination of rich media messages.
Optionally, the message type of the message content may be encrypted, and the message type identifier may be determined based on the encryption processing result. For example, a second timestamp corresponding to the time of the current message type identifier to be generated is obtained; and encrypting the second timestamp, the sender identification and the message type of the message content, and determining the message type identification based on the encryption processing result. In this manner, message body uniqueness can be maintained, such that the overall trend of message type identification is increasing, and message type identification is strongly correlated with sender identification.
As an example, the employed encryption algorithm may be MD5, Base64, or a hashing algorithm, etc. Optionally, after the encryption processing result is obtained, all or part of the content may be intercepted from the encryption processing result as the message type identifier. For example, MD5 may be used to encrypt the message type of the second timestamp, sender identification and message content to obtain a 32-bit string, and then intercept the middle 8-24 bits of the 32-bit string as the message type identification.
2) Message template identification
In one possible embodiment, if the message content is generated based on a message template, a message template identifier may also be generated for the message content.
Optionally, if the message content is generated based on the message template, a third timestamp corresponding to the time of the message template identifier to be currently generated may be obtained, the third timestamp and the sender identifier are encrypted, and based on the encryption processing result, the message template identifier is determined, where the message template identifier is used to indicate that the message content is generated based on the message template.
Optionally, if the message content is generated based on the message template, a third timestamp of the message template identifier to be generated currently may also be obtained, the third timestamp, the sender identifier, and the type of the message template used by the message content are encrypted, and based on the encryption processing result, the message template identifier is determined and is used to indicate the message template used by the message content.
As an example, the employed encryption algorithm may be MD5, Base64, or a hashing algorithm, etc. Optionally, after the encryption processing result is obtained, all or part of the content may be intercepted from the encryption processing result as the message type identifier. For example, a 16-bit character may be intercepted as the message template identification.
3) Intelligent message identification
In one possible embodiment, if the message content is generated by artificial intelligence, for example, if the message content is generated by intelligent customer service, the message may be referred to as an intelligent message, and an intelligent message identifier may be generated for the message content.
Optionally, if the message content is generated in an artificial intelligence manner, a fourth timestamp corresponding to the time of the current to-be-generated intelligent message identifier may be obtained, the fourth timestamp may be encrypted, and the intelligent message identifier may be determined based on the encryption result.
As an example, the employed encryption algorithm may be MD5, Base64, or a hashing algorithm, etc. Optionally, after the encryption processing result is obtained, all or part of the content may be intercepted from the encryption processing result as the smart message identifier. For example, a 16-bit character may be intercepted as the smart message identifier.
4) Security identification
In a possible embodiment, a security identifier needs to be generated for the message content to ensure data security.
Optionally, a key agreed in advance by the sender of the message content and the network server may be obtained; based on the key, a secure identification is generated. Optionally, the key may be encrypted, and the security identifier may be determined based on the result of the encryption.
As an example, the employed encryption algorithm may be MD5, Base64, or a hashing algorithm, etc. Optionally, after the encryption processing result is obtained, all or part of the content may be intercepted from the encryption processing result as the security identifier. For example, a 16-bit character may be intercepted as a security identifier.
As an example, a first encryption algorithm may be used to encrypt a fifth timestamp corresponding to a time at which the security identifier is to be generated and the key to obtain a first encryption processing result, then a second encryption algorithm may be used to encrypt the fifth timestamp and the first encryption processing result to obtain a second encryption processing result, and the security identifier may be determined based on the second encryption processing result. Illustratively, the first encryption algorithm is a hashing algorithm and the second encryption algorithm is Base 64. Optionally, the hash algorithm is sha 1.
Optionally, the security identifier has a validity period, and after expiration, a security identifier needs to be regenerated. For example, the expiration date may be 2 hours.
5) Merging conditions
In one possible implementation, the merging condition set by the sender may be obtained. Of course, the merging condition may also be set by negotiation between the sender and the network server, or by default setting of the network server, which is not limited in this embodiment of the application.
The merging condition includes at least that the sender of the message is the same. Further, the method can further include at least one of the same message type, the same generation by using the message template, or the same generation by using the artificial intelligence.
As one example, the merge condition may be generated based on a combination of one or more of a sender identification, a message type identification, a message template identification, a smart message identification, and a security identification.
Step 502, the network server generates a first message based on the message content and the first message identifier, and the first message includes the message content and the first message identifier.
As an example, the message content and the first message identity may be directly used as the first message, for example, a separate field may be provided for carrying the first message identity.
As another example, a first message identifier may be added to the message content to obtain the first message, that is, the message content is accompanied by the first message identifier.
Step 503, the network server sends the first message to the terminal of the receiver through the message channel.
The message channel may be an operator channel or a network channel. Therefore, messages sent by the same sender through different message channels can be combined on the same conversation page.
As an example, the network service network may send the first message to the recipient's terminal through an operator tunnel.
As another example, the network service network may send the first message to a message server, which sends the first message to the recipient's terminal through an operator channel.
As another example, the network server may also send the first message to the recipient's terminal over a network channel.
In step 504, the terminal receives a first message of a sender.
Wherein the first message comprises a message content and a first message identification. Optionally, the first message identification comprises a sender identification, the sender identification being for uniquely identifying the identity of the sender. Optionally, the sender identifier is obtained by registering the sender on a network server according to the personal information, and the first message identifier is generated by the network server according to the associated information of the message content, where the associated information includes the identity information of the sender.
Optionally, the first message identifier further includes at least one of a message type identifier, a message template identifier, a smart message identifier, a security identifier, and a merging condition.
And 505, the terminal determines a second message meeting the merging condition of the message with the first message from the received second messages according to the first message identifier and the second message identifier of the received second message, wherein the merging condition at least comprises that the sender is the same as the sender of the first message.
Optionally, the merging condition may be included in the first message identifier, and the terminal may obtain the merging condition from the first message identifier. Alternatively, the merging condition may be set by the receiver. Alternatively, the merging condition may also be set by default by the terminal, and the setting manner of the merging condition is not limited in the embodiment of the present application.
Optionally, the merging condition further includes at least one of the following cases: when the first message identifier further comprises a message category identifier, the merging condition further comprises that the message type is the same as that of the first message; when the first message identifier further comprises a message template identifier, the merging condition further comprises that the message content is generated based on the message template, or the adopted message template is the same as the message template adopted by the first message; when the first message identifier further comprises an intelligent message identifier, the merging condition further comprises that the message content is generated in an artificial intelligence mode.
As an example, a second message with the same sender as the sender of the first message may be selected from the received second messages according to the sender identification of the first message and the sender identification of the received second message; and then determining the second message meeting the merging condition based on the selected second message.
Optionally, the sender identifier of the first message may be decrypted to determine the sender of the first message, and the sender identifier of the received second message may be decrypted to determine the sender of the received second message, and then, according to the decryption result, a second message whose sender is the same as the sender of the first message is selected from the received second messages.
Optionally, based on the selected second message, determining that the second message satisfies the merging condition may include at least one of the following implementation manners:
1) and determining a second message with the same message type as the first message from the selected second messages according to the message type identifier of the first message and the message type identifier of the selected second message.
Optionally, the message type identifier of the first message and the message type identifier of the selected second message may be decrypted to obtain the message type of the first message and the message type of the selected second message, and then the second message having the same message type as the message type of the first message is determined from the selected second message based on the decryption result.
2) And determining that the message content is the second message generated based on the message template from the selected second message according to the message template identifier of the first message and the message template identifier of the selected second message, or determining that the message template adopted by the second message is the same as the message template adopted by the first message.
Optionally, the message template identifier of the first message and the message template identifier of the selected second message may be decrypted, and then based on the decryption result, it is determined from the selected second message that the message content is the second message generated based on the message template, or the second message adopting the same message template as the message template adopted by the first message.
3) And determining that the message content is the second message generated in an artificial intelligence mode from the selected second message according to the intelligent message identifier of the first message and the intelligent message identifier of the selected second message.
Optionally, the smart message identifier of the first message and the smart message identifier of the selected second message may be decrypted, and then it is determined from the selected second message that the message content is the second message generated in the artificial intelligence manner based on the decryption result.
Optionally, before determining, by the terminal, the second message meeting the merging condition from the received second message according to the first message identifier and the second message identifier of the received second message, the terminal may further obtain a security identifier from the first message identifier, and perform security verification on the first message based on the security identifier; and if the first message passes the security check, determining the second message meeting the merging condition from the received second messages according to the first message identifier and the second message identifier of the received second message. Wherein the secure identification is generated based on a key.
Optionally, the key may be obtained from the security identity; and if the acquired key is a preset key, determining that the first message passes the security verification, and if not, determining that the first message does not pass the security verification. Optionally, the security identifier may be decrypted and the key may be obtained from the decrypted result. Optionally, the preset key is a key agreed by the sender and the network server in advance.
Optionally, if the obtained key is a preset key, the validity period of the security identifier may be further determined, if it is detected that the security identifier is within the validity period, it is determined that the first message passes the security check, and if the security identifier is not within the validity period, it is determined that the first message does not pass the security check.
Optionally, after determining that the first message passes the security check, the first message identifier may also be sent to the network server, and the network server detects whether the first message identifier is valid, and returns a detection result to the terminal. And if the detection result is valid, determining the second message meeting the merging condition from the received second messages according to the first message identification and the second message identification of the received second message.
Step 506: and merging the first message and the second message meeting the merging condition into the same session page.
Since the merging condition at least includes that the sender is the same as the sender of the first message, the embodiment of the application can merge at least the first message and a second message, the sender of which is the same as the sender of the first message, into the same conversation page, so that even if messages of the same sender are sent through different carrier channel numbers, the messages sent by the same sender can be merged into the same conversation page.
Further, when the merging condition further includes other conditions, the messages that have the same sender of the first message and also satisfy the other conditions may also be merged into the same conversation page.
Optionally, after the first message and the second message meeting the merging condition are merged into the same session page, the merged messages may also be sorted according to the receiving time sequence. For example, the messages are sorted in order of receiving time from near to far, so that the message closest to the current time can be preferably displayed in the conversation page.
As an example, the terminal may implement the above step 504 and 506 through an installed message application. The message application may be a text messaging application, or other application for processing and displaying messages.
In the embodiment of the application, the first message received by the terminal not only includes the message content but also includes the first message identifier, and the first message identifier at least includes the sender identifier registered by the sender on the network server, so that after the message is received, the terminal can determine the same message as the sender of the first message from the received second message according to the first message identifier and the second message identifier of the received second message, and display the message of the same sender on the same conversation page, thereby improving the message display effect, and avoiding the user understanding deviation caused by displaying the message of the same sender on different conversation pages.
In addition, through the embodiment of the application, messages sent by the same sender through different channels (operator channels and network channels) can be combined in the same session page, for a user, the messages sent by the same sender can be intensively checked in the same session page, the experience of checking the messages is improved, telecommunication fraud is reduced, for a merchant, the messages can be uniformly displayed to the user, brand publicity is facilitated, and the image and effect conversion of the merchant is improved.
Referring to fig. 6, a flow chart of a message merging method according to another exemplary embodiment of the present application is shown. This embodiment is illustrated with the method applied to the implementation environment shown in fig. 3. The method comprises the following steps:
step 601, a sender sets message content to be sent on a message service platform provided by a message server.
In step 602, the message server sends a message identifier generation request to the web server based on the message content, where the message identifier generation request is used to request the web server to generate first identification information based on the association information of the message content.
The association information may include identity information of the sender, and may further include at least one of message content, a key agreed in advance by the sender and the network server, and a merging condition.
Optionally, an identifier generation icon is set on a message service platform provided by the message server, and the message identifier generation request may be triggered based on the identifier generation icon. For example, after the sender sets the message content to be sent on the message server platform, the message server may send a message identifier generation request to the network server when detecting the trigger operation for the identifier generation icon.
Step 603, the network server generates a request based on the message identifier, acquires the associated information of the message content, and generates a first message identifier based on the associated information of the message content.
The associated information of the message content may be carried in the message identifier generation request, or may be obtained by the network server in other manners.
In step 604, the network server generates a first message based on the message content and the first message identifier, and the first message includes the message content and the first message identifier.
It should be noted that, the step 603-.
Step 605, the network server sends the first message to the message server.
Alternatively, the network server may send the first message to the message server via network communication.
In step 606, the sender triggers a message sending instruction based on the message service platform.
Step 607, when the network server receives the message sending instruction, the first message is sent to the terminal of the receiver through the operator channel.
In step 608, the terminal receives the first message of the sender through the message application.
Step 609, the terminal determines, through the message application, a second message meeting the merging condition from the received second messages according to the first message identifier and the second message identifier of the received second message, where the merging condition at least includes that the sender is the same as the sender of the first message.
Step 610: and the terminal merges the first message and the second message meeting the merging condition into the same session page through the message application.
It should be noted that, the steps 608-610 are similar to the steps 504-506, and the specific process may refer to the detailed description of the steps 504-506, which is not described herein again.
In the embodiment of the application, the terminal can combine the messages sent by the same sender and issued by the operator channel into the same session page, so that the message display effect is improved.
Referring to fig. 7, a flow chart of a message merging method according to yet another exemplary embodiment of the present application is shown. This embodiment is illustrated with the method applied to the implementation environment shown in fig. 4. The method comprises the following steps:
step 701, a sender sets message content to be sent on a network platform provided by a network server.
In step 702, the network server generates a first message identifier based on the associated information of the message content.
Optionally, the network server may generate the first message identifier based on the associated information of the message content when receiving a message sending instruction of the sender.
In step 703, the network server generates a first message based on the message content and the first message identifier, where the first message includes the message content and the first message identifier.
It should be noted that, the step 702-703 is similar to the step 501-502, and the specific process may refer to the detailed description of the step 501-502, which is not described herein again.
In step 704, the network server sends the first message to the recipient's terminal through the network channel.
Step 705, the terminal receives a first message of a sender through a message application.
Step 706, the terminal determines, through the message application, a second message that meets a merging condition from the received second messages according to the first message identifier and the second message identifier of the received second message, where the merging condition at least includes that the sender is the same as the sender of the first message.
Step 707: and the terminal merges the first message and the second message meeting the merging condition into the same session page through the message application.
It should be noted that, the steps 705-707 are similar to the steps 504-506, and the specific process may refer to the detailed description of the steps 504-506, which is not described again in this embodiment of the application.
In the embodiment of the application, the terminal can combine the messages sent by the same sender and issued by the network channel into the same session page, so that the message display effect is improved.
Referring to fig. 8, a block diagram of a message merging apparatus according to an embodiment of the present application is shown. The apparatus may be implemented as all or a portion of the terminal in fig. 3 or fig. 4 by software, hardware, or a combination of both. The device includes:
a receiving module 801, configured to receive a first message of a sender, where the first message includes a message content and a first message identifier;
a determining module 802, configured to determine, according to the first message identifier and a second message identifier of a received second message, a second message that meets a merging condition for merging messages with the first message from the received second message, where the merging condition at least includes that a sender is the same as a sender of the first message;
a merging module 803, configured to merge the first message and the second message that meets the merging condition into the same session page.
Optionally, the first message identifier at least includes a sender identifier registered by the sender on a network server according to identity information, the first message identifier is generated by the network server according to association information of the message content, and the association information at least includes the identity information of the sender.
Optionally, the determining module 802 is configured to:
selecting a second message of which the sender is the same as the sender of the first message from the received second messages according to the sender identification of the first message and the sender identification of the received second message;
and determining the second message meeting the merging condition based on the second message of which the selected sender is the same as the sender of the first message.
Optionally, the first message identifier further includes at least one of a message type identifier, a message template identifier, and a smart message identifier.
Optionally, the merging condition further comprises at least one of the following cases:
when the first message identifier further comprises a message category identifier, the merging condition further comprises that the message type is the same as that of the first message;
when the first message identifier further comprises a message template identifier, the merging condition further comprises that the message content is generated based on the message template, or the adopted message template is the same as the message template adopted by the first message;
when the first message identifier further comprises an intelligent message identifier, the merging condition further comprises that the message content is generated in an artificial intelligence mode.
Optionally, the apparatus further includes a first obtaining module, where the first obtaining module is configured to obtain the first information
Acquiring a merging condition from the first message identifier; alternatively, the first and second electrodes may be,
and acquiring the merging condition set by the receiver.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain a security identifier from the first message identifier, where the security identifier is generated based on a secret key;
the verification module is used for performing security verification on the first message based on the security identifier;
a triggering module, configured to, if the first message passes the security check, trigger the determining module 802 to determine, according to the first message identifier and the second message identifier of the received second message, the second message that meets the merging condition of the message merging with the first message from the received second message.
Optionally, the verification module is configured to:
obtaining the key from the security identifier;
and if the key is a preset key, determining that the first message passes the security check.
Optionally, the apparatus further comprises a detection module, the detection module is configured to:
determining the validity period of the security identifier;
and if the security identifier is detected to be in the valid period, triggering a verification module to determine that the first message passes the security verification.
In the embodiment of the application, the first message received by the terminal not only includes the message content but also includes the first message identifier, so that after the message is received, the terminal can determine the message which is the same as the sender of the first message from the received second message according to the first message identifier and the received second message identifier of the second message, and display the message of the same sender in the same conversation page, thereby improving the message display effect and avoiding the user understanding deviation caused by displaying the message of the same sender in different conversation pages.
Referring to fig. 9, a block diagram of a message merging apparatus according to another embodiment of the present application is shown. The apparatus may be implemented by software, hardware or a combination of both as all or part of the network server in fig. 3 or fig. 4. The device includes:
a first generating module 901, configured to generate a first message identifier based on associated information of a message content to be sent by a sender, where the associated information at least includes identity information of the sender, and the first message identifier at least includes a sender identifier registered by the sender on a network server according to the identity information;
a second generating module 902, configured to generate a first message based on the message content and the first message identifier, where the first message includes the message content and the first message identifier;
and the sending module is used for sending a first message to a terminal of a receiver through a message channel, wherein the first message is used for indicating the terminal to combine the first message and a second message meeting the combination condition of combining the first message with the first message in the received second message into the same session page according to the first message identifier of the first message and the second message identifier of the received second message, and the combination condition at least comprises that the sender is the same as the sender of the first message.
Optionally, the association information includes identity information of the sender, and the first generating module 901 includes:
the acquiring unit is used for acquiring the sender identification of the sender according to the identity information of the sender;
a determining unit for determining the first message identity based on the sender identity.
Optionally, the obtaining unit is configured to:
according to the identity information of the sender, sender identification is obtained from a sender information base, the sender information base comprises the identity information of different senders and corresponding sender identification, and the sender identification of each sender is obtained by the corresponding sender through registration on a network server according to the identity information.
Optionally, the apparatus further comprises a registration module configured to:
when a registration request of a sender is received, determining a first timestamp corresponding to the time of the sender identifier to be generated currently according to the registration request, wherein the registration request carries identity information of the sender;
encrypting the first time stamp, and determining a sender identifier based on an encryption processing result;
and correspondingly storing the identity information and the sender identification of the sender in a sender information base.
Optionally, the determining unit is configured to:
generating at least one of a message type identifier, a message template identifier and an intelligent message identifier based on the message content;
the first message identification is determined based on the sender identification and at least one of a message type identification, a message template identification and a smart message identification.
Optionally, the determining unit is configured to:
acquiring a second timestamp corresponding to the time of the message type identifier to be generated currently;
and encrypting the second timestamp, the sender identification and the message type of the message content, and determining the message type identification based on the encryption processing result.
Optionally, the determining unit is configured to:
if the message content is generated based on the message template, acquiring a third timestamp corresponding to the time of the message template identifier to be generated currently, encrypting the third timestamp and the sender identifier, and determining the message template identifier based on the encryption processing result, wherein the message template identifier is used for indicating that the message content is generated based on the message template; alternatively, the first and second electrodes may be,
if the message content is generated based on the message template, acquiring a third timestamp corresponding to the time of the message template identifier to be generated currently, encrypting the third timestamp, the sender identifier and the message template type adopted by the message content, and determining the message template identifier based on the encryption processing result, wherein the message template identifier is used for indicating the message template adopted by the message content.
Optionally, the determining unit is configured to:
generating a safety identification based on a preset secret key, wherein the safety identification is used for carrying out safety verification on the first message;
based on the sender identity and the security identity, a first message identity is determined.
In the embodiment of the application, because the first message sent to the terminal not only includes the message content but also includes the first message identifier, after the terminal receives the first message, the terminal can combine the first message and the second message, which is received in the second message and is the same as the sender of the first message, into the same conversation page according to the first message identifier and the second message identifier of the received second message, that is, the message of the same sender can be displayed in the same conversation page, so that the message display effect is improved, and the user understanding deviation caused by displaying the message of the same sender in different conversation pages is avoided.
The embodiment of the present application further provides a computer-readable medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the call method according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the call method according to the above embodiments.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (20)

1. A message merging method is applied to a mobile terminal, and the method comprises the following steps:
receiving a first message of a sender, wherein the first message comprises message content and a first message identifier;
determining a second message meeting a merging condition for merging messages with the first message from the received second messages according to the first message identifier and a second message identifier of the received second message, wherein the merging condition at least comprises that a sender is the same as the sender of the first message;
and merging the first message and the second message meeting the merging condition into the same session page.
2. The method of claim 1, wherein the first message identifier comprises at least a sender identifier registered by the sender on a network server according to identity information, wherein the first message identifier is generated by the network server according to association information of the message content, and wherein the association information comprises at least the identity information of the sender.
3. The method of claim 2, wherein determining, according to the first message identifier and a second message identifier of a received second message, a second message that satisfies a merging condition for message merging with the first message from the received second message comprises:
according to the sender identification of the first message and the sender identification of the received second message, selecting a second message of which the sender is the same as the sender of the first message from the received second message;
determining a second message satisfying the merging condition based on a second message of which the selected sender is the same as the sender of the first message.
4. The method of claim 1, wherein the first message identifier further comprises at least one of a message type identifier, a message template identifier, and a smart message identifier generated from the message content.
5. The method of claim 4, wherein the merge condition further comprises at least one of:
when the first message identifier further comprises the message type identifier, the merging condition further comprises that the message type is the same as that of the first message;
when the first message identifier further includes the message template identifier, the merging condition further includes that the message content is generated based on the message template, or the message template adopted is the same as the message template adopted by the first message;
when the first message identifier further includes the intelligent message identifier, the merging condition further includes that the message content is generated in an artificial intelligence manner.
6. The method of claim 1, wherein before determining, according to the first message identifier and the second message identifier of the received second message, a second message that satisfies a merging condition for message merging with the first message from the received second message, the method further comprises:
acquiring the merging condition from the first message identifier; alternatively, the first and second electrodes may be,
and acquiring the merging condition set by a receiver.
7. The method of claim 1, wherein before determining, according to the first message identifier and the second message identifier of the received second message, a second message that satisfies a merging condition for message merging with the first message from the received second message, the method further comprises:
acquiring a security identifier from the first message identifier, wherein the security identifier is generated based on a secret key;
performing security check on the first message based on the security identifier;
and if the first message passes the security check, executing a step of determining a second message meeting the merging condition of the message merging with the first message from the received second message according to the first message identifier and a second message identifier of the received second message.
8. The method of claim 6, wherein the performing a security check on the first message based on the security identifier comprises:
obtaining the secret key from the security identifier;
and if the secret key is a preset secret key, determining that the first message passes the security check.
9. A message merging method is applied to a network server, and the method comprises the following steps:
generating a first message identifier based on the associated information of the message content to be sent by the sender;
generating a first message based on the message content and the first message identification, the first message comprising the message content and the first message identification;
and sending the first message to a terminal of a receiver through a message channel, wherein the first message is used for indicating the terminal to merge a second message, meeting a merging condition of merging messages with the first message, in the first message and the received second message into the same session page according to the first message identifier of the first message and a second message identifier of the received second message, and the merging condition at least comprises that a sender is the same as the sender of the first message.
10. The method of claim 9, wherein the association information comprises identity information of the sender; the generating a first message identifier based on the associated information of the message content to be sent by the sender includes:
acquiring a sender identifier of the sender according to the identity information of the sender;
generating the first message identification based on the sender identification.
11. The method of claim 10, wherein obtaining the sender identification of the sender based on the identity information of the sender comprises:
and acquiring the sender identification from a sender information base according to the identity information of the sender, wherein the sender information base stores the identity information of different senders and corresponding sender identifications.
12. The method of claim 11, wherein before obtaining the sender identifier from the sender information base of the network server according to the identity information of the sender, further comprising:
when a registration request of the sender is received, determining a first timestamp corresponding to the time of the sender identifier to be generated currently according to the registration request, wherein the registration request carries identity information of the sender;
encrypting the first time stamp, and determining the sender identification based on an encryption processing result;
and correspondingly storing the identity information of the sender and the sender identification in the sender information base.
13. The method of claim 10, wherein the association information further comprises message content; the generating the first message identification based on the sender identification comprises:
generating at least one of a message type identifier, a message template identifier and an intelligent message identifier based on the message content;
and generating the first message identification based on the sender identification and at least one of the message type identification, the message template identification and the intelligent message identification.
14. The method of claim 13, wherein generating the message type identifier based on the message content comprises:
acquiring a second timestamp corresponding to the time of the message type identifier to be generated currently;
and encrypting the second timestamp, the sender identifier and the message type of the message content, and determining the message type identifier based on an encryption processing result.
15. The method of claim 13, wherein the association information further comprises a preset key; said determining said first message identity based on said sender identity comprises:
generating a security identifier based on the preset secret key, wherein the security identifier is used for performing security verification on the first message;
determining the first message identity based on the sender identity and the security identity.
16. A message merging apparatus, applied in a terminal, the apparatus comprising:
the receiving module is used for receiving a first message of a sender, wherein the first message comprises message content and a first message identifier;
a determining module, configured to determine, according to the first message identifier and a second message identifier of a received second message, a second message that meets a merging condition for merging messages with the first message from the received second message, where the merging condition at least includes that a sender is the same as a sender of the first message;
and the merging module is used for merging the first message and the second message meeting the merging condition into the same session page.
17. A message merging apparatus, applied in a network server, the apparatus comprising:
the first generation module is used for generating a first message identifier based on the associated information of the message content to be sent by the sender;
a second generating module, configured to generate a first message based on the message content and the first message identifier, where the first message includes the message content and the first message identifier;
a sending module, configured to send the first message to a terminal of a receiver through a message channel, where the first message is used to instruct the terminal to combine, according to the first message identifier of the first message and a second message identifier of a received second message, a second message that meets a combining condition for combining messages with the first message in the first message and the received second message into a same session page, and the combining condition at least includes that a sender is the same as a sender of the first message.
18. A terminal, characterized in that the terminal comprises a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the message merging method of any of claims 1 to 8.
19. A server, comprising a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the message merging method of any of claims 9 to 15.
20. A computer-readable storage medium storing at least one instruction for execution by a processor to implement the message merging method of any one of claims 1 to 8 or the message merging method of any one of claims 9 to 15.
CN201910920212.4A 2019-09-26 2019-09-26 Message merging method, device, equipment and storage medium Active CN110620846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910920212.4A CN110620846B (en) 2019-09-26 2019-09-26 Message merging method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910920212.4A CN110620846B (en) 2019-09-26 2019-09-26 Message merging method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110620846A true CN110620846A (en) 2019-12-27
CN110620846B CN110620846B (en) 2021-05-07

Family

ID=68924639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910920212.4A Active CN110620846B (en) 2019-09-26 2019-09-26 Message merging method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110620846B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021147930A1 (en) * 2020-01-21 2021-07-29 上海掌门科技有限公司 Message splicing method and device
WO2021169834A1 (en) * 2020-02-25 2021-09-02 维沃移动通信有限公司 Session information processing method, and electronic device
CN113364915A (en) * 2021-06-02 2021-09-07 维沃移动通信(杭州)有限公司 Information display method and device and electronic equipment
WO2023179345A1 (en) * 2022-03-24 2023-09-28 腾讯科技(深圳)有限公司 Message processing method and apparatus, device, medium and computer program product

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014023A (en) * 2007-02-16 2007-08-08 华为技术有限公司 Session identification matching method and apparatus and communication system
CN101110792A (en) * 2007-08-08 2008-01-23 腾讯科技(深圳)有限公司 System and method for managing conversation message in instant communication terminal
CN103561169A (en) * 2013-10-25 2014-02-05 华为终端有限公司 Information managing method and terminal
CN104994236A (en) * 2015-07-13 2015-10-21 魅族科技(中国)有限公司 Information processing method and device
CN107368518A (en) * 2017-06-05 2017-11-21 努比亚技术有限公司 The management method and terminal of a kind of notification message, computer-readable recording medium
CN108075958A (en) * 2016-11-11 2018-05-25 中移(杭州)信息技术有限公司 A kind of processing method and processing device of message
CN108182401A (en) * 2017-12-27 2018-06-19 武汉理工大学 A kind of safe iris identification method based on polymerization block message
KR20180076626A (en) * 2016-12-28 2018-07-06 에스케이테크엑스 주식회사 Apparatus and method for delivering message
US10110635B1 (en) * 2016-09-28 2018-10-23 Amazon Technologies, Inc. Device policy composition and management system
US10270656B2 (en) * 2014-04-24 2019-04-23 Pismo Labs Technology Limited Methods and systems for configuring system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014023A (en) * 2007-02-16 2007-08-08 华为技术有限公司 Session identification matching method and apparatus and communication system
CN101110792A (en) * 2007-08-08 2008-01-23 腾讯科技(深圳)有限公司 System and method for managing conversation message in instant communication terminal
CN103561169A (en) * 2013-10-25 2014-02-05 华为终端有限公司 Information managing method and terminal
US10270656B2 (en) * 2014-04-24 2019-04-23 Pismo Labs Technology Limited Methods and systems for configuring system
CN104994236A (en) * 2015-07-13 2015-10-21 魅族科技(中国)有限公司 Information processing method and device
US10110635B1 (en) * 2016-09-28 2018-10-23 Amazon Technologies, Inc. Device policy composition and management system
CN108075958A (en) * 2016-11-11 2018-05-25 中移(杭州)信息技术有限公司 A kind of processing method and processing device of message
KR20180076626A (en) * 2016-12-28 2018-07-06 에스케이테크엑스 주식회사 Apparatus and method for delivering message
CN107368518A (en) * 2017-06-05 2017-11-21 努比亚技术有限公司 The management method and terminal of a kind of notification message, computer-readable recording medium
CN108182401A (en) * 2017-12-27 2018-06-19 武汉理工大学 A kind of safe iris identification method based on polymerization block message

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021147930A1 (en) * 2020-01-21 2021-07-29 上海掌门科技有限公司 Message splicing method and device
WO2021169834A1 (en) * 2020-02-25 2021-09-02 维沃移动通信有限公司 Session information processing method, and electronic device
CN113364915A (en) * 2021-06-02 2021-09-07 维沃移动通信(杭州)有限公司 Information display method and device and electronic equipment
WO2023179345A1 (en) * 2022-03-24 2023-09-28 腾讯科技(深圳)有限公司 Message processing method and apparatus, device, medium and computer program product

Also Published As

Publication number Publication date
CN110620846B (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN110620846B (en) Message merging method, device, equipment and storage medium
CN108769027B (en) Secure communication method, device, mobile terminal and storage medium
CN107154935B (en) Service request method and device
CN111178884A (en) Information processing method, device, equipment and readable storage medium
CN106605419A (en) Method and system for secure SMS communications
CN111818469B (en) Calling method, calling device, electronic equipment and network equipment
CN110417740B (en) User data processing method, intelligent terminal, server and storage medium
CN111245771B (en) Instant message encryption and decryption method, device, equipment and storage medium
CN114666048A (en) Data processing method and device, electronic equipment and storage medium
CN114257562A (en) Instant messaging method, instant messaging device, electronic equipment and computer readable storage medium
CN109120576B (en) Data sharing method and device, computer equipment and storage medium
CN105072094B (en) A kind of method and car-mounted terminal of voice data encryption
CN108513272B (en) Short message processing method and device
CN115242779B (en) File transmission method and system based on applet and electronic equipment
CN115567297A (en) Cross-site request data processing method and device
CN113506090A (en) Audit data processing method and device, storage medium and electronic equipment
CN106912032B (en) Information processing method, system, client and server
WO2018107398A1 (en) Method for verifying validity of message and server
CN114553612A (en) Data encryption and decryption method and device, storage medium and electronic equipment
CN114978527A (en) Electronic signature method and device, electronic equipment and storage medium
CN113946862A (en) Data processing method, device and equipment and readable storage medium
KR101971428B1 (en) Contents exchange method based on interaction between users and system performing the same
CN109063492B (en) Information processing method and device
CN109543367B (en) Quantum encryption-based software authorization method and device and storage medium
CN112364951A (en) Virtual work card management method, related equipment, storage medium and system

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
GR01 Patent grant
GR01 Patent grant