TW201830986A - Method for withdrawing and modifying instant communication message, instant communication client side and server side - Google Patents

Method for withdrawing and modifying instant communication message, instant communication client side and server side Download PDF

Info

Publication number
TW201830986A
TW201830986A TW106138433A TW106138433A TW201830986A TW 201830986 A TW201830986 A TW 201830986A TW 106138433 A TW106138433 A TW 106138433A TW 106138433 A TW106138433 A TW 106138433A TW 201830986 A TW201830986 A TW 201830986A
Authority
TW
Taiwan
Prior art keywords
instant messaging
message
modification
client
messaging client
Prior art date
Application number
TW106138433A
Other languages
Chinese (zh)
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 TW201830986A publication Critical patent/TW201830986A/en

Links

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 present application relates to the technical field of computers, and in particular relates to a method for withdrawing and modifying an instant communication message, an instant communication client side, and a server side. In the method for withdrawing an instant communication message, the instant communication client side receives a message withdrawing command. According to the message withdrawing command, the corresponding instant communication message is deleted from session record and is presented in an input box. Thus, a user can implement inputting of the withdrawn instant communication message by editing the instant communication message in the input box, thereby greatly improving the input efficiency of the withdrawn instant communication message.

Description

即時通訊訊息撤回、修改方法、即時通訊客戶端及伺服端Instant messaging message recall, modification method, instant messaging client and server

本發明係有關一種電腦技術,尤其是一種即時通訊訊息撤回、修改方法、即時通訊客戶端及伺服端。The invention relates to a computer technology, in particular to an instant messaging message withdrawal, modification method, instant messaging client and server.

傳統技術中,當即時通訊客戶端接收到使用者輸入的訊息撤回指令時,直接從即時通訊客戶端中刪除對應的即時通訊訊息。然而,當使用者只是因為輸入了個別錯誤的文字或者字符,而撤回即時通訊訊息時,上述直接從即時通訊客戶端中刪除即時通訊訊息的方法,需要使用者重新輸入已撤回的即時通訊訊息,這影響了使用者輸入已撤回的即時通訊訊息的效率,從而給使用者帶來了較差的體驗。In the conventional technology, when the instant messaging client receives the message withdrawal instruction input by the user, the corresponding instant messaging message is directly deleted from the instant messaging client. However, when the user simply withdraws the instant messaging message by inputting the wrong text or character, the method of deleting the instant messaging message directly from the instant messaging client requires the user to re-enter the recalled instant messaging message. This affects the efficiency of the user's input of the recalled instant messaging message, thereby giving the user a poor experience.

本申請描述了一種即時通訊訊息撤回、修改方法、即時通訊客戶端及伺服端,可以提高已撤回的即時通訊訊息的輸入效率。   第一方面,提供了一種即時通訊訊息撤回方法,包括:   第一即時通訊客戶端接收訊息撤回指令;   根據所述訊息撤回指令,從所述第一即時通訊客戶端的會話記錄中確定待撤回的即時通訊訊息;   向伺服端發送訊息撤回請求,所述訊息撤回請求用於指示所述伺服端從第二即時通訊客戶端中查找並刪除所述即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   接收所述伺服端發送的用於表示所述即時通訊訊息刪除成功的響應結果訊息;   根據所述響應結果訊息,從所述會話記錄中刪除所述即時通訊訊息,並在所述第一即時通訊客戶端的輸入框中呈現所述即時通訊訊息。   第二方面,提供了一種即時通訊訊息撤回方法,包括:   接收第一即時通訊客戶端發送的訊息撤回請求,所述訊息撤回請求包括待撤回的即時通訊訊息;   根據所述訊息撤回請求,從對應的儲存單元中查找並刪除所述即時通訊訊息;   向第二即時通訊客戶端發送訊息撤回指示,所述訊息撤回指示用於指示所述第二即時通訊客戶端查找並刪除所述即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   接收所述第二即時通訊客戶端返回的用於表示刪除操作執行成功的操作結果資訊;   根據所述操作結果資訊,指示所述第一即時通訊客戶端從對應的會話記錄中刪除所述即時通訊訊息,並在對應的輸入框中呈現所述即時通訊訊息。   第三方面,提供了一種即時通訊訊息修改方法,包括:   對選中的即時通訊訊息,接收對所述即時通訊訊息的訊息獲取指令;   根據所述訊息獲取指令,在第一即時通訊客戶端的輸入框中呈現所述即時通訊訊息;   接收對所述輸入框中呈現的所述即時通訊訊息的訊息修改指令,根據所述訊息修改指令,對所述輸入框中呈現的所述即時通訊訊息進行修改。   第四方面,提供了一種即時通訊訊息修改方法,包括:   接收伺服端發送的訊息修改指示,所述訊息修改指示包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   根據所述標識資訊,從第二即時通訊客戶端的會話記錄中查找所述修改前的即時通訊訊息;   將所述會話記錄中的所述修改前的即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現所述修改後的即時通訊訊息;或者,   將所述會話記錄中的所述修改前的即時通訊訊息替換為所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第一標識資訊;或者,   在所述會話記錄中的所述修改前的即時通訊訊息的相鄰位置呈現所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第二標識資訊。   第五方面,提供了一種即時通訊訊息修改方法,包括:   接收第一即時通訊客戶端發送的訊息修改請求,所述訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   根據所述標識資訊,從對應的儲存單元中查找所述修改前的即時通訊訊息,並修改所述修改前的即時通訊訊息的顯示狀態及/或添加相應的刪除標識;   向第二即時通訊客戶端發送訊息修改指示,所述第二即時通訊客戶端是指已接收所述修改前的即時通訊訊息的即時通訊客戶端,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,將所述修改前的即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現所述修改後的即時通訊訊息;或者,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,將所述修改前的即時通訊訊息替換為所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第一標識資訊;   向所述第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   第六方面,提供了一種即時通訊訊息修改方法,包括:   接收第一即時通訊客戶端發送的訊息修改請求,所述訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   向第二即時通訊客戶端發送訊息修改指示,所述第二即時通訊客戶端是指已接收所述修改前的即時通訊訊息的即時通訊客戶端,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,在所述修改前的即時通訊訊息的相鄰位置呈現所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第二標識資訊;   向所述第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   第七方面,提供了一種即時通訊客戶端,包括:   接收單元,用於接收訊息撤回指令;   確定單元,用於根據所述接收單元接收的所述訊息撤回指令,從所述即時通訊客戶端的會話記錄中確定待撤回的即時通訊訊息;   發送單元,用於向伺服端發送訊息撤回請求,所述訊息撤回請求用於指示所述伺服端從第二即時通訊客戶端中查找並刪除所述即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   所述接收單元,還用於接收所述伺服端發送的用於表示所述即時通訊訊息刪除成功的響應結果訊息;   處理單元,用於根據所述接收單元接收的所述響應結果訊息,從所述會話記錄中刪除所述即時通訊訊息,並在所述即時通訊客戶端的輸入框中呈現所述即時通訊訊息。   第八方面,提供了一種伺服端,包括:   接收單元,用於接收第一即時通訊客戶端發送的訊息撤回請求,所述訊息撤回請求包括待撤回的即時通訊訊息;   處理單元,用於根據所述接收單元接收的所述訊息撤回請求,從對應的儲存單元中查找並刪除所述即時通訊訊息;   發送單元,用於向第二即時通訊客戶端發送訊息撤回指示,所述訊息撤回指示用於指示所述第二即時通訊客戶端查找並刪除所述即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   所述接收單元,還用於接收所述第二即時通訊客戶端返回的用於表示刪除操作執行成功的操作結果資訊;   指示單元,用於根據所述接收單元接收的所述操作結果資訊,指示所述第一即時通訊客戶端從對應的會話記錄中刪除所述即時通訊訊息,並在對應的輸入框中呈現所述即時通訊訊息。   第九方面,提供了一種即時通訊客戶端,包括:   接收單元,用於對選中的即時通訊訊息,接收對所述即時通訊訊息的訊息獲取指令;   處理單元,用於根據所述接收單元接收的所述訊息獲取指令,在所述即時通訊客戶端的輸入框中呈現所述即時通訊訊息;   所述接收單元,還用於接收對所述輸入框中呈現的所述即時通訊訊息的訊息修改指令;   修改單元,用於根據所述接收單元接收的所述訊息修改指令,對所述輸入框中呈現的所述即時通訊訊息進行修改。   第十方面,提供了一種即時通訊客戶端,包括:   接收單元,用於接收伺服端發送的訊息修改指示,所述訊息修改指示包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   查找單元,用於根據所述接收單元接收的所述標識資訊,從即時通訊客戶端的會話記錄中查找所述修改前的即時通訊訊息;   處理單元,用於將所述會話記錄中的所述修改前的即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現所述修改後的即時通訊訊息;或者,   將所述會話記錄中的所述修改前的即時通訊訊息替換為所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第一標識資訊;或者,   在所述會話記錄中的所述修改前的即時通訊訊息的相鄰位置呈現所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第二標識資訊。   第十一方面,提供了一種伺服端,包括:   接收單元,用於接收第一即時通訊客戶端發送的訊息修改請求,所述訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   處理單元,用於根據所述接收單元接收的所述標識資訊,從對應的儲存單元中查找所述修改前的即時通訊訊息,並修改所述修改前的即時通訊訊息的顯示狀態及/或添加相應的刪除標識;   發送單元,用於向第二即時通訊客戶端發送訊息修改指示,所述第二即時通訊客戶端是指已接收所述修改前的即時通訊訊息的即時通訊客戶端,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,將所述修改前的即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現所述修改後的即時通訊訊息;或者,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,將所述修改前的即時通訊訊息替換為所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第一標識資訊;   所述發送單元,還用於向所述第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   第十二方面,提供了一種伺服端,包括:   接收單元,用於接收第一即時通訊客戶端發送的訊息修改請求,所述訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   發送單元,用於向第二即時通訊客戶端發送訊息修改指示,所述第二即時通訊客戶端是指已接收所述修改前的即時通訊訊息的即時通訊客戶端,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,在所述修改前的即時通訊訊息的相鄰位置呈現所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第二標識資訊;   所述發送單元,還用於向所述第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   本申請提供的即時通訊訊息撤回、修改方法、即時通訊客戶端及伺服端,即時通訊客戶端接收訊息撤回指令。根據訊息撤回指令,從會話記錄中刪除對應的即時通訊訊息,並將該即時通訊訊息呈現在輸入框中。從而,使用者通過編輯輸入框中的即時通訊訊息即可實現已撤回的即時通訊訊息的輸入,這大大提高了已撤回的即時通訊訊息的輸入效率。The present application describes an instant messaging message withdrawal, modification method, instant messaging client and server, which can improve the input efficiency of the recalled instant messaging message. The first aspect provides a method for withdrawing an instant messaging message, including: receiving, by a first instant messaging client, a message revocation instruction; determining, according to the message revocation instruction, an instant to be withdrawn from a session record of the first instant messaging client a communication message; sending a message revocation request to the server, the message revocation request for instructing the server to find and delete the instant messaging message from the second instant messaging client, where the second instant messaging client refers to The instant messaging client that has received the instant messaging message; receives a response result message sent by the server for indicating that the instant messaging message is successfully deleted; and deletes the session record from the session record according to the response result message The instant messaging message is presented, and the instant messaging message is presented in an input box of the first instant messaging client. The second aspect provides a method for withdrawing an instant messaging message, including: receiving a message revocation request sent by a first instant messaging client, where the message revocation request includes an instant messaging message to be revoked; Searching for and deleting the instant messaging message in the storage unit; sending a message revocation indication to the second instant messaging client, the message revocation indication being used to instruct the second instant messaging client to find and delete the instant messaging message, The second instant messaging client refers to an instant messaging client that has received the instant messaging message; and receives operation result information returned by the second instant messaging client to indicate that the deletion operation is successful; The result information indicates that the first instant messaging client deletes the instant messaging message from the corresponding session record, and presents the instant messaging message in a corresponding input box. The third aspect provides a method for modifying an instant messaging message, including: receiving, by the selected instant messaging message, a message acquiring instruction for the instant messaging message; and inputting the first instant messaging client according to the message obtaining instruction Presenting the instant messaging message in a box; receiving a message modification instruction for the instant messaging message presented in the input box, and modifying the instant messaging message presented in the input box according to the message modification instruction . The fourth aspect provides a method for modifying an instant messaging message, including: receiving a message modification indication sent by a server, where the message modification indication includes identification information of an instant messaging message before modification and a modified instant messaging message; Identifying the information, searching for the instant messaging message before the modification from the session record of the second instant messaging client; replacing the instant messaging message before the modification in the session record with the first notification message, and in the session The modified instant messaging message is presented in the record; or the modified instant messaging message in the session record is replaced with the modified instant messaging message, and the modified instant messaging message is Adding the first identification information; or presenting the modified instant messaging message in an adjacent position of the modified instant messaging message in the session record, and adding a second to the modified instant messaging message Identify information. The fifth aspect provides a method for modifying an instant messaging message, including: receiving a message modification request sent by a first instant messaging client, where the message modification request includes identification information of the instant messaging message before modification and the modified instant messaging message According to the identification information, searching for the instant messaging message before the modification from the corresponding storage unit, and modifying the display state of the instant messaging message before the modification and/or adding the corresponding deletion identifier; to the second instant messaging The client sends a message modification indication, where the second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification, and the message modification indication is used to indicate that the second instant messaging client is Searching for the instant messaging message before the modification in the session record, replacing the instant messaging message before the modification with the first notification message, and presenting the modified instant messaging message in the session record; or a message modification indication for indicating the second instant message The terminal searches for the instant messaging message before the modification from the session record, replaces the instant messaging message before the modification with the modified instant messaging message, and adds the first identifier information to the modified instant messaging message. Sending a response result message indicating that the modification message is successfully sent to the first instant messaging client. The sixth aspect provides a method for modifying an instant messaging message, including: receiving a message modification request sent by a first instant messaging client, where the message modification request includes identification information of the instant messaging message before modification and the modified instant messaging message Sending a message modification indication to the second instant messaging client, where the second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification, and the message modification indication is used to indicate the The instant messaging client searches for the instant messaging message before the modification from the session record, and presents the modified instant messaging message to the adjacent location of the instant messaging message before the modification, and the modified instant message is The communication message adds the second identification information; and sends a response result message indicating that the modification message is successfully sent to the first instant messaging client. According to a seventh aspect, an instant messaging client is provided, including: a receiving unit, configured to receive a message revocation instruction; a determining unit, configured to perform a session from the instant messaging client according to the message revocation instruction received by the receiving unit Determining an instant messaging message to be revoked in the record; the sending unit is configured to send a message revocation request to the server, where the message revocation request is used to instruct the server to find and delete the instant messaging from the second instant messaging client The second instant messaging client refers to an instant messaging client that has received the instant messaging message; the receiving unit is further configured to receive, by the server, the instant messaging message is successfully deleted. a response message, the processing unit, configured to delete the instant messaging message from the session record according to the response result message received by the receiving unit, and present the message in an input box of the instant messaging client Instant messaging message. The eighth aspect provides a server, comprising: a receiving unit, configured to receive a message revocation request sent by the first instant messaging client, where the message revocation request includes an instant messaging message to be revoked; and a processing unit, configured to Determining, by the receiving unit, the message revocation request, searching for and deleting the instant messaging message from the corresponding storage unit; and sending, by the sending unit, a message revocation indication to the second instant messaging client, where the message revocation indication is used for Instructing the second instant messaging client to find and delete the instant messaging message, the second instant messaging client refers to an instant messaging client that has received the instant messaging message; the receiving unit is further configured to receive The operation result information returned by the second instant messaging client is used to indicate that the deletion operation is successful; the indicating unit is configured to instruct the first instant messaging client to be based on the operation result information received by the receiving unit Delete the instant messaging message in the corresponding session record, and Corresponding input box presenting the chat message. The ninth aspect provides an instant messaging client, including: a receiving unit, configured to receive a message acquiring instruction for the instant messaging message for the selected instant messaging message; and a processing unit, configured to receive according to the receiving unit The message obtaining instruction, the instant messaging message is presented in an input box of the instant messaging client; the receiving unit is further configured to receive a message modification command for the instant messaging message presented in the input box And a modifying unit, configured to modify the instant messaging message presented in the input box according to the message modification instruction received by the receiving unit. A tenth aspect provides an instant messaging client, comprising: a receiving unit, configured to receive a message modification indication sent by a server, where the message modification indication includes identifier information of the instant messaging message before modification and the modified instant messaging message a searching unit, configured to search for the instant messaging message before the modification from the session record of the instant messaging client according to the identifier information received by the receiving unit; and the processing unit, configured to: The instant messaging message before the modification is replaced with the first notification message, and the modified instant messaging message is presented in the session record; or the instant messaging message in the session record is replaced with the Determining the modified instant messaging message, and adding the first identification information to the modified instant messaging message; or presenting the modified location in the adjacent location of the modified instant messaging message in the session record Instant messaging message and add to the modified instant messaging message Second identification information. The eleventh aspect provides a server, comprising: a receiving unit, configured to receive a message modification request sent by the first instant messaging client, where the message modification request includes the identifier information of the instant messaging message before the modification and the modified An instant messaging message; the processing unit, configured to search for the instant messaging message before the modification from the corresponding storage unit according to the identifier information received by the receiving unit, and modify the display state of the instant messaging message before the modification And/or adding a corresponding deletion identifier; a sending unit, configured to send a message modification indication to the second instant messaging client, where the second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification The message modification indication is used to instruct the second instant messaging client to search for the instant messaging message before the modification from the session record, and replace the instant messaging message before the modification with the first notification message, and Presenting the modified instant messaging message in the session record; or The message modification indication is used to instruct the second instant messaging client to search for the instant messaging message before the modification from the session record, and replace the instant messaging message before the modification with the modified instant messaging message. And adding the first identifier information to the modified instant messaging message; the sending unit is further configured to send, to the first instant messaging client, a response result message indicating that the modified message is successfully sent. The twelfth aspect provides a server, comprising: a receiving unit, configured to receive a message modification request sent by the first instant messaging client, where the message modification request includes the identifier information of the instant messaging message before the modification and the modified An instant messaging message; a sending unit, configured to send a message modification indication to the second instant messaging client, where the second instant messaging client is an instant messaging client that has received the instant messaging message before the modification, the message The modification indication is used to instruct the second instant messaging client to search for the instant messaging message before the modification from the session record, and present the modified instant messaging message in an adjacent location of the instant messaging message before the modification. And adding the second identifier information to the modified instant messaging message; the sending unit is further configured to send, to the first instant messaging client, a response result message indicating that the modified message is successfully sent. The instant messaging message withdrawal, modification method, instant messaging client and server provided by the application, the instant messaging client receives the message withdrawal instruction. According to the message withdrawal instruction, the corresponding instant messaging message is deleted from the session record, and the instant messaging message is presented in the input box. Therefore, the user can input the instant message that has been withdrawn by editing the instant messaging message in the input box, which greatly improves the input efficiency of the recalled instant messaging message.

下面結合圖式,對本申請的實施例進行描述。   本申請實施例提供的即時通訊訊息撤回方法應用於如圖1所示的場景,圖1中,第一即時通訊客戶端可以接收使用者輸入的訊息撤回指令,並根據該訊息撤回指令確定待撤回的即時通訊訊息。之後,第一即時通訊客戶端向伺服端發送訊息撤回請求。伺服端在接收到訊息撤回請求之後,可以指示第二即時通訊客戶端查找並刪除待撤回的即時通訊訊息。此外,伺服端還可以從資料庫中查找對應的持久化儲存記錄。該持久化儲存記錄可以包括即時通訊訊息的標識資訊、即時通訊訊息以及發送時間等資訊。查找到對應的持久化儲存記錄之後,將該持久化儲存記錄刪除。再者,還可以從離線訊息列表及/或同步資料庫(該同步資料庫可以位於其它伺服端)中,查找並刪除該即時通訊訊息。   當然,在實際應用中,當第一即時通訊客戶端的使用者的聊天對象為多個時,則第二即時通訊客戶端的個數也為多個。可以理解的是,當第二即時通訊客戶端的個數為多個時,伺服端指示多個第二即時通訊客戶端查找並刪除即時通訊訊息。   需要說明的是,圖1中即時通訊客戶端可以是指如下即時通信軟體的客戶端:阿里旺旺、騰訊QQ、微信、來往、易信、旺信等。此外,本申請的待撤回的即時通訊訊息是指第一即時通訊客戶端已發送成功的即時通訊訊息。   圖2為本申請一種實施例提供的即時通訊訊息撤回方法流程圖,所述方法的執行主體可以為圖1中的第一即時通訊客戶端,如圖2所示,所述方法具體可以包括:   步驟210,第一即時通訊客戶端接收訊息撤回指令。   該訊息撤回指令可以是由使用者點擊第一即時通訊客戶端的會話記錄中的待撤回的即時通訊訊息所對應“撤回”選單選項觸發。舉例來說,假設第一即時通訊客戶端如圖3所示,圖3中,第一即時通訊客戶端包括兩部分:會話記錄部分和訊息編輯部分。以第一即時通訊客戶端的使用者為使用者A為例來說,會話記錄部分用於呈現使用者A向其它使用者(一個或多個)發送的即時通訊訊息,此外,還用於呈現其它使用者向使用者A發送的即時通訊訊息。訊息編輯部分用於根據使用者輸入的編輯指令,對使用者A向其它使用者發送的即時通訊訊息進行編輯。訊息編輯部分包括輸入框,使用者A通過該輸入框可以輸入即時通訊訊息。   圖3中,在使用者A長按會話記錄部分的即時通訊訊息X時,在其正上方彈出對應的快捷選單,該快捷選單中包括對即時通訊訊息進行“複製”、“轉發”、“收藏”、“撤回”以及“刪除”等選單選項。具體地,當點擊“撤回”選單選項時,即可觸發上述訊息撤回指令。   步驟220,根據訊息撤回指令,從第一即時通訊客戶端的會話記錄中確定待撤回的即時通訊訊息。   此處,具體可以是確定待撤回的即時通訊訊息及其標識資訊等。   如前述例子,當訊息撤回指令是由使用者A點擊即時通訊訊息X上方的快捷選單中的“撤回”選單項觸發時,可以確定待撤回的即時通訊訊息為:即時通訊訊息X及其標識資訊。   步驟230,向伺服端發送訊息撤回請求。   該訊息撤回請求用於指示伺服端從第二即時通訊客戶端中查找並刪除即時通訊訊息,第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   可以理解的是,本申請中的第二即時通訊客戶端的個數可以根據使用者A的聊天對象的個數來確定。舉例來說,假設使用者A通過第一即時通訊客戶端在包含了N(N為正整數)個聊天對象的群組中發送即時通訊訊息時,除第一即時通訊客戶端之外的其餘N-1個聊天對象對應的即時通訊客戶端均可以接收該即時通訊訊息。因此,第二即時通訊客戶端的個數即為N-1個。   步驟230中,訊息撤回請求可以包括待撤回的即時通訊訊息及其標識資訊,如,可以包括即時通訊訊息X及其標識資訊。伺服端在接收到訊息撤回請求之後,可以根據標識資訊,從資料庫中查找對應的持久化儲存記錄。該持久化儲存記錄可以包括即時通訊訊息的標識資訊、即時通訊訊息以及發送時間等資訊。查找到對應的持久化儲存記錄之後,將該持久化儲存記錄刪除。此處,刪除持久化儲存記錄可以包括:修改對應的即時通訊訊息的顯示狀態(如,將該即時通訊訊息的顯示狀態修改為不顯示狀態),及/或,添加相應的刪除標識(如,“撤回”或者“刪除”等標識)。可以理解的是,對於顯示狀態為不顯示狀態或者已添加刪除標識的即時通訊訊息,其在對應的即時通訊客戶端中不可見,或者添加有相應的刪除標識。   此外,還可以根據標識資訊,從離線訊息列表及/或同步資料庫(該同步資料庫可以位於其它伺服端)中,查找並刪除該即時通訊訊息。   伺服端在執行上述刪除操作之時、之前或者之後,可以向第二即時通訊客戶端發送訊息撤回指示。該訊息撤回指示可以包括待撤回的即時通訊訊息及其標識資訊。第二即時通訊客戶端在接收到訊息撤回指示之後,根據標識資訊,從對應的會話記錄中查找並刪除即時通訊訊息。此外,還可以根據標識資訊,從本地資料庫中查找並刪除對應的儲存記錄。該儲存記錄可以包括即時通訊訊息的標識資訊、即時通訊訊息以及接收時間等資訊。第二即時通訊客戶端在執行完成上述刪除操作之後,向伺服端返回用於表示刪除操作是否執行成功的操作結果訊息。   伺服端在接收到操作結果訊息之後,若判斷該操作結果訊息為用於表示刪除操作執行失敗的訊息,則向第一客戶端返回用於表示即時通訊訊息刪除失敗的響應結果訊息。第一客戶端在接收到該用於表示即時通訊訊息刪除失敗的響應結果訊息之後,不執行任何操作。   而當伺服端判斷該操作結果訊息為用於表示刪除操作執行成功的訊息時,還可以判斷其對持久化儲存記錄執行的刪除操作以及對離線訊息列表及/或同步資料庫中的即時通訊訊息執行的刪除操作是否成功。若失敗,則向第一客戶端返回用於表示即時通訊訊息刪除失敗的響應結果訊息。否則,向第一客戶端返回用於表示即時通訊訊息刪除成功的響應結果訊息。   可以理解的是,伺服端向第一即時通訊客戶端發送用於表示即時通訊訊息刪除成功的響應結果訊息的前提條件包括:a,對即時通訊訊息對應的持久化儲存記錄刪除成功;b,對離線訊息列表和同步資料庫中的即時通訊訊息刪除成功;c,從第二即時通訊客戶端接收到用於表示刪除操作執行成功的操作結果訊息。   當然,在實際應用中,若伺服端不存在離線訊息列表以及同步資料庫,則可以只滿足條件a和條件c。   步驟240,接收伺服端發送的用於表示即時通訊訊息刪除成功的響應結果訊息。   在一種實現方式中,該用於表示即時通訊訊息刪除成功的響應結果訊息可以包括:即時通訊訊息刪除成功的標識資訊、即時通訊訊息的標識資訊以及即時通訊訊息。   步驟250,根據響應結果訊息,從會話記錄中刪除即時通訊訊息,並在第一即時通訊客戶端的輸入框中呈現即時通訊訊息。   其中,步驟250具體可以包括:根據標識資訊,從對應的會話記錄中查找並刪除即時通訊訊息;從響應結果訊息中獲取即時通訊訊息;在第一即時通訊客戶端的輸入框中呈現獲取的即時通訊訊息。此外,第一即時通訊客戶端還可以根據標識資訊,從本地資料庫中查找並刪除即時通訊訊息的儲存記錄,該儲存記錄可以包括即時通訊訊息的標識資訊、即時通訊訊息以及接收時間等資訊。   需要說明的是,對上述在第一即時通訊客戶端的輸入框中呈現的即時通訊訊息,可以將該即時通訊訊息設置為選中狀態。以供使用者A進行編輯,如果要刪除直接按一下刪除鍵即可,需要進去編輯就手動定位游標。這大大提高了已撤回的即時通訊訊息的輸入效率。   以圖3為例來說,當對圖3中的即時通訊訊息X執行撤銷操作之後,圖3中訊息編輯部分的輸入框可以如圖4所示,即輸入框中呈現即時通訊訊息X,且即時通訊訊息X為選中狀態。圖4中,使用者A通過手動定位游標即可實現對即時通訊訊息X中的部分文字或者字符進行修改。之後,再把更正好的即時通訊訊息X發送出去,不用重新把整個即時通訊訊息X都重新輸入一遍。從而提升了使用者的體驗。   圖5為本申請另一實施例提供的即時通訊訊息撤回方法流程圖,所述方法的執行主體可以為圖1中的伺服端,如圖5所示,所述方法具體可以包括:   步驟510,接收第一即時通訊客戶端發送的訊息撤回請求。   該訊息撤回請求包括待撤回的即時通訊訊息。此外,還可以包括待撤回的即時通訊訊息的標識資訊。   此處,伺服端在接收第一即時通訊客戶端發送的訊息撤回請求之前,可以先接收使用者輸入的訊息撤回指令。該訊息撤回指令可以是由使用者點擊第一即時通訊客戶端的會話記錄中的待撤回的即時通訊訊息所對應“撤回”選單選項觸發。之後,根據訊息撤回指令,從對應的會話記錄中確定待撤回的即時通訊訊息。   步驟520,根據訊息撤回請求,從對應的儲存單元中查找並刪除即時通訊訊息。   伺服端在接收到訊息撤回請求之後,可以根據標識資訊,從資料庫中查找對應的持久化儲存記錄。該持久化儲存記錄可以包括即時通訊訊息的標識資訊、即時通訊訊息以及發送時間等資訊。查找到對應的持久化儲存記錄之後,將該持久化儲存記錄刪除。此外,還可以根據標識資訊,從離線訊息列表及/或同步資料庫(該同步資料庫可以位於其它伺服端)中,查找並刪除該即時通訊訊息。   步驟530,向第二即時通訊客戶端發送訊息撤回指示。   該訊息撤回指示用於指示第二即時通訊客戶端查找並刪除即時通訊訊息,此處的第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   伺服端在執行上述刪除操作之時、之前或者之後,可以向第二即時通訊客戶端發送訊息撤回指示。該訊息撤回指示可以包括待撤回的即時通訊訊息及其標識資訊。第二即時通訊客戶端在接收到訊息撤回指示之後,根據標識資訊,從對應的會話記錄中查找並刪除即時通訊訊息。此外,還可以根據標識資訊,從本地資料庫中查找並刪除對應的儲存記錄。該儲存記錄可以包括即時通訊訊息的標識資訊、即時通訊訊息以及接收時間等資訊。   步驟540,接收第二即時通訊客戶端返回的用於表示刪除操作是否執行成功的操作結果資訊。   第二即時通訊客戶端在執行完成上述刪除操作之後,向伺服端返回用於表示刪除操作是否執行成功的操作結果訊息。   步驟550,根據操作結果訊息,指示第一即時通訊客戶端從對應的會話記錄中刪除即時通訊訊息,並在對應的輸入框中呈現即時通訊訊息。   伺服端在接收到操作結果訊息之後,若判斷該操作結果訊息為用於表示刪除操作執行失敗的訊息,則向第一客戶端返回用於表示即時通訊訊息刪除失敗的響應結果訊息。第一客戶端在接收到該用於表示即時通訊訊息刪除失敗的響應結果訊息之後,不執行任何操作。   而當伺服端判斷該操作結果訊息為用於表示刪除操作執行成功的訊息時,還可以判斷其對持久化儲存記錄執行的刪除操作以及對離線訊息列表及/或同步資料庫中的即時通訊訊息執行的刪除操作是否成功。若失敗,則向第一客戶端返回用於表示即時通訊訊息刪除失敗的響應結果訊息。否則,向第一客戶端返回用於表示即時通訊訊息刪除成功的響應結果訊息。   在一種實現方式中,該用於表示即時通訊訊息刪除成功的響應結果訊息可以包括:即時通訊訊息刪除成功的標識資訊、即時通訊訊息的標識資訊以及即時通訊訊息。   伺服端在接收到用於表示即時通訊訊息刪除成功的響應結果訊息之後,根據標識資訊,從對應的會話記錄中查找並刪除即時通訊訊息;從響應結果訊息中獲取即時通訊訊息;在第一即時通訊客戶端的輸入框中呈現獲取的即時通訊訊息。此外,第一即時通訊客戶端還可以根據標識資訊,從本地資料庫中查找並刪除即時通訊訊息的儲存記錄,該儲存記錄可以包括即時通訊訊息的標識資訊、即時通訊訊息以及接收時間等資訊。   需要說明的是,對上述在第一即時通訊客戶端的輸入框中呈現的即時通訊訊息,可以將該即時通訊訊息設置為選中狀態。以供使用者A進行編輯,如果要刪除直接按一下刪除鍵即可,需要進去編輯就手動定位游標。這大大提高了已撤回的即時通訊訊息的輸入效率。   圖6本申請一種實施例提供的即時通訊訊息修改方法流程圖,所述方法的執行主體可以為圖1中的第一即時通訊客戶端,如圖6所示,所述方法具體可以包括:   步驟610,對選中的即時通訊訊息,接收對即時通訊訊息的訊息獲取指令。   在一種實現方式中,可以通過如下步驟來選中即時通訊訊息:接收訊息選擇指令,此處的訊息選擇指令可以由使用者長按待修改的即時通訊訊息觸發。根據訊息選擇指令,從第一即時通訊客戶端的會話記錄中選中相應的即時通訊訊息。   如圖3中,當使用者長按“即時通訊訊息X”時,該“即時通訊訊息X”即處於選中狀態。在該“即時通訊訊息X”處於選中狀態時,其正上方會彈出對應的快捷選單。在一種實現方式中,圖3中的快捷選單中還可以包括“將所選中訊息內容加入輸入框”的選單選項。在圖3的快捷選單中還包括“將所選中訊息內容加入輸入框”的選單選項時,上述訊息獲取指令可以由使用者點擊該選單選項觸發。   需要說明的是,對於上述“將所選中訊息內容加入輸入框”的選單選項,還可以為其設置相應的快捷操作按鍵,如“Ctrl+U”等。當該選單選項還設置有相應的快捷操作按鍵時,上述訊息獲取指令也可以由使用者按壓該快捷操作按鍵觸發,如,當使用者按壓“Ctrl+U”時,即可觸發上述訊息獲取指令。   當然,在實際應用中,上述“將所選中訊息內容加入輸入框”的選單選項還可以包括在另外的快捷選單中,該快捷選單可以是由使用者通過大於閾值的按壓壓力按壓選中的即時通訊訊息觸發。此外,該選單選項的名稱也可以命名為其它名稱,本申請對此不作限定。   步驟620,根據訊息獲取指令,在第一即時通訊客戶端的輸入框中呈現即時通訊訊息。   如前述例子中,當接收到對“即時通訊訊息X”的訊息獲取指令時,圖3所示的第一即時通訊客戶端可以如圖7所示。圖7中,輸入框中呈現了“即時通訊訊息X”。   步驟630,接收對輸入框中呈現的即時通訊訊息的訊息修改指令,根據訊息修改指令,對輸入框中呈現的即時通訊訊息進行修改。   圖7中,當使用者對輸入框中的“即時通訊訊息X”進行修改時,第一即時通訊客戶端就可以接收到訊息修改指令。之後根據接收的訊息修改指令,可以將“即時通訊訊息X”修改為“即時通訊訊息Y”。   可選地,在對第一即時通訊客戶端的輸入框中的即時通訊訊息修改之後,還可以包括如下步驟:   步驟A,接收修改訊息的發送指令。   該修改訊息的發送指令可以由使用者點擊“發送”按鈕觸發。   步驟B,根據發送指令,向伺服端發送訊息修改請求。   該訊息修改請求用於指示伺服端從第二即時通訊客戶端中查找並刪除即時通訊訊息,並向第二即時通訊客戶端發送修改後的即時通訊訊息,第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   此處的訊息修改請求可以包括修改前的即時通訊訊息及其標識資訊以及修改後的即時通訊訊息。伺服端在接收到訊息修改請求之後,從第二即時通訊客戶端中查找並刪除即時通訊訊息的過程可參見步驟230所述,在此不復贅述。需要說明的是,如步驟230所述,伺服端在接收到第二即時通訊客戶端發送的用於表示刪除操作執行成功的操作結果訊息之後,並且判斷其對持久化儲存記錄執行的刪除操作以及對離線訊息列表及/或同步資料庫中的即時通訊訊息執行的刪除操作成功之後,可以向第二即時通訊客戶端發送修改後的即時通訊訊息。從而第二即時通訊客戶端的會話記錄中會呈現修改後的即時通訊訊息。此外,已刪除的即時通訊訊息會被替換為第一通知訊息,該第一通知訊息可以為任一用於通知即時通訊訊息被刪除的資訊,如,其可以為“××撤回了一條訊息”。舉例來說,第二即時通訊客戶端可以如圖8b或者9b所示。   步驟C,接收伺服端發送的用於表示修改訊息發送成功的響應結果訊息。   伺服端在判斷已成功向第二即時通訊客戶端發送修改後的即時通訊訊息之後,可以向第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   步驟D,根據響應結果訊息,將會話記錄中的即時通訊訊息替換為第一通知訊息,並在會話記錄中呈現修改後的即時通訊訊息。   如前述例子中,在將圖3中的“即時通訊訊息X”修改為“即時通訊訊息Y”之後,圖3所示的第一即時通訊客戶端可以如圖8a所示。圖8a中,“即時通訊訊息X”被替換為“你撤回了一條訊息”,並且在“即時通訊訊息X”的下一位置呈現“即時通訊訊息Y”。   可選地,上述步驟D也可以替換為步驟E:根據響應結果訊息,將會話記錄中的即時通訊訊息替換為修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第一標識資訊。   如前述例子中,在將圖3中的“即時通訊訊息X”修改為“即時通訊訊息Y”之後,圖3所示的第一即時通訊客戶端可以如圖9a所示。圖9a中,“即時通訊訊息X”被替換為“即時通訊訊息Y”,且在“即時通訊訊息Y”的左側添加“已修改”的第一標識資訊。   需要說明的是,圖9a只是示例性說明,在實際應用中,上述第一標識資訊可以為任一用於表示即時通訊訊息被修改過的資訊,如,其可以不限於為文字資訊,還可以為特殊符號,如“@、#以及&”等。此外,第一標識資訊也可以呈現在其它位置,如,呈現在即時通訊訊息的上方、下方或右側等,本申請對此不作限定。   此外,在對即時通訊訊息修改之後,也可以不撤回該即時通訊訊息,而是在該即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息。可以理解的是,在不撤回即時通訊訊息的情況下,在待修改的即時通訊訊息可以為會話記錄中的任一即時通訊訊息,而不用限制為最近一條即時通訊訊息。其具體可以通過如下步驟來實現:   步驟a,接收修改訊息的發送指令。   步驟b,根據發送指令,向伺服端發送訊息修改請求。   該訊息修改請求用於指示伺服端向第二即時通訊客戶端發送修改後的即時通訊訊息,第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   此處的訊息修改請求可以包括修改前的即時通訊訊息及其標識資訊以及修改後的即時通訊訊息。伺服端在接收到訊息修改請求之後,向第二即時通訊客戶端發送訊息修改指示,該訊息修改指示可以包括修改前的即時通訊訊息及其標識資訊以及修改後的即時通訊訊息。第二即時通訊客戶端可以根據標識資訊,從會話記錄中查找修改前的即時通訊訊息,在該即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。該第二標識資訊可以為任一用於表示修改後的即時通訊訊息為修改的、替代的即時通訊訊息的資訊。舉例來說,第二即時通訊客戶端可以如圖10b所示。   步驟c,接收伺服端發送的用於表示修改訊息發送成功的響應結果訊息。   伺服端在判斷已成功向第二即時通訊客戶端發送修改後的即時通訊訊息之後,可以向第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   步驟d,根據響應結果訊息,在會話記錄中的即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。   如前述例子中,在將圖3中的“即時通訊訊息X”修改為“即時通訊訊息Y”之後,圖3所示的第一即時通訊客戶端可以如圖10a所示。圖10a中,“即時通訊訊息X”的下一位置呈現“即時通訊訊息Y”,且在“即時通訊訊息Y”的左側添加“已修改”的第二標識資訊。   需要說明的是,圖10a只是示例性說明,在實際應用中,上述第二標識資訊可以為任一用於表示修改後的即時通訊訊息為修改的、替代的即時通訊訊息的資訊,如,其可以不限於為文字資訊,還可以為特殊符號,如“@、#以及&”等。此外,第二標識資訊也可以呈現在其它位置,如,呈現在即時通訊訊息的上方、下方或右側等,本申請對此不作限定。   還需要說明的是,圖10a中,修改後的即時通訊訊息的呈現位置,也不限於為下一位置,還可以為其它位置,如,修改後的即時通訊訊息與下一位置的中間位置,本申請對此不作限定。   圖11為本申請另一種實施例提供的即時通訊訊息修改方法流程圖,所述方法的執行主體可以為圖1中的第二即時通訊客戶端,如圖11所示,所述方法具體可以包括:   步驟1110,接收伺服端發送的訊息修改指示。   該訊息修改指示可以包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息。   步驟1120,根據標識資訊,從第二即時通訊客戶端的會話記錄中查找修改前的即時通訊訊息。   如圖3中,可以根據標識資訊,查找到“即時通訊訊息X”。   步驟1130,將會話記錄中的修改前的即時通訊訊息替換為第一通知訊息,並在會話記錄中呈現修改後的即時通訊訊息;或者,   將會話記錄中的修改前的即時通訊訊息替換為修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第一標識資訊;或者,   在會話記錄中的修改前的即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。   在執行上述步驟1130之後,第二即時通訊客戶端可以分別如圖8b、圖9b以及圖10b所示。   圖12為本申請再一種實施例提供的即時通訊訊息修改方法流程圖,所述方法的執行主體可以為圖1中的伺服端,如圖12所示,所述方法具體可以包括:   步驟1210,接收第一即時通訊客戶端發送的訊息修改請求。   該訊息修改請求可以包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息。   步驟1220,根據標識資訊,從對應的儲存單元中查找修改前的即時通訊訊息,並修改修改前的即時通訊訊息的顯示狀態及/或添加相應的刪除標識。   修改修改前的即時通訊訊息的顯示狀態(如,將修改前的即時通訊訊息的顯示狀態修改為不顯示狀態),及/或,添加相應的刪除標識(如,“撤回”或者“刪除”等標識)。可以理解的是,對於顯示狀態為不顯示狀態或者已添加刪除標識的修改的即時通訊訊息,其在對應的即時通訊客戶端中不可見,或者添加有相應的刪除標識。   步驟1230,向第二即時通訊客戶端發送訊息修改指示。   第二即時通訊客戶端是指已接收修改前的即時通訊訊息的即時通訊客戶端。訊息修改指示用於指示第二即時通訊客戶端從會話記錄中查找修改前的即時通訊訊息,將修改前的即時通訊訊息替換為第一通知訊息,並在會話記錄中呈現修改後的即時通訊訊息;或者,   訊息修改指示用於指示第二即時通訊客戶端從會話記錄中查找修改前的即時通訊訊息,將修改前的即時通訊訊息替換為修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第一標識資訊。   步驟1240,向第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   圖13本申請又一種實施例提供的即時通訊訊息修改方法流程圖,所述方法的執行主體可以為圖1中的伺服端,如圖13所示,所述方法具體可以包括:   步驟1310,接收第一即時通訊客戶端發送的訊息修改請求。   該訊息修改請求可以包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息。   步驟1320,向第二即時通訊客戶端發送訊息修改指示。   該第二即時通訊客戶端是指已接收修改前的即時通訊訊息的即時通訊客戶端。該訊息修改指示用於指示第二即時通訊客戶端從會話記錄中查找修改前的即時通訊訊息,在修改前的即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。   步驟1330,向第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   與上述即時通訊訊息撤回方法對應地,本申請實施例還提供的一種即時通訊客戶端,如圖14所示,該即時通訊客戶端包括:   接收單元1401,用於接收訊息撤回指令。   確定單元1402,用於根據接收單元1401接收的訊息撤回指令,從即時通訊客戶端的會話記錄中確定待撤回的即時通訊訊息。   發送單元1403,用於向伺服端發送訊息撤回請求,該訊息撤回請求用於指示伺服端從第二即時通訊客戶端中查找並刪除即時通訊訊息,第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   接收單元1401,還用於接收伺服端發送的用於表示即時通訊訊息刪除成功的響應結果訊息。   處理單元1404,用於根據接收單元1401接收的響應結果訊息,從會話記錄中刪除即時通訊訊息,並在即時通訊客戶端的輸入框中呈現即時通訊訊息。   可選地,該即時通訊客戶端還可以包括:   設置單元1405,用於將即時通訊客戶端的輸入框中呈現的即時通訊訊息設置為選中狀態。   可選地,響應結果訊息可以包括即時通訊訊息的標識資訊以及即時通訊訊息。   處理單元1404具體可以用於:   根據標識資訊,從會話記錄中查找並刪除即時通訊訊息。   從響應結果訊息中獲取即時通訊訊息。   在即時通訊客戶端的輸入框中呈現獲取的即時通訊訊息。   可選地,處理單元1404,還可以用於根據響應結果訊息,從本地資料庫中查找並刪除即時通訊訊息。   本申請實施例裝置的各功能模組的功能,可以通過上述方法實施例的各步驟來實現,因此,本申請提供的裝置的具體工作過程,在此不復贅述。   本申請提供的即時通訊客戶端,接收單元1401接收訊息撤回指令。確定單元1402根據訊息撤回指令,從即時通訊客戶端的會話記錄中確定待撤回的即時通訊訊息。發送單元1403向伺服端發送訊息撤回請求。接收單元1401接收伺服端發送的用於表示即時通訊訊息刪除成功的響應結果訊息。處理單元1404根據響應結果訊息,從會話記錄中刪除即時通訊訊息,並在即時通訊客戶端的輸入框中呈現即時通訊訊息。由此,可以提高已撤回的即時通訊訊息的輸入效率。   與上述即時通訊訊息撤回方法對應地,本申請實施例還提供的一種伺服端,如圖15所示,該伺服端包括:   接收單元1501,用於接收第一即時通訊客戶端發送的訊息撤回請求,該訊息撤回請求包括待撤回的即時通訊訊息。   處理單元1502,用於根據接收單元1501接收的訊息撤回請求,從對應的儲存單元中查找並刪除即時通訊訊息。   發送單元1503,用於向第二即時通訊客戶端發送訊息撤回指示,該訊息撤回指示用於指示第二即時通訊客戶端查找並刪除即時通訊訊息,第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   接收單元1501,還用於接收第二即時通訊客戶端返回的用於表示刪除操作執行成功的操作結果資訊。   指示單元1504,用於根據接收單元1501接收的操作結果資訊,指示第一即時通訊客戶端從對應的會話記錄中刪除所述即時通訊訊息,並在對應的輸入框中呈現即時通訊訊息。   本申請實施例裝置的各功能模組的功能,可以通過上述方法實施例的各步驟來實現,因此,本申請提供的裝置的具體工作過程,在此不復贅述。   本申請提供的伺服端,接收單元1501接收第一即時通訊客戶端發送的訊息撤回請求。處理單元1502根據訊息撤回請求,從對應的儲存單元中查找並刪除即時通訊訊息。發送單元1503向第二即時通訊客戶端發送訊息撤回指示。接收單元1501接收第二即時通訊客戶端返回的用於表示刪除操作執行成功的操作結果資訊。指示單元1504根據操作結果資訊,指示第一即時通訊客戶端從對應的會話記錄中刪除所述即時通訊訊息,並在對應的輸入框中呈現即時通訊訊息。由此,可以提高已撤回的即時通訊訊息的輸入效率。   與上述即時通訊訊息修改方法對應地,本申請實施例還提供的一種即時通訊客戶端,如圖16所示,該即時通訊客戶端包括:   接收單元1601,用於對選中的即時通訊訊息,接收對即時通訊訊息的訊息獲取指令。   其中,訊息獲取指令可以由使用者點擊與即時通訊訊息對應的快捷選單中的選單選項觸發;或者,訊息獲取指令也可以由使用者按壓快捷操作按鍵觸發。   處理單元1602,用於根據接收單元1601接收的訊息獲取指令,在即時通訊客戶端的輸入框中呈現即時通訊訊息。   接收單元1601,還用於接收對輸入框中呈現的即時通訊訊息的訊息修改指令。   修改單元1603,用於根據接收單元1601接收的訊息修改指令,對輸入框中呈現的即時通訊訊息進行修改。   可選地,該即時通訊客戶端還可以包括:選擇單元1604;   接收單元1601,還用於接收訊息選擇指令;   選擇單元1604,用於根據接收單元1601接收的訊息選擇指令,從即時通訊客戶端的會話記錄中選中即時通訊訊息。   可選地,該即時通訊客戶端還可以包括:發送單元1605。   接收單元1601,還用於接收修改訊息的發送指令。   發送單元1605,用於根據接收單元1601接收的發送指令,向伺服端發送訊息修改請求,訊息修改請求用於指示伺服端從第二即時通訊客戶端中查找並刪除即時通訊訊息,並向第二即時通訊客戶端發送修改後的即時通訊訊息,第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   接收單元1601,還用於接收伺服端發送的用於表示修改訊息發送成功的響應結果訊息。   處理單元1602,還用於根據接收單元1601接收的響應結果訊息,將會話記錄中的即時通訊訊息替換為第一通知訊息,並在會話記錄中呈現修改後的即時通訊訊息。   可選地,該即時通訊客戶端還可以包括:發送單元1605。   接收單元1601,還用於接收修改訊息的發送指令。   發送單元1605,用於根據接收單元1601接收的發送指令,向伺服端發送訊息修改請求,訊息修改請求用於指示伺服端從第二即時通訊客戶端中查找並刪除即時通訊訊息,並向第二即時通訊客戶端發送修改後的即時通訊訊息,第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   接收單元1601,還用於接收伺服端發送的用於表示修改訊息發送成功的響應結果訊息。   處理單元1602,還用於根據接收單元1601接收的響應結果訊息,將會話記錄中的即時通訊訊息替換為修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第一標識資訊。   可選地,該即時通訊客戶端還可以包括:發送單元1605。   接收單元1601,還用於接收修改訊息的發送指令。   發送單元1605,用於根據接收單元1601接收的發送指令,向伺服端發送訊息修改請求,訊息修改請求用於指示伺服端向第二即時通訊客戶端發送修改後的即時通訊訊息,第二即時通訊客戶端是指已接收即時通訊訊息的即時通訊客戶端。   接收單元1601,還用於接收伺服端發送的用於表示修改訊息發送成功的響應結果訊息。   處理單元1603,還用於根據接收單元1601接收的響應結果訊息,在會話記錄中的即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。   本申請實施例裝置的各功能模組的功能,可以通過上述方法實施例的各步驟來實現,因此,本申請提供的裝置的具體工作過程,在此不復贅述。   本申請提供的即時通訊客戶端,對選中的即時通訊訊息,接收單元1601接收對即時通訊訊息的訊息獲取指令。處理單元1602根據訊息獲取指令,在即時通訊客戶端的輸入框中呈現即時通訊訊息。接收單元1601接收對輸入框中呈現的即時通訊訊息的訊息修改指令。修改單元1603根據訊息修改指令,對輸入框中呈現的即時通訊訊息進行修改。由此,可以提高對即時通訊訊息的修改效率。   與上述即時通訊訊息修改方法對應地,本申請實施例還提供的一種即時通訊客戶端,如圖17所示,該即時通訊客戶端包括:   接收單元1701,用於接收伺服端發送的訊息修改指示,該訊息修改指示包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息。   查找單元1702,用於根據接收單元1701接收的標識資訊,從即時通訊客戶端的會話記錄中查找修改前的即時通訊訊息。   處理單元1703,用於將會話記錄中的修改前的即時通訊訊息替換為第一通知訊息,並在會話記錄中呈現修改後的即時通訊訊息;或者,   將會話記錄中的修改前的即時通訊訊息替換為修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第一標識資訊;或者,   在會話記錄中的修改前的即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。   本申請實施例裝置的各功能模組的功能,可以通過上述方法實施例的各步驟來實現,因此,本申請提供的裝置的具體工作過程,在此不復贅述。   與上述即時通訊訊息修改方法對應地,本申請實施例還提供的一種伺服端,如圖18所示,該伺服端包括:   接收單元1801,用於接收第一即時通訊客戶端發送的訊息修改請求,該訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息。   處理單元1802,用於根據接收單元1801接收的標識資訊,從對應的儲存單元中查找修改前的即時通訊訊息,並修改修改前的即時通訊訊息的顯示狀態及/或添加相應的刪除標識。   發送單元1803,用於向第二即時通訊客戶端發送訊息修改指示,第二即時通訊客戶端是指已接收修改前的即時通訊訊息的即時通訊客戶端,   訊息修改指示用於指示第二即時通訊客戶端從會話記錄中查找修改前的即時通訊訊息,將修改前的即時通訊訊息替換為第一通知訊息,並在會話記錄中呈現修改後的即時通訊訊息;或者,   訊息修改指示用於指示第二即時通訊客戶端從會話記錄中查找修改前的即時通訊訊息,將修改前的即時通訊訊息替換為修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第一標識資訊;   發送單元1803,還用於向第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   本申請實施例裝置的各功能模組的功能,可以通過上述方法實施例的各步驟來實現,因此,本申請提供的裝置的具體工作過程,在此不復贅述。   與上述即時通訊訊息修改方法對應地,本申請實施例還提供的一種伺服端,如圖19所示,該伺服端包括:   接收單元1901,用於接收第一即時通訊客戶端發送的訊息修改請求,該訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息。   發送單元1902,用於向第二即時通訊客戶端發送訊息修改指示,第二即時通訊客戶端是指已接收修改前的即時通訊訊息的即時通訊客戶端,   訊息修改指示用於指示第二即時通訊客戶端從會話記錄中查找修改前的即時通訊訊息,在修改前的即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。   發送單元1902,還用於向第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。   本申請實施例裝置的各功能模組的功能,可以通過上述方法實施例的各步驟來實現,因此,本申請提供的裝置的具體工作過程,在此不復贅述。   所屬技術領域中具有通常知識者應該可以意識到,在上述一個或多個示例中,本發明所描述的功能可以用硬體、軟體、韌體或它們的任意組合來實現。當使用軟體實現時,可以將這些功能儲存在電腦可讀媒介中或者作為電腦可讀媒介上的一個或多個指令或代碼進行傳輸。   以上所述的具體實施方式,對本發明的目的、技術方案和有益效果進行了進一步詳細說明,所應理解的是,以上所述僅為本發明的具體實施方式而已,並不用於限定本發明的保護範圍,凡在本發明的技術方案的基礎之上,所做的任何修改、等同替換、改進等,均應包括在本發明的保護範圍之內。Below combined with the schema, Embodiments of the present application are described.  The instant messaging message revocation method provided by the embodiment of the present application is applied to the scenario shown in FIG. 1 . In Figure 1, The first instant messaging client can receive the message withdrawal instruction input by the user. And according to the message withdrawal instruction, the instant messaging message to be withdrawn is determined. after that, The first instant messaging client sends a message revocation request to the server. After the server receives the message revocation request, The second instant messaging client can be instructed to find and delete the instant messaging message to be revoked. In addition, The server can also find the corresponding persistent storage record from the database. The persistent storage record may include identification information of the instant messaging message, Instant messaging messages and information such as the time of delivery. After finding the corresponding persistent storage record, Delete the persistent storage record. Furthermore, You can also go from the offline message list and/or the sync database (which can be located on other servers). Find and delete the instant messaging message.   of course, In practical applications, When the user of the first instant messaging client has more than one chat object, Then the number of second instant messaging clients is also multiple. Understandably, When the number of second instant messaging clients is multiple, The server instructs multiple second instant messaging clients to find and delete instant messaging messages.   It should be noted, The instant messaging client in Figure 1 can refer to the following instant messaging software client: Ali Wangwang, Tencent QQ, WeChat, Coming, Credulity, Wang Xin and so on. In addition, The instant messaging message to be withdrawn in this application refers to the instant messaging message that the first instant messaging client has successfully sent.  FIG. 2 is a flowchart of an instant messaging message revocation method according to an embodiment of the present application. The execution body of the method may be the first instant messaging client in FIG. 1 . as shown in picture 2, The method may specifically include:  Step 210, The first instant messaging client receives the message revocation instruction.  The message revocation instruction may be triggered by the user clicking on the "Withdraw" menu option corresponding to the instant messaging message to be revoked in the session record of the first instant messaging client. for example, Assume that the first instant messaging client is shown in Figure 3. In Figure 3, The first instant messaging client consists of two parts: Session record section and message editing section. Taking the user of the first instant messaging client as user A as an example, The session record portion is used to present an instant messaging message sent by user A to other users (one or more). In addition, It is also used to present instant messaging messages sent by other users to User A. The message editing section is used according to the editing instructions input by the user. Edit the instant messaging message sent by user A to other users. The message editing section includes an input box. User A can input an instant messaging message through the input box.  In Figure 3, When user A presses the instant messaging message X of the session record portion, Pop up the corresponding shortcut menu directly above it. The shortcut menu includes "copying" instant messaging messages, "forward", "Favorites", Menu options such as "Withdrawal" and "Delete". specifically, When clicking the "Retract" menu option, The above message recall instruction can be triggered.  Step 220, According to the message withdrawal instruction, The instant messaging message to be revoked is determined from the session record of the first instant messaging client.  Here, Specifically, it may be determining an instant messaging message to be withdrawn and its identification information.  As in the previous example, When the message withdrawal command is triggered by user A clicking the "Retract" menu item in the shortcut menu above the instant messaging message X, It can be determined that the instant messaging message to be revoked is: Instant messaging message X and its identification information.  Step 230, Send a message recall request to the server.  The message revocation request is used to instruct the server to find and delete the instant messaging message from the second instant messaging client. The second instant messaging client refers to an instant messaging client that has received an instant messaging message.  Understandably, The number of second instant messaging clients in the present application may be determined according to the number of chat objects of user A. for example, Suppose user A sends an instant messaging message through a first instant messaging client in a group that contains N (N is a positive integer) chat objects. The instant messaging client corresponding to the remaining N-1 chat objects except the first instant messaging client can receive the instant messaging message. therefore, The number of second instant messaging clients is N-1.  In step 230, The message revocation request may include an instant message to be revoked and its identification information. Such as, It can include instant messaging message X and its identification information. After the server receives the message revocation request, Can be based on identification information, Find the corresponding persistent storage record from the database. The persistent storage record may include identification information of the instant messaging message, Instant messaging messages and information such as the time of delivery. After finding the corresponding persistent storage record, Delete the persistent storage record. Here, Deleting persistent storage records can include: Modify the display status of the corresponding instant messaging message (eg, Modify the display status of the instant messaging message to not display status), And / or, Add the corresponding delete ID (for example, "Withdraw" or "delete" and other identifiers). Understandably, For instant messaging messages whose display status is not displayed or a delete ID has been added, It is not visible in the corresponding instant messaging client. Or add a corresponding delete ID.  In addition, Can also be based on identification information, From the offline message list and/or the synchronization database (which can be located on other servers), Find and delete the instant messaging message.  When the server performs the above deletion operation, Before or after, A message revocation indication can be sent to the second instant messaging client. The message revocation indication may include an instant message to be revoked and its identification information. After the second instant messaging client receives the message withdrawal indication, According to the identification information, Find and delete instant messaging messages from the corresponding session record. In addition, Can also be based on identification information, Find and delete the corresponding stored record from the local database. The storage record may include identification information of the instant messaging message, Instant messaging and reception time. After the second instant messaging client performs the above deletion operation, An operation result message indicating whether the deletion operation is successful is returned to the server.  After the server receives the operation result message, If it is determined that the operation result message is a message indicating that the deletion operation failed to be performed, Then, a response result message indicating that the instant messaging message deletion failed is returned to the first client. After receiving the response result message indicating that the instant messaging message deletion failed, the first client Do nothing.  When the server determines that the operation result message is a message indicating that the deletion operation is successful, It is also possible to determine whether the deletion operation performed on the persistent storage record and the deletion operation on the offline message list and/or the instant message in the synchronization database are successful. If it fails, Then, a response result message indicating that the instant messaging message deletion failed is returned to the first client. otherwise, A response result message indicating that the instant messaging message is successfully deleted is returned to the first client.  Understandably, The preconditions for the server to send a response result message indicating that the instant messaging message is successfully deleted to the first instant messaging client include: a, The persistent storage record corresponding to the instant messaging message is deleted successfully; b, The deletion of the instant messaging message in the offline message list and the synchronization database is successful; c, An operation result message indicating that the deletion operation is successful is received from the second instant messaging client.   of course, In practical applications, If the server does not have an offline message list and a synchronization database, Then only condition a and condition c can be satisfied.  Step 240, Receiving a response result message sent by the server for indicating that the instant messaging message is successfully deleted.  In one implementation, The response result message used to indicate that the instant messaging message is successfully deleted may include: Instant messaging message deletion successful identification information, Identification information of instant messaging messages and instant messaging messages.  Step 250, According to the response result message, Remove instant messaging messages from your session history. And presenting an instant messaging message in the input box of the first instant messaging client.   among them, Step 250 specifically includes: According to the identification information, Find and delete instant messaging messages from the corresponding session records; Obtain an instant messaging message from the response result message; The obtained instant messaging message is presented in the input box of the first instant messaging client. In addition, The first instant messaging client can also be based on the identification information. Find and delete the storage records of instant messaging messages from your local database. The storage record may include identification information of the instant messaging message, Instant messaging and reception time.   It should be noted, For the above instant messaging message presented in the input box of the first instant messaging client, The instant messaging message can be set to the selected state. For user A to edit, If you want to delete, just click the delete button. You need to go in and edit to manually position the cursor. This greatly improves the input efficiency of the recalled instant messaging messages.  Take Figure 3 as an example. After performing the undo operation on the instant messaging message X in FIG. 3, The input box of the message editing part in Figure 3 can be as shown in Figure 4. That is, the instant messaging message X is presented in the input box. And the instant messaging message X is selected. In Figure 4, User A can modify part of the text or characters in the instant messaging message X by manually positioning the cursor. after that, Send the corrected instant messaging message X again. There is no need to re-enter the entire instant messaging message X again. Thereby improving the user experience.  FIG. 5 is a flowchart of an instant messaging message revocation method according to another embodiment of the present application. The execution body of the method may be the server end in FIG. As shown in Figure 5, The method may specifically include:  Step 510, Receiving a message revocation request sent by the first instant messaging client.  The message withdrawal request includes an instant message to be revoked. In addition, It may also include identification information of the instant messaging message to be revoked.  Here, Before the server receives the message revocation request sent by the first instant messaging client, The message withdrawal instruction input by the user can be received first. The message revocation instruction may be triggered by the user clicking on the "Withdraw" menu option corresponding to the instant messaging message to be revoked in the session record of the first instant messaging client. after that, According to the message withdrawal instruction, The instant messaging message to be revoked is determined from the corresponding session record.  Step 520, According to the message withdrawal request, Find and delete instant messaging messages from the corresponding storage unit.  After the server receives the message revocation request, Can be based on identification information, Find the corresponding persistent storage record from the database. The persistent storage record may include identification information of the instant messaging message, Instant messaging messages and information such as the time of delivery. After finding the corresponding persistent storage record, Delete the persistent storage record. In addition, Can also be based on identification information, From the offline message list and/or the synchronization database (which can be located on other servers), Find and delete the instant messaging message.  Step 530, Send a message revocation indication to the second instant messaging client.  The message revocation indication is used to instruct the second instant messaging client to find and delete the instant messaging message. The second instant messaging client here refers to an instant messaging client that has received instant messaging messages.  When the server performs the above deletion operation, Before or after, A message revocation indication can be sent to the second instant messaging client. The message revocation indication may include an instant message to be revoked and its identification information. After the second instant messaging client receives the message withdrawal indication, According to the identification information, Find and delete instant messaging messages from the corresponding session record. In addition, Can also be based on identification information, Find and delete the corresponding stored record from the local database. The storage record may include identification information of the instant messaging message, Instant messaging and reception time.  Step 540, Receiving operation result information returned by the second instant messaging client to indicate whether the deletion operation is successful.  After the second instant messaging client performs the above deletion operation, An operation result message indicating whether the deletion operation is successful is returned to the server.  Step 550, According to the operation result message, Instructing the first instant messaging client to delete the instant messaging message from the corresponding session record, And present an instant messaging message in the corresponding input box.  After the server receives the operation result message, If it is determined that the operation result message is a message indicating that the deletion operation failed to be performed, Then, a response result message indicating that the instant messaging message deletion failed is returned to the first client. After receiving the response result message indicating that the instant messaging message deletion failed, the first client Do nothing.  When the server determines that the operation result message is a message indicating that the deletion operation is successful, It is also possible to determine whether the deletion operation performed on the persistent storage record and the deletion operation on the offline message list and/or the instant message in the synchronization database are successful. If it fails, Then, a response result message indicating that the instant messaging message deletion failed is returned to the first client. otherwise, A response result message indicating that the instant messaging message is successfully deleted is returned to the first client.  In one implementation, The response result message used to indicate that the instant messaging message is successfully deleted may include: Instant messaging message deletion successful identification information, Identification information of instant messaging messages and instant messaging messages.  After receiving the response result message indicating that the instant messaging message is successfully deleted, the server receives the response message. According to the identification information, Find and delete instant messaging messages from the corresponding session records; Obtain an instant messaging message from the response result message; The obtained instant messaging message is presented in the input box of the first instant messaging client. In addition, The first instant messaging client can also be based on the identification information. Find and delete the storage records of instant messaging messages from your local database. The storage record may include identification information of the instant messaging message, Instant messaging and reception time.   It should be noted, For the above instant messaging message presented in the input box of the first instant messaging client, The instant messaging message can be set to the selected state. For user A to edit, If you want to delete, just click the delete button. You need to go in and edit to manually position the cursor. This greatly improves the input efficiency of the recalled instant messaging messages.  FIG. 6 is a flowchart of a method for modifying an instant messaging message according to an embodiment of the present application, The execution body of the method may be the first instant messaging client in FIG. 1 . As shown in Figure 6, The method may specifically include:  Step 610, For selected instant messaging messages, Receive a message acquisition command for an instant messaging message.  In one implementation, You can select an instant messaging message by following these steps: Receive a message selection command, The message selection command here can be triggered by the user long pressing the instant messaging message to be modified. According to the message selection instruction, Select the corresponding instant messaging message from the session record of the first instant messaging client.  As shown in Figure 3, When the user presses "IM Message X", The "Instant Messaging X" is selected. When the "instant messaging message X" is selected, The corresponding shortcut menu will pop up directly above it. In one implementation, The shortcut menu in Figure 3 can also include a menu option to "Add the selected message content to the input box." In the shortcut menu of Figure 3, when the menu option "Add the selected message content to the input box" is also included, The above message acquisition instruction can be triggered by the user clicking the menu option.   It should be noted, For the menu option "Add the selected message content to the input box" above, You can also set the corresponding shortcut button for it. Such as "Ctrl+U" and so on. When the menu option is also set with the corresponding shortcut button, The above message acquisition instruction may also be triggered by the user pressing the shortcut operation button. Such as, When the user presses "Ctrl+U", The above message acquisition instruction can be triggered.   of course, In practical applications, The above menu options for "Adding selected message content to the input box" can also be included in another shortcut menu. The shortcut menu may be triggered by the user pressing a selected instant messaging message with a pressing pressure greater than a threshold. In addition, The name of this menu option can also be named as another name. This application does not limit this.  Step 620, According to the message acquisition instruction, The instant messaging message is presented in the input box of the first instant messaging client.  As in the previous example, When receiving a message acquisition instruction for "instant messaging message X", The first instant messaging client shown in Figure 3 can be as shown in Figure 7. In Figure 7, The instant messaging message X is presented in the input box.  Step 630, Receiving a message modification instruction for an instant messaging message presented in the input box, According to the message modification instruction, Modify the instant messaging message presented in the input box.  In Figure 7, When the user modifies the "instant messaging message X" in the input box, The first instant messaging client can receive the message modification command. Then modify the instruction according to the received message, You can change "IM Message X" to "Immediate Message Y".  Optionally, After modifying the instant messaging message in the input box of the first instant messaging client, It can also include the following steps:  Step A, Receive the send command to modify the message.  The sending instruction of the modification message can be triggered by the user clicking the "send" button.  Step B, According to the sending instruction, Send a message modification request to the server.  The message modification request is used to instruct the server to find and delete the instant messaging message from the second instant messaging client. And sending the modified instant messaging message to the second instant messaging client. The second instant messaging client refers to an instant messaging client that has received an instant messaging message.  The message modification request here may include the instant messaging message and its identification information before modification and the modified instant messaging message. After the server receives the message modification request, The process of finding and deleting an instant messaging message from the second instant messaging client can be as described in step 230. I will not repeat them here. It should be noted, As described in step 230, After receiving the operation result message sent by the second instant messaging client indicating that the deletion operation is successful, the server receives the operation result message. And after determining that the deletion operation performed on the persistent storage record and the deletion operation on the offline message list and/or the instant message in the synchronization database are successful, The modified instant messaging message can be sent to the second instant messaging client. Therefore, the modified instant messaging message is presented in the session record of the second instant messaging client. In addition, The deleted instant message will be replaced with the first notification message. The first notification message may be any information for notifying that the instant messaging message is deleted. Such as, It can be "X× withdrawn a message." for example, The second instant messaging client can be as shown in Figure 8b or 9b.  Step C, The response result message sent by the server for indicating that the modification message is successfully sent is received.  After the server determines that the modified instant messaging message has been successfully sent to the second instant messaging client, A response result message indicating that the modification message is successfully sent may be sent to the first instant messaging client.  Step D, According to the response result message, Replace the instant messaging message in the session record with the first notification message. And present the modified instant messaging message in the session record.  As in the previous example, After modifying "Immediate Message X" in Figure 3 to "Immediate Message Y", The first instant messaging client shown in Figure 3 can be as shown in Figure 8a. In Figure 8a, "IM Message X" was replaced with "You have withdrawn a message". And the "instant messaging message Y" is presented at the next position of the "instant messaging message X".  Optionally, Step D above can also be replaced by step E: According to the response result message, Replace the instant messaging message in the session record with the modified instant messaging message. And adding the first identification information to the modified instant messaging message.  As in the previous example, After modifying "Immediate Message X" in Figure 3 to "Immediate Message Y", The first instant messaging client shown in Figure 3 can be as shown in Figure 9a. In Figure 9a, "Instant Messaging X" is replaced with "Instant Messaging Y". And adding the "modified" first identification information to the left of "instant messaging message Y".   It should be noted, Figure 9a is merely an illustrative illustration, In practical applications, The first identification information may be any information used to indicate that the instant messaging message has been modified. Such as, It can be not limited to text information. Can also be a special symbol, Such as"@, #和&"etc. In addition, The first identification information can also be presented in other locations. Such as, Presented above the instant messaging message, Below or to the right, etc. This application does not limit this.  In addition, After modifying the instant messaging message, You can also not withdraw the instant messaging message. Instead, the modified instant messaging message is presented adjacent to the instant messaging message. Understandably, Without withdrawing the instant messaging message, The instant messaging message to be modified can be any instant messaging message in the session record. Without being limited to the most recent instant messaging message. The specifics can be achieved by the following steps:  Step a, Receive the send command to modify the message.  Step b, According to the sending instruction, Send a message modification request to the server.  The message modification request is used to instruct the server to send the modified instant messaging message to the second instant messaging client. The second instant messaging client refers to an instant messaging client that has received an instant messaging message.  The message modification request here may include the instant messaging message and its identification information before modification and the modified instant messaging message. After the server receives the message modification request, Send a message modification instruction to the second instant messaging client, The message modification instruction may include the instant messaging message and its identification information before the modification and the modified instant messaging message. The second instant messaging client can be based on the identification information. Find the instant messaging message before the modification from the session record. Presenting the modified instant messaging message in the adjacent location of the instant messaging message, And adding a second identification information to the modified instant messaging message. The second identification information may be any one for indicating that the modified instant messaging message is modified. Alternative news for instant messaging messages. for example, The second instant messaging client can be as shown in Figure 10b.  Step c, The response result message sent by the server for indicating that the modification message is successfully sent is received.  After the server determines that the modified instant messaging message has been successfully sent to the second instant messaging client, A response result message indicating that the modification message is successfully sent may be sent to the first instant messaging client.  Step d, According to the response result message, Presenting the modified instant messaging message in the adjacent location of the instant messaging message in the session record. And adding a second identification information to the modified instant messaging message.  As in the previous example, After modifying "Immediate Message X" in Figure 3 to "Immediate Message Y", The first instant messaging client shown in Figure 3 can be as shown in Figure 10a. In Figure 10a, The next location of "instant messaging message X" presents "instant messaging message Y". And adding "modified" second identification information on the left side of "IM message Y".   It should be noted, Figure 10a is merely an illustrative illustration, In practical applications, The second identification information may be any one for indicating that the modified instant messaging message is modified. Alternative newsletter information, Such as, It can be not limited to text information. Can also be a special symbol, Such as"@, #和&"etc. In addition, The second identification information can also be presented in other locations. Such as, Presented above the instant messaging message, Below or to the right, etc. This application does not limit this.  It should also be noted that In Figure 10a, The location of the modified instant messaging message, Not limited to the next position, Can also be other locations, Such as, The modified instant messaging message and the middle position of the next location, This application does not limit this.  FIG. 11 is a flowchart of a method for modifying an instant messaging message according to another embodiment of the present application. The execution body of the method may be the second instant messaging client in FIG. As shown in Figure 11, The method may specifically include:  Step 1110, Receive the message modification indication sent by the server.  The message modification instruction may include identification information of the instant messaging message before the modification and the modified instant messaging message.  Step 1120, According to the identification information, Find the instant messaging message before the modification from the session record of the second instant messaging client.  As shown in Figure 3, Can be based on identification information, Find "IM Message X".  Step 1130, Replace the pre-edited instant messaging message in the session record with the first notification message. And presenting the modified instant messaging message in the session record; or,  Replace the pre-edited instant messaging message in the session record with the modified instant messaging message. And adding first identification information to the modified instant messaging message; or,  Presenting the modified instant messaging message in the adjacent location of the instant messaging message in the session record. And adding a second identification information to the modified instant messaging message.  After performing step 1130 above, The second instant messaging client can be as shown in Figure 8b, respectively. Figure 9b and Figure 10b.  FIG. 12 is a flowchart of a method for modifying an instant messaging message according to another embodiment of the present application, The execution body of the method may be the server end in FIG. As shown in Figure 12, The method may specifically include:  Step 1210, Receiving a message modification request sent by the first instant messaging client.  The message modification request may include identification information of the instant messaging message before the modification and the modified instant messaging message.  Step 1220, According to the identification information, Find the instant messaging message before the modification from the corresponding storage unit. And modify the display status of the instant messaging message before the modification and / or add the corresponding deletion identifier.  Modify the display status of the instant messaging message before the modification (for example, Modify the display status of the instant messaging message before the modification to the non-display state), And / or, Add the corresponding delete ID (for example, "Withdraw" or "delete" and other identifiers). Understandably, For modified instant messaging messages whose status is not displayed or the deletion ID has been added, It is not visible in the corresponding instant messaging client. Or add a corresponding delete ID.  Step 1230, Send a message modification indication to the second instant messaging client.  The second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification. The message modification indication is used to instruct the second instant messaging client to find the instant messaging message before the modification from the session record. Replace the instant messaging message before the modification with the first notification message. And presenting the modified instant messaging message in the session record; or,  The message modification indication is used to instruct the second instant messaging client to find the instant messaging message before the modification from the session record. Replace the modified instant messaging message with the modified instant messaging message. And adding the first identification information to the modified instant messaging message.  Step 1240, Sending a response result message indicating that the modification message is successfully sent to the first instant messaging client.  FIG. 13 is a flowchart of a method for modifying an instant messaging message according to another embodiment of the present application, The execution body of the method may be the server end in FIG. As shown in Figure 13, The method may specifically include:  Step 1310, Receiving a message modification request sent by the first instant messaging client.  The message modification request may include identification information of the instant messaging message before the modification and the modified instant messaging message.  Step 1320, Send a message modification indication to the second instant messaging client.  The second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification. The message modification indication is used to instruct the second instant messaging client to find the instant messaging message before the modification from the session record. Presenting the modified instant messaging message in the adjacent location of the instant messaging message before the modification. And adding a second identification information to the modified instant messaging message.  Step 1330, Sending a response result message indicating that the modification message is successfully sent to the first instant messaging client.  Corresponding to the above instant messaging message withdrawal method, An instant messaging client is also provided in the embodiment of the present application, As shown in Figure 14, The instant messaging client includes:  Receiving unit 1401, Used to receive message recall instructions.  Determining unit 1402, Used to withdraw an instruction according to a message received by the receiving unit 1401, The instant messaging message to be revoked is determined from the session record of the instant messaging client.  Transmitting unit 1403, Used to send a message revocation request to the server. The message revocation request is used to instruct the server to find and delete the instant messaging message from the second instant messaging client. The second instant messaging client refers to an instant messaging client that has received an instant messaging message.  Receiving unit 1401, It is also used to receive a response result message sent by the server for indicating that the instant messaging message is successfully deleted.  Processing unit 1404, For receiving a response result message according to the receiving unit 1401, Remove instant messaging messages from your session history. And present an instant messaging message in the input box of the instant messaging client.  Optionally, The instant messaging client can also include:  Setting unit 1405, Used to set the instant messaging message presented in the input box of the instant messaging client to the selected state.  Optionally, The response result message may include identification information of the instant messaging message and an instant messaging message.  The processing unit 1404 can be specifically configured to:  According to the identification information, Find and delete instant messaging messages from your session history.  Get instant messaging messages from the response message.  The obtained instant messaging message is presented in the input box of the instant messaging client.  Optionally, Processing unit 1404, Can also be used to respond to results based on the message. Find and delete instant messaging messages from your local database.  The functions of the functional modules of the device of the embodiment of the present application, It can be realized by the steps of the above method embodiments, therefore, The specific working process of the device provided by the present application, I will not repeat them here.  The instant messaging client provided by the application, The receiving unit 1401 receives the message revocation instruction. The determining unit 1402 is configured according to the message withdrawal instruction. The instant messaging message to be revoked is determined from the session record of the instant messaging client. The sending unit 1403 sends a message revocation request to the server. The receiving unit 1401 receives a response result message sent by the server for indicating that the instant messaging message is successfully deleted. The processing unit 1404 is based on the response result message, Remove instant messaging messages from your session history. And present an instant messaging message in the input box of the instant messaging client. thus, It can improve the input efficiency of the recalled instant messaging messages.  Corresponding to the above instant messaging message withdrawal method, A servo end is also provided in the embodiment of the present application, As shown in Figure 15, The server includes:  Receiving unit 1501, Used to receive a message revocation request sent by the first instant messaging client, The message withdrawal request includes an instant message to be revoked.  Processing unit 1502, Used to withdraw a request according to a message received by the receiving unit 1501, Find and delete instant messaging messages from the corresponding storage unit.  Transmitting unit 1503, Used to send a message revocation indication to the second instant messaging client, The message revocation indication is used to instruct the second instant messaging client to find and delete the instant messaging message. The second instant messaging client refers to an instant messaging client that has received an instant messaging message.  Receiving unit 1501, The method is further configured to receive operation result information returned by the second instant messaging client to indicate that the deletion operation is successful.  Indication unit 1504, For operating result information received according to the receiving unit 1501, Instructing the first instant messaging client to delete the instant messaging message from the corresponding session record, And present an instant messaging message in the corresponding input box.  The functions of the functional modules of the device of the embodiment of the present application, It can be realized by the steps of the above method embodiments, therefore, The specific working process of the device provided by the present application, I will not repeat them here.  The server provided by the application, The receiving unit 1501 receives the message revocation request sent by the first instant messaging client. The processing unit 1502 is configured according to the message withdrawal request. Find and delete instant messaging messages from the corresponding storage unit. The sending unit 1503 sends a message revocation indication to the second instant messaging client. The receiving unit 1501 receives the operation result information returned by the second instant messaging client for indicating that the deletion operation is successful. The indicating unit 1504 is based on the operation result information, Instructing the first instant messaging client to delete the instant messaging message from the corresponding session record, And present an instant messaging message in the corresponding input box. thus, It can improve the input efficiency of the recalled instant messaging messages.  Corresponding to the above instant messaging message modification method, An instant messaging client is also provided in the embodiment of the present application, As shown in Figure 16, The instant messaging client includes:  Receiving unit 1601, Used for selected instant messaging messages, Receive a message acquisition command for an instant messaging message.   among them, The message acquisition instruction can be triggered by the user clicking a menu option in the shortcut menu corresponding to the instant messaging message; or, The message acquisition command can also be triggered by the user pressing the shortcut button.  Processing unit 1602, For acquiring a message according to a message received by the receiving unit 1601, Instant messaging messages are presented in the input box of the instant messaging client.  Receiving unit 1601, It is also used to receive a message modification instruction for an instant messaging message presented in the input box.  Modification unit 1603, For modifying the instruction according to the message received by the receiving unit 1601, Modify the instant messaging message presented in the input box.  Optionally, The instant messaging client can also include: Selection unit 1604;  Receiving unit 1601, Also used to receive a message selection instruction;  Selection unit 1604, For selecting a command according to a message received by the receiving unit 1601, Select an instant messaging message from the session record of the instant messaging client.  Optionally, The instant messaging client can also include: Transmitting unit 1605.  Receiving unit 1601, It is also used to receive the send instruction of the modified message.  Sending unit 1605, For transmitting instructions received according to the receiving unit 1601, Send a message modification request to the server, The message modification request is used to instruct the server to find and delete the instant messaging message from the second instant messaging client. And sending the modified instant messaging message to the second instant messaging client. The second instant messaging client refers to an instant messaging client that has received an instant messaging message.  Receiving unit 1601, It is also used to receive a response result message sent by the server for indicating that the modification message is successfully sent.  Processing unit 1602, Also used for the response result message received by the receiving unit 1601, Replace the instant messaging message in the session record with the first notification message. And present the modified instant messaging message in the session record.  Optionally, The instant messaging client can also include: Transmitting unit 1605.  Receiving unit 1601, It is also used to receive the send instruction of the modified message.  Sending unit 1605, For transmitting instructions received according to the receiving unit 1601, Send a message modification request to the server, The message modification request is used to instruct the server to find and delete the instant messaging message from the second instant messaging client. And sending the modified instant messaging message to the second instant messaging client. The second instant messaging client refers to an instant messaging client that has received an instant messaging message.  Receiving unit 1601, It is also used to receive a response result message sent by the server for indicating that the modification message is successfully sent.  Processing unit 1602, Also used for the response result message received by the receiving unit 1601, Replace the instant messaging message in the session record with the modified instant messaging message. And adding the first identification information to the modified instant messaging message.  Optionally, The instant messaging client can also include: Transmitting unit 1605.  Receiving unit 1601, It is also used to receive the send instruction of the modified message.  Sending unit 1605, For transmitting instructions received according to the receiving unit 1601, Send a message modification request to the server, The message modification request is used to instruct the server to send the modified instant messaging message to the second instant messaging client. The second instant messaging client refers to an instant messaging client that has received an instant messaging message.  Receiving unit 1601, It is also used to receive a response result message sent by the server for indicating that the modification message is successfully sent.  Processing unit 1603, Also used for the response result message received by the receiving unit 1601, Presenting the modified instant messaging message in the adjacent location of the instant messaging message in the session record. And adding a second identification information to the modified instant messaging message.  The functions of the functional modules of the device of the embodiment of the present application, It can be realized by the steps of the above method embodiments, therefore, The specific working process of the device provided by the present application, I will not repeat them here.  The instant messaging client provided by the application, For selected instant messaging messages, The receiving unit 1601 receives a message acquisition instruction for the instant messaging message. The processing unit 1602, according to the message acquisition instruction, Instant messaging messages are presented in the input box of the instant messaging client. The receiving unit 1601 receives a message modification instruction for the instant messaging message presented in the input box. The modifying unit 1603 changes the instruction according to the message, Modify the instant messaging message presented in the input box. thus, Can improve the efficiency of modifying instant messaging messages.  Corresponding to the above instant messaging message modification method, An instant messaging client is also provided in the embodiment of the present application, As shown in Figure 17, The instant messaging client includes:  Receiving unit 1701, Used to receive a message modification instruction sent by the server. The message modification indication includes the identification information of the instant messaging message before the modification and the modified instant messaging message.  Search unit 1702, For identifying information received according to the receiving unit 1701, Find the instant messaging message before the modification from the session record of the instant messaging client.  Processing unit 1703, Used to replace the pre-modification instant messaging message in the session record with the first notification message. And presenting the modified instant messaging message in the session record; or,  Replace the pre-edited instant messaging message in the session record with the modified instant messaging message. And adding first identification information to the modified instant messaging message; or,  Presenting the modified instant messaging message in the adjacent location of the instant messaging message in the session record. And adding a second identification information to the modified instant messaging message.  The functions of the functional modules of the device of the embodiment of the present application, It can be realized by the steps of the above method embodiments, therefore, The specific working process of the device provided by the present application, I will not repeat them here.  Corresponding to the above instant messaging message modification method, A servo end is also provided in the embodiment of the present application, As shown in Figure 18, The server includes:  Receiving unit 1801, For receiving a message modification request sent by the first instant messaging client, The message modification request includes the identification information of the instant messaging message before the modification and the modified instant messaging message.  Processing unit 1802, For identifying information received according to the receiving unit 1801, Find the instant messaging message before the modification from the corresponding storage unit. And modify the display status of the instant messaging message before the modification and / or add the corresponding deletion identifier.  Transmitting unit 1803, Used to send a message modification instruction to the second instant messaging client, The second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification.  The message modification indication is used to instruct the second instant messaging client to find the instant messaging message before the modification from the session record. Replace the instant messaging message before the modification with the first notification message. And presenting the modified instant messaging message in the session record; or,  The message modification indication is used to instruct the second instant messaging client to find the instant messaging message before the modification from the session record. Replace the modified instant messaging message with the modified instant messaging message. And adding first identification information to the modified instant messaging message;  Transmitting unit 1803, The method is further configured to send a response result message indicating that the modification message is successfully sent to the first instant messaging client.  The functions of the functional modules of the device of the embodiment of the present application, It can be realized by the steps of the above method embodiments, therefore, The specific working process of the device provided by the present application, I will not repeat them here.  Corresponding to the above instant messaging message modification method, A servo end is also provided in the embodiment of the present application, As shown in Figure 19, The server includes:  Receiving unit 1901, For receiving a message modification request sent by the first instant messaging client, The message modification request includes the identification information of the instant messaging message before the modification and the modified instant messaging message.  Transmitting unit 1902, Used to send a message modification instruction to the second instant messaging client, The second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification.  The message modification indication is used to instruct the second instant messaging client to find the instant messaging message before the modification from the session record. Presenting the modified instant messaging message in the adjacent location of the instant messaging message before the modification. And adding a second identification information to the modified instant messaging message.  Transmitting unit 1902, The method is further configured to send a response result message indicating that the modification message is successfully sent to the first instant messaging client.  The functions of the functional modules of the device of the embodiment of the present application, It can be realized by the steps of the above method embodiments, therefore, The specific working process of the device provided by the present application, I will not repeat them here.  Those of ordinary skill in the art should be aware that In one or more of the above examples, The functions described in the present invention can be used in hardware, software, The firmware or any combination of them is implemented. When implemented using software, These functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.  The specific embodiment described above, For the purposes of the present invention, The technical solutions and benefits are further elaborated. It should be understood that The above description is only the specific embodiment of the present invention. It is not intended to limit the scope of protection of the present invention. Based on the technical solution of the present invention, Any modifications made, Equivalent replacement, Improvement, etc. All should be included in the scope of protection of the present invention.

S210‧‧‧步驟S210‧‧‧Steps

S220‧‧‧步驟S220‧‧‧Steps

S230‧‧‧步驟S230‧‧‧Steps

S240‧‧‧步驟S240‧‧‧Steps

S250‧‧‧步驟S250‧‧‧ steps

S510‧‧‧步驟S510‧‧‧Steps

S520‧‧‧步驟S520‧‧‧Steps

S530‧‧‧步驟S530‧‧‧Steps

S540‧‧‧步驟S540‧‧‧Steps

S550‧‧‧步驟S550‧‧‧Steps

S610‧‧‧步驟S610‧‧‧Steps

S620‧‧‧步驟Step S620‧‧‧

S630‧‧‧步驟S630‧‧ steps

S1110‧‧‧步驟S1110‧‧‧Steps

S1120‧‧‧步驟S1120‧‧‧Steps

S1130‧‧‧步驟S1130‧‧‧Steps

S1210‧‧‧步驟S1210‧‧‧Steps

S1220‧‧‧步驟S1220‧‧‧Steps

S1230‧‧‧步驟S1230‧‧‧Steps

S1240‧‧‧步驟S1240‧‧‧Steps

S1310‧‧‧步驟S1310‧‧‧Steps

S1320‧‧‧步驟S1320‧‧‧Steps

S1330‧‧‧步驟S1330‧‧‧Steps

1401‧‧‧接收單元1401‧‧‧ Receiving unit

1402‧‧‧確定單元1402‧‧‧determination unit

1403‧‧‧發送單元1403‧‧‧Send unit

1404‧‧‧處理單元1404‧‧‧Processing unit

1501‧‧‧接收單元1501‧‧‧ receiving unit

1502‧‧‧處理單元1502‧‧‧Processing unit

1503‧‧‧發送單元1503‧‧‧Send unit

1504‧‧‧指示單元1504‧‧‧instruction unit

1601‧‧‧接收單元1601‧‧‧ receiving unit

1602‧‧‧處理單元1602‧‧‧Processing unit

1603‧‧‧修改單元1603‧‧‧Modification unit

1701‧‧‧接收單元1701‧‧‧ Receiving unit

1702‧‧‧查找單元1702‧‧‧Search unit

1703‧‧‧處理單元1703‧‧‧Processing unit

1801‧‧‧接收單元1801‧‧‧ receiving unit

1802‧‧‧處理單元1802‧‧‧Processing unit

1803‧‧‧發送單元1803‧‧‧Send unit

1901‧‧‧接收單元1901‧‧‧ Receiving unit

1902‧‧‧發送單元1902‧‧‧Send unit

為了更清楚地說明本發明實施例的技術方案,下面將對實施例描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本發明的一些實施例,對於所屬技術領域中具有通常知識者來講,在不付出進步性勞動的前提下,還可以根據這些圖式獲得其它的圖式。   圖1為本申請提供的即時通訊訊息撤回方法的應用場景示意圖;   圖2為本申請一種實施例提供的即時通訊訊息撤回方法流程圖;   圖3為本申請提供的第一即時通訊客戶端的示意圖之一;   圖4為本申請提供的第一即時通訊客戶端的示意圖之二;   圖5為本申請另一種實施例提供的即時通訊訊息撤回方法流程圖;   圖6為本申請一種實施例提供的即時通訊訊息修改方法流程圖;   圖7為本申請提供的第一即時通訊客戶端的示意圖之三;   圖8a為本申請提供的第一即時通訊客戶端的示意圖之四;   圖8b為本申請提供的第二即時通訊客戶端的示意圖之一;   圖9a為本申請提供的第一即時通訊客戶端的示意圖之五;   圖9b為本申請提供的第二即時通訊客戶端的示意圖之二;   圖10a為本申請提供的第一即時通訊客戶端的示意圖之六;   圖10b為本申請提供的第二即時通訊客戶端的示意圖之三;   圖11為本申請另一種實施例提供的即時通訊訊息修改方法流程圖;   圖12為本申請再一種實施例提供的即時通訊訊息修改方法流程圖;   圖13為本申請又一種實施例提供的即時通訊訊息修改方法流程圖;   圖14為本申請一種實施例提供的即時通訊客戶端的示意圖;   圖15為本申請一種實施例提供的伺服端的示意圖;   圖16為本申請另一種實施例提供的即時通訊客戶端的示意圖;   圖17為本申請再一種實施例提供的即時通訊客戶端的示意圖;   圖18為本申請另一種實施例提供的伺服端的示意圖;   圖19為本申請再一種實施例提供的伺服端的示意圖。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can obtain other drawings based on these drawings without paying progressive labor. 1 is a schematic diagram of an application scenario of an instant messaging message retrieving method provided by the present application; FIG. 2 is a flowchart of a method for revoking an instant messaging message according to an embodiment of the present application; FIG. 3 is a schematic diagram of a first instant messaging client provided by the present application; FIG. 4 is a second schematic diagram of a first instant messaging client provided by the present application; FIG. 5 is a flowchart of an instant messaging message retrieving method according to another embodiment of the present application; FIG. 6 is an instant messaging provided by an embodiment of the present application. Figure 7 is a schematic diagram of the first instant messaging client provided by the present application; Figure 8a is a fourth schematic diagram of the first instant messaging client provided by the present application; Figure 8b is a second instant provided by the present application. FIG. 9 is a schematic diagram of a first instant messaging client provided by the present application; FIG. 9b is a second schematic diagram of a second instant messaging client provided by the present application; FIG. 10a is a first schematic diagram provided by the present application; Schematic diagram of the instant messaging client FIG. 10 is a schematic diagram of a third instant messaging client provided by the present application; FIG. 11 is a flowchart of a method for modifying an instant messaging message according to another embodiment of the present application; FIG. 12 is an instant messaging provided by another embodiment of the present application. FIG. 13 is a flowchart of a method for modifying an instant messaging message according to another embodiment of the present invention; FIG. 14 is a schematic diagram of an instant messaging client according to an embodiment of the present disclosure; FIG. 16 is a schematic diagram of an instant messaging client provided by another embodiment of the present application; FIG. 17 is a schematic diagram of an instant messaging client provided by another embodiment of the present application; FIG. 19 is a schematic diagram of a server provided by another embodiment of the present application.

Claims (28)

一種即時通訊訊息撤回方法,其特徵在於,包括:   第一即時通訊客戶端接收訊息撤回指令;   根據所述訊息撤回指令,從所述第一即時通訊客戶端的會話記錄中確定待撤回的即時通訊訊息;   向伺服端發送訊息撤回請求,所述訊息撤回請求用於指示所述伺服端從第二即時通訊客戶端中查找並刪除所述即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   接收所述伺服端發送的用於表示所述即時通訊訊息刪除成功的響應結果訊息;   根據所述響應結果訊息,從所述會話記錄中刪除所述即時通訊訊息,並在所述第一即時通訊客戶端的輸入框中呈現所述即時通訊訊息。An instant messaging message retrieving method, comprising: receiving, by a first instant messaging client, a message revocation instruction; determining, according to the message revocation instruction, an instant messaging message to be revoked from a session record of the first instant messaging client Sending a message revocation request to the server, the message revocation request is used to instruct the server to find and delete the instant messaging message from the second instant messaging client, where the second instant messaging client refers to received The instant messaging client of the instant messaging message; receiving a response result message sent by the server for indicating that the instant messaging message is successfully deleted; deleting the instant from the session record according to the response result message Communicating the message and presenting the instant messaging message in an input box of the first instant messaging client. 根據請求項1所述的方法,其中,還包括:   將所述第一即時通訊客戶端的輸入框中呈現的所述即時通訊訊息設置為選中狀態。The method of claim 1, further comprising: setting the instant messaging message presented in the input box of the first instant messaging client to a selected state. 根據請求項1所述的方法,其中,所述響應結果訊息包括所述即時通訊訊息的標識資訊以及所述即時通訊訊息;   所述根據所述響應結果訊息,從所述會話記錄中刪除所述即時通訊訊息,並在所述第一即時通訊客戶端的輸入框中呈現所述即時通訊訊息,包括:   根據所述標識資訊,從所述會話記錄中查找並刪除所述即時通訊訊息;   從所述響應結果訊息中獲取所述即時通訊訊息;   在所述第一即時通訊客戶端的輸入框中呈現獲取的所述即時通訊訊息。The method of claim 1, wherein the response result message includes identification information of the instant messaging message and the instant messaging message; the deleting the content from the session record according to the response result message Instant messaging, and presenting the instant messaging message in an input box of the first instant messaging client, including: searching and deleting the instant messaging message from the session record according to the identification information; Obtaining the instant messaging message in the response result message; presenting the obtained instant messaging message in an input box of the first instant messaging client. 根據請求項1至3中任一項所述的方法,其中,還包括:   根據所述響應結果訊息,從本地資料庫中查找並刪除所述即時通訊訊息。The method of any one of claims 1 to 3, further comprising: finding and deleting the instant messaging message from the local database based on the response result message. 一種即時通訊訊息撤回方法,其特徵在於,包括:   接收第一即時通訊客戶端發送的訊息撤回請求,所述訊息撤回請求包括待撤回的即時通訊訊息;   根據所述訊息撤回請求,從對應的儲存單元中查找並刪除所述即時通訊訊息;   向第二即時通訊客戶端發送訊息撤回指示,所述訊息撤回指示用於指示所述第二即時通訊客戶端查找並刪除所述即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   接收所述第二即時通訊客戶端返回的用於表示刪除操作執行成功的操作結果資訊;   根據所述操作結果資訊,指示所述第一即時通訊客戶端從對應的會話記錄中刪除所述即時通訊訊息,並在對應的輸入框中呈現所述即時通訊訊息。An instant messaging message retrieving method, comprising: receiving a message revocation request sent by a first instant messaging client, wherein the message revocation request comprises an instant messaging message to be revoked; according to the message revocation request, from the corresponding storage Searching for and deleting the instant messaging message in the unit; sending a message revocation indication to the second instant messaging client, the message revocation indication for instructing the second instant messaging client to find and delete the instant messaging message, The second instant messaging client refers to an instant messaging client that has received the instant messaging message; and receives operation result information returned by the second instant messaging client to indicate that the deletion operation is successful; Instructing the first instant messaging client to delete the instant messaging message from the corresponding session record and present the instant messaging message in a corresponding input box. 一種即時通訊訊息修改方法,其特徵在於,包括:   對選中的即時通訊訊息,接收對所述即時通訊訊息的訊息獲取指令;   根據所述訊息獲取指令,在第一即時通訊客戶端的輸入框中呈現所述即時通訊訊息;   接收對所述輸入框中呈現的所述即時通訊訊息的訊息修改指令,根據所述訊息修改指令,對所述輸入框中呈現的所述即時通訊訊息進行修改。An instant messaging message modification method, comprising: receiving, by a selected instant messaging message, a message acquisition instruction for the instant messaging message; according to the message obtaining instruction, in an input box of the first instant messaging client Presenting the instant messaging message; receiving a message modification instruction for the instant messaging message presented in the input box, and modifying the instant messaging message presented in the input box according to the message modification instruction. 根據請求項6所述的方法,其中,還包括:選中所述即時通訊訊息的步驟,包括:   接收訊息選擇指令;   根據所述訊息選擇指令,從所述第一即時通訊客戶端的會話記錄中選中所述即時通訊訊息。The method of claim 6, further comprising: the step of selecting the instant messaging message, comprising: receiving a message selection instruction; according to the message selection instruction, from a session record of the first instant messaging client Check the instant messaging message. 根據請求項6所述的方法,其中,所述訊息獲取指令由使用者點擊與所述即時通訊訊息對應的快捷選單中的選單選項觸發;或者,   所述訊息獲取指令由使用者按壓快捷操作按鍵觸發。The method of claim 6, wherein the message acquisition instruction is triggered by a user clicking a menu option in a shortcut menu corresponding to the instant messaging message; or the message acquisition instruction is pressed by a user by a shortcut operation button. trigger. 根據請求項6至8中任一項所述的方法,其中,還包括:   接收修改訊息的發送指令;   根據所述發送指令,向伺服端發送訊息修改請求,所述訊息修改請求用於指示所述伺服端從第二即時通訊客戶端中查找並刪除所述即時通訊訊息,並向所述第二即時通訊客戶端發送修改後的即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   接收所述伺服端發送的用於表示修改訊息發送成功的響應結果訊息;   根據所述響應結果訊息,將所述會話記錄中的所述即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現修改後的即時通訊訊息。The method of any one of claims 6 to 8, further comprising: receiving a transmission instruction of the modification message; transmitting, according to the sending instruction, a message modification request to the server, the message modification request for indicating the location The server searches for and deletes the instant messaging message from the second instant messaging client, and sends the modified instant messaging message to the second instant messaging client, where the second instant messaging client refers to the received instant messaging message The instant messaging client of the instant messaging message; receiving a response result message sent by the server for indicating that the modification message is successfully sent; and replacing the instant messaging message in the session record according to the response result message Is the first notification message, and presents the modified instant messaging message in the session record. 根據請求項6至8中任一項所述的方法,其中,還包括:   接收修改訊息的發送指令;   根據所述發送指令,向伺服端發送訊息修改請求,所述訊息修改請求用於指示所述伺服端從第二即時通訊客戶端中查找並刪除所述即時通訊訊息,並向所述第二即時通訊客戶端發送修改後的即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   接收所述伺服端發送的用於表示修改訊息發送成功的響應結果訊息;   根據所述響應結果訊息,將所述會話記錄中的所述即時通訊訊息替換為修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第一標識資訊。The method of any one of claims 6 to 8, further comprising: receiving a transmission instruction of the modification message; transmitting, according to the sending instruction, a message modification request to the server, the message modification request for indicating the location The server searches for and deletes the instant messaging message from the second instant messaging client, and sends the modified instant messaging message to the second instant messaging client, where the second instant messaging client refers to the received instant messaging message The instant messaging client of the instant messaging message; receiving a response result message sent by the server for indicating that the modification message is successfully sent; and replacing the instant messaging message in the session record according to the response result message For the modified instant messaging message, add the first identification information to the modified instant messaging message. 根據請求項6至8中任一項所述的方法,其中,還包括:   接收修改訊息的發送指令;   根據所述發送指令,向伺服端發送訊息修改請求,所述訊息修改請求用於指示所述伺服端向第二即時通訊客戶端發送修改後的即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   接收所述伺服端發送的用於表示修改訊息發送成功的響應結果訊息;   根據所述響應結果訊息,在所述會話記錄中的所述即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。The method of any one of claims 6 to 8, further comprising: receiving a transmission instruction of the modification message; transmitting, according to the sending instruction, a message modification request to the server, the message modification request for indicating the location The server sends the modified instant messaging message to the second instant messaging client, where the second instant messaging client refers to the instant messaging client that has received the instant messaging message; and receives the sent by the server Representing a response result message indicating that the modification message is successfully sent; according to the response result message, presenting the modified instant messaging message in the adjacent position of the instant messaging message in the session record, and adding the modified instant messaging message The second identification information. 一種即時通訊訊息修改方法,其特徵在於,包括:   接收伺服端發送的訊息修改指示,所述訊息修改指示包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   根據所述標識資訊,從第二即時通訊客戶端的會話記錄中查找所述修改前的即時通訊訊息;   將所述會話記錄中的所述修改前的即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現所述修改後的即時通訊訊息;或者,   將所述會話記錄中的所述修改前的即時通訊訊息替換為所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第一標識資訊;或者,   在所述會話記錄中的所述修改前的即時通訊訊息的相鄰位置呈現所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第二標識資訊。An instant messaging message modification method, comprising: receiving a message modification indication sent by a server, where the message modification indication includes identification information of the instant messaging message before modification and the modified instant messaging message; Searching for the pre-modification instant messaging message from the session record of the second instant messaging client; replacing the pre-modification instant messaging message in the session record with the first notification message, and in the session record Presenting the modified instant messaging message; or replacing the modified instant messaging message in the session record with the modified instant messaging message, and adding a number to the modified instant messaging message Or identifying the information, or displaying the modified instant messaging message in an adjacent position of the modified instant messaging message in the session record, and adding the second identifier information to the modified instant messaging message . 一種即時通訊訊息修改方法,其特徵在於,包括:   接收第一即時通訊客戶端發送的訊息修改請求,所述訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   根據所述標識資訊,從對應的儲存單元中查找所述修改前的即時通訊訊息,並修改所述修改前的即時通訊訊息的顯示狀態及/或添加相應的刪除標識;   向第二即時通訊客戶端發送訊息修改指示,所述第二即時通訊客戶端是指已接收所述修改前的即時通訊訊息的即時通訊客戶端,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,將所述修改前的即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現所述修改後的即時通訊訊息;或者,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,將所述修改前的即時通訊訊息替換為所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第一標識資訊;   向所述第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。A method for modifying an instant messaging message, comprising: receiving a message modification request sent by a first instant messaging client, wherein the message modification request includes identification information of the instant messaging message before modification and the modified instant messaging message; The identification information is used to search for the instant messaging message before the modification from the corresponding storage unit, and modify the display state of the instant messaging message before the modification and/or add a corresponding deletion identifier; to the second instant messaging client Sending a message modification indication, the second instant messaging client is an instant messaging client that has received the instant messaging message before the modification, and the message modification indication is used to instruct the second instant messaging client to record from the session Searching for the instant messaging message before the modification, replacing the instant messaging message before the modification with the first notification message, and presenting the modified instant messaging message in the session record; or, modifying the message The indication is used to indicate that the second instant messaging client is from the conference Searching for the instant messaging message before the modification, replacing the instant messaging message before the modification with the modified instant messaging message, and adding the first identification information to the modified instant messaging message; The first instant messaging client sends a response result message indicating that the modification message is successfully sent. 一種即時通訊訊息修改方法,其特徵在於,包括:   接收第一即時通訊客戶端發送的訊息修改請求,所述訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   向第二即時通訊客戶端發送訊息修改指示,所述第二即時通訊客戶端是指已接收所述修改前的即時通訊訊息的即時通訊客戶端,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,在所述修改前的即時通訊訊息的相鄰位置呈現所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第二標識資訊;   向所述第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。A method for modifying an instant messaging message, comprising: receiving a message modification request sent by a first instant messaging client, wherein the message modification request includes identification information of an instant messaging message before modification and a modified instant messaging message; The second instant messaging client sends a message modification indication, and the second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification, and the message modification indication is used to indicate the second instant message. The communication client searches for the instant messaging message before the modification from the session record, and presents the modified instant messaging message to the adjacent location of the instant messaging message before the modification, and the modified instant messaging message is Adding the second identification information; sending a response result message indicating that the modification message is successfully sent to the first instant messaging client. 一種即時通訊客戶端,其特徵在於,包括:   接收單元,用於接收訊息撤回指令;   確定單元,用於根據所述接收單元接收的所述訊息撤回指令,從所述即時通訊客戶端的會話記錄中確定待撤回的即時通訊訊息;   發送單元,用於向伺服端發送訊息撤回請求,所述訊息撤回請求用於指示所述伺服端從第二即時通訊客戶端中查找並刪除所述即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   所述接收單元,還用於接收所述伺服端發送的用於表示所述即時通訊訊息刪除成功的響應結果訊息;   處理單元,用於根據所述接收單元接收的所述響應結果訊息,從所述會話記錄中刪除所述即時通訊訊息,並在所述即時通訊客戶端的輸入框中呈現所述即時通訊訊息。An instant messaging client, comprising: a receiving unit, configured to receive a message revocation instruction; and a determining unit, configured to: according to the message revocation instruction received by the receiving unit, from a session record of the instant messaging client Determining an instant messaging message to be revoked; the sending unit is configured to send a message revocation request to the server, where the message revocation request is used to instruct the server to search for and delete the instant messaging message from the second instant messaging client, The second instant messaging client is an instant messaging client that has received the instant messaging message; the receiving unit is further configured to receive a response sent by the server to indicate that the instant messaging message is successfully deleted. a result message, the processing unit, configured to delete the instant messaging message from the session record according to the response result message received by the receiving unit, and present the instant messaging in an input box of the instant messaging client message. 根據請求項15所述的即時通訊客戶端,其中,還包括:   設置單元,用於將所述即時通訊客戶端的輸入框中呈現的所述即時通訊訊息設置為選中狀態。The instant messaging client according to claim 15, further comprising: a setting unit, configured to set the instant messaging message presented in the input box of the instant messaging client to a selected state. 根據請求項15所述的即時通訊客戶端,其中,所述響應結果訊息包括所述即時通訊訊息的標識資訊以及所述即時通訊訊息;   所述處理單元具體用於:   根據所述標識資訊,從所述會話記錄中查找並刪除所述即時通訊訊息;   從所述響應結果訊息中獲取所述即時通訊訊息;   在所述即時通訊客戶端的輸入框中呈現獲取的所述即時通訊訊息。According to the instant messaging client of claim 15, wherein the response result message includes the identification information of the instant messaging message and the instant messaging message; the processing unit is specifically configured to: according to the identification information, Finding and deleting the instant messaging message in the session record; obtaining the instant messaging message from the response result message; and presenting the obtained instant messaging message in an input box of the instant messaging client. 根據請求項15至17中任一項所述的即時通訊客戶端,其中,   所述處理單元,還用於根據所述響應結果訊息,從本地資料庫中查找並刪除所述即時通訊訊息。The instant messaging client according to any one of claims 15 to 17, wherein the processing unit is further configured to: find and delete the instant messaging message from the local database according to the response result message. 一種伺服端,其特徵在於,包括:   接收單元,用於接收第一即時通訊客戶端發送的訊息撤回請求,所述訊息撤回請求包括待撤回的即時通訊訊息;   處理單元,用於根據所述接收單元接收的所述訊息撤回請求,從對應的儲存單元中查找並刪除所述即時通訊訊息;   發送單元,用於向第二即時通訊客戶端發送訊息撤回指示,所述訊息撤回指示用於指示所述第二即時通訊客戶端查找並刪除所述即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   所述接收單元,還用於接收所述第二即時通訊客戶端返回的用於表示刪除操作執行成功的操作結果資訊;   指示單元,用於根據所述接收單元接收的所述操作結果資訊,指示所述第一即時通訊客戶端從對應的會話記錄中刪除所述即時通訊訊息,並在對應的輸入框中呈現所述即時通訊訊息。A server, comprising: a receiving unit, configured to receive a message revocation request sent by a first instant messaging client, where the message revocation request includes an instant messaging message to be revoked; and a processing unit configured to receive according to the The message retrieving request received by the unit, searching and deleting the instant messaging message from the corresponding storage unit; the sending unit, configured to send a message revocation indication to the second instant messaging client, where the message revocation indication is used to indicate the location The second instant messaging client searches for and deletes the instant messaging message, and the second instant messaging client refers to an instant messaging client that has received the instant messaging message; the receiving unit is further configured to receive the instant messaging client The operation result information returned by the second instant messaging client is used to indicate that the deletion operation is successful; the indication unit is configured to instruct the first instant messaging client to correspond to the first instant messaging client according to the operation result information received by the receiving unit Delete the instant messaging message in the session record and corresponding Into the box presenting the chat message. 一種即時通訊客戶端,其特徵在於,包括:   接收單元,用於對選中的即時通訊訊息,接收對所述即時通訊訊息的訊息獲取指令;   處理單元,用於根據所述接收單元接收的所述訊息獲取指令,在所述即時通訊客戶端的輸入框中呈現所述即時通訊訊息;   所述接收單元,還用於接收對所述輸入框中呈現的所述即時通訊訊息的訊息修改指令;   修改單元,用於根據所述接收單元接收的所述訊息修改指令,對所述輸入框中呈現的所述即時通訊訊息進行修改。An instant messaging client, comprising: a receiving unit, configured to receive a message acquiring instruction for the instant messaging message for the selected instant messaging message; and a processing unit configured to receive according to the receiving unit The message obtaining instruction is configured to present the instant messaging message in an input box of the instant messaging client; the receiving unit is further configured to receive a message modification instruction for the instant messaging message presented in the input box; And a unit, configured to modify the instant messaging message presented in the input box according to the message modification instruction received by the receiving unit. 根據請求項20所述的即時通訊客戶端,其中,還包括:選擇單元;   所述接收單元,還用於接收訊息選擇指令;   所述選擇單元,用於根據所述接收單元接收的所述訊息選擇指令,從所述即時通訊客戶端的會話記錄中選中所述即時通訊訊息。The instant messaging client according to claim 20, further comprising: a selecting unit; the receiving unit, further configured to receive a message selection instruction; the selecting unit, configured to receive the message according to the receiving unit Selecting an instruction to select the instant messaging message from the session record of the instant messaging client. 根據請求項20所述的即時通訊客戶端,其中,所述訊息獲取指令由使用者點擊與所述即時通訊訊息對應的快捷選單中的選單選項觸發;或者,   所述訊息獲取指令由使用者按壓快捷操作按鍵觸發。The instant messaging client according to claim 20, wherein the message obtaining instruction is triggered by a user clicking a menu option in a shortcut menu corresponding to the instant messaging message; or the message obtaining instruction is pressed by a user The shortcut button triggers. 根據請求項20至22中任一項所述的即時通訊客戶端,其中,還包括:發送單元;   所述接收單元,還用於接收修改訊息的發送指令;   所述發送單元,用於根據所述接收單元接收的所述發送指令,向伺服端發送訊息修改請求,所述訊息修改請求用於指示所述伺服端從第二即時通訊客戶端中查找並刪除所述即時通訊訊息,並向所述第二即時通訊客戶端發送修改後的即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   所述接收單元,還用於接收所述伺服端發送的用於表示修改訊息發送成功的響應結果訊息;   所述處理單元,還用於根據所述接收單元接收的所述響應結果訊息,將所述會話記錄中的所述即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現修改後的即時通訊訊息。The instant messaging client according to any one of claims 20 to 22, further comprising: a sending unit; the receiving unit, further configured to receive a sending instruction of the modified message; the sending unit, configured to The sending instruction received by the receiving unit sends a message modification request to the server, where the message modification request is used to instruct the server to search for and delete the instant messaging message from the second instant messaging client, and The second instant messaging client sends the modified instant messaging message, and the second instant messaging client refers to the instant messaging client that has received the instant messaging message; the receiving unit is further configured to receive the servo And the processing unit is further configured to: replace, according to the response result message received by the receiving unit, the instant messaging message in the session record with a first notification message and presenting the modified instant messaging message in the session record. 根據請求項20至22中任一項所述的即時通訊客戶端,其中,還包括:發送單元;   所述接收單元,還用於接收修改訊息的發送指令;   所述發送單元,用於根據所述接收單元接收的所述發送指令,向伺服端發送訊息修改請求,所述訊息修改請求用於指示所述伺服端從第二即時通訊客戶端中查找並刪除所述即時通訊訊息,並向所述第二即時通訊客戶端發送修改後的即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   所述接收單元,還用於接收所述伺服端發送的用於表示修改訊息發送成功的響應結果訊息;   所述處理單元,還用於根據所述接收單元接收的所述響應結果訊息,將所述會話記錄中的所述即時通訊訊息替換為修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第一標識資訊。The instant messaging client according to any one of claims 20 to 22, further comprising: a sending unit; the receiving unit, further configured to receive a sending instruction of the modified message; the sending unit, configured to The sending instruction received by the receiving unit sends a message modification request to the server, where the message modification request is used to instruct the server to search for and delete the instant messaging message from the second instant messaging client, and The second instant messaging client sends the modified instant messaging message, and the second instant messaging client refers to the instant messaging client that has received the instant messaging message; the receiving unit is further configured to receive the servo And the processing unit is further configured to: replace, according to the response result message received by the receiving unit, the instant messaging message in the session record with The modified instant messaging message and the first identification information is added to the modified instant messaging message. 根據請求項20至22中任一項所述的即時通訊客戶端,其中,還包括:發送單元;   所述接收單元,還用於接收修改訊息的發送指令;   所述發送單元,用於根據所述接收單元接收的所述發送指令,向伺服端發送訊息修改請求,所述訊息修改請求用於指示所述伺服端向第二即時通訊客戶端發送修改後的即時通訊訊息,所述第二即時通訊客戶端是指已接收所述即時通訊訊息的即時通訊客戶端;   所述接收單元,還用於接收所述伺服端發送的用於表示修改訊息發送成功的響應結果訊息;   所述處理單元,還用於根據所述接收單元接收的所述響應結果訊息,在所述會話記錄中的所述即時通訊訊息的相鄰位置呈現修改後的即時通訊訊息,並為修改後的即時通訊訊息添加第二標識資訊。The instant messaging client according to any one of claims 20 to 22, further comprising: a sending unit; the receiving unit, further configured to receive a sending instruction of the modified message; the sending unit, configured to The sending instruction received by the receiving unit sends a message modification request to the server, where the message modification request is used to instruct the server to send the modified instant messaging message to the second instant messaging client, the second instant The communication client is an instant messaging client that has received the instant messaging message; the receiving unit is further configured to receive a response result message sent by the server for indicating that the modification message is successfully sent; And displaying, according to the response result message received by the receiving unit, presenting the modified instant messaging message in an adjacent position of the instant messaging message in the session record, and adding a first message to the modified instant messaging message. Two identification information. 一種即時通訊客戶端,其特徵在於,包括:   接收單元,用於接收伺服端發送的訊息修改指示,所述訊息修改指示包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   查找單元,用於根據所述接收單元接收的所述標識資訊,從即時通訊客戶端的會話記錄中查找所述修改前的即時通訊訊息;   處理單元,用於將所述會話記錄中的所述修改前的即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現所述修改後的即時通訊訊息;或者,   將所述會話記錄中的所述修改前的即時通訊訊息替換為所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第一標識資訊;或者,   在所述會話記錄中的所述修改前的即時通訊訊息的相鄰位置呈現所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第二標識資訊。An instant messaging client, comprising: a receiving unit, configured to receive a message modification indication sent by a server, where the message modification indication includes an identifier information of an instant messaging message before modification and a modified instant messaging message; a unit, configured to search for the instant messaging message before the modification from the session record of the instant messaging client according to the identifier information received by the receiving unit; and the processing unit, configured to: before the modifying in the session record Replace the instant messaging message with the first notification message, and present the modified instant messaging message in the session record; or replace the modified instant messaging message in the session record with the modification a subsequent instant messaging message, and adding first identification information to the modified instant messaging message; or presenting the modified instant in an adjacent location of the modified instant messaging message in the session record Communication message and adding a second standard to the modified instant messaging message News. 一種伺服端,其特徵在於,包括:   接收單元,用於接收第一即時通訊客戶端發送的訊息修改請求,所述訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   處理單元,用於根據所述接收單元接收的所述標識資訊,從對應的儲存單元中查找所述修改前的即時通訊訊息,並修改所述修改前的即時通訊訊息的顯示狀態及/或添加相應的刪除標識;   發送單元,用於向第二即時通訊客戶端發送訊息修改指示,所述第二即時通訊客戶端是指已接收所述修改前的即時通訊訊息的即時通訊客戶端,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,將所述修改前的即時通訊訊息替換為第一通知訊息,並在所述會話記錄中呈現所述修改後的即時通訊訊息;或者,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,將所述修改前的即時通訊訊息替換為所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第一標識資訊;   所述發送單元,還用於向所述第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。A server, comprising: a receiving unit, configured to receive a message modification request sent by a first instant messaging client, where the message modification request includes identifier information of the instant messaging message before modification and the modified instant messaging message a processing unit, configured to search for the instant messaging message before the modification from the corresponding storage unit according to the identifier information received by the receiving unit, and modify the display state of the instant messaging message before the modification and/or Adding a corresponding deletion identifier; a sending unit, configured to send a message modification indication to the second instant messaging client, where the second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification, The message modification indication is used to instruct the second instant messaging client to search for the instant messaging message before the modification from the session record, replace the instant messaging message before the modification with the first notification message, and in the session Presenting the modified instant messaging message in the record; or, The information modification indication is used to instruct the second instant messaging client to search for the instant messaging message before the modification from the session record, and replace the instant messaging message before the modification with the modified instant messaging message, and The modified instant messaging message adds the first identification information. The sending unit is further configured to send, to the first instant messaging client, a response result message indicating that the modification message is successfully sent. 一種伺服端,其特徵在於,包括:   接收單元,用於接收第一即時通訊客戶端發送的訊息修改請求,所述訊息修改請求包括修改前的即時通訊訊息的標識資訊以及修改後的即時通訊訊息;   發送單元,用於向第二即時通訊客戶端發送訊息修改指示,所述第二即時通訊客戶端是指已接收所述修改前的即時通訊訊息的即時通訊客戶端,   所述訊息修改指示用於指示所述第二即時通訊客戶端從會話記錄中查找所述修改前的即時通訊訊息,在所述修改前的即時通訊訊息的相鄰位置呈現所述修改後的即時通訊訊息,並為所述修改後的即時通訊訊息添加第二標識資訊;   所述發送單元,還用於向所述第一即時通訊客戶端發送用於表示修改訊息發送成功的響應結果訊息。A server, comprising: a receiving unit, configured to receive a message modification request sent by a first instant messaging client, where the message modification request includes identifier information of the instant messaging message before modification and the modified instant messaging message a sending unit, configured to send a message modification indication to the second instant messaging client, where the second instant messaging client refers to an instant messaging client that has received the instant messaging message before the modification, where the message modification indication is used Instructing the second instant messaging client to search for the pre-modification instant messaging message from the session record, presenting the modified instant messaging message at an adjacent location of the modified instant messaging message, and The modified instant messaging message adds the second identification information. The sending unit is further configured to send, to the first instant messaging client, a response result message indicating that the modified message is successfully sent.
TW106138433A 2017-02-03 2017-11-07 Method for withdrawing and modifying instant communication message, instant communication client side and server side TW201830986A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201710063019.4 2017-02-03
CN201710063019.4A CN108390813A (en) 2017-02-03 2017-02-03 Instant communication information recalls, amending method, instant communication client and server-side

Publications (1)

Publication Number Publication Date
TW201830986A true TW201830986A (en) 2018-08-16

Family

ID=63039221

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106138433A TW201830986A (en) 2017-02-03 2017-11-07 Method for withdrawing and modifying instant communication message, instant communication client side and server side

Country Status (3)

Country Link
CN (1) CN108390813A (en)
TW (1) TW201830986A (en)
WO (1) WO2018141226A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286560B (en) * 2018-11-19 2021-03-19 北京达佳互联信息技术有限公司 Method and device for acquiring instant messaging message
CN109951379B (en) * 2019-03-26 2021-08-31 北京小米移动软件有限公司 Message processing method and device
CN110740091B (en) * 2019-09-12 2022-03-25 北京达佳互联信息技术有限公司 Processing method and device for sharing message, electronic equipment and readable storage medium
TW202131182A (en) * 2020-02-07 2021-08-16 萊思特科技股份有限公司 Method capable of quickly withdrawing chat messages, real-time communication device, and computer program product
CN112003780A (en) * 2020-08-06 2020-11-27 武汉华中时讯科技有限责任公司 Method for withdrawing message in instant communication chat scene
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN112035206B (en) * 2020-09-01 2021-08-24 腾讯科技(深圳)有限公司 Message processing method and device
CN114390011B (en) * 2020-10-20 2023-05-05 腾讯科技(深圳)有限公司 Message processing method and device and readable storage medium
CN113489638B (en) * 2021-07-08 2022-09-02 北卡科技有限公司 Message safety deleting method for instant communication system
CN113923176B (en) * 2021-09-30 2023-05-23 完美世界(北京)软件科技发展有限公司 Message withdrawal method, device and equipment for instant messaging and computer readable medium
CN113992615B (en) * 2021-10-26 2023-05-26 维沃移动通信有限公司 Method and device for displaying withdrawal message, electronic equipment and storage medium
WO2024022472A1 (en) * 2022-07-29 2024-02-01 北京字跳网络技术有限公司 Information processing method and apparatus, device, and medium
CN115361356B (en) * 2022-08-25 2024-02-27 中国银行股份有限公司 File control method and device and electronic equipment
CN115348229B (en) * 2022-08-29 2024-04-19 中国银行股份有限公司 Message withdrawal method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060161631A1 (en) * 2005-01-18 2006-07-20 Luigi Lira Revisions of already sent messages in an instant messaging communication
CN100553236C (en) * 2005-12-23 2009-10-21 腾讯科技(深圳)有限公司 A kind of method and instantaneous communication system of recalling instant communication message
CN101136871A (en) * 2006-08-31 2008-03-05 腾讯科技(深圳)有限公司 Corrective method, instant communication terminal and system of transmitting error message
US8769022B2 (en) * 2009-08-31 2014-07-01 Qualcomm Incorporated System and method for evaluating outbound messages
CN101834806B (en) * 2010-03-25 2012-10-24 盈世信息科技(北京)有限公司 Method and system for withdrawing mail
CN103368818B (en) * 2012-03-31 2016-04-13 欢聚时代科技(北京)有限公司 A kind of method that instant message sends
CN103516576A (en) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 Method for processing instant message and device thereof
CN103269306A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Message handling method and device in communication process
CN104518946A (en) * 2013-09-27 2015-04-15 北京新媒传信科技有限公司 Method and device for deleting instant messaging message
CN105892805A (en) * 2016-03-29 2016-08-24 北京小米移动软件有限公司 Instant message processing method and device

Also Published As

Publication number Publication date
CN108390813A (en) 2018-08-10
WO2018141226A1 (en) 2018-08-09

Similar Documents

Publication Publication Date Title
TW201830986A (en) Method for withdrawing and modifying instant communication message, instant communication client side and server side
US11362984B2 (en) Matter message notification method, apparatus, and device
US9171291B2 (en) Electronic device and method for updating message body content based on recipient changes
CN109873745B (en) Communication control method, communication control device and storage medium
CN108306810B (en) Group building method, server and terminal
EP2866420A1 (en) Method and device for content synchronization
CN105871690B (en) Method and device for realizing instant messaging
WO2016029661A1 (en) Session merging method and mobile terminal
US20150350142A1 (en) Method and system for marking email threads
US10574782B2 (en) Method and server for generating contact relationship data in network communication system
EP2658189B1 (en) Electronic device and method for updating message body content based on recipient changes
WO2016154612A1 (en) Systems and methods for supplementing real-time exchanges of instant messages with automatically updateable content
WO2022206699A1 (en) Message transmission method and apparatus, and electronic device
CN108353018B (en) Method, device and system for sending message
CN105049336A (en) Method and system for processing instant communication messages, server and client
US8719357B2 (en) Method and apparatus for managing message
US20220368656A1 (en) Information interaction method and apparatus, and non-transitory computer-readable storage medium
WO2015011158A1 (en) User friendly names for stored cpm conversation histories
CN113746722A (en) Information processing method, device, equipment and storage medium
US20140157290A1 (en) Method, system, and device for switching between network applications, and computer storage medium
CN111641554B (en) Message processing method and device and computer readable storage medium
US11863334B2 (en) User initiated notifications for chat sections
JP2020009431A (en) Method, computer program, computer apparatus and server system of collecting conversation related data
CN112965834A (en) Method and terminal for rapidly displaying offline message
WO2023015982A1 (en) Message sending method, message sending end, and server