CN111641554B - Message processing method and device and computer readable storage medium - Google Patents

Message processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN111641554B
CN111641554B CN202010488535.3A CN202010488535A CN111641554B CN 111641554 B CN111641554 B CN 111641554B CN 202010488535 A CN202010488535 A CN 202010488535A CN 111641554 B CN111641554 B CN 111641554B
Authority
CN
China
Prior art keywords
message
target
revocation
received
withdrawal
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.)
Active
Application number
CN202010488535.3A
Other languages
Chinese (zh)
Other versions
CN111641554A (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 CN202010488535.3A priority Critical patent/CN111641554B/en
Publication of CN111641554A publication Critical patent/CN111641554A/en
Application granted granted Critical
Publication of CN111641554B publication Critical patent/CN111641554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a message processing method, a device and a computer readable storage medium, wherein the message processing method comprises the following steps: receiving a message withdrawal instruction sent by a message server; determining a target revocation message from the received message list in response to the message revocation instruction; the target revocation message is stored. Through the implementation of the scheme, when the message withdrawal instruction sent by the message server is received, the message required to be withdrawn is stored, so that the subsequent checking of a user is facilitated, the message receiver can be effectively ensured to comprehensively trace the received message, and the message sending behavior of the message sender is restrained.

Description

Message processing method and device and computer readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a message processing method and apparatus, and a computer-readable storage medium.
Background
With the continuous development of terminal technology, the frequency of using the terminal by the user in daily work and study is higher and higher. In practical applications, users typically use Instant Messaging (IM) applications for message interaction.
Currently, an instant messaging application provides a message withdrawal function, and after a message sender sends a message to a message receiver, if the message sender wants to withdraw the message for personal reasons, the instant messaging application can send a message withdrawal request to a message server, so that the message received by the message receiver is withdrawn and cannot be displayed any more, which results in that the tracing requirement of the message receiver on the received message cannot be effectively met, and the message sending behavior of the message sender cannot be effectively restricted.
Disclosure of Invention
The embodiment of the application provides a message processing method, a message processing device and a computer readable storage medium, which can at least solve the problems that the tracing requirement of a message receiver on a received message cannot be effectively met and the message sending behavior of a message sender cannot be effectively restricted when instant messaging is performed in the related art.
A first aspect of an embodiment of the present application provides a message processing method, including:
receiving a message withdrawal instruction sent by a message server;
determining a target revocation message from a received message list in response to the message revocation instruction;
storing the target revocation message.
A second aspect of the embodiments of the present application provides a message processing apparatus, including:
the receiving module is used for receiving a message withdrawing instruction sent by the message server;
a determining module, configured to determine a target revocation message from a received message list in response to the message revocation instruction;
a storage module for storing the target revocation message.
A third aspect of embodiments of the present application provides an electronic apparatus, including: the message processing method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the message processing method provided in the first aspect of the embodiments of the present application when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the message processing method provided in the first aspect of the embodiments of the present application.
In view of the above, according to the message processing method, the message processing device and the computer-readable storage medium provided by the scheme of the application, a message withdrawal instruction sent by a message server is received; determining a target revocation message from the received message list in response to the message revocation instruction; the target revocation message is stored. Through the implementation of the scheme, when the message withdrawal instruction sent by the message server is received, the message required to be withdrawn is stored, so that the subsequent checking of a user is facilitated, the message receiver can be effectively ensured to comprehensively trace the received message, and the message sending behavior of the message sender is restrained.
Drawings
Fig. 1 is a schematic basic flow chart of a message processing method according to a first embodiment of the present application;
fig. 2 is a flowchart illustrating a message revocation method according to a first embodiment of the present application;
fig. 3 is a flowchart illustrating a message deleting method according to a first embodiment of the present application;
fig. 4 is a schematic diagram of a message display interface according to a first embodiment of the present application;
fig. 5 is a detailed flowchart of a message processing method according to a second embodiment of the present application;
fig. 6 is a schematic diagram of program modules of a message processing apparatus according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. 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.
In order to solve the defects that the tracing requirement of a message receiver on a received message cannot be effectively met and the message sending behavior of a message sender cannot be effectively constrained during instant messaging in the related art, a first embodiment of the present application provides a message processing method, which is applied to an electronic device, an instant messaging application client is operated on the electronic device, the electronic device may be a mobile phone, a tablet computer, or a smart watch, and the like, for example, fig. 1 is a basic flow chart of the message processing method provided in this embodiment, and the message processing method includes the following steps:
step 101, receiving a message withdrawal instruction sent by a message server.
Specifically, in this embodiment, both parties of the instant messaging perform message interaction through the message server, when the message sender needs to withdraw the sent message, the message sender sends a message withdrawal request to the message server, and then the message server generates a message withdrawal instruction according to the message withdrawal request and sends the message withdrawal instruction to the message receiver, so as to withdraw the specific message received by the message receiver before.
It should be noted that the present embodiment automatically detects the message revocation operation after receiving the message revocation instruction, and the detection manner of the message revocation operation includes, but is not limited to, the following three manners: detecting the state of a message display control, detecting a text prompt control and detecting a message withdrawal data packet, wherein the detecting of the state of the message display control is also used for judging the visible state of the message display control in the current display layout, and if the specific message display control is not visible, determining that the message withdrawal operation needs to be executed currently; detecting the text prompting control, namely extracting the characteristics of content or font style and the like in the text prompting control required to be displayed in the current display layout, judging whether the text prompting control is matched with the characteristics of the message withdrawal prompting control, and if so, indicating that the message withdrawal operation is required to be executed currently; and the message withdrawal data packet detection is to detect a data packet carrying a command, compare the characteristics of the data packet with a preset message withdrawal data packet, and if the data packet characteristics are consistent with the preset message withdrawal data packet, indicate that message withdrawal operation needs to be executed.
Step 102, in response to the message revocation instruction, determines a target revocation message from the received message list.
Specifically, in this embodiment, when receiving a message withdrawal instruction, a message receiver determines a message to be withdrawn from a currently received message, and in practical applications, a target withdrawal message may be determined based on the message withdrawal instruction, or may be implemented based on other manners.
In one embodiment of the present invention, determining the target revocation message from the received message list in response to the message revocation instruction comprises: acquiring a message identifier carried in a message withdrawal instruction; searching the received message corresponding to the message identification from the received message list; and determining the searched received message as the target revocation message.
Specifically, in this embodiment, the message withdrawal instruction carries the message identifier of the message to be withdrawn, so that after the message receiver receives the message withdrawal instruction, the message receiver compares the message identifier with the message identifiers of all received messages, and then determines the received message with the consistent comparison result as the message to be withdrawn.
Of course, in another embodiment of this embodiment, determining the target revocation message from the received message list in response to the message revocation instruction comprises: performing difference analysis on the interface contents of the session interface before the message is withdrawn and the session interface after the message is withdrawn; target revocation messages are determined based on the discrepancy analysis results.
Specifically, in this embodiment, a session interface before the withdrawal of the message may be subjected to screenshot to obtain a first screenshot, a session interface after the withdrawal of the message may be subjected to screenshot to obtain a second screenshot, contents of the first screenshot and the second screenshot are subjected to difference analysis, and a difference portion obtained by the difference analysis is identified to obtain the target withdrawal message.
And step 103, storing the target withdrawal message.
Specifically, the storing of the target revocation message in the present embodiment may occur after the message is revoked, or may occur before the message is revoked, or both actions are performed simultaneously, which is not limited in the present embodiment. It should be noted that, when the targeted revocation message is stored in the embodiment, the stored object may include the message content of the targeted revocation message and/or a network resource downloaded based on the targeted revocation message, where the message content is also a message text, and the network resource may be a picture, a video, an audio, a document, a compressed file, and the like. It should be understood that, when the target revocation message is stored in the embodiment, the object to be stored may be stored locally in the electronic apparatus, may also be stored in the cloud, or may be stored in an associated device (e.g., a wearable device, etc.) communicatively connected to the electronic apparatus.
It should be noted that, after storing the target revocation message, the present embodiment may also generate a storage completion prompt to indicate to the user that the message revoked by the message sender has been stored. In addition, in this embodiment, in order to facilitate the user to call the stored message, after the target revocation message is stored, the message call control may be displayed on the display interface, and when a message call instruction is received through the message call control, the target revocation message may be directly called, for example, directly displayed on the current interface, or jump to the message storage directory.
It should be noted that in practical applications, not all messages to be revoked have storage requirements, and in some application scenarios, for example, if a message sender needs to revoke and modify a message and resend the message after discovering that the sent message is inaccurate, it is meaningless to store and backup the message at a message receiver. Based on this, in order to ensure reasonability and flexibility of message storage and save message storage space, in this embodiment, before storing the target revocation message, it is necessary to determine whether the message storage condition is currently satisfied based on the target revocation message, and if so, store the target revocation message.
In some embodiments of this embodiment, storing the target revocation message specifically includes: acquiring the message attribute of the target withdrawal message; and storing the target revocation message in the corresponding message set according to the message attribute.
Specifically, the message attribute of this embodiment may include a message sending user identifier, a message sending time, a message event type, and the like, and this embodiment classifies and stores the revoked messages according to the message attribute, so that relevance and traceability of message storage may be effectively improved. It should be further noted that, in practical applications, it is considered that the message attribute of a message can be evaluated from multiple aspects, so that when a certain message is stored, the message can be stored in different types of message sets according to different types of message attributes, respectively, so as to implement multiplexing storage of messages.
In some embodiments of this embodiment, before storing the target revocation message, the method further comprises: and activating the function of the message storage control. Correspondingly, when receiving the storage confirmation instruction input by the message storage control, executing the step of storing the target withdrawal message.
Specifically, the message storage control of the embodiment is used for providing a message storage authority for a user to select whether to store a target withdrawal message, and in practical application, the message storage control may be a voice recognition control, a virtual key, an entity key, and the like.
In some further embodiments of this embodiment, before storing the target revocation message, the method further comprises: extracting keywords from the target withdrawal message; comparing the keywords with preset sensitive keywords; and when the comparison is passed, executing the step of storing the target withdrawal message.
Specifically, the present embodiment may perform keyword extraction on the target revocation message, identify whether the target revocation message includes sensitive words (for example, violent, retroactive, and non-civilized words), and store the target revocation message when it is determined that the target revocation message includes the sensitive words, so that the message receiver keeps traceability on the message, thereby playing a role in restricting the message sender from sending the message in compliance.
In some further embodiments of this embodiment, before storing the target revocation message, the method further comprises: extracting semantic features of the target withdrawal message; comparing the semantic features with reference semantic features; and when the comparison is passed, executing the step of storing the target withdrawal message. Or, judging the application type of the instant messaging application to which the current session belongs; comparing the application type with a target application type; and when the comparison is passed, executing the step of storing the target withdrawal message.
Specifically, the embodiment may further identify whether the target revocation message is a message to be stored based on a semantic analysis technique, or determine whether an instant messaging application to which the target revocation message belongs is a target application, to identify whether the target revocation message is a message to be stored.
Further, in some embodiments of this embodiment, after determining the target revoke message from the received message list, further comprising: determining an associated message of the target revocation message from the received message list; and storing the association message.
Specifically, in practical applications, when two communicating parties perform a conversation, the conversation is usually a continuous process, a message sender may send multiple messages in a certain period, and multiple messages may have a certain association therebetween. It should be understood that the determination of the association message in this embodiment may be implemented based on a semantic recognition technology, and is not described herein again.
In some embodiments of the present embodiment, the means for storing the targeted revocation message includes, but is not limited to, the following two:
the method comprises the steps of firstly, obtaining the message attribute of a target withdrawal message; acquiring a target storage path corresponding to the target revocation message based on the message attribute; and storing the target revocation message according to the target storage path.
Specifically, the message attribute of this embodiment may include a message type, a message size, an instant messaging application type to which the message belongs, and the like. In the embodiment, the storage paths are correspondingly determined for the target revocation information with different attributes to be stored, so that the orderliness of the message storage behavior is improved, and the subsequent viewing by a user is facilitated. It should be understood that the storage path of the present embodiment may be not only associated with different storage areas on the same storage medium, that is, different target revocation messages are stored in different storage areas, but also associated with different storage media, that is, different target revocation messages are stored in different storage media.
Acquiring the message attribute of the target withdrawal message; acquiring content to be stored corresponding to the target revocation message based on the message attribute; and storing the content to be stored.
Specifically, the message attribute here takes the message type as an example, some messages may be text messages, and other messages may be resource messages, so that when the target revocation message is stored, the contents to be stored are different, the text message needs to store the message text, and the resource message needs to store the network resource corresponding to the message.
As shown in fig. 2, which is a schematic flow chart of a message revocation method provided in this embodiment, in some embodiments of this embodiment, after storing a target revocation message, the method further includes the following steps:
step 201, acquiring a reply processing state of a target withdrawal message;
step 202, when the reply processing state is a replied state, generating a corresponding message revocation request aiming at a replied message of the target revocation message;
step 203, sending a message revocation request corresponding to the replied message to the message server.
Specifically, in practical applications, the reply processing behavior of the received message by the user is different, for example, part of the message may be viewed and replied at the first time when the user receives the message, and part of the message may not be processed for a longer time. If the message receiver receives the message and then quickly replies to the message, but then the message sender may withdraw the message, the message replied by the message receiver loses the message reply basis, and if the replied message is still reserved on the conversation interface of the opposite party, the replied message is easily misread or illegally used.
The present embodiment will now be described with reference to the above embodiments by way of a specific example. For example, the instant messaging object a sends a message a to the instant messaging object B, the instant messaging object B immediately replies the message B in response to the message a, if the instant messaging object B receives a message withdrawal instruction associated with the message a, a message withdrawal request is generated in response to the message B and sent to the message server, and finally the message server sends a corresponding message withdrawal instruction to the instant messaging object a to withdraw the message B.
As shown in fig. 3, as a flowchart of a message deleting method provided in this embodiment, in some embodiments of this embodiment, after storing a target revocation message, the method further includes the following steps:
301, monitoring newly added messages of a received message list;
step 302, when the received message list has the newly added received message, performing correlation comparison between the newly added received message and the target withdrawal message;
and step 303, deleting the stored target withdrawal message when the relevance is greater than a preset relevance threshold.
Specifically, in practical applications, the motivation for the user to withdraw the message is different, and can be generally divided into two types, one is that the user repels the content of the sent message, and the other is that the message sent before by the user needs to be withdrawn and modified by mistake, and then is sent again. In the latter case, the message receiver will receive the correction message of the withdrawn message afterwards, and since the session intention of the correction message is the same as that of the withdrawn message, the stored withdrawn message has little value and occupies the storage space, based on this, the embodiment monitors the received message list, compares the relevance between the newly added received message and the withdrawn message after detecting the newly added received message, and if the relevance is higher, it indicates that the session intention of the newly added received message and the withdrawn message is the same, automatically deletes the previously stored withdrawn message, so as to avoid the waste of the storage space due to the storage of the worthless message.
In addition, it should be noted that, in practical applications, message addition may continue to be performed in the received message list, and not all the newly added received messages are associated with the revoked messages, so that the embodiment may limit the newly added received messages for performing correlation comparison, for example, starting timing after the target revoked message is revoked, and only monitoring the newly added received messages within a preset time duration, which may effectively optimize the message comparison process of the embodiment, and avoid unnecessary waste of processing resources.
In other embodiments of this embodiment, after storing the target revocation message, the method further comprises: monitoring newly added messages for the received message list; when the received message list has the newly added received message, performing correlation comparison on the newly added received message and the target withdrawal message; when the correlation degree is greater than a preset correlation degree threshold value, determining the difference content of the newly added received message and the target withdrawal message; and when the newly added received message is displayed on the message display interface, highlighting the difference content.
Specifically, in this embodiment, for the message that is sent after the message is withdrawn by the opposite user and is re-modified, the difference content between the message and the withdrawn message can be determined through message comparison, and then when the message is displayed, the difference content is highlighted, for example, displayed in bold, displayed in different colors, and the like, so that the difference between the messages sent before and after can be marked, and message modification tracing can be provided for the user. Fig. 4 is a schematic diagram of a message display interface provided in this embodiment, and the message withdrawn before this is "how do you meet at the mountainous park in the afternoon of today? "the message that is traced after the message is modified again is" how well the sports stadium meets in south mountain in the afternoon today? For example, the difference content in the newly modified information is 'southern mountain gym', and the difference content is displayed in a bold manner, so that the user can accurately know the intention of the opposite user to withdraw the message and the modified content after the message is withdrawn, and the message interaction experience is effectively improved.
Based on the technical scheme of the embodiment of the application, a message withdrawing instruction sent by a message server is received; determining a target revocation message from the received message list in response to the message revocation instruction; the target revocation message is stored. Through the implementation of the scheme, when the message withdrawal instruction sent by the message server is received, the message required to be withdrawn is stored, so that the subsequent checking of a user is facilitated, the message receiver can be effectively ensured to comprehensively trace the received message, and the message sending behavior of the message sender is restrained.
The method in fig. 5 is a refined message processing method provided in the second embodiment of the present application, and the message processing method includes:
step 501, receiving a message withdrawal instruction sent by a message server.
In this embodiment, both parties of instant messaging perform message interaction through a message server, when a message sender needs to withdraw a sent message, the message sender sends a message withdrawal request to the message server, and then the message server generates a message withdrawal instruction according to the message withdrawal request and sends the message withdrawal instruction to a message receiver so as to withdraw a specific message previously received by the message receiver.
Step 502, based on the message identifier carried by the message withdrawal instruction, the corresponding received message is searched from the received message list.
Step 503, determining the searched received message as the target revocation message.
In this embodiment, the message revocation instruction carries the message identifier of the message to be revoked, so that the message receiver compares the message identifier with the message identifier of the received message after receiving the message revocation instruction, and then determines the received message with the consistent comparison as the message to be revoked.
Step 504, based on the message attribute of the target revocation message, a target storage path corresponding to the target revocation message is acquired.
In this embodiment, in order to promote the message storage orderliness, the corresponding storage path may be determined according to the message attribute of the target revocation message for message storage.
And 505, storing the content of the target revocation message according to the target storage path.
In this embodiment, when storing the content of the target revocation message, if the target revocation message is a text message, the text content is stored, and if the target revocation message is a resource message, the downloaded network resource is stored.
Step 506, taking the withdrawal time of the target withdrawal message as the timing starting time, and monitoring the newly added message in the received message list within the preset timing duration.
In this embodiment, in view of an application scenario in which a message previously sent by a message sender needs to be revoked, and then the revoked message is modified and then sent to a message receiver, the present embodiment considers that such a revoked message is subsequently reissued by the message sender, so that the use value of the previously stored revoked message is limited, and instead, the stored storage space is occupied.
And 507, comparing the correlation between the newly added received message and the target withdrawal message when the received message list has the newly added received message.
And step 508, deleting the stored content corresponding to the target revocation message when the relevance is greater than a preset relevance threshold.
In this embodiment, a message receiver is monitored for an added message within a preset time duration, the added received message is compared with a message that is withdrawn before, if the comparison of the added received message and the message that is withdrawn before passes, it is indicated that the added received message is a message that is modified and retransmitted with respect to the message that is withdrawn before, and the conversation intents of the added received message and the message that is withdrawn before are consistent, the stored message that is withdrawn is deleted, so that unnecessary waste of storage space is avoided.
It should be understood that, the size of the serial number of each step in this embodiment does not mean the execution sequence of the step, and the execution sequence of each step should be determined by its function and inherent logic, and should not be limited uniquely to the implementation process of the embodiment of the present application.
The embodiment of the application discloses a message processing method, which comprises the steps of receiving a message withdrawal instruction sent by a message server; determining a target withdrawal message from the received message list based on the message identifier carried by the message withdrawal instruction; storing the target withdrawal message according to a target storage path corresponding to the message attribute of the target withdrawal message; when detecting a newly added received message within a preset time length, comparing the relevance of the newly added received message with a target withdrawal message; and deleting the stored content corresponding to the target revocation message when the relevance is greater than a preset relevance threshold. Through the implementation of the scheme, when the message withdrawal instruction sent by the message server is received, the message required to be withdrawn is stored, so that the subsequent checking by a user is facilitated, the message receiver can be effectively ensured to comprehensively trace the received message, and the message sending behavior of the message sender is restrained; in addition, in this embodiment, after the revoked message is stored, new message monitoring is performed, and if the correlation between the new message and the revoked message is high, the stored message content is deleted, so that the storage space can be effectively saved.
Fig. 6 is a message processing apparatus according to a third embodiment of the present application. The message processing apparatus may be used to implement the message processing method in the foregoing embodiments. As shown in fig. 6, the message processing apparatus mainly includes:
a receiving module 601, configured to receive a message revocation instruction sent by a message server;
a determining module 602, configured to determine a target revocation message from the received message list in response to the message revocation instruction;
a storage module 603 configured to store the target revocation message.
In some embodiments of this embodiment, the message processing apparatus further includes: the comparison module is used for extracting keywords from the target withdrawal message before the target withdrawal message is stored; and comparing the keywords with preset sensitive keywords. Correspondingly, when the comparison passes, the storage module 603 performs a function of storing the target revocation message.
In some embodiments of the present embodiment, the determining module 602 is further configured to: after determining the target revocation message from the received message list, an association message for the target revocation message is determined from the received message list. Correspondingly, the storage module 603 is further configured to: and storing the association message.
In some embodiments of this embodiment, the storage module 603 is specifically configured to: acquiring the message attribute of the target withdrawal message; acquiring a target storage path corresponding to the target revocation message based on the message attribute; and storing the target revocation message according to the target storage path. Or, the storage module 603 is specifically configured to: acquiring the message attribute of the target withdrawal message; acquiring content to be stored corresponding to the target revocation message based on the message attribute; and storing the content to be stored.
In some embodiments of this embodiment, the determining module 602 is specifically configured to: acquiring a message identifier carried in a message withdrawal instruction; searching the received message corresponding to the message identification from the received message list; and determining the searched received message as the target revocation message.
In some implementations of this embodiment, the message processing apparatus further includes: and the activation module is used for activating the function of the message storage control before the target withdrawal message is stored. Correspondingly, the storage module 603 executes the function of storing the target revocation message when receiving the storage confirmation instruction input through the message storage control.
In some implementations of this embodiment, the storage module 603 is specifically configured to: acquiring the message attribute of the target withdrawal message; and storing the target revocation message in the corresponding message set according to the message attribute.
Further, in some implementations of this embodiment, the message processing apparatus further includes: the sending module is used for acquiring the reply processing state of the target withdrawal message after the target withdrawal message is stored; when the reply processing state is a replied state, generating a corresponding message revocation request aiming at a replied message of the target revocation message; a message revocation request corresponding to the replied message is sent to the message server.
Further, in some implementations of this embodiment, the message processing apparatus further includes: the deleting module is used for monitoring the newly added messages of the received message list after the target withdrawing messages are stored; when the received message list has the newly added received message, performing correlation comparison on the newly added received message and the target withdrawal message; and deleting the stored target revocation messages when the correlation degree is greater than a preset correlation degree threshold value.
Further, in some implementations of this embodiment, the message processing apparatus further includes: a display module to: after the target withdrawal message is stored, newly-added message monitoring is carried out on the received message list; when the received message list has the newly added received message, performing correlation comparison on the newly added received message and the target withdrawal message; when the correlation degree is greater than a preset correlation degree threshold value, determining the difference content of the newly added received message and the target withdrawal message; and when the newly added received message is displayed on the message display interface, highlighting the difference content.
It should be noted that, the message processing methods in the first and second embodiments can be implemented based on the message processing apparatus provided in this embodiment, and it can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the message processing apparatus described in this embodiment may refer to the corresponding process in the foregoing method embodiment, and details are not described here.
According to the message processing device provided by the embodiment, a message withdrawal instruction sent by a message server is received; determining a target revocation message from the received message list in response to the message revocation instruction; the target revocation message is stored. Through the implementation of the scheme, when the message withdrawal instruction sent by the message server is received, the message required to be withdrawn is stored, so that the subsequent checking of a user is facilitated, the message receiver can be effectively ensured to comprehensively trace the received message, and the message sending behavior of the message sender is restrained.
Referring to fig. 7, fig. 7 is an electronic device according to a fourth embodiment of the present disclosure. The electronic device can be used for realizing the message processing method in the foregoing embodiment. As shown in fig. 7, the electronic device mainly includes:
a memory 701, a processor 702, a bus 703 and a computer program stored on the memory 701 and executable on the processor 702, the memory 701 and the processor 702 being connected by the bus 703. The processor 702, when executing the computer program, implements the message processing method in the foregoing embodiments. Wherein the number of processors may be one or more.
The Memory 701 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 701 is used for storing executable program code, and the processor 702 is coupled with the memory 701.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 7.
The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the message processing method in the foregoing embodiments. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the message processing method, device and computer readable storage medium provided by the present application, those skilled in the art will be able to change the concept of the embodiments of the present application in terms of the detailed description and the application scope, and in summary, the content of the present application should not be construed as limiting the present application.

Claims (12)

1. A message processing method, comprising:
receiving a message withdrawal instruction sent by a message server;
determining a target revocation message from a received message list in response to the message revocation instruction;
storing the target revocation message in an electronic device local, cloud, or associated device communicatively connected to the electronic device;
monitoring the newly added message of the received message list;
when the received message list has a newly added received message, performing relevance comparison on the newly added received message and the target withdrawal message;
when the correlation degree is greater than a preset correlation degree threshold value, determining the difference content between the newly added received message and the target withdrawal message;
and when the newly added received message is displayed on a message display interface, highlighting the difference content.
2. The message processing method of claim 1, wherein prior to storing the targeted revocation message, further comprising:
extracting keywords from the target withdrawal message;
comparing the keywords with preset sensitive keywords;
and when the comparison is passed, executing the step of storing the target withdrawal message.
3. The message processing method of claim 1, wherein after determining the target countermand message from the received message list, further comprising:
determining an association message of the target revocation message from the received message list;
and storing the association message.
4. The message processing method of claim 1, wherein the storing the target revocation message comprises:
acquiring the message attribute of the target revocation message;
obtaining a target storage path corresponding to the target revocation message based on the message attribute;
and storing the target revocation message according to the target storage path.
5. The message processing method of claim 1, wherein the determining a target revocation message from a received message list in response to the message revocation instruction comprises:
acquiring a message identifier carried in the message withdrawing instruction;
searching a received message list for a received message corresponding to the message identification;
and determining the searched received message as the target revocation message.
6. The message processing method of claim 1, wherein prior to storing the targeted revocation message, further comprising:
activating the function of the message storage control;
and when receiving a storage confirmation instruction input through the message storage control, executing the step of storing the target withdrawal message.
7. The message processing method of claim 1, wherein the storing the target revocation message comprises:
acquiring the message attribute of the target revocation message;
and storing the target revocation message in a corresponding message set according to the message attribute.
8. The message processing method according to any of claims 1 to 7, further comprising, after storing the target revoke message:
acquiring a reply processing state of the target withdrawal message;
when the reply processing state is a replied state, generating a corresponding message revocation request aiming at a replied message of the target revocation message;
sending the message revocation request corresponding to the replied message to a message server.
9. The message processing method according to any one of claims 1 to 7, further comprising:
and deleting the stored target revocation message when the relevance is greater than a preset relevance threshold.
10. A message processing apparatus, comprising:
the receiving module is used for receiving a message withdrawing instruction sent by the message server;
a determining module, configured to determine a target revocation message from a received message list in response to the message revocation instruction;
a storage module, configured to store the target revocation message locally, in a cloud, or in an associated device communicatively connected to the electronic apparatus;
a display module to: after storing the target revocation message, performing new message monitoring on the received message list; when the received message list has a newly added received message, performing relevance comparison on the newly added received message and the target withdrawal message; when the correlation degree is greater than a preset correlation degree threshold value, determining the difference content between the newly added received message and the target withdrawal message; and when the newly added received message is displayed on a message display interface, highlighting the difference content.
11. An electronic device, comprising: a memory, a processor, and a bus;
the bus is used for realizing connection communication between the memory and the processor;
the processor is configured to execute a computer program stored on the memory;
the processor, when executing the computer program, performs the steps of the method of any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN202010488535.3A 2020-06-02 2020-06-02 Message processing method and device and computer readable storage medium Active CN111641554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010488535.3A CN111641554B (en) 2020-06-02 2020-06-02 Message processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010488535.3A CN111641554B (en) 2020-06-02 2020-06-02 Message processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111641554A CN111641554A (en) 2020-09-08
CN111641554B true CN111641554B (en) 2022-03-04

Family

ID=72332177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010488535.3A Active CN111641554B (en) 2020-06-02 2020-06-02 Message processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111641554B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422402A (en) * 2020-09-30 2021-02-26 宇龙计算机通信科技(深圳)有限公司 Message forwarding tracing method and device, storage medium and terminal
CN113992615B (en) * 2021-10-26 2023-05-26 维沃移动通信有限公司 Method and device for displaying withdrawal message, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490919A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Message withdrawal method and device
CN105933215A (en) * 2016-07-09 2016-09-07 东莞市华睿电子科技有限公司 Chat message withdraw control method based on instant messaging
CN106302136A (en) * 2016-10-21 2017-01-04 珠海格力电器股份有限公司 The control method of mobile terminal, device and mobile terminal
CN109688042A (en) * 2017-10-18 2019-04-26 阿里巴巴集团控股有限公司 A kind of message treatment method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302341B (en) * 2018-10-30 2021-02-02 北京达佳互联信息技术有限公司 Instant messaging method, instant messaging device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490919A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Message withdrawal method and device
CN105933215A (en) * 2016-07-09 2016-09-07 东莞市华睿电子科技有限公司 Chat message withdraw control method based on instant messaging
CN106302136A (en) * 2016-10-21 2017-01-04 珠海格力电器股份有限公司 The control method of mobile terminal, device and mobile terminal
CN109688042A (en) * 2017-10-18 2019-04-26 阿里巴巴集团控股有限公司 A kind of message treatment method and device

Also Published As

Publication number Publication date
CN111641554A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN110392054B (en) Login verification method, device, system, equipment and readable storage medium
CN105871690B (en) Method and device for realizing instant messaging
CN112162965B (en) Log data processing method, device, computer equipment and storage medium
CN109688042A (en) A kind of message treatment method and device
CN108447509B (en) Method and device for generating multimedia file
EP2928143A1 (en) Page operation processing method, device and terminal
CN106470110B (en) Method and device for sending messages to multiple users in user list in group mode
CN111641554B (en) Message processing method and device and computer readable storage medium
CN111400378A (en) Real-time log display method and device based on ElasticSearch, computer equipment and medium
CN110865905A (en) Data restoration method and device, computer equipment and storage medium
CN108768835B (en) Mail analysis method, device, server and storage medium
CN108092872B (en) Communication method and device
CN113094143A (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN113127432A (en) Operation execution method, device, electronic equipment and medium
CN112947807A (en) Display method and device and electronic equipment
CN111338710A (en) Application program control method and device, electronic equipment and storage medium
US11163827B2 (en) Video processing method, device, terminal and storage medium
CN108241515B (en) Application shortcut establishing method and terminal
CN106487653B (en) Message processing method and server
CN110442439B (en) Task process processing method and device and computer equipment
CN111897474A (en) File processing method and electronic equipment
CN108156071A (en) To method, terminal device and the computer readable storage medium of community's addition member
CN112822089B (en) Method and device for adding friends
CN114428737A (en) Communication method, device, equipment and storage medium based on micro service system
CN105991417B (en) Method and device for receiving dynamic information of friends in social network

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