CN108566332A - A kind of instant communication information processing method, device and storage medium - Google Patents
A kind of instant communication information processing method, device and storage medium Download PDFInfo
- Publication number
- CN108566332A CN108566332A CN201810342492.0A CN201810342492A CN108566332A CN 108566332 A CN108566332 A CN 108566332A CN 201810342492 A CN201810342492 A CN 201810342492A CN 108566332 A CN108566332 A CN 108566332A
- Authority
- CN
- China
- Prior art keywords
- communication information
- instant communication
- interface
- information
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-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/18—Commands or executable codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/234—Monitoring or handling of messages for tracking messages
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of instant communication information processing method, device and storage mediums;The embodiment of the present invention is after successfully recalling instant communication information, edition interface of the success response generation about the instant communication information can be recalled according to this, wherein, the edition interface is used to receive editor's information about the instant communication information before the deadline, then, when more than the term of validity, just close the edition interface, and the instant communication information that this is recalled is deleted in local cache, and then achieve the purpose that re-start editor to the information recalled within certain time limit, the program is not only easy to operate, but also can greatly improve treatment effeciency.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of instant communication information processing method, device and storage are situated between
Matter.
Background technology
((Instant Messaging) is the service at one instant messaging network of a terminal networking, no for instant messaging
Word message transmission is only carried out in real time using network between permission user, and can also carry out file, voice and video in real time
Exchange, it is extremely flexibly convenient, for this purpose, instant messaging also becomes presently the most popular one of communication modes.
In existing most instant messaging applications, since transmitted instant communication information all has real-time Transmission and shows
Therefore the characteristic shown usually has the scene generation that user misses photos and sending messages.In order to improve its fault-tolerance, effective guarantee user couple
The accuracy and controllability of instant communication information content transmitted by itself, the prior art have also been proposed " recalling " technology.It " should remove
Returning " technology permission user is under certain scene, to transmitted text information (i.e. the instant communication information of text style) progress
It recalls, for example, when user is in transmitting terminal triggering " recalling " operation, transmitting terminal can send one to server and recall instruction, and touching makes
Server directly removes the corresponding text information in local and receiving terminal, and more new user interface (including transmitting terminal and reception
The user interface at end) in message status reach fault-tolerant so that not showing the text information recalled in user interface
Purpose.
In the research and practice process to the prior art, it was found by the inventors of the present invention that in existing most scenes,
User can rewrite a similar information and be sent in most cases after revocation information, and operation is more numerous
It is trivial, for long message, need to consume it is more write the time, treatment effeciency is relatively low.
Invention content
The embodiment of the present invention provides a kind of instant communication information processing method, device and storage medium, can be to recalling
Information re-starts editor, easy to operate, greatly improves treatment effeciency.
The embodiment of the present invention provides a kind of instant communication information processing method, including:
Instruction, the instant communication information recalled instruction instruction needs and recalled are recalled in acquisition;
Instruction is recalled to described in server transmission, instruction is recalled according to so as to server and deletes server and receiving terminal
In the instant communication information;
What reception server returned after successfully deleting the instant communication information recalls success response;
According to the edition interface for recalling success response generation about the instant communication information, the edition interface is used
In receiving editor's information about the instant communication information before the deadline;
When more than the term of validity, the edition interface is closed, and deletes the letter of the instant messaging in local cache
Breath.
Correspondingly, the embodiment of the present invention also provides a kind of instant communication information processing unit, including:
Acquiring unit recalls instruction for obtaining, the instant communication information recalled instruction instruction needs and recalled;
Transmission unit is recalled instruction so as to server according to and is deleted for recalling instruction described in being sent to server
The instant communication information in server and receiving terminal;
Receiving unit is successfully rung for recalling of receiving that server returns after successfully deleting the instant communication information
It answers;
Generation unit, for recalling edition interface of the success response generation about the instant communication information according to,
The edition interface is used to receive editor's information about the instant communication information before the deadline;
Deleting unit, for when more than the term of validity, closing the edition interface, and delete the institute in local cache
State instant communication information.
Optionally, in some embodiments, the generation unit specifically can be used for recalling success response life according to
At timestamp and edition interface, using the timestamp as starting point, the term of validity of the edition interface is set so that the editor connects
Mouth can receive editor's information about the instant communication information before the deadline.
Optionally, in some embodiments, the deleting unit specifically can be used for generating delay according to the term of validity
Task hangs up the operation for deleting the instant communication information in local cache according to the delay task, when determination is current
When carving more than the term of validity, the edition interface is closed according to the delay task, and execute the institute deleted in local cache
State the operation of instant communication information.
Optionally, in some embodiments, the instant communication information processing unit can also include display unit, such as
Under:
The acquiring unit is additionally operable to when the edition interface is triggered, by the edition interface from local cache
It is middle to obtain the instant communication information;
The display unit, for showing the instant communication information in default editing area, so that user is to described
When communication information into edlin.
Optionally, in some embodiments, the instant communication information processing unit can also include edit cell and more
New unit, it is as follows:
The acquiring unit is additionally operable to receive edit instruction;
The edit cell, for being compiled to the instant communication information in the editing area according to the edit instruction
Volume, instant communication information after being edited;
The updating unit, for when receiving transmission instruction, being sent to instant communication information after the editor,
And in more new user interface message dispaly state.
In addition, the embodiment of the present invention also provides a kind of storage medium, the storage medium is stored with a plurality of instruction, the finger
Order is loaded suitable for processor, to execute the step in any instant communication information processing method provided in an embodiment of the present invention
Suddenly.
The embodiment of the present invention is not deleted described instant in local cache immediately after successfully recalling instant communication information
Communication information, but according to edition interface of the success response generation about the instant communication information is recalled, so that user is effective
To the instant communication information into edlin in phase, then, when more than the term of validity, the edition interface is just closed, and delete
The instant communication information in local cache;Since the program can directly believe the instant messaging recalled by edition interface
It ceases into edlin, is pasted without writing from the beginning again or recalling advance row imagineering, accordingly, with respect to existing side
For case, it can greatly save and write the time, and simplify operation, be conducive to the treatment effeciency for improving instant communication information.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 a are the schematic diagram of a scenario of instant communication information processing method provided in an embodiment of the present invention;
Fig. 1 b are the flow charts of instant communication information processing method provided in an embodiment of the present invention;
Fig. 2 a are another flow charts of instant communication information processing method provided in an embodiment of the present invention;
Fig. 2 b are the interface schematic diagrams of instant communication information processing method provided in an embodiment of the present invention;
Fig. 2 c are another interface schematic diagrams of instant communication information processing method provided in an embodiment of the present invention;
Fig. 2 d are the interfaces that text information updates in instant communication information processing method provided in an embodiment of the present invention
Schematic diagram;
Fig. 2 e be in instant communication information processing method provided in an embodiment of the present invention text information update it is another
Interface schematic diagram;
Fig. 2 f are the interfaces that voice messaging updates in instant communication information processing method provided in an embodiment of the present invention
Schematic diagram;
Fig. 2 g be in instant communication information processing method provided in an embodiment of the present invention text information update it is another
Interface schematic diagram;
Fig. 3 a are the structural schematic diagrams of instant communication information processing unit provided in an embodiment of the present invention;
Fig. 3 b are another structural schematic diagrams of instant communication information processing unit provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
A kind of instant communication information processing method of offer of the embodiment of the present invention, device and storage medium.
Wherein, which can specifically be integrated in the terminal as transmitting terminal (recalling end)
In, for example, with reference to Fig. 1 a, transmitting terminal can send instruction to server and the instant communication information that recall is needed to recall instruction,
After server, which receives this, recalls instruction, the instant communication information in its own and receiving terminal can be deleted, for example, service
Device can delete the data about the instant communication information of its own preservation, and send UDP (User Datagram Protocol to receiving terminal
View, User Datagram Protocol) packet, to trigger data and update of the receiving terminal deletion about the instant communication information
The dispaly state of message in user interface (UI, User Interface) then recalls success from server to transmitting terminal return
Response is recalled success response according to this and is generated about the instant communication information after transmitting terminal, which receives this, recalls success response
Edition interface, so that user is before the deadline to the instant communication information into edlin, and, when more than the term of validity,
The edition interface is closed, and deletes the instant communication information in local cache, and then is realized within certain time limit, is carried for user
The purpose of instant communication information chance has been recalled for updating.
It is described in detail separately below.It should be noted that the serial number of following embodiment is not as preferably suitable to embodiment
The restriction of sequence.
Embodiment one,
The present embodiment will be described from the angle of instant communication information processing unit, the instant communication information processing unit
It can specifically be integrated in the terminal as transmitting terminal (recalling end), which is specifically as follows mobile phone, tablet computer, wearing
The equipment such as formula smart machine, laptop or personal computer (PC, Personal Computer).
A kind of instant communication information processing method, including:Instruction is recalled in acquisition, this recall instruction instruction need recall i.e.
When communication information, send this to server and recall instruction, instruction is recalled according to this so as to server and deletes server and receiving terminal
In the instant communication information, receive server returned after successfully deleting the instant communication information recalls success response, root
Edition interface of the success response generation about the instant communication information is recalled according to this, the edition interface for receiving before the deadline
About editor's information of the instant communication information, when more than the term of validity, the edition interface is closed, and delete in local cache
The instant communication information.
As shown in Figure 1 b, the detailed process of the instant communication information processing method can be as follows:
101, it obtains and recalls instruction, this is recalled instruction instruction and needs the instant communication information recalled.
It is then recalled according to this about the withdrawal operation information for having sent instant communication information for example, can specifically obtain
Instruction is recalled in operation information generation, and indicates in this recalls instruction this to have sent instant communication information that be that needs are recalled instant
Communication information.
Triggering key is recalled for example, can be arranged in the actions menu that each has sent instant communication information, works as user
It when clicking this and recalling triggering key, for example clicks and has sent when recalling triggering key of instant communication information X, can generate about this
The instruction of recalling of instant communication information X is sent, and it is to need to remove to indicate that this has sent instant communication information X in this recalls instruction
The instant communication information, etc. returned.
102, it sends this to server and recalls instruction, instruction is recalled according to this so as to server and deletes server and receiving terminal
In the instant communication information.
For example, server after receiving this and recalling instruction, can be confirmed this recall instruction it is whether legal, if do not conformed to
Method, then server refuses this and recalls instruction, for example can return and recall failure response to the transmitting terminal (recalling end), otherwise,
If legal, server can delete the data about the instant communication information of its own preservation, and recall finger according to this
Enable generation UDP packets that the UDP packets transmitting and receiving terminal (being withdrawn end) is recalled the Instant Messenger by the receiving terminal according to the UDP packets
Information is interrogated, and deletes the data about the instant communication information that receiving terminal is locally preserved, while updating and receiving end subscriber circle
The dispaly state of message in face.
When what server successfully deleted that its own is preserved (needs the instant messaging recalled about the instant communication information
Information) data and after receiving terminal successfully deletes the data about the instant communication information, server can be generated and be recalled into
Work(responds, and returns to the transmitting terminal.
What 103, reception server returned after successfully deleting the instant communication information recalls success response.
104, edition interface of the success response generation about the instant communication information is recalled according to this, which is used for
Editor's information about the instant communication information is received before the deadline;For example, specifically can be as follows:
(1) success response generated time stamp and edition interface are recalled according to this.
For example, can specifically recall success response according to this obtains storage of the instant communication information in local cache
Location, calling interface generating function establish being associated with for the information processing interface and the storage address to establish information processing interface
System, obtains edition interface.
Furthermore it is possible to the time recalled be recorded, as the corresponding timestamp of the instant communication information recalled.
(2) using the timestamp as starting point, the term of validity of the edition interface is set so that the edition interface before the deadline can
The enough editor's information received about the instant communication information.
Wherein, which can be configured according to the demand of practical application, for example, could be provided as 5 minutes, i.e., with
The timestamp (i.e. Withdrawal times) is starting point, (can have been removed to the instant communication information by the edition interface within 5 minutes
The instant communication information returned) it is updated, ensure the interim in the storage time of transmitting terminal local of the instant communication information
Effectively, and if more than 5 minutes, the instant communication information can not be updated by the edition interface again, Jin Erda
To the risk for avoiding privacy of user from revealing.
Wherein, the form of expression of the edition interface can there are many, for example, can be the triggering keys such as icon or button;Separately
Outside, which can show, and can also be hiding, for example, the original that may be displayed on the instant communication information is aobvious
Show on position, alternatively, the edition interface, etc. can also just be popped up, specifically when the user clicks or when the long-press original display location
Can be depending on the demand of practical application, details are not described herein.
Since by the edition interface, user can update the instant communication information, therefore, as the editor
It when interface is triggered, needs to show the instant communication information, so that user checks and edits, i.e., in step " root
Edition interface of the success response generation about the instant communication information is recalled according to this " after, the instant communication information processing method
Can also include:
When the edition interface is triggered, which is obtained from local cache by the edition interface,
Default editing area shows the instant communication information, so as to user to the instant communication information into edlin.
Wherein, which can be configured according to the demand of practical application, for example, being believed according to instant messaging
The difference of type is ceased, which can also be different, for example, being respectively text information, language with the instant communication information
For message breath, image information and video information, then step " showing the instant communication information in default editing area " respectively can
With as follows:
A, the instant communication information is text information.
The instant communication information is shown in the input frame of instant communication information, for example, specifically can by get i.e.
When communication information affix in the input frame of the instant communication information, etc..
B, the instant communication information is voice messaging.
Speech processes process is called, according to the speech processes process initiation voice edition device, is shown in the voice edition device
Show the instant communication information.
Wherein, which can be that built-in voice edition is applied in the instant messaging where the instant communication information
Device can also be third-party voice edition device.
It should be noted that when starting voice edition device, speech processes process can directly be started, alternatively, also may be used
To show the voice edition device, choose whether to start by user, alternatively, multiple voice edition devices can also be shown, by user from
In selected, this will not be repeated here.
C, the instant communication information is image information.
Image treatment progress is called, image editor is started according to the picture treatment progress, is shown in the image editor
Show the instant communication information.
Wherein, which can be that built-in picture editting is applied in the instant messaging where the instant communication information
Device can also be third-party image editor.
It should be noted that when starting image editor, image procossing process can directly be started, alternatively, also may be used
To show the image editor, choose whether to start by user, alternatively, multiple images editing machine can also be shown, by user from
In selected, this will not be repeated here.
D, the instant communication information is video information.
Video treatment progress is called, video editor is started according to the picture treatment progress, is shown in the video editor
Show the instant communication information.
Wherein, which can be that built-in video editing is applied in the instant messaging where the instant communication information
Device can also be third-party video editor.
It should be noted that when starting video editor, video treatment progress can directly be started, alternatively, also may be used
To show the video editor, choose whether to start by user, alternatively, multiple video editors can also be shown, by user from
In selected, this will not be repeated here.
In addition, it is optional, after step " showing the instant communication information in default editing area ", instant messaging letter
Ceasing processing method can also include:
Edit instruction is received, the instant communication information in the editing area is obtained into edlin according to the edit instruction
Instant communication information after editor sends instant communication information after the editor, and update use when receiving transmission instruction
The dispaly state of message in the interface of family.
Wherein, can be there are many mode in more new user interface when the dispaly state of message, it specifically can be according to reality
The demand of application is flexibly configured.For example, the instant messaging new as one of instant communication information after the editor can be believed
Breath is sent, and (is shown alternatively, can also be sent instant communication information after the editor as former instant communication information
In the display location of former instant communication information), i.e., step " dispaly state of message in more new user interface " may include:
The display location of instant communication information in the user interface after the editor is determined according to current time, in the display position
Set instant communication information after showing the editor.
Alternatively, determining that the instant communication information recalls preceding display location in the user interface according to the timestamp, at this
Instant communication information after the editor is shown in display location.
105, when more than the term of validity, the edition interface is closed, and deletes the instant communication information in local cache;
For example, specifically can be as follows:
(1) delay task is generated according to the term of validity.
Wherein, which refers to the execution to postponement " deleting the instant communication information in local cache ";This
Be because, when instant communication information is withdrawn, other than server and receiving terminal can delete instant communication information,
Transmitting terminal can also delete the instant communication information, and if transmitting terminal deletes the instant communication information, follow-up nothing
Method updates the instant communication information, it is therefore desirable to ensure the depositing in local cache of the instant communication information
Storage is interim effective.
(2) operation for deleting the instant communication information in local cache is hung up according to the delay task.
Wherein, hang up and refer to temporary respite, the mode of the hang-up can there are many, for example, can specifically be prolonged according to this
Slow task is that delayed deletion mark is arranged in the instant communication information, then, which is identified and the timestamp is tied up
It is fixed, and using the timestamp as starting point, which is the time-to-live that delayed deletion mark is arranged in duration.
If for example, the timestamp is " 1 day 12 January in 2018:00 ", the term of validity of edition interface is 5 minutes, then can incite somebody to action
The time-to-live of delayed deletion mark is set as " 1 day 12 January in 2018:00 to 2018 on January 1,12:05 ", etc..
(3) when determining that current time is more than the term of validity, which is closed according to the delay task, and execute and delete
Except the operation of the instant communication information in local cache.
For example, by taking hang-up mode in step (2) is setting delayed deletion mark as an example, then at this point it is possible to judge the delay
Deletion identifies whether to be more than the time-to-live, if the delayed deletion identifies more than the time-to-live, if for example, current time
More than " 1 day 12 January in 2018:05 ", then the edition interface can be closed according to the delay task, and execute deletion local cache
In the instant communication information operation.
From the foregoing, it will be observed that the present embodiment after successfully recalling instant communication information, does not delete the institute in local cache immediately
Instant communication information is stated, but according to edition interface of the success response generation about the instant communication information is recalled, for user
Before the deadline to the instant communication information into edlin, then, when more than the term of validity, the edition interface is just closed, with
And the instant communication information in deletion local cache;Due to the program can directly by edition interface it is instant to what is recalled
Communication information is pasted into edlin without writing from the beginning again or recalling advance row imagineering, accordingly, with respect to
For existing scheme, it can greatly save and write the time, and simplify operation, be conducive to the processing effect for improving instant communication information
Rate.
Embodiment two,
According to method described in preceding embodiment, will be specifically integrated in as transmitting terminal using the instant communication device below
Terminal in, and transmitting terminal be terminal A, receiving terminal be terminal for illustrate.
As shown in Figure 2 a, a kind of instant communication information processing method, detailed process can be as follows:
201, terminal A is obtained about the withdrawal operation information for having sent instant communication information.
Triggering key is recalled for example, can be arranged in the actions menu that each has sent instant communication information, works as user
When triggering this and recalling triggering key, the withdrawal operation information can be got.
For example, by taking certain instant messaging application in terminal A as an example, Fig. 2 b are participated in, in the session of user and good friend " Zhang San "
In interface, when a certain instant communication information of user's long-press, such as " I does not also know ", a dish can be popped up in session interface
It is single, include " recalling " triggering key in menu, certainly, which can also include other triggering keys, such as duplication, forwarding and receipts
Hide etc.;When " recalling " triggering key is somebody's turn to do in user's triggering, terminal A can get the withdrawal operation information.
Wherein, user trigger the mode for recalling triggering key can there are many, for example, can click, double-click, touch, slide
Dynamic or long-press etc., is not limited thereto.
It should be noted that the instant communication information other than it can be text information, can also be voice messaging, image
Information or video information etc., wherein voice messaging, image information or video information to recall mode similar with text information, than
Such as, referring to Fig. 2 f, when a certain voice messaging of user's long-press, a menu can also be popped up in session interface, wherein including
Triggering keys such as " recalling ", when " recalling " triggering key is somebody's turn to do in user's triggering, terminal A can get the withdrawal operation information,
The information of his type and so on, therefore not to repeat here.
202, terminal A recalls instruction according to withdrawal operation information generation, and sends this to server and recall instruction,
In, this is recalled instruction instruction and needs the instant communication information recalled.
For example, still by taking the example in Fig. 2 b as an example, as shown in Figure 2 c, when the user clicks instant communication information " I not yet
Know " when recalling triggering key, the instruction of recalling about the instant communication information " I does not also know " can be generated, and remove at this
It refers to indicate that the instant communication information " I does not also know " is the instant communication information for needing to recall in enabling.
In another example referring to Fig. 2 f, when recalling triggering key of the voice messaging, can generate about the voice when the user clicks
Information recalls instruction, and indicates that the voice messaging is the instant communication information, etc. for needing to recall in this recalls instruction.
Optionally, in order to avoid maloperation, when recalling triggering key when the user clicks, corresponding operation indicating can also be shown
Information when user, which determines, to be needed to recall, just generates for selection by the user and recalls instruction accordingly.For example, referring to Fig. 2 c and figure
Whether 2f when recalling triggering key when the user clicks, " can recall this bar letter in the lower section display operation prompt message at session interface
Breath " when the user clicks when " determination " triggering key, just generates so that user makees further selection and recalls instruction accordingly;Otherwise,
If the withdrawal operation is " maloperation ", user clicks " cancellation " triggering key, to cancel the withdrawal operation.
203, server receives after this recalls instruction, according to this recall instruction delete in server and terminal B should i.e.
When communication information.For example, specifically can be as follows:
Server confirms that this recalls whether instruction is legal, if illegal, server refuses this and recalls instruction, such as can
With return recall failure response give terminal A, otherwise, if legal, server can delete its own preservation about this
The data of instant communication information, and according to this recall instruction generate UDP packets, by the UDP packets transmission terminal B, by terminal B according to
The UDP packets recall the instant communication information, and delete the data about the instant communication information that terminal B is preserved, while more
In new terminal B in user interface message dispaly state.
If 204, successfully deleting the instant communication information in server and terminal B, server is removed to terminal A returns
Success response is returned, step 205 is then executed.
205, terminal A recalls success response generated time stamp and editor after receiving this and recalling success response according to this
Interface.
For example, terminal A can record the time recalled, as the corresponding timestamp of the instant communication information recalled;Separately
Outside, terminal A can recall success response according to this and obtain storage address of the instant communication information in local cache, and calling connects
Mouth generating function is established the incidence relation of the information processing interface and the storage address, is compiled to establish information processing interface
Collect interface.
Wherein, the form of expression of the edition interface can there are many, for example, can be the triggering keys such as icon or button;Separately
Outside, which can show, and can also be hiding, for example, the original that may be displayed on the instant communication information is aobvious
Show on position, alternatively, the edition interface, etc. can also just be popped up, specifically when the user clicks or when the long-press original display location
Can will it be " showing " with the edition interface depending on the demand of practical application, for convenience, in the present embodiment
For illustrate.
For example, as shown in Figure 2 c, after user recalls instant communication information, in the former display location of the instant communication information
On, it can show and recall prompt message accordingly such as " you recall a piece of news ", so that user knows the withdrawal operation
Not;And near the edition interface can be arranged and " recalled prompt message " at this, such as bottom right in lower-left figure in Fig. 2 c and Fig. 2 f
" updating " in figure is the one of which form of expression of the edition interface.
206, the term of validity of the edition interface is arranged using the timestamp as starting point in terminal A so that the edition interface is effective
Editor's information about the instant communication information can be received in phase.
Wherein, which can be configured according to the demand of practical application, for example, could be provided as 5 minutes, i.e., with
The timestamp (i.e. Withdrawal times) is starting point, (can have been removed to the instant communication information by the edition interface within 5 minutes
The instant communication information returned) it is updated, ensure the interim in the storage time of transmitting terminal local of the instant communication information
Effectively, and if more than 5 minutes, the instant communication information can not be updated by the edition interface again, Jin Erda
To the risk for avoiding privacy of user from revealing.
Since by the edition interface, user can update the instant communication information, therefore, as the editor
When interface is triggered, need to show the instant communication information, it is so that user checks and edits, i.e., " whole in step
End A recalls edition interface of the success response generation about the instant communication information according to this " after, instant communication information processing
Step 207 and 208 can also be performed in method, as follows:
207, when the edition interface is triggered, terminal A obtains the Instant Messenger by the edition interface from local cache
Interrogate information, the instant communication information shown in default editing area, so as to user to the instant communication information into edlin.
Wherein, which can be configured according to the demand of practical application, according to instant communication information class
The difference of type, the editing area can also be different, for example, being respectively text information, voice letter with the instant communication information
For breath, image information and video information, then distinguish can be as step " showing the instant communication information in default editing area "
Under:
(1) instant communication information is text information.
Terminal A shows the text information in the input frame of instant communication information, for example, referring to Fig. 2 d, can specifically incite somebody to action
The text information " I does not also know " got affixes in the input frame of the instant communication information, etc..
(2) instant communication information is voice messaging.
Terminal A calls speech processes process, according to the speech processes process initiation voice edition device, in the voice edition device
Middle display voice messaging.
Wherein, which can be that built-in voice edition device is applied in the instant messaging where the voice messaging,
It can also be third-party voice edition device.
It should be noted that when starting voice edition device, speech processes process can directly be started, alternatively, also may be used
To show the voice edition device, choose whether to start by user, alternatively, multiple voice edition devices can also be shown, by user from
In selected.For example, as shown in figure 2f, it, can be in the user and Zhang San when the user clicks when edition interface " updating "
Session interface lower section, show a floating layer menu, including the startup triggering key of multiple voice edition devices, such as " voice coder
Volume device 1 ", " voice edition device 2 " and " voice edition device 3 " etc., select for user, when user chooses wherein a certain voice coder
Device is collected, when such as clicking the startup triggering key of " voice edition device 1 ", terminal A can start voice edition device 1, in the voice edition
The voice messaging is shown in device, for user to the voice messaging into edlin.
(3) instant communication information is image information.
Terminal A calls image treatment progress, starts image editor according to the picture treatment progress, in the image editor
Middle display image information.
Wherein, which can be that built-in image editor is applied in the instant messaging where the image information,
It can also be third-party image editor.
It should be noted that when starting image editor, image procossing process can directly be started, alternatively, also may be used
To show the image editor, choose whether to start by user, alternatively, multiple images editing machine can also be shown, by user from
In selected, similar with the processing mode of voice messaging herein, this will not be repeated here.
(4) instant communication information is video information.
Terminal A calls video treatment progress, starts video editor according to the picture treatment progress, in the video editor
Middle display video information.
Wherein, which can be that built-in video editor is applied in the instant messaging where the video information,
It can also be third-party video editor.
It should be noted that when starting video editor, video treatment progress can directly be started, alternatively, also may be used
To show the video editor, choose whether to start by user, alternatively, multiple video editors can also be shown, by user from
In selected, similar with the processing mode of voice messaging herein, this will not be repeated here.
208, terminal A receives edit instruction, is carried out to the instant communication information in the editing area according to the edit instruction
Editor, instant communication information after being edited send out instant communication information after the editor when receiving transmission instruction
Send, and in more new user interface message dispaly state.
For example, specifically can instant communication information after the editor be sent to server, will be after the editor by server
When communication information be sent to terminal B, so as to the dispaly state of message in terminal B update own user interface, for example, in terminal
Instant communication information, etc. after the editor is shown in the session interface of B itself.
It should be noted that terminal A is in more new user interface when the dispaly state of message, can there are many modes, specifically
It can be flexibly configured according to the demand of practical application.For example, can be new using instant communication information after the editor as one
Instant communication information sent, alternatively, can also using instant communication information after the editor as former instant communication information into
Row sends (display location for being shown in former instant communication information).
For example, as shown in Figure 2 e, by taking the instant communication information is text information as an example, user can be in instant communication information
Input frame in former instant communication information content " I does not also know " into edlin, for example, being revised as that " I does not also know,
It does not go to eat beef steak", then, when " sending (i.e. ENTER) " key when the user clicks, terminal A, which is generated, sends instruction, and according to the hair
Sending instruction, " I does not also know, otherwise goes to eat beef steak to instant communication information after the editor" sent, hereafter, terminal A can be with
Instant communication information is aobvious in user interface (i.e. the session interface of user and Zhang San) after determining the editor according to current time
Show position, " I does not also know, otherwise go to eat beef steak instant communication information after the editor is shown in the display location”.
Optionally, in addition to the instant communication information new as one of instant communication information after the editor can be sent
Except, display location in the user interface before the instant communication information is recalled can also be determined according to the timestamp, and at this
Instant communication information after the editor is shown in display location.Then for example, with reference to Fig. 2 g, it " sends (i.e. when the user clicks
ENTER) " when key, terminal A, which is generated, sends instruction, and to instant communication information after the editor, " I does not know yet according to transmission instruction
Road, otherwise go to eat beef steak" sent, hereafter, terminal A can be determined according to the timestamp instant communication information " I not yet
Know " recalling the preceding display location in user interface (i.e. the session interface of user and Zhang San), (i.e. " you recall one in Fig. 2 g
Message updates " where position), and show in the display location instant communication information after the editor " I also do not know,
Otherwise it goes to eat beef steak”.
Wherein, step 207 and 208 is optional step.
209, terminal A closes the edition interface when more than the term of validity, and deletes the instant messaging in local cache
Information;For example, specifically can be as follows:
(1) terminal A generates delay task according to the term of validity.
Due to when instant communication information is withdrawn, in addition to server and terminal B can delete instant communication information
Except, terminal A can also delete the instant communication information, and if terminal A deletes the instant communication information, subsequently
The instant communication information can not be updated, therefore, it is necessary to ensure the instant communication information in terminal A caching
Storage is interim effective, so, the Instant Messenger in terminal A cachings " can be deleted with postponement by generating the delay task at this time
The execution of news information ".For example, by taking the instant communication information being withdrawn is " I does not also know " as an example, then it at this time can be temporary
The instant communication information " I does not also know " in terminal A cachings is not deleted.
(2) terminal A hangs up the behaviour for deleting the instant communication information in local (i.e. terminal A) caching according to the delay task
Make.
Wherein, hang up and refer to temporary respite, the mode of the hang-up can there are many, for example, can specifically be prolonged according to this
Slow task is that delayed deletion mark is arranged in the instant communication information, then, which is identified and the timestamp is tied up
It is fixed, and using the timestamp as starting point, which is the time-to-live that delayed deletion mark is arranged in duration.
If for example, the timestamp is " 1 day 11 January in 2018:00 ", the term of validity of edition interface is 10 minutes, then can be with
Set the time-to-live that the delayed deletion identifies to " 1 day 11 January in 2018:00 to 2018 on January 1,11:10 ", etc..
(3) terminal A closes the edition interface when determining that current time is more than the term of validity according to the delay task, and
Execute the operation for deleting the instant communication information in local cache.
For example, by taking hang-up mode in step (2) is setting delayed deletion mark as an example, then at this point, terminal A may determine that this
Delayed deletion identifies whether to be more than the time-to-live, if the delayed deletion identifies more than the time-to-live, if for example, current time
For " 1 day 11 January in 2018:15 ", already exceed " 1 day 11 January in 2018:10 ", then terminal A can be closed according to the delay task
The edition interface is closed, and executes the operation for deleting the instant communication information in terminal A cachings, for example is deleted in terminal A cachings
" I does not also know " related data, etc..
From the foregoing, it will be observed that the present embodiment, after successfully recalling instant communication information, transmitting terminal (i.e. terminal A) is not deleted immediately
It is withdrawn instant communication information in local cache, but instant messaging letter is withdrawn about this according to success response generation is recalled
The edition interface of breath, so that user is withdrawn instant communication information into edlin, and in predeterminated position pair to this before the deadline
Instant communication information is shown after editor, is write from the beginning again without user or viscous recalling advance row imagineering
Patch, is greatly saved writing the time for user, not only convenient and flexible operation, but also improve treatment effeciency;In addition, the program is also
It is provided with certain term of validity for the edition interface, when more than the term of validity, closes the edition interface, and is deleted local slow
This in depositing is withdrawn instant communication information, so, it can ensure that the safety of information to avoid the leakage of privacy of user.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention also provides a kind of instant communication information processing unit, should
Instant communication information processing unit can be specifically integrated in the terminal as transmitting terminal (recalling end), which specifically can be with
For equipment such as mobile phone, tablet computer, wearable intelligent equipment, laptop or PC.
For example, as shown in Figure 3a, which may include acquiring unit 301, transmission unit
302, receiving unit 303, generation unit 304 and deleting unit 305 are as follows:
(1) acquiring unit 301;
Acquiring unit 301 recalls instruction for obtaining, this is recalled instruction instruction and needs the instant communication information recalled.
For example, the acquiring unit, can specifically obtain about the withdrawal operation information for having sent instant communication information, so
Afterwards, instruction is recalled according to withdrawal operation information generation, and indicates that this has sent instant communication information and has been in this recalls instruction
Need the instant communication information recalled.
(2) transmission unit 302;
Transmission unit 302 recalls instruction for sending this to server, recalls instruction according to this so as to server and deletes clothes
The instant communication information being engaged in device and receiving terminal.
For example, server after receiving this and recalling instruction, can be confirmed this recall instruction it is whether legal, if do not conformed to
Method, then server refuses this and recalls instruction, for example can return and recall failure response to the transmitting terminal (recalling end), otherwise,
If legal, server can delete the data about the instant communication information of its own preservation, and recall finger according to this
Enable generation UDP packets that the UDP packets transmitting and receiving terminal (being withdrawn end) is recalled the Instant Messenger by the receiving terminal according to the UDP packets
Information is interrogated, and deletes the data about the instant communication information that receiving terminal is locally preserved, while updating and receiving end subscriber circle
The dispaly state of message in face.
When what server successfully deleted that its own is preserved (needs the instant messaging recalled about the instant communication information
Information) data and after receiving terminal successfully deletes the data about the instant communication information, server can be generated and be returned
Recall success response give the transmitting terminal, then at this point, the transmission unit 303 of transmitting terminal, which can receive this, recalls success response,
Referring to (3).
(3) receiving unit 303;
Receiving unit 303 is successfully rung for recalling of receiving that server returns after successfully deleting the instant communication information
It answers.
(4) generation unit 304;
Generation unit 304 should for recalling edition interface of the success response generation about the instant communication information according to this
Edition interface is used to receive editor's information about the instant communication information before the deadline.
For example, the generation unit 304, specifically for recalling success response generated time stamp and edition interface according to this, with
The timestamp is starting point, the term of validity of the edition interface is arranged so that the edition interface can be received about this before the deadline
Editor's information of instant communication information.
For example, the generation unit 304 can record the time recalled, when corresponding as the instant communication information recalled
Between stab, and success response is recalled according to this and obtains storage address of the instant communication information in local cache, calling interface
Generating function is established the incidence relation of the information processing interface and the storage address, is edited to establish information processing interface
Interface
Wherein, the form of expression of the edition interface can there are many, for example, can be the triggering keys such as icon or button;Separately
Outside, which can show, and can also be hiding, for example, the original that may be displayed on the instant communication information is aobvious
Show on position, alternatively, the edition interface, etc. can also just be popped up, specifically when the user clicks or when the long-press original display location
Can be depending on the demand of practical application, details are not described herein.
(5) deleting unit 305;
Deleting unit 305 for when more than the term of validity, closing the edition interface, and deletes being somebody's turn to do in local cache
Instant communication information.
The deleting unit 305 specifically can be used for generating delay task according to the term of validity, be hung up according to the delay task
The operation for deleting the instant communication information in local cache, when determining that current time is more than the term of validity, according to the delay
Task closes the edition interface, and executes the operation for deleting the instant communication information in local cache.
Wherein, hang up and refer to temporary respite, the mode of the hang-up can there are many, for example, deleting unit 305 specifically may be used
With according to the delay task be the instant communication information be arranged delayed deletion identify, then, by the delayed deletion identify and this when
Between stab and bound, and using the timestamp as starting point, which is the time-to-live that delayed deletion mark is arranged in duration;This
Afterwards, it has been more than the time-to-live that deleting unit 305, which may determine that the delayed deletion identifies whether, if the delayed deletion identifies more than this
Time-to-live can then close the edition interface according to the delay task, and execute the instant messaging deleted in local cache
The operation of information.
In addition, it is optional, since by the edition interface, user can update the instant communication information,
Therefore, it when the edition interface is triggered, needs to show the instant communication information, so that user checks and compiles
Volume, i.e., as shown in Figure 3b, which can also include display unit 306, as follows:
The acquiring unit 301 can be also used for when the edition interface is triggered, by the edition interface from local cache
Middle acquisition instant communication information.
The display unit 306 can be used for showing the instant communication information in default editing area, so that user is to this
When communication information into edlin.
Wherein, which can be configured according to the demand of practical application, for example, being believed according to instant messaging
The difference of type is ceased, which can also be different, for example, being respectively text information, language with the instant communication information
It, then specifically can be as follows for message breath, image information and video information:
The display unit 306 specifically can be used for when the instant communication information is text information, in instant communication information
Input frame in show the instant communication information.
Alternatively, the display unit 306, specifically can be used for, when the instant communication information is voice messaging, calling voice
Treatment progress shows the instant communication information according to the speech processes process initiation voice edition device in the voice edition device.
Alternatively, the display unit 306, specifically can be used for, when the instant communication information is image information, calling image
Treatment progress starts image editor according to the picture treatment progress, the instant communication information is shown in the image editor.
Alternatively, the display unit 306, specifically can be used for, when the instant communication information is video information, calling video
Treatment progress starts video editor according to the picture treatment progress, the instant communication information is shown in the video editor.
Wherein, voice edition device, image editor and the video editor can be where the instant communication information i.e.
When communication applications built in voice edition device, image editor and video editor, can also be third-party voice edition device,
Image editor and video editor, details are not described herein.
Optionally, as shown in Figure 3b, which can also include that edit cell 307 and update are single
Member 308 is as follows:
The acquiring unit 301 can be also used for receiving edit instruction.
The edit cell 307 can be used for carrying out the instant communication information in the editing area according to the edit instruction
Editor, instant communication information after being edited.
The updating unit 308 can be used for, when receiving transmission instruction, sending out instant communication information after the editor
Send, and in more new user interface message dispaly state.
Wherein, can be there are many mode in more new user interface when the dispaly state of message, it specifically can be according to reality
The demand of application is flexibly configured.For example, the instant messaging new as one of instant communication information after the editor can be believed
Breath is sent, and (is shown alternatively, can also be sent instant communication information after the editor as former instant communication information
In the display location of former instant communication information), i.e.,:
Updating unit 308, instant communication information is in user circle after specifically can be used for determining the editor according to current time
Display location in face shows instant communication information after the editor in the display location.
Alternatively, updating unit 308, specifically can be used for according to the timestamp determine before the instant communication information is recalled with
Display location in the interface of family shows instant communication information after the editor in the display location.
When it is implemented, above each unit can be realized as independent entity, arbitrary combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
From the foregoing, it will be observed that the instant communication information processing unit of the present embodiment is after successfully recalling instant communication information, not
The instant communication information in local cache is deleted immediately, but generates pass according to success response is recalled by generation unit 304
In the edition interface of the instant communication information, so that user is before the deadline to the instant communication information into edlin, then,
When more than the term of validity, the edition interface is just closed by deleting unit 305, and delete the instant messaging in local cache
Information;Due to the program can directly by edition interface to the instant communication information recalled into edlin, without again from
Head starts to write or be pasted recalling advance row imagineering, for existing scheme, can greatly save and write
Time, and simplify operation, be conducive to the treatment effeciency for improving instant communication information, further, since the program is also the editor
Interface is provided with certain term of validity, when more than the term of validity, closes the edition interface, and delete being somebody's turn to do in local cache
It is withdrawn instant communication information, so, it can ensure that the safety of information to avoid the leakage of privacy of user.
Example IV,
Correspondingly, the embodiment of the present invention also provides a kind of terminal, it can be used as transmitting terminal, wherein can integrate of the invention real
Apply the processing unit for any instant communication information that example is provided.As shown in figure 4, the terminal may include radio frequency (RF,
Radio Frequency) circuit 401, the memory 402, defeated that includes one or more computer readable storage mediums
Enter unit 403, display unit 404, sensor 405, voicefrequency circuit 406, Wireless Fidelity (WiFi, Wireless Fidelity)
Module 407, include there are one or more than one processing core processor 408 and the components such as power supply 409.This field skill
Art personnel are appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 4, may include more or more than illustrating
Few component either combines certain components or different components arrangement.Wherein:
RF circuits 401 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 408 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuits 401 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuits 401 can also by radio communication with network and its
He communicates equipment.The wireless communication can use any communication standard or agreement, including but not limited to global system for mobile telecommunications system
Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term
Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 402 can be used for storing software program and module, and processor 408 is stored in memory 402 by operation
Software program and module, to perform various functions application and data processing.Memory 402 can include mainly storage journey
Sequence area and storage data field, wherein storing program area can storage program area, the application program (ratio needed at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored uses created data according to terminal
(such as audio data, phone directory etc.) etc..In addition, memory 402 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 402 can also include Memory Controller, to provide processor 408 and input unit 403 to memory 402
Access.
Input unit 403 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, in a specific embodiment
In, input unit 403 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or tactile
Control plate, collect user on it or neighbouring touch operation (such as user using any suitable object such as finger, stylus or
Operation of the attachment on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 408, and can reception processing
Order that device 408 is sent simultaneously is executed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.In addition to touch sensitive surface, input unit 403 can also include other input equipments.Specifically, other are defeated
Enter equipment and can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
It is one or more in mark, operating lever etc..
Display unit 404 can be used for showing information input by user or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.Display
Unit 404 may include display panel, optionally, may be used liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, when touch sensitive surface detects on it or after neighbouring touch operation, send processing to
Device 408 is followed by subsequent processing device 408 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event
Visual output.Although in Fig. 4, touch sensitive surface and display panel are to realize input and input as two independent components
Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Terminal may also include at least one sensor 405, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or the back of the body when terminal is moved in one's ear
Light.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) acceleration
Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 406, loud speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 406 can
By the transformed electric signal of the audio data received, it is transferred to loud speaker, voice signal output is converted to by loud speaker;It is another
The voice signal of collection is converted to electric signal by aspect, microphone, and audio data is converted to after being received by voicefrequency circuit 406, then
After the processing of audio data output processor 408, through RF circuits 401 to be sent to such as another terminal, or by audio data
Output is further processed to memory 402.Voicefrequency circuit 406 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 407
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 4 is shown
WiFi module 407, but it is understood that, and it is not belonging to must be configured into for terminal, it can not change as needed completely
Become in the range of the essence of invention and omits.
Processor 408 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 402, and call and be stored in memory 402
Data execute the various functions and processing data of terminal, to carry out integral monitoring to mobile phone.Optionally, processor 408 can wrap
Include one or more processing cores;Preferably, processor 408 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 408.
Terminal further includes the power supply 409 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 408 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.Power supply 409 can also include one or more direct current or AC power, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal can also include camera, bluetooth module etc., and details are not described herein.Specifically in this implementation
In example, the processor 408 in terminal can be corresponding by the process of one or more application program according to following instruction
Executable file is loaded into memory 402, and runs the application program being stored in memory 402 by processor 408, from
And realize various functions:
Instruction is recalled in acquisition, this is recalled instruction instruction and needs the instant communication information recalled, and sends this to server and recalls
Instruction receives server so that server recalls the instant communication information in instruction deletion server and receiving terminal according to this
What is returned after successfully deleting the instant communication information recalls success response, and recalling success response according to this generates about this immediately
The edition interface of communication information, the edition interface are used to receive editor's information about the instant communication information before the deadline,
When more than the term of validity, the edition interface is closed, and deletes the instant communication information in local cache.
For example, success response generated time stamp and edition interface can be specifically recalled according to this, using the timestamp as starting point,
The term of validity of the edition interface is set so that the edition interface can receive the volume about the instant communication information before the deadline
Collect information.
Wherein, which can be configured according to the demand of practical application, and details are not described herein.
Since by the edition interface, user can update the instant communication information, therefore, as the editor
It when interface is triggered, needs to show the instant communication information, so that user checks and edits, you can choosing, place
Reason device 408 can also run the application program being stored in memory 402, to realize following functions:
When the edition interface is triggered, which is obtained from local cache by the edition interface,
Default editing area shows the instant communication information, so as to user to the instant communication information into edlin.
Wherein, which can be configured according to the demand of practical application, for example, being believed according to instant messaging
The difference of type is ceased, which can also be different, and for details, reference can be made to preceding embodiments, and details are not described herein.
In addition, optional, which can also run the application program being stored in memory 402, to realize
Following functions:
Edit instruction is received, the instant communication information in the editing area is obtained into edlin according to the edit instruction
Instant communication information after editor sends instant communication information after the editor, and update use when receiving transmission instruction
The dispaly state of message in the interface of family.
Wherein, can be there are many mode in more new user interface when the dispaly state of message, it specifically can be according to reality
The demand of application is flexibly configured.For example, the instant messaging new as one of instant communication information after the editor can be believed
Breath is sent, and (is shown alternatively, can also be sent instant communication information after the editor as former instant communication information
In the display location of former instant communication information), the embodiment of front is referred to, details are not described herein.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
From the foregoing, it will be observed that the terminal of the present embodiment does not delete local cache immediately after successfully recalling instant communication information
In the instant communication information, but generate edition interface about the instant communication information according to success response is recalled, with
For user before the deadline to the instant communication information into edlin, then, when more than the term of validity, just closes the editor and connect
Mouthful, and delete the instant communication information in local cache;Since the program can be directly by edition interface to recalling
Instant communication information into edlin, pasted without writing from the beginning again or recalling advance row imagineering, therefore,
For existing scheme, it can greatly save and write the time, and simplify operation, be conducive to improve instant communication information
Treatment effeciency.
Embodiment five,
It will appreciated by the skilled person that all or part of step in the various methods of above-described embodiment can be with
It is completed by instructing, or controls relevant hardware by instructing and complete, which can be stored in one and computer-readable deposit
In storage media, and is loaded and executed by processor.
For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein being stored with a plurality of instruction, which can be handled
Device is loaded, to execute the step in any instant communication information processing method that the embodiment of the present invention is provided.For example,
The instruction can execute following steps:
Instruction is recalled in acquisition, this is recalled instruction instruction and needs the instant communication information recalled, and sends this to server and recalls
Instruction receives server so that server recalls the instant communication information in instruction deletion server and receiving terminal according to this
What is returned after successfully deleting the instant communication information recalls success response, and recalling success response according to this generates about this immediately
The edition interface of communication information, the edition interface are used to receive editor's information about the instant communication information before the deadline,
When more than the term of validity, the edition interface is closed, and deletes the instant communication information in local cache.
Since by the edition interface, user can update the instant communication information, therefore, as the editor
It when interface is triggered, needs to show the instant communication information, so that user checks and edits, you can choosing, it should
Following steps can also be performed in instruction:
When the edition interface is triggered, which is obtained from local cache by the edition interface,
Default editing area shows the instant communication information, so as to user to the instant communication information into edlin.
Wherein, which can be configured according to the demand of practical application, for example, being believed according to instant messaging
The difference of type is ceased, which can also be different, and for details, reference can be made to preceding embodiments, and details are not described herein.
In addition, optional, which can also be performed following steps:
Edit instruction is received, the instant communication information in the editing area is obtained into edlin according to the edit instruction
Instant communication information after editor sends instant communication information after the editor, and update use when receiving transmission instruction
The dispaly state of message in the interface of family.
Wherein, can be there are many mode in more new user interface when the dispaly state of message, it specifically can be according to reality
The demand of application is flexibly configured.For example, the instant messaging new as one of instant communication information after the editor can be believed
Breath is sent, and (is shown alternatively, can also be sent instant communication information after the editor as former instant communication information
In the display location of former instant communication information), the embodiment of front is referred to, details are not described herein.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
Wherein, which may include:Read-only memory (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, any Instant Messenger that the embodiment of the present invention is provided can be executed
The step in information processing method is interrogated, it is thereby achieved that at any instant communication information that the embodiment of the present invention is provided
Advantageous effect achieved by reason method refers to the embodiment of front, and details are not described herein.
A kind of instant communication information processing method, device and storage medium is provided for the embodiments of the invention above to carry out
It is discussed in detail, principle and implementation of the present invention are described for specific case used herein, above example
Explanation be merely used to help understand the present invention method and its core concept;Meanwhile for those skilled in the art, foundation
The thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not
It is interpreted as limitation of the present invention.
Claims (15)
1. a kind of instant communication information processing method, which is characterized in that including:
Instruction, the instant communication information recalled instruction instruction needs and recalled are recalled in acquisition;
Instruction is recalled to described in server transmission, instruction is recalled according to so as to server and deletes in server and receiving terminal
The instant communication information;
What reception server returned after successfully deleting the instant communication information recalls success response;
According to the edition interface for recalling success response generation about the instant communication information, the edition interface is used for
Editor's information about the instant communication information is received in the term of validity;
When more than the term of validity, the edition interface is closed, and deletes the instant communication information in local cache.
2. according to the method described in claim 1, being generated about described it is characterized in that, recalling success response described in the basis
The edition interface of instant communication information, the edition interface are used to receive the volume about the instant communication information before the deadline
Collecting information includes:
Success response generated time stamp and edition interface are recalled according to described;
Using the timestamp as starting point, the term of validity of the edition interface is set so that the edition interface before the deadline can
The enough editor's information received about the instant communication information.
3. according to the method described in claim 2, it is characterized in that, recalling success response generation edition interface, packet according to described
It includes:
It recalls success response according to described and obtains storage address of the instant communication information in local cache;
Calling interface generating function is to establish information processing interface;
The incidence relation for establishing described information Processing Interface and the storage address, obtains edition interface.
4. according to the method described in claim 1, it is characterized in that, described when more than the term of validity, the editor is closed
Interface, and the instant communication information in local cache is deleted, including:
Delay task is generated according to the term of validity;
The operation for deleting the instant communication information in local cache is hung up according to the delay task;
When determining that current time is more than the term of validity, the edition interface is closed according to the delay task, and execute and delete
Except the operation of the instant communication information in local cache.
5. according to the method described in claim 4, it is characterized in that, described hung up according to the delay task deletes local cache
In the instant communication information operation, including:
It is that delayed deletion mark is arranged in the instant communication information according to the delay task;
Delayed deletion mark and the timestamp are bound, and using the timestamp as starting point, the term of validity is
The time-to-live of the delayed deletion mark is arranged in duration;
It is described when determining that current time is more than the term of validity, the edition interface is closed according to the delay task, and hold
Row deletes the operation of the instant communication information in local cache, including:When the delayed deletion identifies more than the survival
When the time, the edition interface is closed according to the delay task, and executes the instant messaging letter deleted in local cache
The operation of breath.
6. method according to any one of claims 1 to 5, which is characterized in that recall success response life described in the basis
After the edition interface about the instant communication information, further include:
When the edition interface is triggered, the instant communication information is obtained from local cache by the edition interface;
Show the instant communication information in default editing area, so as to user to the instant communication information into edlin.
7. according to the method described in claim 6, it is characterized in that, the instant communication information be voice messaging, it is described pre-
If editing area shows the instant communication information, including:
Call speech processes process;
According to the speech processes process initiation voice edition device;
The instant communication information is shown in the voice edition device.
8. according to the method described in claim 6, it is characterized in that, the instant communication information be image information, it is described pre-
If editing area shows the instant communication information, including:
Call image treatment progress;
Start image editor according to the picture treatment progress;
The instant communication information is shown in described image editing machine.
9. according to the method described in claim 6, it is characterized in that, the instant communication information be video information, it is described pre-
If editing area shows the instant communication information, including:
Call video treatment progress;
Start video editor according to the picture treatment progress;
The instant communication information is shown in the video editor.
10. according to the method described in claim 6, it is characterized in that, described show the instant messaging in default editing area
After information, further include:
Receive edit instruction;
According to the edit instruction to the instant communication information in the editing area into edlin, instant messaging after being edited
Information;
When receiving transmission instruction, instant communication information after the editor is sent, and message in more new user interface
Dispaly state.
11. according to the method described in claim 10, it is characterized in that, in the more new user interface message dispaly state,
Including:
The display location of instant communication information in the user interface after the editor is determined according to current time;
Instant communication information after the editor is shown in the display location.
12. according to the method described in claim 10, it is characterized in that, in the more new user interface message dispaly state,
Including:
Determine that the instant communication information recalls preceding display location in the user interface according to the timestamp;
Instant communication information after the editor is shown in the display location.
13. a kind of instant communication information processing unit, which is characterized in that including:
Acquiring unit recalls instruction for obtaining, the instant communication information recalled instruction instruction needs and recalled;
Transmission unit recalls instruction so as to server according to and deletes service for recalling instruction described in being sent to server
The instant communication information in device and receiving terminal;
Receiving unit recalls success response for receive that server returns after successfully deleting the instant communication information;
Generation unit, it is described for recalling edition interface of the success response generation about the instant communication information according to
Edition interface is used to receive editor's information about the instant communication information before the deadline;
Deleting unit closes the edition interface for when more than the term of validity, and delete in local cache it is described i.e.
When communication information.
14. device according to claim 13, which is characterized in that further include display unit;
The acquiring unit is additionally operable to, when the edition interface is triggered, obtain from local cache by the edition interface
Take the instant communication information;
The display unit, for showing the instant communication information in default editing area, so that user is to the Instant Messenger
Information is interrogated into edlin.
15. a kind of storage medium, which is characterized in that the storage medium is stored with a plurality of instruction, and described instruction is suitable for processor
It is loaded, the step in 1 to 12 any one of them instant communication information processing method is required with perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810342492.0A CN108566332B (en) | 2018-04-17 | 2018-04-17 | Instant messaging information processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810342492.0A CN108566332B (en) | 2018-04-17 | 2018-04-17 | Instant messaging information processing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108566332A true CN108566332A (en) | 2018-09-21 |
CN108566332B CN108566332B (en) | 2022-07-08 |
Family
ID=63535567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810342492.0A Active CN108566332B (en) | 2018-04-17 | 2018-04-17 | Instant messaging information processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108566332B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558054A (en) * | 2018-11-30 | 2019-04-02 | 努比亚技术有限公司 | A kind of message treatment method of mobile terminal, mobile terminal and storage medium |
CN109587348A (en) * | 2019-01-25 | 2019-04-05 | 努比亚技术有限公司 | Communication management information method, mobile terminal and computer readable storage medium |
CN109951379A (en) * | 2019-03-26 | 2019-06-28 | 北京小米移动软件有限公司 | Message treatment method and device |
CN110740091A (en) * | 2019-09-12 | 2020-01-31 | 北京达佳互联信息技术有限公司 | Processing method and device for sharing message, electronic equipment and readable storage medium |
CN111913625A (en) * | 2020-08-20 | 2020-11-10 | 网易(杭州)网络有限公司 | Message processing method and device and electronic equipment |
CN112035206A (en) * | 2020-09-01 | 2020-12-04 | 腾讯科技(深圳)有限公司 | Message processing method and device |
CN112217714A (en) * | 2020-11-05 | 2021-01-12 | 上海云鱼智能科技有限公司 | Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session |
CN112527533A (en) * | 2020-12-24 | 2021-03-19 | 网易(杭州)网络有限公司 | Method and device for processing publication information and electronic terminal |
CN113489638A (en) * | 2021-07-08 | 2021-10-08 | 北卡科技有限公司 | Message safety deleting method for instant communication system |
CN113835907A (en) * | 2021-09-29 | 2021-12-24 | 上海掌门科技有限公司 | Message processing method, device and machine-readable storage medium |
CN113992615A (en) * | 2021-10-26 | 2022-01-28 | 维沃移动通信有限公司 | Display method and device of withdrawal message, electronic equipment and storage medium |
Citations (4)
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 |
CN105892805A (en) * | 2016-03-29 | 2016-08-24 | 北京小米移动软件有限公司 | Instant message processing method and device |
CN106878152A (en) * | 2016-02-29 | 2017-06-20 | 艾威梯科技(北京)有限公司 | A kind of message cancelling method and module for instant messaging |
CN107797835A (en) * | 2016-08-31 | 2018-03-13 | 天津三星通信技术研究有限公司 | The method and device handled message |
-
2018
- 2018-04-17 CN CN201810342492.0A patent/CN108566332B/en active Active
Patent Citations (4)
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 |
CN106878152A (en) * | 2016-02-29 | 2017-06-20 | 艾威梯科技(北京)有限公司 | A kind of message cancelling method and module for instant messaging |
CN105892805A (en) * | 2016-03-29 | 2016-08-24 | 北京小米移动软件有限公司 | Instant message processing method and device |
CN107797835A (en) * | 2016-08-31 | 2018-03-13 | 天津三星通信技术研究有限公司 | The method and device handled message |
Non-Patent Citations (1)
Title |
---|
007七七: "微信新功能:撤回的消息还能重新编辑!", 《手机网易网(HTTPS://3G.163.COM/DY/ARTICLE/D5FLUUJ80511RE9V.HTML)》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558054A (en) * | 2018-11-30 | 2019-04-02 | 努比亚技术有限公司 | A kind of message treatment method of mobile terminal, mobile terminal and storage medium |
CN109587348A (en) * | 2019-01-25 | 2019-04-05 | 努比亚技术有限公司 | Communication management information method, mobile terminal and computer readable storage medium |
CN109951379A (en) * | 2019-03-26 | 2019-06-28 | 北京小米移动软件有限公司 | Message treatment method and device |
CN109951379B (en) * | 2019-03-26 | 2021-08-31 | 北京小米移动软件有限公司 | Message processing method and device |
CN110740091A (en) * | 2019-09-12 | 2020-01-31 | 北京达佳互联信息技术有限公司 | Processing method and device for sharing message, electronic equipment and readable storage medium |
CN110740091B (en) * | 2019-09-12 | 2022-03-25 | 北京达佳互联信息技术有限公司 | Processing method and device for sharing message, electronic equipment and readable storage medium |
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 |
CN112035206A (en) * | 2020-09-01 | 2020-12-04 | 腾讯科技(深圳)有限公司 | Message processing method and device |
CN112217714A (en) * | 2020-11-05 | 2021-01-12 | 上海云鱼智能科技有限公司 | Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session |
CN112217714B (en) * | 2020-11-05 | 2022-08-02 | 上海云鱼智能科技有限公司 | Method, device, server, client, terminal and storage medium for deleting information in two directions in instant communication session |
CN112527533A (en) * | 2020-12-24 | 2021-03-19 | 网易(杭州)网络有限公司 | Method and device for processing publication information and electronic terminal |
CN113489638A (en) * | 2021-07-08 | 2021-10-08 | 北卡科技有限公司 | Message safety deleting method for instant communication system |
CN113835907A (en) * | 2021-09-29 | 2021-12-24 | 上海掌门科技有限公司 | Message processing method, device and machine-readable storage medium |
CN113992615A (en) * | 2021-10-26 | 2022-01-28 | 维沃移动通信有限公司 | Display method and device of withdrawal message, electronic equipment and storage medium |
WO2023072150A1 (en) * | 2021-10-26 | 2023-05-04 | 维沃移动通信有限公司 | Recalled message display method and apparatus, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108566332B (en) | 2022-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108566332A (en) | A kind of instant communication information processing method, device and storage medium | |
CN104462128B (en) | The method, apparatus and terminal device of multimedia file processing | |
CN106412093B (en) | A kind of method for uploading of data, apparatus and system | |
CN110460905A (en) | The automatic continuous playing method of video, device and storage medium based on more equipment | |
CN106357808B (en) | A kind of method of data synchronization and device | |
CN104679381B (en) | Switch the method and device of chat window | |
CN108334265B (en) | A kind of document handling method and mobile terminal | |
CN108920239A (en) | A kind of long screenshotss method and mobile terminal | |
CN110413364A (en) | A kind of information processing method and terminal | |
CN107861688A (en) | A kind of data-erasure method, terminal and readable storage medium storing program for executing | |
CN109814968A (en) | A kind of data inputting method, terminal device and computer readable storage medium | |
CN106973330A (en) | A kind of screen live broadcasting method, device and system | |
CN110213440A (en) | A kind of images share method and terminal | |
CN108039963A (en) | A kind of container collocation method, device and storage medium | |
CN109639569A (en) | A kind of social communication method and terminal | |
CN108111676A (en) | A kind of application control method and mobile terminal | |
CN108898552A (en) | Picture joining method, double screen terminal and computer readable storage medium | |
CN109558054A (en) | A kind of message treatment method of mobile terminal, mobile terminal and storage medium | |
CN108900407B (en) | Method and device for managing session record and storage medium | |
CN109189303A (en) | Method for editing text and mobile terminal | |
CN109088997A (en) | A kind of gaming audio control method, terminal and computer readable storage medium | |
CN109491632A (en) | A kind of resource sharing method and terminal | |
CN109542325A (en) | Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing | |
CN109271262A (en) | A kind of display methods and terminal | |
CN109375846A (en) | Spirogram target display methods and device, mobile terminal and readable storage medium storing program for executing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |