CN105828303A - Method and device for deleting message on terminal - Google Patents
Method and device for deleting message on terminal Download PDFInfo
- Publication number
- CN105828303A CN105828303A CN201510007451.2A CN201510007451A CN105828303A CN 105828303 A CN105828303 A CN 105828303A CN 201510007451 A CN201510007451 A CN 201510007451A CN 105828303 A CN105828303 A CN 105828303A
- Authority
- CN
- China
- Prior art keywords
- message
- instruction information
- deleting
- deletion instruction
- deletion
- 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
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000012217 deletion Methods 0.000 claims abstract description 80
- 230000037430 deletion Effects 0.000 claims abstract description 80
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention mainly aims at providing a method and a device for deleting a message on a terminal, so as to solve the problem that a message can not be destroyed on the terminal according to user requirements in the prior art. The method for deleting a message on the terminal comprises steps: a deletion instruction message set by a sender corresponding to a received message is acquired; and before the message is forwarded, whether the message meets a deletion condition is judged according to the deletion instruction message, if yes, the message is deleted, or otherwise, the deletion instruction message is updated. The scheme improves user experience.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and device deleting message in terminal.
Background technology
At present, along with improving constantly of intelligent terminal and communications applications software engineering, based on some communications applications, terminal can be realized in the message received, the function of auto-destruct message after user reads, this mode serves certain protective effect to message content, can forbid that user forwards, but, which does not fully take into account whether message originator allows message to be forwarded, or the number of times that permission message is forwarded, in addition, for the angle of user, user can only passively receive message, when sending the message that message is burn-after-reading, message can be destroyed after reading, in this case, user cannot forward the messages to third party, i.e., the initiative utilizing message cannot be grasped.Visible, existing cannot destroy message according to the demand of user in terminal, be not easy to user and use.
Summary of the invention
Present invention is primarily targeted at a kind of method and device deleting message in terminal of offer, to solve the problem that prior art cannot destroy message according to user's request in terminal.
According to an aspect of the invention, it is provided a kind of method deleting message in terminal, including: obtain the deletion instruction information that sender corresponding to the message received is arranged;Before message is forwarded, judge whether message meets deletion condition according to deleting instruction information, if it is, delete message, delete instruction information if it is not, then update.
Wherein, delete instruction information to include: the type of message that message originator is arranged, type of message includes: message does not delete message after deleting message and message forwarding after forwarding, update deletion instruction information to include: if type of message the most to be forwarded is for deleting message after forwarding, before message is forwarded, update and delete instruction information, instruction information of deleting after updating is carried in message to be forwarded, delete message, if type of message the most to be forwarded is not for deleting message after forwarding, the deletion instruction information of the most more new information, and the deletion instruction information after updating sends to service end.
Wherein, deleting instruction information and include the hop count of message, client obtains the deletion instruction information that sender corresponding to the message received is arranged, including: when the type of message is to delete message after message forwards, then obtain the hop count carried in message;If the type of message is not for deleting message after forwarding, obtain the message hop count being stored in service end.
Wherein, judge whether message meets deletion condition and include according to deletion instruction information: judge whether the hop count of message reaches default message hop count, if it is, determine that message meets deletion condition, if it is not, then determine that message is unsatisfactory for deletion condition.
Wherein, delete instruction information and include the moment that message originates, and message allows the duration of existence, judge whether message meets deletion condition according to deleting instruction information, including: obtain the time that terminal is current, the moment originated according to the time got and message determines whether the time period that message exists reaches the duration that message allows to exist, and in the case of determining that the time period that message exists reaches the duration that message allows existence, determines that message meets deletion condition.
According to another aspect of the present invention, it is provided that a kind of device deleting message in terminal, including: acquisition module, for obtaining the deletion instruction information that sender corresponding to the message received is arranged;According to deleting instruction information, judge module, for before message is forwarded, judges whether message meets deletion condition;Removing module, for when the judged result of judge module is for being, then deletes message;More new module, for when the judged result of judge module is no, then updates and deletes instruction information.
Wherein, delete instruction information to include: the type of message that message originator is arranged, type of message includes: message does not delete message after deleting message and message forwarding after forwarding, more new module includes: the first updating block, if for type of message the most to be forwarded for deleting message after forwarding, before message is forwarded, updating and delete instruction information, instruction information of deleting after updating is carried in message to be forwarded, deletes message;Second updating block, if for type of message the most to be forwarded for not deleting message after forwarding, the deletion instruction information of the most more new information, and the deletion instruction information after updating sends to service end.
Wherein, deleting instruction information and include the hop count of message, acquisition module includes: the first acquiring unit, for when the type of message is to delete message after message forwards, then obtaining the hop count carried in message;Second acquisition unit, if not deleting message after the type of message is to forward, obtains the message hop count being stored in service end.
Wherein, it is judged that module is used for: judge whether the hop count of message reaches default message hop count, if it is, determine that message meets deletion condition, if it is not, then determine that message is unsatisfactory for deletion condition.
Wherein, delete instruction information and include the moment that message originates, and message allows the duration of existence, judge module includes: first determines unit, for obtaining the time that terminal is current, the moment originated according to the time got and message determines whether the time period that message exists reaches the duration that message allows to exist;Second determines unit, for, in the case of determining that the time period that message exists reaches the duration that message allows existence, determining that message meets deletion condition.
The present invention has the beneficial effect that:
The embodiment of the present invention after receiving the message, obtains the deletion instruction information that sender corresponding to the message received is arranged;And before forwarding described message, judge whether described message meets deletion condition according to described deletion instruction information, message is deleted in the case of meeting condition, in the case of being unsatisfactory for condition, update and delete instruction information, make client can determine whether to delete message based on the information that sender is arranged, it is achieved that based on user's request in the purpose of terminal deletion message, to improve Consumer's Experience.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method deleting message in terminal of the embodiment of the present invention 1;
Fig. 2 is the method flow diagram deleting message in terminal of the embodiment of the present invention 2;
Fig. 3 is the structured flowchart of the device deleting message in terminal of the embodiment of the present invention 3.
Detailed description of the invention
By further illustrating the technological means and effect that the present invention taked by reaching predetermined purpose, below in conjunction with accompanying drawing and preferred embodiment, the present invention is described in detail as after.
Embodiment 1
Embodiments provide a kind of method deleting message in terminal, concrete, this message can be to send the message to other-end by the application of certain class in terminal, i.e., the message transmitted can be carried out between the terminals, Fig. 1 is the flow chart of the method deleting message in terminal of the embodiment of the present invention 1, as it is shown in figure 1, the method includes:
Step 101: obtain the deletion instruction information that sender corresponding to the message received is arranged;
Instruction information of deleting in this embodiment specifically may include that the type of the message of message originator or message composer setting, concrete, wherein, the type of message that message originator is arranged includes that message does not delete message after deleting message and message forwarding after forwarding, wherein, delete instruction information and also include the hop count of message;
In this step 101, obtain deletion instruction information and be specifically as follows:
Client obtains the deletion instruction information that sender corresponding to the message received is arranged, including: when the type of message is to delete message after message forwards, then obtain the hop count carried in message;If the type of message is not for deleting message after forwarding, obtain the message hop count being stored in service end.
According to deleting instruction information, step 102: before message is forwarded, judges whether message meets deletion condition, if it is, perform step 103;If it does not, perform step 104.
Specifically, this step 102 judges whether message meets deletion condition and may include that and judge whether the hop count of message reaches default message hop count, if it is, determine that message meets deletion condition according to deleting instruction information, if it is not, then determine that message is unsatisfactory for deletion condition.
Step 103: delete message;
Step 104: update and delete instruction information.
Based on this, above-mentioned steps 104 specifically may include that renewal is deleted instruction information and included: if type of message the most to be forwarded is for deleting message after forwarding, before message is forwarded, update and delete instruction information, instruction information of deleting after updating is carried in message to be forwarded, deletes message, if type of message the most to be forwarded is not for deleting message after forwarding, the most more new information deletion instruction information, and will update after deletion instruction information send to service end.
It should be noted that, if the type that type of message is not deleted after belonging to forwarding, then getting in server in the case of the message hop count of record reaches preset times at terminal Connection Service device, each has the client in the terminal of this message all can perform to delete the operation of this message.
On the basis of determining whether based on message hop count to delete message, can be combined with duration that note exists after first time to judge whether message meets deletion condition, based on this, delete instruction information and include the moment that message originates, and message allows the duration of existence, judge whether message meets deletion condition according to deleting instruction information, including:
Obtain the time that terminal is current, the moment originated according to the time got and message determines whether the time period that message exists reaches the duration that message allows to exist, in the case of determining that the time period that message exists reaches the duration that message allows existence, determine that message meets deletion condition.
Embodiment 2
The embodiment of the present invention provides a kind of method deleting note in terminal, the method is identical with the enforcement principle of the scheme that above-described embodiment 1 provides, below by way of disclosing more ins and outs, the method is described in detail, it should be noted that, the present embodiment is only an optimal way of the present invention, and the present invention does not cause unique restriction.
Fig. 2 is the method flow diagram deleting message in terminal of the embodiment of the present invention 2, as in figure 2 it is shown, in the present embodiment, the pass-through mode of message can be divided into delivery type and the formula two kinds that coexists, wherein, delivery type forwards after message holder is transmitted to other users, and former message will be deleted.In this kind of pass-through mode, needing to arrange in the message counter (enumerator), often forward a counter+1, during until hop count reaches the preset value upper limit, this message is deleted, it is impossible to be forwarded again.
The formula that coexists transfer mode needs to realize by server, it is that message adds an enumerator counter at server end, often forward a counter+1, counter in automatic inquiry service device when client is networked every time, if reaching preset value, the message in all message holder's terminals will be deleted.
For forwarding the realization of timing, time when needing the setting time of message and forward is collectively stored in information, after then message is forwarded to the terminal of certain receiver, judges to trigger the operation of deletion information by the time in message and the machine time.
Embodiment 3
The embodiment of the present invention provides a kind of device deleting message in terminal, and Fig. 3 is the structured flowchart of the device deleting message in terminal of the embodiment of the present invention 3, as it is shown on figure 3, this device 30 includes consisting of part:
Acquisition module 31, obtains, for client, the deletion instruction information that sender corresponding to the message received is arranged;
According to deleting instruction information, judge module 32, for before forwarding, judges whether message meets deletion condition;
Removing module 33, for when the judged result of judge module is for being, then deletes message;
More new module 34, for when the judged result of judge module is no, then updates and deletes instruction information.
Wherein, above-mentioned deletion instruction information includes: the type of message that message originator is arranged, type of message includes: message does not delete message after deleting message and message forwarding after forwarding, based on this, above-mentioned more new module 34 includes: the first updating block, if for type of message the most to be forwarded for deleting message after forwarding, before message is forwarded, updating and delete instruction information, the instruction information of deleting after updating is carried in message to be forwarded, deletes message;Second updating block, if for type of message the most to be forwarded for not deleting message after forwarding, the deletion instruction information of the most more new information, and the deletion instruction information after updating sends to service end.
Wherein, deleting instruction information and include the hop count of message, based on this, above-mentioned acquisition module 41 includes: the first acquiring unit, for when the type of message is to delete message after message forwards, then obtaining the hop count carried in message;Second acquisition unit, if not deleting message after the type of message is to forward, obtains the message hop count being stored in service end.
Wherein, above-mentioned judge module 32 is used for: judge whether the hop count of message reaches default message hop count, if it is, determine that message meets deletion condition, if it is not, then determine that message is unsatisfactory for deletion condition.
Wherein, delete instruction information and include the moment that message originates, and message allows the duration of existence, judge module includes: first determines unit, for obtaining the time that terminal is current, the moment originated according to the time got and message determines whether the time period that message exists reaches the duration that message allows to exist;Second determines unit, for, in the case of determining that the time period that message exists reaches the duration that message allows existence, determining that message meets deletion condition.
The scheme of the embodiment of the present invention, increases and creates the function that note person can be configured forbidding forwarding or can forward, it is achieved that control, based on user, the purpose that message forwards, improve Consumer's Experience.
The foregoing is only embodiments of the invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. made, within should be included in scope of the presently claimed invention.
Claims (10)
1. the method deleting message in terminal, it is characterised in that including:
Obtain the deletion instruction information that sender corresponding to the message received is arranged;
Before described message is forwarded, judge whether described message meets deletion condition according to described deletion instruction information, if it is, delete described message, if it is not, then update described deletion instruction information.
Method the most according to claim 1, it is characterized in that, described deletion instruction information includes: the type of message that message originator is arranged, and described type of message includes: message does not delete message after deleting message and message forwarding after forwarding, and described renewal described deletion instruction information includes:
If type of message the most to be forwarded is for deleting message after forwarding, before described message is forwarded, update described deletion instruction information, instruction information of deleting after updating is carried in message to be forwarded, delete described message, if type of message the most to be forwarded for forward after do not delete message, then update described message deletion instruction information, and will update after deletion instruction information send to service end.
Method the most according to claim 2, it is characterised in that described deletion instruction information includes the hop count of described message, described client obtains the deletion instruction information that sender corresponding to the message received is arranged, including:
When the type of described message is to delete message after message forwards, then obtain the hop count carried in described message;
If the type of described message is not for deleting message after forwarding, obtain the message hop count being stored in service end.
4. according to the method described in claims 1 to 3 any one, it is characterised in that described judge whether described message meets deletion condition and include according to described deletion instruction information:
Judge whether the hop count of described message reaches default message hop count, if it is, determine that described message meets deletion condition, if it is not, then determine that described message is unsatisfactory for deletion condition.
Method the most according to claim 1, it is characterized in that, described deletion instruction information includes the moment that described message originates, and described message allows the duration of existence, described judge whether described message meets deletion condition according to described deletion instruction information, including:
Obtain the time that terminal is current, the moment originated according to the time got and message determines whether the time period that described message exists reaches the duration that described message allows to exist, in the case of determining that the time period that described message exists reaches the duration that described message allows existence, determine that described message meets deletion condition.
6. the device deleting message in terminal, it is characterised in that including:
Acquisition module, for obtaining the deletion instruction information that sender corresponding to the message received is arranged;
According to described deletion instruction information, judge module, for before described message is forwarded, judges whether described message meets deletion condition;
Removing module, for when the judged result of described judge module is for being, then deletes described message;
More new module, for when the judged result of described judge module is no, then updates described deletion instruction information.
Device the most according to claim 6, it is characterized in that, described deletion instruction information includes: the type of message that message originator is arranged, and described type of message includes: message does not delete message after deleting message and message forwarding after forwarding, and described more new module includes:
First updating block, if for type of message the most to be forwarded for deleting message after forwarding, before described message is forwarded, updating described deletion instruction information, the instruction information of deleting after updating is carried in message to be forwarded, deletes described message;
Second updating block, if for type of message the most to be forwarded for not deleting message after forwarding, then updates the deletion instruction information of described message, and the deletion instruction information after updating sends to service end.
Device the most according to claim 7, it is characterised in that described deletion instruction information includes the hop count of described message, and described acquisition module includes:
First acquiring unit, for when the type of described message is to delete message after message forwards, then obtaining the hop count carried in described message;
Second acquisition unit, if not deleting message after the type of described message is to forward, obtains the message hop count being stored in service end.
9. according to the device described in claim 6 to 8 any one, it is characterised in that described judge module is used for:
Judge whether the hop count of described message reaches default message hop count, if it is, determine that described message meets deletion condition, if it is not, then determine that described message is unsatisfactory for deletion condition.
Device the most according to claim 6, it is characterised in that described deletion instruction information includes the moment that described message originates, and described message allows the duration of existence, described judge module includes:
First determines unit, and for obtaining the time that terminal is current, the moment originated according to the time got and message determines whether the time period that described message exists reaches the duration that described message allows to exist;
Second determines unit, for, in the case of determining that the time period that described message exists reaches the duration that described message allows existence, determining that described message meets deletion condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510007451.2A CN105828303B (en) | 2015-01-07 | 2015-01-07 | Method and device for deleting message on terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510007451.2A CN105828303B (en) | 2015-01-07 | 2015-01-07 | Method and device for deleting message on terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105828303A true CN105828303A (en) | 2016-08-03 |
CN105828303B CN105828303B (en) | 2020-04-07 |
Family
ID=56513985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510007451.2A Expired - Fee Related CN105828303B (en) | 2015-01-07 | 2015-01-07 | Method and device for deleting message on terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105828303B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113489638A (en) * | 2021-07-08 | 2021-10-08 | 北卡科技有限公司 | Message safety deleting method for instant communication system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6088720A (en) * | 1997-07-29 | 2000-07-11 | Lucent Technologies Inc. | Self-cleaning and forwarding feature for electronic mailboxes |
CN1620082A (en) * | 2003-11-19 | 2005-05-25 | 三星电子株式会社 | Apparatus and method for deleting a text message received in a mobile communication terminal |
CN1829336A (en) * | 2005-09-29 | 2006-09-06 | 华为技术有限公司 | Short message limitation forwarding realizing method and system |
CN1867092A (en) * | 2005-10-21 | 2006-11-22 | 华为技术有限公司 | Short message limitation storage realizing method and system |
CN101166312A (en) * | 2005-09-29 | 2008-04-23 | 华为技术有限公司 | Method and system for limiting SMS forward |
CN101778352A (en) * | 2009-12-25 | 2010-07-14 | 中兴通讯股份有限公司 | Realization method and system of technology for protecting multimedia message contents |
CN102594979A (en) * | 2011-12-15 | 2012-07-18 | 华为终端有限公司 | Information processing method and device |
CN102958018A (en) * | 2011-08-30 | 2013-03-06 | 中兴通讯股份有限公司 | Short-message protection terminal and system as well as short-message protection realization method |
-
2015
- 2015-01-07 CN CN201510007451.2A patent/CN105828303B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6088720A (en) * | 1997-07-29 | 2000-07-11 | Lucent Technologies Inc. | Self-cleaning and forwarding feature for electronic mailboxes |
CN1620082A (en) * | 2003-11-19 | 2005-05-25 | 三星电子株式会社 | Apparatus and method for deleting a text message received in a mobile communication terminal |
CN1829336A (en) * | 2005-09-29 | 2006-09-06 | 华为技术有限公司 | Short message limitation forwarding realizing method and system |
CN101166312A (en) * | 2005-09-29 | 2008-04-23 | 华为技术有限公司 | Method and system for limiting SMS forward |
CN1867092A (en) * | 2005-10-21 | 2006-11-22 | 华为技术有限公司 | Short message limitation storage realizing method and system |
CN101778352A (en) * | 2009-12-25 | 2010-07-14 | 中兴通讯股份有限公司 | Realization method and system of technology for protecting multimedia message contents |
CN102958018A (en) * | 2011-08-30 | 2013-03-06 | 中兴通讯股份有限公司 | Short-message protection terminal and system as well as short-message protection realization method |
CN102594979A (en) * | 2011-12-15 | 2012-07-18 | 华为终端有限公司 | Information processing method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113489638A (en) * | 2021-07-08 | 2021-10-08 | 北卡科技有限公司 | Message safety deleting method for instant communication system |
Also Published As
Publication number | Publication date |
---|---|
CN105828303B (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100677497B1 (en) | How to handle duplicate notification messages | |
CN103327039A (en) | A message push method, device, and system | |
KR20140066765A (en) | Control archiving of text messages | |
KR20120112710A (en) | Managing sms spoofing using smpp protocol | |
CN102137342A (en) | Message sending control method and relevant device and system | |
JP2008507867A (en) | Realization of short message service | |
KR101466797B1 (en) | Systems and methods for filtering cellular telephone messages | |
CN105681158B (en) | A kind of method, apparatus and system for improving IP short message and delivering accuracy | |
CN105165035A (en) | Transmission of multimedia message doubled with transmission of text message | |
CN103139041A (en) | Method for filtering information and method, device and system for processing forwarded information | |
CN101005710B (en) | Method, system and location service platform for realizing location service in wireless communication network | |
KR100842868B1 (en) | Spam short message blocking system using callback short message and its method | |
US8923903B2 (en) | Syncing history information | |
EP2898421A1 (en) | Mobile sender controlled data access and data deletion method and system | |
US20090047981A1 (en) | Method and system for delivering messages | |
CN105828303A (en) | Method and device for deleting message on terminal | |
CN101895839B (en) | Method and system for sending short message actively upon detection of location change of mobile user | |
CN101217708A (en) | A method and system realizing WAP push service authentication by SMS center | |
US9160569B2 (en) | Messaging system and method | |
CN106559762B (en) | Short message double-receiving method, platform and networking system | |
CN101998290A (en) | Spam instant message processing method and device | |
EP2081394A1 (en) | Method and device for implementting group transmitting of short-message | |
CN100407811C (en) | Short message limitation storage realizing method and system | |
KR102102483B1 (en) | Method and apparatus of controlling message | |
CN109510797A (en) | Message forwarding method, system, server and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200407 Termination date: 20220107 |
|
CF01 | Termination of patent right due to non-payment of annual fee |