WO2019076215A1 - 一种消息处理方法及装置 - Google Patents

一种消息处理方法及装置 Download PDF

Info

Publication number
WO2019076215A1
WO2019076215A1 PCT/CN2018/109551 CN2018109551W WO2019076215A1 WO 2019076215 A1 WO2019076215 A1 WO 2019076215A1 CN 2018109551 W CN2018109551 W CN 2018109551W WO 2019076215 A1 WO2019076215 A1 WO 2019076215A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
recalled
user
input information
correction
Prior art date
Application number
PCT/CN2018/109551
Other languages
English (en)
French (fr)
Inventor
尹启绣
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019076215A1 publication Critical patent/WO2019076215A1/zh

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold

Definitions

  • the embodiment of the present invention relates to the field of network technologies, and in particular, to a message processing method and apparatus.
  • instant messaging (English full name Instant Messenger, English abbreviated as IM) has become an important communication tool.
  • Instant messaging applications can deliver instant messages between users for easy communication.
  • IM Instant messaging
  • a user communicates using an instant messaging application there is often a case where a message sent to the friend A is mistakenly transmitted to the friend B. If the mis-sent message contains important information, the user expects to withdraw the message.
  • message revocation method that allows the message sender to withdraw a message sent within a set time, and the message sender and the message receiver delete the message upon receiving the message revocation request.
  • the retracted message is also deleted at the message sending end, the user cannot view and analyze the retracted message, and there is a defect of inconvenience.
  • the embodiment of the present application provides a message revocation method and device, which is to solve the technical problem of inconvenient use of the prior art message revocation.
  • a first aspect of the embodiments of the present application discloses a message method, including: determining, according to a message revocation request, a message corresponding to the message identifier according to the message identifier included in the message revocation request; using the message as a revocation The message is stored in the recalled message record; the message revocation request is sent to the message receiving end, so that the message receiving end deletes the message after receiving the message revocation request.
  • a second aspect of the embodiments of the present disclosure provides a message processing apparatus, including: a determining unit, configured to determine, according to a message revocation request, a message corresponding to the message identifier according to the message identifier included in the message revocation request; a storage unit, configured to store the message in the recalled message record, and a sending unit, configured to send the message revocation request to the message receiving end, so that the message receiving end deletes the message after receiving the message revocation request Said the news.
  • an apparatus for message processing including a memory, and one or more programs, wherein one or more programs are stored in a memory and configured to be Executing the one or more programs by the one or more processors includes instructions for: determining, in response to the message revocation request, a message corresponding to the message identification based on the message identification included in the message revocation request; The message is stored in the recalled message record; the message revocation request is sent to the message receiving end, so that the message receiving end deletes the message after receiving the message revocation request.
  • a fourth aspect of the embodiments of the present application a machine readable medium having stored thereon instructions, when executed by one or more processors, causes the apparatus to perform the message processing method of the first aspect.
  • a fifth aspect of the embodiments of the present application a method for processing a message, is applied to a user terminal, including: determining, according to a message revocation request, a message corresponding to the message identifier according to the message identifier included in the message revocation request, After the message is withdrawn, the message is stored and displayed as a recalled message; the first input information is received, and the first input information is information output by the user in the input area after the withdrawal of the recalled message; And the first input information is used as a correction message of the recalled message, and the corresponding relationship between the recalled message and the corrected message is saved; or the first input information and the recalled message are sent to a server.
  • a sixth aspect of the embodiments of the present invention discloses a message processing method, which is applied to a server, and includes: receiving a message revocation request sent by a message sending end, and determining, according to the message identifier included in the message revocation request, corresponding to the message identifier.
  • the message is stored in the recalled message record as the withdrawn message; the corrected message corresponding to the recalled message is determined, and the correspondence between the corrected message and the withdrawn message is saved.
  • a seventh aspect of the embodiments of the present disclosure discloses a message processing method, which is applied to a user terminal, including: receiving user input, sending the user input to a server; receiving a correction message sent by the server, and displaying a prompt message for prompting the user Whether to replace user input with the correction message.
  • a client device where the client device includes a display unit, and the display unit includes:
  • a user input area for receiving user input, outputting the user input; and a prompt information display area for outputting prompt information when the user input has an error according to the user input, for prompting the user to replace the user input with a correction message.
  • a ninth aspect of the embodiment of the present invention discloses a message processing apparatus, including: a display unit, configured to determine, according to a message revocation request, a message corresponding to the message identifier according to the message identifier included in the message revocation request, After the user withdraws the message, the message is stored and displayed as a recalled message; the receiving unit is configured to receive the first input information, where the first input information is after the user withdraws the recalled message, and inputs The information output by the area, the storage unit, configured to use the first input information as a correction message of the recalled message, and save a correspondence between the recalled message and the corrected message; or, a sending unit, configured to The server sends the first input information and the recalled message.
  • a tenth aspect of the embodiment of the present invention discloses a message processing apparatus, including: a receiving unit, configured to receive a message revocation request sent by a message sending end, and determine, according to the message identifier included in the message revocation request, the message identifier Corresponding message, a first storage unit, configured to store the message as a revocation message in the retired message record, and a second storage unit, configured to determine a correction message corresponding to the revocation message, and save the correction message and The correspondence of the message has been revoked.
  • An eleventh aspect of the embodiments of the present application discloses a message processing apparatus, including: a receiving unit, configured to receive user input, and send the user input to a server; and a display unit, configured to receive a correction message sent by the server, and display
  • the prompt message is for prompting the user to replace the user input with the correction message; and a correction unit for outputting the correction message to replace the user input in response to the user confirming the prompt message.
  • an apparatus for message processing includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be Or the one or more processors executing the one or more programs including instructions for: in response to the message revocation request, determining, according to the message identifier included in the message revocation request, a message corresponding to the message identifier, at the user After the message is withdrawn, the message is stored and displayed as a recalled message; the first input information is received, and the first input information is information output by the user in the input area after the withdrawal of the recalled message; The first input information is used as a correction message of the recalled message, and the corresponding relationship between the recalled message and the corrected message is saved; or the first input information and the recalled message are sent to a server.
  • an apparatus for message processing includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be Or the one or more processors executing the one or more programs including instructions for: receiving user input, transmitting the user input to a server; receiving a correction message sent by the server, displaying a prompt message for prompting the user whether to User input is replaced with the corrected message.
  • the message processing method and apparatus provided by the embodiment of the present application may, in response to the message revocation request, determine a message corresponding to the message identifier according to the message identifier included in the message revocation request, and store the message in the retracted message record. Sending the message revocation request to the message receiving end, so that the message receiving end deletes the message.
  • the message that the user has withdrawn may be saved, so that the user can view and analyze the withdrawn message.
  • the method provided by the embodiment of the present application may further display a correction message for the user according to the correspondence between the pre-saved revocation message and the correction message when determining that the input information of the user matches the message in the retracted message record. It is convenient for users to choose replacement, which reduces user input errors, avoids additional withdrawal operations, and improves user input efficiency.
  • FIG. 1A is a schematic diagram of an application scenario of an embodiment of the present application.
  • FIG. 1B is a schematic diagram of an application scenario according to an embodiment of the present application.
  • FIG. 2 is a flowchart of a message processing method according to an embodiment of the present application.
  • FIG. 3 is a flowchart of a message processing method according to another embodiment of the present application.
  • 4A is a schematic diagram of a message processing method according to an embodiment of the present application.
  • 4B is a schematic diagram of a message processing method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a message processing apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a block diagram of a message processing apparatus according to an exemplary embodiment
  • FIG. 7 is a flowchart of a message processing method according to another embodiment of the present disclosure.
  • FIG. 8 is a flowchart of a message processing method according to another embodiment of the present application.
  • FIG. 9 is a flowchart of a message processing method according to still another embodiment of the present application.
  • FIG. 10 is a schematic diagram of a user terminal according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a user terminal according to another embodiment of the present application.
  • FIG. 12 is a schematic diagram of a server according to still another embodiment of the present application.
  • FIG. 13 is a schematic diagram of a client device according to an embodiment of the present application.
  • the current message withdrawal method can delete the recalled message at both the message sending end and the message receiving end. Since the recall message is deleted on the message display interface of the message sender, the user cannot see the message that has been recalled. Generally, the message that the user withdraws is generally a missed word or a message that should not be sent. If the user's history message withdrawal record can be saved in a centralized manner, the user can conveniently view and analyze the withdrawn message to find out. Targeted improvements in places that often go wrong during the chat process, reducing input errors, avoiding additional recall operations, and improving input efficiency. Based on this, the embodiment of the present application provides a message processing method and device, which can store the recalled message, facilitate the user to view and analyze, improve the convenience of the user operation, and improve the user experience.
  • FIG. 1A and 1B are exemplary application scenarios of an embodiment of the present application.
  • the method provided by the embodiment of the present application can be applied to the scenario shown in FIG. 1A and FIG. 1B.
  • user A can send a message to user B.
  • the message may be saved in the retired message record.
  • user A can view all the withdrawn messages in the recalled message record, and analyze the historical recalled message, reducing the probability of subsequent issuance of the message that needs to be withdrawn.
  • FIG. 1B is a schematic diagram of another application scenario according to an embodiment of the present application.
  • the customer service supervisor needs to check the customer service team managed by himself to prevent the customer service from insulting the customer through the message withdrawal function without evidence.
  • the customer service supervisor can analyze the history of the withdrawal of the message, reduce the input errors of the customer service team members, and improve the quality of service.
  • FIG. 1B a scenario diagram of a customer service sending a message to a client and initiating a message revocation request. After the customer service initiates a message revocation request, the message is saved to the recalled message record.
  • the customer service supervisor can view the history of the customer service team members in the process of receiving the customer has been withdrawn in the recalled message record. Through analysis and classification, the customer service is found to be inappropriate in the reception process, and the customer service pick-up process often appears. The problem, the targeted training for customer service, improve the quality of customer service reception.
  • FIG. 2 is a flowchart of a message processing method according to an embodiment of the present application. It should be noted that the method shown in FIG. 2 may be applied to a user terminal, may be applied to a server, or partially executed by a user terminal, and partially executed by a server, which is not limited in this application. As shown in Figure 2, the method shown can include:
  • the user terminal that sends the message is referred to as a message sending end
  • the user terminal that receives the message is referred to as a message receiving end.
  • the message sender has the right to withdraw the message sent by itself, and can send a message to withdraw the request.
  • the message revocation request includes a message identifier for uniquely identifying the message. After receiving the message revocation request, the corresponding message is determined according to the message identifier.
  • the message identifier can be, for example, Message20170101100555. Of course, it can be other forms as long as it can distinguish different messages.
  • the terminal that needs to send the revocation request has the revocation right.
  • the terminal can only perform the revocation operation on the message sent by itself, but cannot withdraw the message sent by the communication peer.
  • the terminal revocation request may include the terminal identifier, and the terminal identifier is compared with the terminal identifier of the sent message. If the match is matched, the terminal is confirmed to have the revocation right.
  • the message corresponding to the message revocation request is saved in the retracted message record, which is different from the prior art.
  • one or more of the message identifier, the content of the message, and the withdrawal time of the message may be saved in the recalled message record. If there are multiple identical recalled messages, it is also possible to save only one recalled message record, and count the number of withdrawals of the message by counting. It should be noted that the recalled message record can be saved in the user terminal, saved in the server, or saved on both the user terminal and the server.
  • a message revocation request can be sent to the message receiving end so that the message receiving end deletes the message.
  • the message revocation request includes a message identifier, and after receiving the request, the message receiving end determines a corresponding message according to the message identifier included in the request, and deletes the message.
  • S202 and S203 do not have an order of sequential execution, and the order may be reversed or may be performed in parallel.
  • the user can view the retracted message in a centralized manner.
  • the terminal corresponding to the request for revoking the message may be determined to have the operation authority in response to the request for querying the recalled message; if the terminal corresponding to the request is determined to have the operation authority, the retracted message is displayed. The message in the record.
  • the user terminal can view the message that is revoked by the user terminal, and can determine whether the terminal has the operation authority by comparing whether the terminal identifier corresponding to the query request is consistent with the terminal identifier corresponding to the revoked message.
  • the customer service supervisor can have a higher privilege level and can view messages sent or withdrawn by other customer service agents.
  • whether the terminal has the operation authority may be determined by comparing whether the permission level is greater than the preset level or whether the terminal identifier matches the preset terminal identifier. If the terminal has the operation right, it can display the message in the recalled message record, which is convenient for the user to view and analyze the withdrawn message.
  • the message in the recalled message record may be analyzed, and the recalled message with the highest frequency of occurrence, the recalled message closest to the current time, or the preset time may be determined according to the frequency of occurrence and/or the time of occurrence of the message. The most frequent message appears in the segment.
  • the statistical analysis may be performed according to the frequency of occurrence of the message in the recalled message record, and the recalled message with the highest frequency of occurrence or the recalled message with the highest frequency occurring within the preset time period (for example, in the latest month) may be determined.
  • the message is a recurring message that often appears, indicating that the user is apt to make an error when inputting the message.
  • the content of the top N message with the highest frequency of occurrence can be provided to the user, which is convenient for the user to improve.
  • the customer service supervisor can also issue frequently occurring errors in the customer service, conduct targeted training, avoid errors and additional withdrawal operations, and provide data processing efficiency.
  • the recalled message that is closest to the current time can also be determined to find the most recent input error for improvement.
  • the retracted message can be analyzed to determine a corrected message corresponding thereto.
  • the user input information matches the history-preserved recalled message, the user may be prompted to replace the input information with the corrected message to reduce user input errors, avoid additional recall operations, and improve input efficiency.
  • the message sending end sends the first message to the message receiving end.
  • the message sending end sends a message revocation request.
  • the message revocation request includes a message identifier.
  • the message sending end may send a message revocation request to the message receiving end, or may send a message revocation request to the server.
  • the message sending end determines the corresponding message according to the message identifier, and saves the message as the revocation message.
  • the message receiving end receives the message revocation request, and deletes the message corresponding to the message revocation request.
  • the message sending end receives the first input information.
  • the first input information is information that is output by the user in the input area after the user withdraws the recalled message.
  • the first input information is used as a correction message, and the correspondence between the revocation message and the correction message is saved.
  • the recalled message and the first input information may be displayed on the message display interface; the first input information is used as a correction message, and the correspondence between the saved message and the corrected message is saved: And responding to the confirmation operation of the user, the first input information is used as a correction message corresponding to the recalled message, and the correspondence between the withdrawn message and the corrected message is saved.
  • the message input by the user is: "Can I make a phone call?”
  • the user finds that the input message has a typo, sends a message to withdraw the request, and withdraws the message.
  • the saved message before the user sends the withdrawal request can be displayed: "Can I make a phone call?”
  • the user continues to output "can give a call” in the input area, and the newly input text of the user is collected and displayed on the right side of the chat window.
  • FIG. 4A the message input by the user is: "Can I make a phone call?"
  • the message before the withdrawal is displayed: "Can I make a call?” and the message "Can I give a call” after the withdrawal?
  • the user can select to edit and confirm and submit the two messages.
  • the correspondence between the two messages can be saved in the user terminal and/or the server. If the user does not operate the message, the collected messages can all be uploaded to the server.
  • the message sending end receives the second input information.
  • the message sending end determines whether the second input information matches the message in the recalled message record.
  • the corrected message is determined according to the correspondence between the pre-saved revocation message and the corrected message.
  • the user may be prompted, and the corresponding corrected text may be “giving a call”. “, prompt the user whether they want to enter "given a call” and provide a "confirmation correction” button, the user chooses whether to make corrections. If the user clicks the correction button, the wrong text "one phone” is automatically replaced with the corrected "given phone", which reduces the number of times the user sends out an error message, avoids the extra operation of withdrawing the message, and improves the input efficiency.
  • the correction message with the recalled message is determined by collecting the user's input text. Since the user inputs the information after the withdrawal request is likely to be the corrected text of the recalled message, the information entered by the user after the message is withdrawn can be used as the corrected text of the recalled message, when the user enters the wrong text again. You can prompt the user to replace it with the corrected text to reduce typing errors.
  • the correction message can also be determined by other means.
  • the recalled message may be analyzed to determine a text similar to the recalled message as a corrected message.
  • text that matches the condition of the recalled message with the set condition can be determined as a correction message by calculating the similarity of the text.
  • the specific implementation manner is very flexible and is not limited herein.
  • a flowchart of a message processing method according to another embodiment of the present disclosure is applied to a user terminal, including:
  • the user terminal determines, according to the message revocation request, a message corresponding to the message identifier according to the message identifier included in the message revocation request, and after the message is retracted, the message is stored and displayed as the revocation message.
  • the message input by the user is: "Can I make a phone call?"
  • the user finds that the input message has a typo, sends a message to withdraw the request, and withdraws the message.
  • the message display interface of the user terminal for example, on the right side of the chat window, the saved message before the user sends the withdrawal request can be displayed: "Can I make a phone call?"
  • the user terminal receives the first input information, where the first input information is information that is output by the user in the input area after the user withdraws the recalled message.
  • the user continues to output "can give a call” in the input area, at which time the user terminal collects the newly input text of the user and displays it on the right side of the chat window.
  • the message before the withdrawal is displayed: “Can I make a call?” and the message "Can I give a call” after the withdrawal?
  • the user terminal uses the first input information as a correction message of the withdrawn message, and saves a correspondence between the withdrawn message and the corrected message; or sends the first input information to the server The message has been revoked.
  • the user terminal can locally store the correspondence between the recalled message and the corrected message.
  • the user terminal may send the collected revocation message and the first input information to the server, and the server saves the correspondence between the revocation message and the correction message.
  • the method further includes: the user terminal receives the second input information; when the second input information matches the withdrawn message, the user terminal determines a correction message corresponding to the second input information; the user The terminal displays the correction message.
  • determining that the corrected message corresponding to the second input information comprises: determining whether the second input information matches the saved withdrawn message; Determining, according to the saved correspondence between the revocation message and the correction message, a correction message corresponding to the second input information; or sending the second input information to a server; the receiving server determining the second input The correction message corresponding to the recalled message sent after the information is matched with the retracted message determines a correction message corresponding to the second input information.
  • the method further comprises outputting the correction message to replace the second input information in response to a triggering operation by a user.
  • the user terminal or the server may determine that the input information matches the stored “can be a phone”, and the user terminal prompts the user, and the corresponding correction is performed.
  • the text may be "Give a call”, prompting the user if they want to enter “Give a call” and provide a "Confirm Correction” button, which is selected by the user to make corrections. If the user clicks the correction button, the user terminal automatically replaces the wrong text "one phone” with the corrected "given phone", reducing the number of times the user sends out an error message, avoiding the extra operation of withdrawing the message, and improving the input efficiency.
  • a flowchart of a message processing method according to another embodiment of the present disclosure is applied to a server, including:
  • the server receives a message revocation request sent by the message sending end, and determines a message corresponding to the message identifier according to the message identifier included in the message revocation request.
  • the server stores the message as a recalled message in the recalled message record.
  • the server determines a correction message corresponding to the recalled message, and saves a correspondence between the corrected message and the recalled message.
  • the server determines that the corrected message corresponding to the recalled message comprises: receiving the first input information sent by the message sending end and the withdrawn message, and using the first input information as a correction of the withdrawn message Message.
  • the server determining that the corrected message corresponding to the recalled message comprises analyzing the recalled message to determine text similar to the recalled message as the corrected message. For example, text that matches the condition of the recalled message with the set condition can be determined as a correction message by calculating the similarity of the text.
  • the method further includes: the server receiving the second input information sent by the user terminal; the server determining whether the second input information matches the saved withdrawn message; if the matching, the server is according to the saved Correlating the correspondence between the message and the correction message, and sending a correction message corresponding to the second input information to the user terminal.
  • the method further includes: in response to the user terminal querying the request for revoking the message, determining whether the user terminal corresponding to the request for retrieving the message has the operation authority; and determining the terminal corresponding to the request Having the operational authority to send the recalled message to the user terminal.
  • a flowchart of a message processing method according to another embodiment of the present application is applied to a user terminal, including:
  • the user terminal receives user input, and sends the user input to a server.
  • the user terminal receives a correction message sent by the server, and displays a prompt message for prompting the user whether to replace the user input with the correction message.
  • the method may further include:
  • the user terminal outputs the correction message to replace the user input in response to the user confirming the prompt message.
  • the broken line in Fig. 9 indicates that the above steps are not necessary.
  • the user terminal can automatically recognize the input text and prompt the user to correct the input text. For example, when the customer service sends a message to the buyer, the client that the user logs in automatically collects the text input by the user. For example, if the user inputs “one phone number”, the user terminal collects the text and reports it to the server, and the server takes the text. Query into the recalled message record. If it hits, the user is prompted in the input box, the corresponding text may be "giving a call", whether to make corrections. When the user clicks the corrected error text, "one phone” is automatically replaced with "giving a phone call", which reduces the number of times the user sends out an error message, avoids the extra operation of withdrawing the message, and improves the input efficiency.
  • the method may further include: determining, in response to the message revocation request, a message corresponding to the message identifier according to the message identifier included in the message revocation request, after retracting the message, the message Displaying as a recalled message; receiving first input information, the first input information being information output by the user in the input area after withdrawing the recalled message; sending the first input information to the server and the withdrawn Message.
  • the user terminal can collect the recalled message and the user input text after the message is withdrawn and send it to the server.
  • the server learns the correspondence between the recalled message and the corrected message, so as to automatically recognize whether the user input text has an error and prompt the user to correct the input error text.
  • FIG. 5 is a schematic diagram of a message processing apparatus according to an embodiment of the present disclosure.
  • a message processing apparatus 500 includes:
  • the determining unit 501 is configured to determine, according to the message identifier included in the message revocation request, a message corresponding to the message identifier, in response to the message revocation request.
  • the specific implementation of the determining unit 501 can be implemented by referring to S201 in the embodiment shown in FIG. 2 .
  • the storage unit 502 is configured to store the message in the recalled message record.
  • the specific implementation of the storage unit 502 can be implemented by referring to S202 in the embodiment shown in FIG. 2 .
  • the sending unit 503 is configured to send the message revocation request to the message receiving end, so that the message receiving end deletes the message.
  • the specific implementation of the sending unit 503 can be implemented by referring to S203 in the embodiment shown in FIG. 2 .
  • the device further comprises:
  • a query unit configured to determine whether the terminal corresponding to the request for revoking the message has the operation right in response to the request for querying the recalled message.
  • the first display unit is configured to display a message in the recalled message record if it is determined that the terminal corresponding to the request has an operation right.
  • the device further comprises:
  • a first receiving unit configured to receive first input information, where the first input information is information that is output by the user in the input area after the user withdraws the recalled message;
  • the storage unit is further configured to: save the first input information as a correction message, and save a correspondence between the withdrawn message and the corrected message.
  • the device further comprises:
  • a second display unit configured to display the recalled message and the first input information on a message display interface
  • the storage unit is specifically configured to: in response to a confirmation operation of the user, use the first input information as a correction message corresponding to the recalled message, and save a correspondence between the withdrawn message and the corrected message.
  • the device further comprises:
  • a second receiving unit configured to receive second input information
  • a determining unit configured to determine whether the second input information matches a message in the recalled message record
  • a third display unit configured to: if the second input information matches the message in the recalled message record, determine a correction message according to a correspondence between the pre-saved revocation message and the corrected message, and display the correction message.
  • the device further comprises:
  • an output unit configured to output the correction message to replace the second input information in response to a trigger operation of the user.
  • the device further comprises:
  • An analyzing unit configured to analyze the message in the recalled message record, and according to the frequency of occurrence and/or the time of occurrence of the message, determine the recalled message with the highest frequency of occurrence, the recalled message that is closest to the current time, or the preset time period The most frequently occurring message.
  • FIG. 6 is a block diagram of an apparatus for message processing according to another embodiment of the present application.
  • the processor 601 is configured to execute executable modules, such as computer programs, stored in the memory 602.
  • the memory 602 may include a high speed random access memory (RAM), and may also include a non-volatile memory such as at least one disk memory.
  • One or more programs are stored in the memory and configured to be executed by one or more processors 601.
  • the one or more programs include instructions for: in response to the message revocation request, retracting according to the message
  • the message identifier included in the request determines a message corresponding to the message identifier; stores the message as a revocation message in the retired message record; and sends the message revocation request to the message receiving end, so that the message receiving end is receiving The message is deleted after the message is withdrawn.
  • the processor 601 is specifically configured to execute the one or more programs, where the instruction includes: in response to the request to query the recalled message, the terminal corresponding to the request for determining that the query has withdrawn the message Whether it has the operation authority; if it is determined that the terminal corresponding to the request has the operation authority, the message in the message record has been recalled.
  • the processor 601 is specifically configured to execute the one or more programs including instructions for: receiving first input information, the first input information is that the user is withdrawing the recalled message And the information outputted in the input area; the first input information is used as a correction message, and the correspondence between the withdrawn message and the corrected message is saved.
  • the processor 601 is specifically configured to execute the one or more programs including instructions for: displaying the recalled message and the first input information in a message display interface; responding to the user And confirming, the first input information is used as a correction message corresponding to the recalled message, and the corresponding relationship between the withdrawn message and the corrected message is saved.
  • the processor 601 is specifically configured to execute the one or more programs including instructions for: receiving second input information, determining whether the second input information is in the recalled message record The message is matched; if the second input information matches the message in the recalled message record, the correction message is determined according to the correspondence between the pre-saved revocation message and the correction message; and the correction message is displayed.
  • the processor 601 is specifically configured to execute the one or more programs to include instructions for outputting the correction message to replace the second input information in response to a triggering operation by a user.
  • the processor 601 is specifically configured to execute the one or more programs including instructions for analyzing a message in the recalled message record, according to an occurrence frequency and/or an occurrence time of the message. , determine the highest frequency of the withdrawn message, the most recently withdrawn message from the current time, or the most frequently occurring message within the preset time period.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 304 comprising instructions executable by processor 320 of apparatus 300 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a machine readable medium for example, a non-transitory computer readable storage medium, when instructions in the medium are executed by a processor of a device (terminal or server), enabling the apparatus to perform a a message processing method, the method comprising: determining, according to a message revocation request, a message corresponding to the message identifier according to the message identifier included in the message revocation request; storing the message as a retired message in the retired message record Sending the message revocation request to the message receiving end, so that the message receiving end deletes the message after receiving the message revocation request.
  • each unit or module of the device of the present application can be implemented by referring to the method shown in FIG. 2 to FIG. 4 , and details are not described herein.
  • FIG. 10 is a schematic diagram of a user terminal according to an embodiment of the present application.
  • a user terminal 1000 includes:
  • the receiving unit 1001 is configured to receive user input, and send the user input to a server.
  • the display unit 1002 is configured to receive a correction message sent by the server, and display a prompt message for prompting the user whether to replace the user input with the correction message.
  • the user terminal 1000 may further include:
  • the correction unit 1003 is configured to output the correction message to replace the user input in response to the user confirming the prompt message.
  • the broken line in FIG. 10 indicates that the above module or unit is not necessary.
  • FIG. 11 is a schematic diagram of a user terminal according to another embodiment of the present application.
  • a user terminal 1100 includes:
  • the display unit 1101 is configured to determine, according to the message revocation request, a message corresponding to the message identifier according to the message identifier included in the message revocation request, and after the user withdraws the message, store the message as a retracted message and display.
  • the receiving unit 1102 is configured to receive first input information, where the first input information is information that is output by the user in the input area after the user withdraws the recalled message.
  • the storage unit 1103 is configured to use the first input information as a correction message of the recalled message, and save a correspondence between the recalled message and the corrected message. or,
  • the sending unit 1104 is configured to send the first input information and the withdrawn message to a server.
  • FIG. 12 is a schematic diagram of a server device according to another embodiment of the present application.
  • a server device 1200 comprising:
  • the receiving unit 1201 is configured to receive a message revocation request sent by the message sending end, and determine a message corresponding to the message identifier according to the message identifier included in the message revocation request.
  • the first storage unit 1202 is configured to store the message as a recalled message in the recalled message record.
  • the second storage unit 1203 is configured to determine a correction message corresponding to the recalled message, and save a correspondence between the corrected message and the recalled message.
  • FIG. 13 is a schematic diagram of a client device according to an embodiment of the present application.
  • a client device the client device includes a display unit 1300, and the display unit 1300 includes:
  • the user input area 1301 is configured to receive a user input and output the user input.
  • the prompt information display area 1302 is configured to output prompt information when the user input has an error according to the user input, and is used to prompt the user to replace the user input with a correction message.
  • the display unit 1300 may further include:
  • the interaction area 1303 is configured to receive a trigger operation of the user for the prompt information, and send a replacement instruction to the processor, so that the processor replaces the user input output by the user input area with the correction message.
  • the interaction area 1303 is not a necessary module or unit.
  • Embodiments of the present application may also provide an apparatus for message processing, including a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be configured by one or more processors
  • Executing the one or more programs includes instructions for: receiving user input, transmitting the user input to a server; receiving a correction message sent by the server, displaying a prompt message for prompting the user to replace the user input with the user Correction message.
  • the application can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.
  • the various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例提供一种消息处理方法和装置,所述方法包括:响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;将所述消息作为已撤回消息存储在已撤回消息记录中;向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。本申请实施例可以存储已撤回消息,方便用户查看、分析,提高用户操作的便捷性,提升用户体验。进一步地,本申请实施例还可以为用户展示与已撤回消息对应的更正消息,方便用户选择替换,减少了用户的输入错误,避免了额外的撤回操作,提高了用户的输入效率。

Description

一种消息处理方法及装置
本申请要求2017年10月18日递交的申请号为201710971641.5、发明名称为“一种消息处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及网络技术领域,具体涉及一种消息处理方法及装置。
背景技术
随着网络通信技术的发展,即时通信(英文全称为Instant Messenger,英文简称为IM)应用已经成为一种重要的交流工具。即时通信应用可以在用户之间传递即时消息,方便用户交流。用户使用即时通信应用交流时,常常会出现将发送给好友A的消息误发送给好友B的情况。若误发的消息包含重要的信息时,用户期望可以撤回该消息。目前,存在一种消息撤回方法可以允许消息发送端撤回在设定时间内发出的消息,消息发送端和消息接收端在接收到消息撤回请求时会删除所述消息。然而,由于在消息发送端也删除了撤回的消息,用户无法对已撤回的消息进行查看分析,存在使用不便的缺陷。
发明内容
本申请实施例提供了一种消息撤回方法及装置,旨在解决现有技术消息撤回存在的使用不便的技术问题。
为此,本申请实施例提供如下技术方案:
本申请实施例的第一方面公开了一种消息方法,包括:响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;将所述消息作为已撤回消息存储在已撤回消息记录中;向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。
本申请实施例的第二方面,公开了一种消息处理装置,包括:确定单元,用于响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;存储单元,用于将所述消息存储在已撤回消息记录中;发送单元,用于向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。
本申请实施例的第三方面,公开了一种用于消息处理的装置,包括有存储器,以及 一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;将所述消息存储在已撤回消息记录中;向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。
本申请实施例的第四方面,公开了一种机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得装置执行如第一方面所述的消息处理方法。
本申请实施例的第五方面,公开了一种消息处理方法,应用于用户终端,包括:响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,在撤回所述消息后,将所述消息作为已撤回消息存储并显示;接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;将所述第一输入信息作为所述已撤回消息的更正消息,保存所述已撤回消息与所述更正消息的对应关系;或者,向服务器发送所述第一输入信息与所述已撤回消息。
本申请实施例的第六方面,公开了一种消息处理方法,应用于服务器,包括:接收消息发送端发送的消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;将所述消息作为已撤回消息存储在已撤回消息记录中;确定与已撤回消息对应的更正消息,保存所述更正消息与已撤回消息的对应关系。本申请实施例的第七方面,公开了一种消息处理方法,应用于用户终端,包括:接收用户输入,向服务器发送所述用户输入;接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息。
本申请实施例的第八方面,公开了一种客户端设备,所述客户端设备包括显示单元,所述显示单元包括:
用户输入区域,用于接收用户输入,输出所述用户输入;提示信息展示区域,用于根据用户输入确定用户输入存在错误时输出提示信息,用于提示用户将所述用户输入替换为更正消息。
本申请实施例的第九方面,公开了一种消息处理装置,包括:显示单元,用于响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,在用户撤回所述消息后,将所述消息作为已撤回消息存储并显示;接收单元,用于接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;存储单元,用于将所述第一输入信息作为所述已撤回消息的更正消息,保存 所述已撤回消息与所述更正消息的对应关系;或者,发送单元,用于向服务器发送所述第一输入信息与所述已撤回消息。
本申请实施例的第十方面,公开了一种消息处理装置,包括:接收单元,用于接收消息发送端发送的消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;第一存储单元,用于将所述消息作为已撤回消息存储在已撤回消息记录中;第二存储单元,用于确定与已撤回消息对应的更正消息,保存所述更正消息与已撤回消息的对应关系。
本申请实施例的第十一方面,公开了一种消息处理装置,包括:接收单元,用于接收用户输入,向服务器发送所述用户输入;显示单元,用于接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息;更正单元,用于响应于用户针对所述提示消息的确认操作,输出所述更正消息以替换用户输入。
本申请实施例的第十二方面,公开了一种用于消息处理的装置,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,在用户撤回所述消息后,将所述消息作为已撤回消息存储并显示;接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;将所述第一输入信息作为所述已撤回消息的更正消息,保存所述已撤回消息与所述更正消息的对应关系;或者,向服务器发送所述第一输入信息与所述已撤回消息。
本申请实施例的第十三方面,公开了一种用于消息处理的装置,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:接收用户输入,向服务器发送所述用户输入;接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息。
本申请实施例提供的消息处理方法及装置,可以响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,将所述消息存储在已撤回消息记录中;向消息接收端发送所述消息撤回请求,以便所述消息接收端删除所述消息。在本申请实施例提供的方法中,可以保存用户已撤回的消息,方便用户查看、分析已撤回消息。
另一方面,本申请实施例提供的方法还可以在判断用户的输入信息与已撤回消息记 录中的消息匹配时,根据预先保存的已撤回消息与更正消息的对应关系,为用户展示更正消息,方便用户选择替换,减少了用户的输入错误,避免了额外的撤回操作,提高了用户的输入效率。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1A为本申请实施例的应用场景示意图;
图1B为本申请实施例的应用场景示意图;
图2为本申请一实施例提供的消息处理方法流程图;
图3为本申请另一实施例提供的消息处理方法流程图;
图4A为本申请实施例提供的消息处理方法示意图;
图4B为本申请实施例提供的消息处理方法示意图;
图5为本申请一实施例提供的消息处理装置示意图;
图6是根据一示例性实施例示出的一种用于消息处理装置的框图;
图7为本申请又一实施例提供的消息处理方法流程图;
图8为本申请另一实施例提供的消息处理方法流程图;
图9为本申请再一实施例提供的消息处理方法流程图;
图10为本申请实施例提供的用户终端示意图;
图11为本申请另一实施例提供的用户终端示意图;
图12为本申请再一实施例提供的服务器示意图;
图13为本申请实施例提供的客户端设备示意图。
具体实施方式
目前的消息撤回方法,可以在消息发送端和消息接收端均删除撤回的消息。由于在消息发送端的消息显示界面删除了该撤回消息,用户无法看到已撤回的消息。一般地,用户撤回的消息一般是打错了字或者发了不该发的消息等,若能够对用户的历史消息撤回记录集中保存,可以方便用户对已撤回消息进行查看、分析,进而找出聊天过程中经 常出错的地方进行针对性地改进,减少输入错误,避免额外的撤回操作,提高输入效率。基于此,本申请实施例提供了一种消息处理方法及装置,可以存储已撤回消息,方便用户查看、分析,提高用户操作的便捷性,提升用户体验。
参见图1A和图1B,为本申请实施例的示例性应用场景。本申请实施例提供的方法可以应用于如图1A和图1B所示的场景。其中,在图1A所示的应用场景中,用户A可以发送消息给用户B。用户A发送消息撤回请求后,在根据消息撤回请求包含的消息标识确定对应的消息后,可以将该消息保存在已撤回消息记录中。这样,用户A可以在已撤回消息记录中集中查看所有的已撤回消息,并对历史已撤回消息进行分析,降低后续发出需要撤回的消息的概率。
参见图1B,为本申请实施例的另一个应用场景示意图。在在线客服系统中,客服主管需要查看自身管理的客服团队,防止出现客服通过消息撤回功能辱骂客户却没有证据的情况。此外,客服主管可以对历史已撤回消息进行分析,减少客服团队成员的输入错误,提高服务质量。如图1B所示,为一个客服向客户发送消息并发起消息撤回请求的场景示意图。客服发起消息撤回请求之后,这条消息会保存到已撤回消息记录中。客服主管可以在已撤回消息记录中查看自己管理的客服团队成员在接待客户过程中的历史已撤回消息,通过分析、归类,发现客服在接待过程中的不当行为,发现客服接客过程中经常出现的问题,对客服进行针对性培训,提高客服接待质量。
当然,本申请实施例还可以应用到其他场景中,在此不进行限制。需要注意的是,上述应用场景仅是为了便于理解本申请而示出,本申请的实施方式在此方面不受任何限制。相反,本申请的实施方式可以应用于适用的任何场景。
下面将结合附图2至附图3对本申请示例性实施例示出的消息处理方法进行介绍。
参见图2,为本申请一实施例提供的消息处理方法流程图。需要说明的是,图2所示的方法可以应用于用户终端,也可以应用于服务器,或者部分由用户终端执行,部分由服务器执行,本申请对此不进行限定。如图2所示,所示方法可以包括:
S201,响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息。
为了便于描述,本申请实施例中,将发送消息的用户终端称之为消息发送端,将接收消息的用户终端称之为消息接收端。一般地,消息发送端对其自身发出的消息具有撤回权限,可以发送消息撤回请求。所述消息撤回请求包含消息标识,用于唯一标识该消息。在接收到消息撤回请求后,即根据该消息标识确定对应的消息。举例说明,消息标 识例如可以是Message20170101100555,当然也可以是其他形式,只要能区分不同的消息即可。
在一些实施方式中,为了保证消息撤回的安全性,需要发送撤回请求的终端具有撤回权限,例如该终端仅可以对自身发出的消息执行撤回操作,而不能撤回通信对端发送的消息。这时,在消息撤回请求中可以包含终端标识,将该终端标识与发送消息的终端标识进行比较,若匹配,确认该终端具有撤回权限。
S202,将所述消息存储在已撤回消息记录中。
不同于现有技术直接在消息发送端删除欲撤回消息的方式,本申请实施例中,在已撤回消息记录中保存消息撤回请求对应的消息。需要说明的是,已撤回消息记录中可以保存消息标识、消息的内容、该消息的撤回时间中的一种或多种。若存在多条相同的已撤回消息,也可以仅保存一条已撤回消息记录,通过计数记录该消息的撤回次数。需要说明的是,已撤回消息记录可以保存在用户终端中,也可以保存在服务器中,或者在用户终端和服务器上均保存。
S203,向消息接收端发送所述消息撤回请求,以便所述消息接收端删除所述消息。
在保存该消息后,可以向消息接收端发送消息撤回请求,以便消息接收端删除该消息。所述消息撤回请求包含消息标识,消息接收端在接收到该请求后,根据请求包含的消息标识确定对应的消息,并删除该消息。
需要说明的是,S202和S203并没有必然的先后执行顺序,其顺序可以颠倒地执行,也可以并行地执行。
在本申请实施例中,由于保存了已撤回的消息,用户可以集中查看已撤回消息。在一些实施方式中,还可以响应于查询已撤回消息的请求,判断所述查询已撤回消息的请求对应的终端是否具有操作权限;若确定所述请求对应的终端具有操作权限,显示已撤回消息记录中的消息。需要说明的是,一般地,用户终端可以查看自身撤回的消息,可以通过比较查询请求对应的终端标识与已撤回消息对应的终端标识是否一致的方式,确定该终端是否具有操作权限。在一些应用场景中,例如在线客服系统中,客服主管可以具有较高的权限等级,可以查看其它客服发送或者撤回的消息。这时,可以通过比较权限等级是否大于预设等级或者终端标识是否与预设终端标识匹配的方式确定终端是否具有操作权限。若终端具有操作权限,则可以显示已撤回消息记录中的消息,方便用户查看、分析已撤回消息。
在一些实施方式中,可以分析已撤回消息记录中的消息,根据所述消息的出现频率 和/或发生时间,确定出现频率最高的已撤回消息、距离当前时间最近的已撤回消息或者预设时间段内出现频率最高的消息。举例说明,可以根据已撤回消息记录中的消息的出现频率进行统计分析,确定出现频率最高的已撤回消息或者预设时间段内(例如最近一个月内)出现频率最高的已撤回消息,由于该消息为经常出现的已撤回消息,说明用户容易在输入该消息时出错,这时可以为用户提供出现频率最高的前N位消息的内容,方便用户进行改进。对于客服应用场景而言,客服主管也可以发行客服经常出现的错误,进行有针对性地培训,避免错误的发生以及额外的撤回操作,提供数据处理效率。又举例说明,还可以确定距离当前时间最近的已撤回消息,以发现最新出现的输入错误,以便进行改进。
需要说明的是,在保存了已撤回消息后,可以对已撤回消息进行分析,确定与之对应的更正消息。在用户输入信息与历史保存的已撤回消息匹配时,则可以提示用户是否使用更正消息替换该输入信息,以减少用户输入错误,避免额外的撤回操作,提高输入效率。下面结合图3对申请另一实施例提供的消息处理方法进行介绍。
S301,消息发送端向消息接收端发送第一消息。
S302,消息发送端发送消息撤回请求。
其中,所述消息撤回请求包含消息标识。所述消息发送端可以向消息接收端发送消息撤回请求,也可以向服务器发送消息撤回请求。
S303,消息发送端根据消息标识确定对应的消息,将该消息作为已撤回消息保存。
S304,消息接收端接收消息撤回请求,删除所述消息撤回请求对应的消息。
S305,消息发送端接收第一输入信息。
其中,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息。
S306,将所述第一输入信息作为更正消息,保存所述已撤回消息与更正消息的对应关系。
在一些实施方式中,可以在消息显示界面显示已撤回消息以及所述第一输入信息;所述将所述第一输入信息作为更正消息,保存所述已撤回消息与更正消息的对应关系包括:响应于用户的确认操作,将所述第一输入信息作为与所述已撤回消息对应的更正消息,保存所述已撤回消息与更正消息的对应关系。
举例说明,如图4A所示,用户输入的消息为:“能个个电话吗”。用户发现输入的消息存在错别字,发送消息撤回请求,撤回了该消息。这时,在消息发送端的消息显 示界面中,例如聊天窗口右侧,可以显示保存的、用户发送撤回请求前的消息:“能个个电话吗”。用户在撤回消息后,继续在输入区域输出“能给个电话吗”,这时采集用户新输入的文本,并显示在聊天窗口右侧。如图4A所示,在聊天窗口右侧,同时显示了撤回前消息:“能个个电话吗”以及撤回后消息“能给个电话吗”。用户可以选择编辑、确认后提交这两个消息,这时在用户终端和/或服务器可以保存这两个消息的对应关系。若用户未对消息进行操作,则可以将采集到的消息全部上传服务器。
S307,消息发送端接收第二输入信息。
S308,消息发送端判断所述第二输入信息是否与已撤回消息记录中的消息匹配。
S309,若所述第二输入信息与已撤回消息记录中的消息匹配,根据预先保存的已撤回消息与更正消息的对应关系确定更正消息。
S310,显示所述更正消息。
S311,响应于用户的触发操作,输出所述更正消息以替换所述第二输入信息。
举例说明,如图4B所示,若用户输入了“个个电话”,通过查询比较,判断与存储的“能个个电话”匹配,则可以提示用户,对应的更正文本可能是“给个电话”,提示用户是否想输入“给个电话”,并提供“确认更正”按钮,由用户选择是否进行修正。若用户点击修正按钮后,即将错误的文本“个个电话”自动替换为更正后的“给个电话”,减少用户发出错误消息的次数,避免撤回消息的额外操作,提高输入效率。
在这一实施例中,是通过采集用户的输入文本确定与已撤回消息的更正消息的。由于用户在发出撤回请求后,输入的信息很有可能是对撤回的消息的更正文本,因此可以将用户在撤回消息后输入的信息作为已撤回消息的更正文本,在用户再次输入错误的文本时,可以提示用户利用更正的文本进行替换,以减少输入错误。
需要说明的是,在保存已撤回消息后,也可以通过其他方式确定更正消息。具体地,可以对所述已撤回消息进行分析,确定与已撤回消息相似的文本作为更正消息。例如,可以通过计算文本相似度的方式,确定与已撤回消息相似度符合设定条件的文本,作为其更正消息。当然,也可以通过模型训练的方式,预测用户撤回的消息对应的更正消息。具体实现方式是非常灵活的,在此不进行限定。
参见图7,为本申请又一实施例提供的消息处理方法流程图,应用于用户终端,包括:
S701,用户终端响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定 与所述消息标识对应的消息,在撤回所述消息后,将所述消息作为已撤回消息存储并显示。
举例说明,如图4A所示,用户输入的消息为:“能个个电话吗”。用户发现输入的消息存在错别字,发送消息撤回请求,撤回了该消息。这时,在用户终端的消息显示界面中,例如聊天窗口右侧,可以显示保存的、用户发送撤回请求前的消息:“能个个电话吗”。
S702,用户终端接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息。
如图4A所示,用户在撤回消息后,继续在输入区域输出“能给个电话吗”,这时用户终端采集用户新输入的文本,并显示在聊天窗口右侧。如图4A所示,在聊天窗口右侧,同时显示了撤回前消息:“能个个电话吗”以及撤回后消息“能给个电话吗”。
S703,用户终端将所述第一输入信息作为所述已撤回消息的更正消息,保存所述已撤回消息与所述更正消息的对应关系;或者,向服务器发送所述第一输入信息与所述已撤回消息。
在一些实施方式中,用户终端可以在本地存储已撤回消息与更正消息的对应关系。在另一些实施方式中,用户终端可以将采集的已撤回消息以及第一输入信息发送给服务器,由服务器保存已撤回消息与更正消息的对应关系。
在一些实施方式中,所述方法还包括:用户终端接收第二输入信息;当所述第二输入信息与已撤回消息匹配时用户终端,确定与所述第二输入信息对应的更正消息;用户终端显示所述更正消息。其中,所述当所述第二输入信息与已撤回消息匹配时,确定与所述第二输入信息对应的更正消息包括:判断所述第二输入信息是否与保存的已撤回消息匹配;若匹配,根据保存的所述已撤回消息与更正消息的对应关系,确定与所述第二输入信息对应的更正消息;或者,向服务器发送所述第二输入信息;接收服务器在确定所述第二输入信息与已撤回消息匹配后发送的与所述已撤回消息对应的更正消息,确定与所述第二输入信息对应的更正消息。在一些实施方式中,所述方法还包括:响应于用户的触发操作,输出所述更正消息以替换所述第二输入信息。
举例说明,如图4B所示,若用户输入了“个个电话”,可以用户终端或者服务器判断该输入信息与存储的“能个个电话”匹配,这时由用户终端提示用户,对应的更正文本可能是“给个电话”,提示用户是否想输入“给个电话”,并提供“确认更正”按钮,由用户选择是否进行修正。若用户点击修正按钮后,用户终端即将错误的文本“个 个电话”自动替换为更正后的“给个电话”,减少用户发出错误消息的次数,避免撤回消息的额外操作,提高输入效率。
参见图8,为本申请另一实施例提供的消息处理方法流程图,应用于服务器,包括:
S801,服务器接收消息发送端发送的消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息。
S802,服务器将所述消息作为已撤回消息存储在已撤回消息记录中。
S803,服务器确定与已撤回消息对应的更正消息,保存所述更正消息与已撤回消息的对应关系。
在一些实施方式中,服务器确定与已撤回消息对应的更正消息包括:接收消息发送端发送的第一输入信息与所述已撤回消息,将所述第一输入信息作为所述已撤回消息的更正消息。
在一些实施方式中,服务器确定与已撤回消息对应的更正消息包括:对所述已撤回消息进行分析,确定与已撤回消息相似的文本作为更正消息。例如,可以通过计算文本相似度的方式,确定与已撤回消息相似度符合设定条件的文本,作为其更正消息。当然,也可以通过模型训练的方式,预测用户撤回的消息对应的更正消息。具体实现方式是非常灵活的,在此不进行限定。
在一些实施方式中,所述方法还包括:服务器接收用户终端发送的第二输入信息;服务器判断所述第二输入信息是否与保存的已撤回消息匹配;若匹配,服务器根据保存的所述已撤回消息与更正消息的对应关系,向用户终端发送与第二输入信息对应的更正消息。
在一些实施方式中,所述法还包括:服务器响应于用户终端查询已撤回消息的请求,判断所述查询已撤回消息的请求对应的用户终端是否具有操作权限;若确定所述请求对应的终端具有操作权限,向所述用户终端发送所述已撤回消息。
参见图9,为本申请再一实施例提供的消息处理方法流程图,应用于用户终端,包括:
S901,用户终端接收用户输入,向服务器发送所述用户输入。
S902,用户终端接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息。
进一步地,所述方法还可以包括:
S903,用户终端响应于用户针对所述提示消息的确认操作,输出所述更正消息以替换用户输入。其中,图9中的虚线表示上述步骤不是必需的。
以图4B为例说明,用户终端可以自动识别输入文本并提示用户修正输入的文本。例如,在客服给买家发消息的时候,用户登录的客户端自动采集用户输入的文本,如用户输入了“个个电话”,用户终端会把这些文本采集上报服务端,服务器端拿这些文本到已撤回消息记录中查询。如果命中了,则在输入框提示用户,对应文本可能是“给个电话”,是否进行修正。用户点击修正后错误的文本“个个电话”自动替换为“给个电话”,减少用户发出错误消息的次数,避免撤回消息的额外操作,提高输入效率。
在一些实施方式中,所述方法还可以包括:响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,在撤回所述消息后,将所述消息作为已撤回消息显示;接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;向服务器发送所述第一输入信息与所述已撤回消息。在这一实施方式中,用户终端可以采集已撤回消息以及在撤回消息后的用户输入文本,并发送给服务器。由服务器学习已撤回消息与更正消息的对应关系,以便后续自动识别用户输入文本是否存在错误以及提示用户修正输入的错误文本。
下面对本申请实施例提供的方法对应的设备进行介绍。
参见图5,为本申请一实施例提供的消息处理装置示意图。
一种消息处理装置500,包括:
确定单元501,用于响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息。其中,所述确定单元501的具体实现可以参照图2所示实施例的S201而实现。
存储单元502,用于将所述消息存储在已撤回消息记录中。其中,所述存储单元502的具体实现可以参照图2所示实施例的S202而实现。
发送单元503,用于向消息接收端发送所述消息撤回请求,以便所述消息接收端删除所述消息。其中,所述发送单元503的具体实现可以参照图2所示实施例的S203而实现。
在一些实施方式中,所述装置还包括:
查询单元,用于响应于查询已撤回消息的请求,判断所述查询已撤回消息的请求对 应的终端是否具有操作权限。
第一显示单元,用于若确定所述请求对应的终端具有操作权限,显示已撤回消息记录中的消息。
在一些实施方式中,所述装置还包括:
第一接收单元,用于接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;
所述存储单元还用于:将所述第一输入信息作为更正消息,保存所述已撤回消息与更正消息的对应关系。
在一些实施方式中,所述装置还包括:
第二显示单元,用于在消息显示界面显示所述已撤回消息以及所述第一输入信息;
所述存储单元具体用于:响应于用户的确认操作,将所述第一输入信息作为与所述已撤回消息对应的更正消息,保存所述已撤回消息与更正消息的对应关系。
在一些实施方式中,所述装置还包括:
第二接收单元,用于接收第二输入信息;
判断单元,用于判断所述第二输入信息是否与已撤回消息记录中的消息匹配;
第三显示单元,用于若所述第二输入信息与已撤回消息记录中的消息匹配,根据预先保存的已撤回消息与更正消息的对应关系确定更正消息,显示所述更正消息。
在一些实施方式中,所述装置还包括:
输出单元,用于响应于用户的触发操作,输出所述更正消息以替换所述第二输入信息。
在一些实施方式中,所述装置还包括:
分析单元,用于分析已撤回消息记录中的消息,根据所述消息的出现频率和/或发生时间,确定出现频率最高的已撤回消息、距离当前时间最近的已撤回消息或者预设时间段内出现频率最高的消息。
参见图6,是本申请另一实施例提供的消息处理的装置的框图。包括:至少一个处理器601(例如CPU),存储器602和至少一个通信总线603,用于实现这些装置之间的连接通信。处理器601用于执行存储器602中存储的可执行模块,例如计算机程序。存储器602可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。一个或者一 个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器601执行所述一个或者一个以上程序包含用于进行以下操作的指令:响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;将所述消息作为已撤回消息存储在已撤回消息记录中;向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。
在一些实施方式中,处理器601具体用于执行所述一个或者一个以上程序包含用于进行以下操作的指令:响应于查询已撤回消息的请求,判断所述查询已撤回消息的请求对应的终端是否具有操作权限;若确定所述请求对应的终端具有操作权限,显示已撤回消息记录中的消息。
在一些实施方式中,处理器601具体用于执行所述一个或者一个以上程序包含用于进行以下操作的指令:接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;将所述第一输入信息作为更正消息,保存所述已撤回消息与更正消息的对应关系。
在一些实施方式中,处理器601具体用于执行所述一个或者一个以上程序包含用于进行以下操作的指令:在消息显示界面显示所述已撤回消息以及所述第一输入信息;响应于用户的确认操作,将所述第一输入信息作为与所述已撤回消息对应的更正消息,保存所述已撤回消息与更正消息的对应关系。
在一些实施方式中,处理器601具体用于执行所述一个或者一个以上程序包含用于进行以下操作的指令:接收第二输入信息,判断所述第二输入信息是否与已撤回消息记录中的消息匹配;若所述第二输入信息与已撤回消息记录中的消息匹配,根据预先保存的已撤回消息与更正消息的对应关系确定更正消息;显示所述更正消息。
在一些实施方式中,处理器601具体用于执行所述一个或者一个以上程序包含用于进行以下操作的指令:响应于用户的触发操作,输出所述更正消息以替换所述第二输入信息。
在一些实施方式中,处理器601具体用于执行所述一个或者一个以上程序包含用于进行以下操作的指令:分析已撤回消息记录中的消息,根据所述消息的出现频率和/或发生时间,确定出现频率最高的已撤回消息、距离当前时间最近的已撤回消息或者预设时间段内出现频率最高的消息。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器304,上述指令可由装置300的处理器320执行以完成上述方法。例 如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种机器可读介质,例如该机器可读介质可以为非临时性计算机可读存储介质,当所述介质中的指令由装置(终端或者服务器)的处理器执行时,使得装置能够执行一种消息处理方法,所述方法包括:响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;将所述消息作为已撤回消息存储在已撤回消息记录中;向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。
其中,本申请装置各单元或模块的设置可以参照图2至图4所示的方法而实现,在此不赘述。
参见图10,为本申请实施例提供的用户终端示意图。
一种用户终端1000,包括:
接收单元1001,用于接收用户输入,向服务器发送所述用户输入。
显示单元1002,用于接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息。
在一些实施方式中,所述用户终端1000还可以包括:
更正单元1003,用于响应于用户针对所述提示消息的确认操作,输出所述更正消息以替换用户输入。其中,图10中的虚线表示上述模块或单元不是必需的。
参见图11,为本申请另一实施例提供的用户终端示意图。
一种用户终端1100,包括:
显示单元1101,用于响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,在用户撤回所述消息后,将所述消息作为已撤回消息存储并显示。
接收单元1102,用于接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息。
存储单元1103,用于将所述第一输入信息作为所述已撤回消息的更正消息,保存所述已撤回消息与所述更正消息的对应关系。或者,
发送单元1104,用于向服务器发送所述第一输入信息与所述已撤回消息。
参见图12,为本申请再一实施例提供的服务器设备示意图。
一种服务器设备1200,包括:
接收单元1201,用于接收消息发送端发送的消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息。
第一存储单元1202,用于将所述消息作为已撤回消息存储在已撤回消息记录中。
第二存储单元1203,用于确定与已撤回消息对应的更正消息,保存所述更正消息与已撤回消息的对应关系。
参见图13,为本申请实施例提供的客户端设备示意图。
一种客户端设备,所述客户端设备包括显示单元1300,所述显示单元1300包括:
用户输入区域1301,用于接收用户输入,输出所述用户输入。
提示信息展示区域1302,用于根据用户输入确定用户输入存在错误时输出提示信息,用于提示用户将所述用户输入替换为更正消息。
在一些实施方式中,所述显示单元1300还可以包括:
交互区域1303,用于接收用户针对所述提示信息的触发操作,向处理器发送替换指令,以便处理器将所述用户输入区域输出的所述用户输入替换为所述更正消息。其中,交互区域1303并不是必需的模块或单元。
本申请实施例还可以提供一种用于消息处理的装置,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:接收用户输入,向服务器发送所述用户输入;接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息。
需要说明的是,本申请实施例提供的装置或设备可以参照图1A-图4B以及图7至图9所示的方法而实现。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且 可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。以上所述仅是本申请的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (27)

  1. 一种消息处理方法,其特征在于,包括:
    响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;
    将所述消息作为已撤回消息存储在已撤回消息记录中;
    向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于查询已撤回消息的请求,判断所述查询已撤回消息的请求对应的终端是否具有操作权限;
    若确定所述请求对应的终端具有操作权限,显示已撤回消息记录中的消息。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;
    将所述第一输入信息作为更正消息,保存所述已撤回消息与更正消息的对应关系。
  4. 根据权利要求3所述的方法去,其特征在于,所述方法还包括:
    在消息显示界面显示所述已撤回消息以及所述第一输入信息;
    所述将所述第一输入信息作为更正消息,保存所述已撤回消息与更正消息的对应关系包括:
    响应于用户的确认操作,将所述第一输入信息作为与所述已撤回消息对应的更正消息,保存所述已撤回消息与更正消息的对应关系。
  5. 根据权利要求1或3所述的方法,其特征在于,所述方法还包括:
    接收第二输入信息,判断所述第二输入信息是否与已撤回消息记录中的消息匹配;
    若所述第二输入信息与已撤回消息记录中的消息匹配,根据预先保存的已撤回消息与更正消息的对应关系确定更正消息;
    显示所述更正消息。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    响应于用户的触发操作,输出所述更正消息以替换所述第二输入信息。
  7. 根据权利要求1或3所述的方法,其特征在于,所述方法还包括:
    分析已撤回消息记录中的消息,根据所述消息的出现频率和/或发生时间,确定出现 频率最高的已撤回消息、距离当前时间最近的已撤回消息或者预设时间段内出现频率最高的消息。
  8. 一种消息处理方法,其特征在于,应用于用户终端,包括:
    响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,在撤回所述消息后,将所述消息作为已撤回消息存储并显示;
    接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;
    将所述第一输入信息作为所述已撤回消息的更正消息,保存所述已撤回消息与所述更正消息的对应关系;或者,向服务器发送所述第一输入信息与所述已撤回消息。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    接收第二输入信息;
    当所述第二输入信息与已撤回消息匹配时,确定与所述第二输入信息对应的更正消息;
    显示所述更正消息。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    响应于用户的触发操作,输出所述更正消息以替换所述第二输入信息。
  11. 根据权利要求9所述的方法,其特征在于,所述当所述第二输入信息与已撤回消息匹配时,确定与所述第二输入信息对应的更正消息包括:
    判断所述第二输入信息是否与保存的已撤回消息匹配;若匹配,根据保存的所述已撤回消息与更正消息的对应关系,确定与所述第二输入信息对应的更正消息;
    或者,
    向服务器发送所述第二输入信息;接收服务器在确定所述第二输入信息与已撤回消息匹配后发送的与所述已撤回消息对应的更正消息,确定与所述第二输入信息对应的更正消息。
  12. 一种消息处理方法,其特征在于,应用于服务器,包括:
    接收消息发送端发送的消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;
    将所述消息作为已撤回消息存储在已撤回消息记录中;
    确定与已撤回消息对应的更正消息,保存所述更正消息与已撤回消息的对应关系。
  13. 根据权利要求12所述的方法,其特征在于,所述确定与已撤回消息对应的更正 消息包括:
    接收消息发送端发送的第一输入信息与所述已撤回消息,将所述第一输入信息作为所述已撤回消息的更正消息;或者,
    对所述已撤回消息进行分析,确定与已撤回消息相似的文本作为更正消息。
  14. 根据权利要求12或13所述的方法,其特征在于,所述方法还包括:
    接收用户终端发送的第二输入信息;
    判断所述第二输入信息是否与保存的已撤回消息匹配;
    若匹配,根据保存的所述已撤回消息与更正消息的对应关系,向用户终端发送与第二输入信息对应的更正消息。
  15. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    响应于用户终端查询已撤回消息的请求,判断所述查询已撤回消息的请求对应的用户终端是否具有操作权限;
    若确定所述请求对应的终端具有操作权限,向所述用户终端发送所述已撤回消息。
  16. 一种消息处理方法,其特征在于,应用于用户终端,包括:
    接收用户输入,向服务器发送所述用户输入;
    接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息。
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:
    响应于用户针对所述提示消息的确认操作,输出所述更正消息以替换用户输入。
  18. 一种客户端设备,其特征在于,所述客户端设备包括显示单元,所述显示单元包括:
    用户输入区域,用于接收用户输入,输出所述用户输入;
    提示信息展示区域,用于根据用户输入确定用户输入存在错误时输出提示信息,用于提示用户将所述用户输入替换为更正消息。
  19. 一种消息处理装置,其特征在于,包括:
    确定单元,用于响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;
    存储单元,用于将所述消息存储在已撤回消息记录中;
    发送单元,用于向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。
  20. 一种用户终端,其特征在于,包括:
    显示单元,用于响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,在用户撤回所述消息后,将所述消息作为已撤回消息存储并显示;
    接收单元,用于接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;
    存储单元,用于将所述第一输入信息作为所述已撤回消息的更正消息,保存所述已撤回消息与所述更正消息的对应关系;或者,
    发送单元,用于向服务器发送所述第一输入信息与所述已撤回消息。
  21. 一种服务器设备,其特征在于,包括:
    接收单元,用于接收消息发送端发送的消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;
    第一存储单元,用于将所述消息作为已撤回消息存储在已撤回消息记录中;
    第二存储单元,用于确定与已撤回消息对应的更正消息,保存所述更正消息与已撤回消息的对应关系。
  22. 一种用户终端,其特征在于,包括:
    接收单元,用于接收用户输入,向服务器发送所述用户输入;
    显示单元,用于接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息。
  23. 一种用于消息处理的装置,其特征在于,包括有存储器,以及一个或者多个程序,其中一个或者多个程序存储于存储器中,且经配置以由一个或者多个处理器执行所述一个或者多个程序包含用于进行以下操作的指令:
    响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息;
    将所述消息存储在已撤回消息记录中;
    向消息接收端发送所述消息撤回请求,以便所述消息接收端在接收到所述消息撤回请求后删除所述消息。
  24. 一种用于消息处理的装置,其特征在于,包括有存储器,以及一个或者多个程序,其中一个或者多个程序存储于存储器中,且经配置以由一个或者多个处理器执行所述一个或者多个程序包含用于进行以下操作的指令:
    响应于消息撤回请求,根据所述消息撤回请求包含的消息标识确定与所述消息标识对应的消息,在用户撤回所述消息后,将所述消息作为已撤回消息存储并显示;
    接收第一输入信息,所述第一输入信息为用户在撤回所述已撤回消息后、在输入区域输出的信息;
    将所述第一输入信息作为所述已撤回消息的更正消息,保存所述已撤回消息与所述更正消息的对应关系;或者,向服务器发送所述第一输入信息与所述已撤回消息。
  25. 一种用于消息处理的装置,其特征在于,包括有存储器,以及一个或者多个程序,其中一个或者多个程序存储于存储器中,且经配置以由一个或者多个处理器执行所述一个或者多个程序包含用于进行以下操作的指令:
    接收用户输入,向服务器发送所述用户输入;
    接收服务器发送的更正消息,显示提示消息用于提示用户是否将用户输入替换为所述更正消息。
  26. 一种机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得装置执行如权利要求1至7中一个或多个所述的消息处理方法。
  27. 一种机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得装置执行如权利要求8至11中一个或多个所述的消息处理方法。
PCT/CN2018/109551 2017-10-18 2018-10-10 一种消息处理方法及装置 WO2019076215A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710971641.5 2017-10-18
CN201710971641.5A CN109688042B (zh) 2017-10-18 2017-10-18 一种消息处理方法及装置

Publications (1)

Publication Number Publication Date
WO2019076215A1 true WO2019076215A1 (zh) 2019-04-25

Family

ID=66174296

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109551 WO2019076215A1 (zh) 2017-10-18 2018-10-10 一种消息处理方法及装置

Country Status (3)

Country Link
CN (1) CN109688042B (zh)
TW (1) TW201918050A (zh)
WO (1) WO2019076215A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187629A (zh) * 2020-10-20 2021-01-05 珠海市小源科技有限公司 5g通信的消息撤回方法、计算机装置及计算机可读存储介质
CN112565063A (zh) * 2020-12-11 2021-03-26 维沃移动通信有限公司 消息处理方法、装置和电子设备
CN113676394A (zh) * 2021-08-19 2021-11-19 维沃移动通信(杭州)有限公司 信息处理方法和信息处理装置
CN113923176A (zh) * 2021-09-30 2022-01-11 完美世界(北京)软件科技发展有限公司 即时通讯的消息撤回方法、装置、设备及计算机可读介质
WO2023249710A1 (en) * 2022-06-21 2023-12-28 Microsoft Technology Licensing, Llc Message recall and updating

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641554B (zh) * 2020-06-02 2022-03-04 Oppo广东移动通信有限公司 一种消息处理方法、装置及计算机可读存储介质
CN111711559B (zh) * 2020-06-12 2022-04-05 北京百度网讯科技有限公司 用于撤回信息的方法和装置
CN111913625A (zh) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 消息处理方法、装置和电子设备
CN112035206B (zh) * 2020-09-01 2021-08-24 腾讯科技(深圳)有限公司 一种消息处理方法及设备
CN116708335A (zh) * 2020-11-23 2023-09-05 腾讯科技(深圳)有限公司 一种消息发送控制的方法和装置
CN113518026B (zh) * 2021-03-25 2023-06-06 维沃移动通信有限公司 消息处理方法、装置和电子设备
CN113179204B (zh) * 2021-03-31 2023-02-10 维沃移动通信有限公司 撤回消息的方法、装置及电子设备
CN113992615B (zh) * 2021-10-26 2023-05-26 维沃移动通信有限公司 撤回消息的显示方法、装置、电子设备及存储介质
CN115220619A (zh) * 2022-06-06 2022-10-21 网易(杭州)网络有限公司 消息处理方法、装置及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516576A (zh) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 一种用于处理即时消息的方法和装置
CN106657316A (zh) * 2016-12-15 2017-05-10 北京金山安全软件有限公司 一种消息撤回方法及装置
CN106921561A (zh) * 2017-03-01 2017-07-04 维沃移动通信有限公司 一种信息处理方法及装置
CN107040904A (zh) * 2017-04-25 2017-08-11 青岛海信移动通信技术股份有限公司 控制短信息的菜单项显示撤回的方法和装置

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004312197A (ja) * 2003-04-03 2004-11-04 Matsushita Electric Ind Co Ltd 通信装置、証明書発行装置及び通信システム
US7752271B2 (en) * 2004-06-01 2010-07-06 International Business Machines Corporation Method of retracting an instant message
CN100553236C (zh) * 2005-12-23 2009-10-21 腾讯科技(深圳)有限公司 一种撤回即时通信消息的方法及即时通信系统
JP2011141701A (ja) * 2010-01-06 2011-07-21 Fujitsu Ltd データ編集方法、データ編集プログラムおよびデータ編集装置
CN101834806B (zh) * 2010-03-25 2012-10-24 盈世信息科技(北京)有限公司 一种邮件撤回方法及系统
US9014343B1 (en) * 2011-02-24 2015-04-21 Sprint Communications Company L.P. Recalling user-generated messages
CN102685312B (zh) * 2011-03-18 2015-03-04 上海华勤通讯技术有限公司 具有短信撤销功能的手机及其短信撤销的实现方法
CN103488488A (zh) * 2013-09-26 2014-01-01 贝壳网际(北京)安全技术有限公司 文本输入检查方法、装置及移动终端
CN104518946A (zh) * 2013-09-27 2015-04-15 北京新媒传信科技有限公司 一种删除即时通信消息的方法和装置
CN103617519A (zh) * 2013-11-01 2014-03-05 优视科技有限公司 通信信息处理方法、装置及系统
CN103701993B (zh) * 2013-12-30 2016-11-09 宇龙计算机通信科技(深圳)有限公司 一种信息的发送方法和系统
CN105446572A (zh) * 2014-08-13 2016-03-30 阿里巴巴集团控股有限公司 一种用于屏幕显示设备的文字编辑方法及装置
CN105677207A (zh) * 2014-11-17 2016-06-15 浪潮乐金数字移动通信有限公司 智能手机输入信息的编辑方法及装置
US20160173421A1 (en) * 2014-12-12 2016-06-16 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Corporation Communication verification based upon message content and recipient profile
CN104571589B (zh) * 2014-12-31 2017-09-29 广东欧珀移动通信有限公司 一种基于输入法的数据处理方法及装置
US9979692B2 (en) * 2015-03-06 2018-05-22 Oracle International Corporation Method and system for providing message recall functionality
CN106156129A (zh) * 2015-04-08 2016-11-23 联想(北京)有限公司 文件管理方法及装置
CN104915264A (zh) * 2015-05-29 2015-09-16 北京搜狗科技发展有限公司 一种输入纠错方法和装置
CN105490919B (zh) * 2015-11-24 2019-11-08 小米科技有限责任公司 消息撤回方法和装置
CN105550068A (zh) * 2015-12-15 2016-05-04 惠州Tcl移动通信有限公司 一种移动终端的误操作撤回方法及系统
CN105634920B (zh) * 2015-12-22 2018-12-25 小米科技有限责任公司 消息撤回方法及装置
CN106878152A (zh) * 2016-02-29 2017-06-20 艾威梯科技(北京)有限公司 一种用于即时通信的消息撤回方法和模块
CN105872995A (zh) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 一种撤销发出的短信的方法及装置
CN105892805A (zh) * 2016-03-29 2016-08-24 北京小米移动软件有限公司 即时消息的处理方法及装置
CN105824795A (zh) * 2016-04-19 2016-08-03 智者四海(北京)技术有限公司 文本中的错误信息的显示方法及装置
CN105763432A (zh) * 2016-05-20 2016-07-13 北京北信源软件股份有限公司 一种即时通信消息远程销毁方法
CN106209581A (zh) * 2016-06-29 2016-12-07 北京奇虎科技有限公司 消息信息处理方法、装置、服务器及终端设备
CN105933215A (zh) * 2016-07-09 2016-09-07 东莞市华睿电子科技有限公司 一种基于即时通信的聊天信息撤回控制方法
CN107203510A (zh) * 2017-05-23 2017-09-26 深圳天珑无线科技有限公司 文字检测方法及装置
CN106973008B (zh) * 2017-05-26 2019-12-24 华云数据(厦门)网络有限公司 一种选择性撤回邮件的实现方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516576A (zh) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 一种用于处理即时消息的方法和装置
CN106657316A (zh) * 2016-12-15 2017-05-10 北京金山安全软件有限公司 一种消息撤回方法及装置
CN106921561A (zh) * 2017-03-01 2017-07-04 维沃移动通信有限公司 一种信息处理方法及装置
CN107040904A (zh) * 2017-04-25 2017-08-11 青岛海信移动通信技术股份有限公司 控制短信息的菜单项显示撤回的方法和装置

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187629A (zh) * 2020-10-20 2021-01-05 珠海市小源科技有限公司 5g通信的消息撤回方法、计算机装置及计算机可读存储介质
CN112187629B (zh) * 2020-10-20 2022-04-29 珠海市小源科技有限公司 5g通信的消息撤回方法、计算机装置及计算机可读存储介质
CN112565063A (zh) * 2020-12-11 2021-03-26 维沃移动通信有限公司 消息处理方法、装置和电子设备
CN112565063B (zh) * 2020-12-11 2023-04-07 维沃移动通信有限公司 消息处理方法、装置和电子设备
CN113676394A (zh) * 2021-08-19 2021-11-19 维沃移动通信(杭州)有限公司 信息处理方法和信息处理装置
CN113923176A (zh) * 2021-09-30 2022-01-11 完美世界(北京)软件科技发展有限公司 即时通讯的消息撤回方法、装置、设备及计算机可读介质
CN113923176B (zh) * 2021-09-30 2023-05-23 完美世界(北京)软件科技发展有限公司 即时通讯的消息撤回方法、装置、设备及计算机可读介质
WO2023249710A1 (en) * 2022-06-21 2023-12-28 Microsoft Technology Licensing, Llc Message recall and updating
US11895067B2 (en) 2022-06-21 2024-02-06 Microsoft Technology Licensing, Llc Message recall and updating

Also Published As

Publication number Publication date
TW201918050A (zh) 2019-05-01
CN109688042B (zh) 2021-12-31
CN109688042A (zh) 2019-04-26

Similar Documents

Publication Publication Date Title
WO2019076215A1 (zh) 一种消息处理方法及装置
US10021045B2 (en) Method, system, and storage medium for message processing
US20180227322A1 (en) Near real-time detection of suspicious outbound traffic
US20150007336A1 (en) Information processing method, apparatus, and system
CN108090079B (zh) 一种即时聊天工具的聊天记录处理方法及装置
EP3541098A1 (en) Processing method for communication identifier binding and terminal
CN111385148A (zh) 业务告警方法、装置、计算机设备及存储介质
CN107453978B (zh) 基于群组的数据统计方法、移动终端、服务器及存储介质
US20140006600A1 (en) Remote notification and action system
CN113807538A (zh) 联邦学习方法、装置、电子设备及存储介质
CN111400378A (zh) 基于ElasticSearch的日志实时显示方法、装置、计算机设备和介质
CN112688860B (zh) 消息处理方法、装置、存储介质及电子设备
CN112636957A (zh) 基于日志的预警方法、装置、服务器及存储介质
US10205813B2 (en) Method and system for detecting abnormal contact information and server
US10250531B2 (en) Bot monitoring
CN111355765B (zh) 一种网络请求的处理、发送方法及装置
US10425374B2 (en) Routing a message based upon user-selected topic in a message editor
CN110955581A (zh) 线上软件异常告警方法、装置、电子设备及存储介质
CN112929835B (zh) 一种消息通知方法、装置、电子终端及存储介质
CN112328740B (zh) 一种聊天记录查询方法、装置、设备及存储介质
CN109600722B (zh) 短信接收验证方法及装置、电子设备、存储介质
CN112838980A (zh) 一种消息处理方法、系统、装置、电子设备及存储介质
CN105933417B (zh) 咨询方法和装置
CN112491625A (zh) 基于即时通讯平台的运维告警方法、装置及设备
CN110888791A (zh) 一种日志处理方法、装置、设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18868969

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18868969

Country of ref document: EP

Kind code of ref document: A1