CN112333081A - Message processing method and electronic equipment - Google Patents

Message processing method and electronic equipment Download PDF

Info

Publication number
CN112333081A
CN112333081A CN202011171077.7A CN202011171077A CN112333081A CN 112333081 A CN112333081 A CN 112333081A CN 202011171077 A CN202011171077 A CN 202011171077A CN 112333081 A CN112333081 A CN 112333081A
Authority
CN
China
Prior art keywords
message
input
user
processing
correlation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011171077.7A
Other languages
Chinese (zh)
Inventor
况辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Software Technology Co Ltd
Original Assignee
Vivo Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Software Technology Co Ltd filed Critical Vivo Software Technology Co Ltd
Priority to CN202011171077.7A priority Critical patent/CN112333081A/en
Publication of CN112333081A publication Critical patent/CN112333081A/en
Pending legal-status Critical Current

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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

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

Abstract

The application discloses a message processing method and electronic equipment, and belongs to the field of message processing. The message processing method comprises the following steps: acquiring a first correlation degree of a first message and a first object under the condition of receiving a first input indicating that the first message is sent to the first object; displaying candidate processing modes under the condition that the first correlation accords with a first preset condition, wherein the candidate processing modes comprise a first message used for indicating whether to send the first message to the first object; receiving a second input of the user; in response to the second input, the first message is processed in accordance with the target processing mode selected by the second input among the candidate processing modes. By providing the user with a choice of reconfirming whether to send the first message, the possibility of misoperation of the user can be reduced, the safety of message sending is greatly improved, and the probability of information leakage caused by misoperation of the user is reduced.

Description

Message processing method and electronic equipment
Technical Field
The application belongs to the field of message processing, and particularly relates to a message processing method and electronic equipment.
Background
When a user chats with a social tool such as instant messenger, a message is often sent by mistake. For example, a user may chat with multiple people or groups at the same time, but may inadvertently send information intended for a to B. The prior art provides a solution that allows a user to recall messages sent over a period of time, after which the message in the chat dialog and chat log of the subject is dismissed and is no longer displayed. However, even this may cause the counterpart to see the message content in the period before the message is withdrawn, and if the message contains some secret or the counterpart does not want to view the message, information leakage may occur.
Disclosure of Invention
The embodiment of the application aims to provide a message processing method and electronic equipment, which can solve the problem of information leakage caused by misoperation and the like when a user uses a social tool.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message processing method, where the method includes: acquiring a first correlation degree of a first message and a first object under the condition of receiving a first input indicating that the first message is sent to the first object; displaying candidate processing modes under the condition that the first correlation accords with a first preset condition, wherein the candidate processing modes comprise a first message used for indicating whether to send the first message to the first object; receiving a second input of the user; in response to the second input, the first message is processed in accordance with the target processing mode selected by the second input among the candidate processing modes.
In a second aspect, an embodiment of the present application provides a message processing apparatus, including: the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first correlation degree of a first message and a first object under the condition of receiving a first input indicating that the first message is sent to the first object; the first display module is used for displaying candidate processing modes under the condition that the first correlation degree meets a first preset condition, wherein the candidate processing modes comprise a first message used for indicating whether to send the first message to the first object or not; the first receiving module is used for receiving a second input of the user; and the processing module is used for responding to the second input and processing the first message according to the target processing mode selected by the second input in the candidate processing modes.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, after a first input for indicating that a first message is sent to a first object is received, the first message is not sent to the first object immediately, but candidate processing modes are displayed under the condition that the correlation degree of the content of the first message and the first object is detected to meet a first preset condition, after a user selects a target processing mode from the candidate processing modes, the first message is processed according to the target processing mode selected by the user, and a selection opportunity for confirming whether the first message is sent or not is provided for the user again, so that the possibility of misoperation of the user can be reduced, the safety of message sending is greatly improved, and the probability of information leakage caused by misoperation of the user is reduced.
Drawings
Fig. 1 is an interaction diagram i of an optional application scenario of the message processing method according to the embodiment of the present application;
fig. 2 is an interaction diagram ii of an optional application scenario of the message processing method according to the embodiment of the present application;
fig. 3 is a first alternative flow chart of the message processing method according to the embodiment of the present application;
fig. 4 is a third interaction diagram of an optional application scenario of the message processing method according to the embodiment of the present application;
fig. 5 is an interaction diagram of an optional application scenario of the message processing method according to the embodiment of the present application;
FIG. 6 is an alternative schematic diagram of a message processing apparatus according to an embodiment of the present application;
fig. 7 is an alternative schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, 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.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so passed may be interchanged under appropriate circumstances such that embodiments of the application may be practiced otherwise than as specifically illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The message processing method provided by the embodiment of the application can be applied to electronic devices with computing capability, such as smart phones, palm computers, tablet computers, and notebooks, and specifically can be applied to components with chat function (such as message function of the system) configured in advance in a system of the electronic devices, or software with chat function (such as different types of APPs configured with chat function or components capable of configuring chat function, such as payment type, shopping type, and instant messaging type) installed in the electronic devices, and the like. For example, the message processing method provided by the embodiment of the application can be adopted in a chat scene, such as a case where a user chats with another user alone or a case where the user chats in a chat group in a group.
With reference to fig. 1 to 2, an application scenario example of the message processing method according to the embodiment of the present application is provided, in this example, the electronic device is a mobile phone 10, and a user may touch and click an icon 101 of an "application 8" in a desktop icon of the mobile phone 10 shown in fig. 1 to enter a software interface of the "application 8". The "application 8" may be a system component or installed software of the handset 10. Specifically, the "application 8" may be instant chat software, and an optional chat interface diagram in the instant chat software may be as shown in fig. 2, where fig. 2 is used to exemplarily show an interface of a user chatting in a chat group, and similarly, an interface of a user chatting in another chat group, or an interface of a user chatting separately with another user may also be analogized, and is not described again. As shown in fig. 2, the chat interface of the user in the "group chat a" includes a message area 201 and an editing area 202, where the message area 201 is used to display messages sent by the user in the chat group and messages sent by members in the group other than the user, the display information of the members in the group other than the user may include chat avatars of the members (such as avatars 2012 and avatars 2013) and message boxes adjacent to the members avatars, the chat avatar 2011 and the message box of the user are displayed on the right side, and the chat avatars and the message boxes of the other members are displayed on the left side. Similarly, for other users in the chat group, the chat interface is similar, but in the message area 201, the head portrait of the user and the sent message are displayed near the right side, and details are not described here. The user can edit and input the message to be sent in the editing area 202, the edited message in the editing area 202 is not displayed in the message area 201, and other members cannot see the user edit. After editing the content of the message to be sent, the user can click the "send" button 2021 to send the message to other members of the group. After sending, the message area 201 of the user's own chat interface will add the message sent by itself, and after successful receiving, other members can correspondingly display in their respective chat interfaces.
The message processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 3, an optional message processing method provided in the embodiment of the present application includes the following steps:
in step 301, a first correlation of a first message with a first object is obtained in case of receiving a first input indicating to send the first message to the first object.
The first object is an object for sending a message, and taking the sending object as a chat object of instant messaging as an example, the first object may be another user or may be multiple users (e.g., a chat group including multiple chat members).
Prior to step 301, the user may edit the first message in the edit area 202 as shown in fig. 2, and then input the first input to the handset 10, such as clicking on the "app 8" icon 2021 shown in fig. 2.
The first input is an input for instructing to send the first message, and it should be noted that the instructing to send is not equal to the sending performed by the electronic device, the first input is only an instruction sent by the user to the electronic device, and after receiving the first input, sending the first message is not performed immediately, but in a case where the first input is received, a first correlation degree between the first message and the first object is obtained.
Specifically, the first input may be received through a user input unit of the electronic device, for example, the user input unit may be an input component or device such as a touch display screen, a touch panel, a keyboard, a mouse, and the like of the electronic device, and the first input may be a preset operation performed on the user input unit by a user, for example, clicking an icon control of the touch display screen, or, in a state where the first message is edited, knocking an enter key through the keyboard, and the like.
In the embodiment of the present application, the correlation is a parameter indicating a degree of correlation between the content of one message and the chat log of one object. The first relevance of the first message to the first object is a degree of relevance of the content of the first message to the chat log of the first object. The first correlation degree may be calculated according to a specified algorithm, and an alternative implementation manner is that the first correlation degree is calculated through a pre-trained neural network model, the input of the neural network model is a vector sequence formed by word vectors corresponding to each character of the first message, and the output of the vector sequence formed by the word vectors of each character in the chat record of the first object is a numerical value of the first correlation degree.
And 302, displaying candidate processing modes under the condition that the first correlation meets a first preset condition, wherein the candidate processing modes comprise a step of indicating whether to send a first message to the first object.
When the first correlation degree meets the first preset condition, the user needs to confirm again by sending the first message to the indication of the first object. The first correlation degree may be lower than the correlation degree between the first message and the object to be transmitted, for example, the first correlation degree is smaller than a preset threshold, or the first correlation degree is smaller than the correlation degree between the first message and any one of the other objects.
Before step 302 is executed, it may be determined whether the content of the first message meets a first preset condition, specifically, the determination timing may be after step 301, that is, after the user instructs to send, to detect whether the first correlation meets the first preset condition, or, before step 301, the real-time detection may be started on the message content being edited by the user, so as to shorten the response time of step 302.
The candidate processing manner is a candidate manner provided for the user to process the first message, and the candidate processing manner includes at least one, and may include, for example, re-editing the first message, canceling sending the first message to the first object, forwarding the first message to the second object, sending the first message to the first object, and setting a right for an operation of editing the first message with respect to the first object.
Wherein, the re-editing is to re-edit the first message, that is, to re-edit the first message based on the content of the first message; whether to cancel sending or not to send the first message, which may also persist after canceling sending (e.g., as shown in edit area 202 shown in fig. 2), and then the user may perform another operation on the first message, such as editing or clicking "send" again; sending means that the user still sends the first message to the first object; forwarding is to forward the first message to other objects besides the first object, and specifically, the user may select one of the other objects, or, further, forwarding may include forwarding to a second object, where the second object is an object specified by software, and information of the second object (such as a nickname, an avatar, and the like of the second object) may be displayed to prompt the user who the second object is, and if the user selects to forward to the second object, the user does not need to select one of the other objects and directly forwards to the second object.
Sending a first message to a first object, and setting the authority for the first message editing operation of the first object to limit the editing authority of the first message by a counterpart, wherein the editing operation comprises at least one of the following operations: copying, forwarding and screen capturing, wherein the authority is forbidden, allowed or requesting authorization during editing, that is, limiting the authority of the other party can be setting of the editing authority of the other party for the first message by the user. Specifically, the setting of the right to edit the first message with respect to the first object to limit the editing right of the first message by the other party may include at least one of the following processing manners: the method comprises the steps of prohibiting the copying of an opposite party, prohibiting the forwarding of the opposite party, prohibiting the screen capture of the opposite party, permitting the copying of the opposite party, permitting the forwarding of the opposite party, permitting the screen capture of the opposite party, requesting authorization during copying, requesting authorization during screen capture, requesting authorization during forwarding, and enabling the user to select one processing mode or a plurality of non-contradictory processing modes (only one authority can be selected for one editing operation, and if a plurality of authorities are selected for one editing operation, contradictory processing modes are selected, for example, the user selects to prohibit the copying and permit the copying of the opposite party, namely two contradictory processing modes, or the user can prohibit the user from selecting other authorities for one editing operation after the user selects the authority set for the editing operation) so as to set the authority for the editing of the opposite party. For example, the user may prohibit the forwarding of the first object, but the right of copying and screen capturing of the first object is not limited, and the effect of prohibiting the forwarding is that when the first object selects to forward the first message in the chat interface of the user, the software may prohibit the forwarding of the first message, or the software disables the forwarding operation in the processing mode of the first object for the first message.
When it is determined that the first message meets the first preset condition, at least one candidate processing manner is displayed, and a specific implementation of displaying at least one candidate processing manner may be to pop up a dialog box, as shown in fig. 4, which is an optional example, as shown in fig. 4, in an area other than the prompt area 401 in the dialog box 401, which is shown in fig. 4, controls of multiple candidate processing manners are displayed, including three candidate processing manners, namely, "continue sending", "edit again", and "forward to group a".
Optionally, the dialog box 401 may include a prompt area 4011, and the prompt area 4011 may prompt the user to select a processing method and/or that the first message meets the first preset condition. Optionally, in addition to the prompting manner, a prompting message may be displayed in other embodiments, where the prompting message may prompt the user that the first message meets the first preset condition to inform the user of a reason why a processing manner needs to be selected, for example, a banner message may be displayed above the software interface, and the prompting message may be displayed in the banner message.
An optional implementation manner is that, when the step 302 is executed, the following specific steps are included:
and step 501, calculating the relevance of the first message and a plurality of chat records through the first neural network model, wherein the plurality of chat records comprise the chat record of the first object and the chat records of other objects except the first object.
Step 502, determining that the second correlation degree of the chat records of the first message and the second object is the highest in the plurality of chat records.
Step 503, determining that the first correlation degree meets a first preset condition;
step 504, displaying candidate processing manners, wherein the candidate processing manners include a first candidate processing manner, and the first candidate processing manner is used for indicating to send the first message to the second object.
The first neural network model is a pre-trained neural network model and can be updated at any time in the using process. Alternatively, the handset 10 may locally store the first neural network model for computation, the update training process of the neural network model may be performed by a remote server in communication with the software client, and the updated neural network model is downloaded by the handset 10 to be locally computed after the update. The first Neural Network model may be a Deep Neural Network (Deep Neural Network), a Recurrent Neural Network (Recurrent Neural Network), a Convolutional Neural Network (Convolutional Neural Network), or the like.
The input of the first neural network model at least comprises a first message and a historical chat record with an object, optionally, the input may further comprise a preset tag of the object, where the preset tag is used to identify a relationship between the corresponding object and a user, and if the object is an object such as a group chat that includes a plurality of chat members, the preset tag of the object includes the preset tag of each chat member; or if the object is an object comprising a plurality of chat members, the aggregated label of the object can be determined according to the preset labels of all the chat members. The output of the first neural network model is the correlation of the first message with the incoming chat log.
In an alternative embodiment of how to obtain the preset tag, the preset tag may be calculated by the second neural network model according to a history of chatting with the first object, and specifically, the preset tag may be one numerical value or a multi-dimensional vector including a plurality of numerical values. Similarly, the second Neural Network model may also adopt a Deep Neural Network (Deep Neural Network), a Recurrent Neural Network (Recurrent Neural Network), a Convolutional Neural Network (Convolutional Neural Network), or the like. The second neural network model may be stored locally on the handset 10, the process of updating the iteratively trained second neural network model may be performed by a remote server, and the handset 10 may then be triggered by an update event to download the updated second neural network model from the remote server.
To further describe the operation process of the correlation, the following is exemplarily described for a specific application scenario:
first, the latest N pieces of information (e.g., N100) of a group chat (or another user), group members to which the N pieces of information relate, and preset labels (e.g., colleagues, leaders, and family members) of the group members are input into a first neural network model, and an M-dimensional feature vector is output. K groups have K M-dimensional feature vectors;
suppose that the vector a calculated for group a is [1.0,2.0,1.3,1.4,2.5,9.1,3.1,0.4,8.1,5.6]
Suppose that the calculated vector B for group B is [4.0,1.0,5.3,0.4,1.5,5.7,2.0,1.6,5.1,1.6]
Suppose that the vector C calculated for group C is [1.0,2.0,1.3,1.4,2.5,9.1,3.1,0.4,8.1,3.9]
The vector A, B, C shown above can be understood as a label of a group, and the value of the vector represents the characteristics of "work biased" or "family biased", "privacy biased chat content" or "random biased chat content".
And step two, after the first message to be sent currently is spliced with the N historical messages of one group, the N +1 messages are formed and transmitted into the first neural network model to obtain an output. The same processing is performed on the K clusters, and K M-dimensional feature vectors can be obtained. It is assumed here that there are only A, B, C three group chats.
Assume that the calculated vector a' for group a is [1.0,2.0,1.2,1.4,2.4,9.1,3.3,0.4,8.1,5.3]
Assume that the calculated vector B' for group B is [2.0,1.9,9.3,0.9,4.5,8.7,2.0,1.0,5.1,3.6]
Assume that the calculated vector C' for group C is [5.0,2.9,4.3,9.4,2.3,0.1,4.1,8.4,6.1,0.9]
The vectors a ', B ', C ' shown above are used to describe the history of the first message and the corresponding group.
And thirdly, calculating K cosine distances according to the K M-dimensional characteristic vectors obtained in the second step and the K M-dimensional characteristic vectors obtained in the first step, wherein the range of the cosine distances is [0, 2], and the smaller the number is, the higher the correlation is. The distance between A and A ' was calculated to be 0.3, the distance between B and B ' was calculated to be 1.0, and the distance between C and C ' was calculated to be 1.6.
And fourthly, sequencing the plurality of correlations obtained in the third step, and prompting the sender according to the correlations. For example, since the first message is 0.3 cosine away from group a, 1.0 cosine away from group B and 1.6 cosine away from group C, the first message is most correlated with group a and less correlated with group B and group C. As shown in fig. 4, if the user is chatting on the chat interface of the group B (corresponding to the first object), and after clicking and sending the edited first message, the calculated correlation degree between the first message and the group a (corresponding to the second object) is the highest, the prompt message may be displayed to prompt the user that the correlation degree between the first message and the second object is the highest, and the prompt message may be displayed in the prompt area 4011 shown in fig. 4.
Optionally, the first preset condition may be the following exemplary cases: the relevance of the first message and the first object calculated through the first neural network model is smaller than a preset threshold, or after the relevance of the first message and other objects except the first object is calculated, the relevance of the first message and the first object is determined to be smaller than the relevance of the first message and other objects, or after the relevance of the first message and all objects is calculated, the relevance is ranked according to the relevance, and the highest ranked object is not the first object but the second object. Alternatively, in order to reduce the amount of computation, the correlation with the first message may be calculated only for objects having a chat history in the near term (within a preset time, for example, within three days).
After the first message and the second object are determined to have the highest degree of correlation, the first degree of correlation is determined to meet a first preset condition, and then the candidate processing modes are displayed. The displayed candidate processing modes at least comprise a first candidate processing mode used for indicating to send the first message to the second object.
Further, after determining that the relevance between the first message and the second object is the highest, the first message may be subjected to word segmentation, the relevance between the first message and the second object is calculated for each word segmentation (the calculation method is similar to the calculation of the relevance between the first message and the first object, and is not repeated), and then second prompt information is displayed to prompt the word segmentation of which the relevance meets a second preset condition in at least one word segmentation. For example, the participle meeting the second preset condition may be the participle with the highest relevance to the second object, or the participle with the top x relevance ranks. The second prompt message may be to mark the participles meeting the second preset condition, for example, as shown in fig. 5, and mark the participles meeting the second preset condition with "[ to ] to prompt the user.
Step 303, receiving a second input from the user.
The second input is for indicating a selection by the user of at least one candidate treatment modality.
Similar to the first input, the second input may be received through a user input unit of the electronic device, and the embodiment of the present application does not limit the specific implementation of the second input, and is not described herein again.
Step 304, in response to the second input, processing the first message in accordance with the selected target processing mode from the second input candidate processing modes.
Optionally, processing the first message according to the target processing manner may include the following several cases. Displaying a control capable of editing the first message under the condition that the target processing mode is re-editing or sending cancellation; under the condition that the target processing mode is sending, sending a first message to a first object; and in the case that the target processing mode is to limit the authority of the other party, sending a first message to the first object, and limiting the editing authority of the first object for the first message to be preset editing authority.
And when the user clicks and selects one of the candidate processing modes, obtaining the target processing mode of the user. After receiving the second input, the first message is processed in a targeted processing manner. For example, if the target processing mode selected by the user is sending, sending is performed, and if the target processing mode selected by the user is forwarding to the second object (such as group chat a), the first message is forwarded to the second object, and the first message is cancelled from being sent to the first object.
It should be noted that, each candidate processing manner at least implicitly includes a selection of whether to determine to send the first message to the first object, for example, for cancellation of sending, re-editing or forwarding, it is implicit that the user determines to cancel sending the first message to the first object, and continuing sending indicates that the user determines to send the first message to the first object.
As an alternative example, in the case that the target processing manner is to send a first message to the first object and the right is set for the operation of editing the first message for the first object, after sending the first message to the first object, if the first object wants to forward the first message to the third object, a forwarding request needs to be sent to the user, where the forwarding request is used for requesting authorization for the operation of forwarding the first message object to the third object for the first object; accordingly, the execution end (e.g., the mobile phone 10) of the embodiment of the present application may receive a forwarding request of the first object, where the forwarding request is used to request that the first object is allowed to forward the first message to the third object.
After receiving the forwarding request, receiving a third input of the user, and determining an authorization result of the user for the forwarding request according to the third input of the user. Optionally, the first object may merge and forward a plurality of chat messages with the user, and correspondingly, the forwarding request received by the mobile phone 10 may include a forwarding message list of the first object, where the forwarding message list includes a plurality of messages requested by the first object to be forwarded to the third object, where the plurality of messages includes the first message. The user may view the list of forwarded messages and act on each message to authorize whether the corresponding message is allowed to be forwarded to the third object.
For example, the first object wants to forward a plurality of messages with the user to the third object, the first object may select a plurality of messages in a chat interface with the user and select to send to the third object, and then the remote server receives a list of forwarded messages, and the remote server does not send to the third object directly but sends to the user after receiving the list of forwarded messages. Each message in the forwarded message list can be displayed in the software display interface of the user, a control of a check box can be provided on the left side of each message, if the user selects the check box (a check box is displayed in the check box), the message is indicated to be not allowed to be forwarded, the unselected message can be forwarded, after the user confirms, the mobile phone 10 returns the authorization result of the user to the remote server, and the remote server directly forwards the message list which can be forwarded to the third object.
Optionally, after receiving the second input of the user, the content of the first message may be further detected, and if the content of the first message meets a second preset condition, for example, the first message includes a keyword, or the first message meets a preset regular expression (regular expression), or it is determined that the first message belongs to a certain class of pre-specified messages after being classified by a classification model, the candidate processing manner may be further displayed, including setting an authority for an operation of editing the first message by an opposite party, where the editing operation includes at least one of: copying, forwarding, screen capturing, and the authority is forbidden, allowed or authorization is requested during editing.
An application scenario is that whether the first message includes private content is detected, and if the content of the first message includes the private content, such as a keyword "wage" is detected, or it is detected through a regular expression that the transmitted first message includes an 18-digit identity card number "110 xxxxxxxxxxxxx", it is determined that the content of the first message meets a second preset condition, and a candidate processing manner needs to be further provided, for example, the candidate processing manner may include: the method comprises the steps of prohibiting copying of an opposite party, prohibiting forwarding of the opposite party, prohibiting screen capture of the opposite party, permitting copying of the opposite party, permitting forwarding of the opposite party, permitting screen capture of the opposite party, requesting authorization during copying, requesting authorization during screen capture, and requesting authorization during forwarding, and a user can select one processing mode or a plurality of non-contradictory processing modes from a plurality of candidate processing modes to set the authority for editing of the opposite party.
For example, an alternative application scenario is that the user chats with the first object, clicks the "send" button after editing the first message, and the handset 10 receives a first input indicating that the first message is to be sent to the first object. Next, the mobile phone 10 calculates the correlation between the first message and the plurality of objects, and if the first correlation between the first message and the first object is not the highest, but the value of the second correlation between the first message and the second object is the highest, determines that the first correlation meets the first preset condition, and displays the candidate processing mode. In the alternative processing mode, the user selects to send the first message to the second object, but prohibits the second object from capturing the screen. The first message is then sent to the second object and the second object is prohibited from capturing the first message, and if the second object attempts to capture the screen while its electronic device is displaying the first message, the software may pop up an alert: the other party prohibits your screen capturing of the message.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution main body may be a message processing apparatus, or a control module in the message processing apparatus, which is used for executing the loading message processing method. In the embodiment of the present application, a message processing apparatus executes a method for processing a loading message, which is taken as an example, to describe the message processing method provided in the embodiment of the present application.
As shown in fig. 6, which is a schematic diagram of an alternative message processing apparatus, the apparatus includes an obtaining module 601, a first displaying module 602, a first receiving module 603, and a processing module 604.
The acquisition module is used for acquiring a first correlation degree of a first message and a first object under the condition of receiving a first input indicating that the first message is sent to the first object; the first display module can display a candidate processing mode under the condition that the first correlation meets a first preset condition, wherein the candidate processing mode comprises a first message used for indicating whether to send the first message to the first object or not; the first receiving module may receive a second input of the user; the processing module may be responsive to the second input to process the first message in accordance with a target processing mode selected by the second input among the candidate processing modes.
Optionally, the first display module may include a calculating unit, a first determining unit, a second determining unit and a display unit, wherein: the calculation unit may calculate, through the first neural network model, a degree of correlation of the first message with a plurality of chat records including a chat record with the first object and chat records with objects other than the first object; the first determining unit may determine that the second correlation degree of the first message with the chat history of the second object is highest among the plurality of chat histories; the second determining unit may determine that the first correlation degree meets a first preset condition; the display unit may display the candidate processing manners, where the candidate processing manners include a first candidate processing manner, where the first candidate processing manner is used to instruct to send the first message to the second object.
Optionally, the apparatus may further include a word segmentation module, a calculation module, and a second display module, where: the word segmentation module can perform word segmentation on the first message to obtain at least one word segmentation after determining that the second correlation degree of the chat records of the first message and the second object is highest; the calculation module can calculate the relevance of each participle of the first message and the second object through the first neural network model; the second display module can display prompt information, and the prompt information is used for prompting the participle with the relevance higher than a preset threshold value in the at least one participle.
Optionally, the candidate processing manner displayed by the first display module may include at least one of the following: sending a first message to a first object; cancelling sending of the first message to the first object; re-editing the first message; sending a first message to a first object, and setting a right for an operation of editing the first message for the first object, wherein the editing operation comprises at least one of the following: copying, forwarding, screen capturing, and the authority is forbidden, allowed or authorization is requested during editing.
Optionally, in a case that the target processing manner is to send a first message to the first object, and the operation setting authority for forwarding the first message to the first object is to request authorization during editing, the apparatus may further include a second receiving module, a third receiving module, and a determining module, where: the second receiving module may receive a forwarding request of the first object after processing the first message object in the target processing manner, where the forwarding request is used to request authorization for an operation of forwarding the first message object to the third object for the first object; the third receiving module may receive a third input of the user; the determination module may be responsive to a third input, and determine an authorization result of the user for the forwarding request based on the third input.
The message processing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The message processing apparatus provided in the embodiment of the present application can implement each process implemented by the message processing apparatus in the method embodiment of fig. 3, and in order to avoid repetition, implementation and effects thereof are not described herein again.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction, when executed by the processor, implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The input unit 704 may include a graphics processor, a microphone, and the like. The display component 706 may include a display panel. The user input unit 707 may include a touch panel and other input devices, and the like. The memory 709 may store an application program, an operating system, and the like. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 707 is configured to receive a first input, the processor 710 is configured to obtain a first degree of correlation between a first message and a first object when the first input indicating that the first message is sent to the first object is received, the display unit 706 is configured to display a candidate processing manner when the first degree of correlation meets a first preset condition, the user input unit 707 is further configured to receive a second input of a user, and the processor 710 is configured to execute processing of the first message according to a target processing manner selected by the second input from the candidate processing manners in response to the second input.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, which may include a non-volatile Memory, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method of message processing, the method comprising:
acquiring a first correlation degree of a first message and a first object under the condition of receiving a first input indicating that the first message is sent to the first object;
displaying a candidate processing mode under the condition that the first correlation accords with a first preset condition, wherein the candidate processing mode comprises a first message used for indicating whether to send the first message to the first object or not;
receiving a second input of the user;
in response to the second input, processing the first message in accordance with a target processing mode selected by the second input among the candidate processing modes.
2. The method according to claim 1, wherein displaying the candidate processing manner when the first correlation degree meets a first preset condition comprises:
calculating, by a first neural network model, a correlation of the first message with a plurality of chat records including a chat record with the first object and chat records with objects other than the first object;
determining that the first message has the highest second correlation with the chat records of the second object in the plurality of chat records;
determining that the first correlation degree meets the first preset condition;
displaying the candidate processing modes, wherein the candidate processing modes comprise a first candidate processing mode, and the first candidate processing mode is used for indicating to send the first message to the second object.
3. The method of claim 2, wherein after determining that the first message has the highest second correlation to the chat log of the second object, the method further comprises:
performing word segmentation on the first message to obtain at least one word segmentation;
calculating, by the first neural network model, a degree of correlation of each participle of the first message with the second object;
and displaying prompt information, wherein the prompt information is used for prompting the participle with the relevance higher than a preset threshold value in the at least one participle.
4. The method of claim 1, wherein the displayed candidate treatment comprises at least one of:
sending the first message to the first object;
canceling sending the first message to the first object;
re-editing the first message;
sending the first message to the first object, and setting a right for an operation of editing the first message for the first object, wherein the editing operation comprises at least one of the following operations: copying, forwarding and screen capturing, wherein the authority is forbidden, allowed or authorized when editing.
5. The method according to claim 4, wherein in the case that the target processing mode is to send the first message to the first object and the operation for forwarding the first message to the first object sets the right to request authorization at editing, after processing the first message object in the target processing mode, the method further comprises:
receiving a forwarding request of the first object, wherein the forwarding request is used for requesting authorization for the operation of forwarding the first message object to a third object by the first object;
receiving a third input of the user;
in response to the third input, determining an authorization result of the user for the forwarding request according to the third input.
6. A message processing apparatus, characterized in that the apparatus comprises:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first correlation degree of a first message and a first object under the condition of receiving a first input indicating that the first message is sent to the first object;
the first display module is used for displaying candidate processing modes under the condition that the first correlation meets a first preset condition, wherein the candidate processing modes comprise a first processing mode used for indicating whether to send the first message to the first object or not;
the first receiving module is used for receiving a second input of the user;
and the processing module is used for responding to the second input and processing the first message according to the target processing mode selected by the second input in the candidate processing modes.
7. The apparatus of claim 6, wherein the first display module comprises:
a calculating unit, configured to calculate, through a first neural network model, a correlation between the first message and a plurality of chat records, where the plurality of chat records include a chat record with the first object and chat records with other objects except the first object;
a first determining unit, configured to determine that, in the plurality of chat records, a second correlation between the first message and a chat record of a second object is highest;
a second determining unit, configured to determine that the first correlation degree meets the first preset condition;
a display unit, configured to display the candidate processing manners, where the candidate processing manners include a first candidate processing manner, and the first candidate processing manner is used to instruct to send the first message to the second object.
8. The apparatus of claim 7, further comprising:
the word segmentation module is used for segmenting the first message to obtain at least one word after determining that the second correlation degree of the chat records of the first message and the second object is the highest;
a calculation module, configured to calculate, through the first neural network model, a degree of correlation between each participle of the first message and the second object;
and the second display module is used for displaying prompt information, and the prompt information is used for prompting the participle of which the relevance is higher than a preset threshold value in the at least one participle.
9. The apparatus of claim 6, wherein the candidate treatment modes displayed by the first display module comprise at least one of:
sending the first message to the first object;
canceling sending the first message to the first object;
re-editing the first message;
sending the first message to the first object, and setting a right for an operation of editing the first message for the first object, wherein the editing operation comprises at least one of the following operations: copying, forwarding and screen capturing, wherein the authority is forbidden, allowed or authorized when editing.
10. The apparatus according to claim 9, wherein in a case that the target processing manner is to send the first message to the first object, and the operation for forwarding the first message to the first object sets a right to request authorization at editing, the apparatus further comprises:
a second receiving module, configured to receive a forwarding request of the first object after the first message object is processed according to the target processing manner, where the forwarding request is used to request authorization for an operation of forwarding the first message object to a third object for the first object;
the third receiving module is used for receiving a third input of the user;
and the determining module is used for responding to the third input and determining an authorization result of the user for the forwarding request according to the third input.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the message processing method as claimed in any one of claims 1-5.
CN202011171077.7A 2020-10-28 2020-10-28 Message processing method and electronic equipment Pending CN112333081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011171077.7A CN112333081A (en) 2020-10-28 2020-10-28 Message processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011171077.7A CN112333081A (en) 2020-10-28 2020-10-28 Message processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN112333081A true CN112333081A (en) 2021-02-05

Family

ID=74296471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011171077.7A Pending CN112333081A (en) 2020-10-28 2020-10-28 Message processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN112333081A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979983A (en) * 2022-04-18 2022-08-30 中移互联网有限公司 Message processing method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878230A (en) * 1995-01-05 1999-03-02 International Business Machines Corporation System for email messages wherein the sender designates whether the recipient replies or forwards to addresses also designated by the sender
CN104618598A (en) * 2015-01-30 2015-05-13 广东欧珀移动通信有限公司 Message sending method and device and mobile terminal
CN105099853A (en) * 2014-04-25 2015-11-25 国际商业机器公司 Erroneous message sending preventing method and system
CN106096343A (en) * 2016-05-27 2016-11-09 腾讯科技(深圳)有限公司 Message access control method and equipment
CN108039995A (en) * 2017-10-25 2018-05-15 努比亚技术有限公司 Message sending control method, terminal and computer-readable recording medium
CN110166349A (en) * 2019-05-27 2019-08-23 北京三快在线科技有限公司 Sending method, device and the electronic equipment of message
CN110430119A (en) * 2019-06-25 2019-11-08 维沃移动通信有限公司 Information transferring method, server, terminal device and medium
CN110932967A (en) * 2019-12-31 2020-03-27 郑州信大捷安信息技术股份有限公司 Seamless session realization method and system for instant messaging message

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878230A (en) * 1995-01-05 1999-03-02 International Business Machines Corporation System for email messages wherein the sender designates whether the recipient replies or forwards to addresses also designated by the sender
CN105099853A (en) * 2014-04-25 2015-11-25 国际商业机器公司 Erroneous message sending preventing method and system
CN104618598A (en) * 2015-01-30 2015-05-13 广东欧珀移动通信有限公司 Message sending method and device and mobile terminal
CN106096343A (en) * 2016-05-27 2016-11-09 腾讯科技(深圳)有限公司 Message access control method and equipment
CN108039995A (en) * 2017-10-25 2018-05-15 努比亚技术有限公司 Message sending control method, terminal and computer-readable recording medium
CN110166349A (en) * 2019-05-27 2019-08-23 北京三快在线科技有限公司 Sending method, device and the electronic equipment of message
CN110430119A (en) * 2019-06-25 2019-11-08 维沃移动通信有限公司 Information transferring method, server, terminal device and medium
CN110932967A (en) * 2019-12-31 2020-03-27 郑州信大捷安信息技术股份有限公司 Seamless session realization method and system for instant messaging message

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979983A (en) * 2022-04-18 2022-08-30 中移互联网有限公司 Message processing method and device and electronic equipment
CN114979983B (en) * 2022-04-18 2023-08-15 中移互联网有限公司 Message processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN111857504A (en) Information display method and device, electronic equipment and storage medium
US11281761B2 (en) Method and system for using a plurality of accounts in an instant messaging application
US20230385426A1 (en) Encryption Method and Apparatus, Electronic Device, and Medium
CN112533072A (en) Image sending method and device and electronic equipment
CN114827068A (en) Message sending method and device, electronic equipment and readable storage medium
CN113965614A (en) Session creation method and device and electronic equipment
CN114327088A (en) Message sending method, device, electronic equipment and medium
EP3876117A1 (en) Model selection method and terminal
CN112333081A (en) Message processing method and electronic equipment
CN112422735B (en) Information prompting method and device
CN112181559A (en) Interface display method and device and electronic equipment
US20230088720A1 (en) Message processing method and apparatus, device, storage medium, and program product
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN114374663B (en) Message processing method and message processing device
CN113840035B (en) Information sharing method and device, electronic equipment and readable storage medium
CN115695355A (en) Data sharing method and device, electronic equipment and medium
CN112291420B (en) Message display method and terminal equipment
CN113300944A (en) Friend adding method and device and electronic equipment
CN112448884A (en) Content saving method and device
CN112134987A (en) Information processing method and device and electronic equipment
CN105550560A (en) Account login state management method and account login state management apparatus
CN114637563B (en) Information input method and device
CN113783840B (en) Account login method, device, equipment and storage medium
CN112035032B (en) Expression adding method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205

RJ01 Rejection of invention patent application after publication