CN101883185B - Automatic short message deleting method and system - Google Patents

Automatic short message deleting method and system Download PDF

Info

Publication number
CN101883185B
CN101883185B CN201010214059.2A CN201010214059A CN101883185B CN 101883185 B CN101883185 B CN 101883185B CN 201010214059 A CN201010214059 A CN 201010214059A CN 101883185 B CN101883185 B CN 101883185B
Authority
CN
China
Prior art keywords
score value
note
short message
weight table
deleting
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.)
Expired - Fee Related
Application number
CN201010214059.2A
Other languages
Chinese (zh)
Other versions
CN101883185A (en
Inventor
范健康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Kaixia
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201010214059.2A priority Critical patent/CN101883185B/en
Publication of CN101883185A publication Critical patent/CN101883185A/en
Application granted granted Critical
Publication of CN101883185B publication Critical patent/CN101883185B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a communication field and provides an automatic short message deleting method comprising the following steps of: presetting a score weight table of short messages according to the structures of the short messages and automatically deleting a score threshold of the short messages, wherein the score weight table comprises each part of the short messages and the corresponding score of each part; allocating the score to each part of the short messages according to the score weight table of the short messages; calculating the score of each part of the short messages to obtain the total score of the short messages; and deleting the corresponding short messages when the total score of the short messages is less than or equal to the preset score threshold. The invention also provides an automatic short message deleting system. The invention can be used for accurately deleting the short messages to be deleted to improve the safety level of short message deletion and improve user experience.

Description

Automatic short message deleting method and system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of automatic short message deleting method and system.
Background technology
In today that communication develops rapidly, mobile phone has become the necessity of most people work every day and life.Utilizing SMS to link up is to commonly use at present and popular communication way, and in mobile phone, all can increase some notes every day, and how deleting some useless notes is problems of a needs research.
Have the method for some automatic short message deletings in prior art, for example publication number is a kind of method that the Chinese patent of CN101321340 has just proposed automatic short message deleting.The technical scheme of this invention is to distribute priority by note, and the order according to priority in the time of deletion is deleted, and comprises name, time, readability etc. such as note, if note is not read, the level that just gives priority to is higher, does not just delete.In this scheme, the note of not reading, priority might not be also high, the note of having read, priority may not be also low, even for example household or friend's note read priority may be also higher, and from the note of stranger or information service center, also priority is not necessarily high even do not read, thereby might delete important note during deleting short message, and level of security is not high.
Summary of the invention
Main purpose of the present invention is to provide a kind of automatic short message deleting method and system, is intended to improve the level of security of note deletion.
The invention provides a kind of automatic short message deleting method, comprise the following steps:
Preset the score value weight table of note and the score value threshold value of automatic deleting short message by the note structure; Described score value weight table comprises note each several part and score value corresponding to each several part;
Be that the note each several part distributes score value by note score value weight table;
Calculate note each several part score value and obtain the total score value of note;
When the total score value of described note is less than or equal to when presetting the score value threshold value, delete corresponding note.
Preferably, the described step that presets the score value threshold value of the score value weight table of note and automatic deleting short message by the note structure comprises:
Distribute the corresponding score value that presets according to sender and the reading state of note.
Preferably, described is that the note each several part distributes the step of score value to comprise by note score value weight table:
Obtain the reading state of note;
When note is transferred to read states by unread state, distribute score value by the score value that presets that in the score value weight table, read states is corresponding.
The described step that presets the score value threshold value of the score value weight table of note and automatic deleting short message by the note structure comprises:
Sender, reading state, short message content and outbox time to note distribute corresponding score value and carry out independent assortment, thereby obtain described score value weight table.
Preferably, the described calculating note each several part score value summation step that obtains the total score value of note comprises:
Note each several part score value is added up, obtain the total score value of note;
According to the height of the total score value of note, note is sorted.
The present invention also provides a kind of short message automatic deleting system weight table that module is set, and is used for presetting the score value weight table of note and the score value threshold value of automatic deleting short message by the note structure; Described score value weight table comprises note each several part and score value corresponding to each several part;
The score value distribution module, being used for by note score value weight table is that the note each several part distributes score value;
Score value weighted calculation module is used for calculating note each several part score value and obtains the total score value of note;
The note removing module is used for when the total score value of described note deleting corresponding note when presetting the score value threshold value.
Preferably, described weight table arranges module and is used for distributing the corresponding score value that presets according to sender and the reading state of note, thereby obtains described score value weight table.
Preferably, described score value distribution module comprises:
State obtains sub-block, obtains the reading state of note;
Score value conversion sub-block when note is transferred to read states by unread state, is distributed score value by the score value that presets that in the score value weight table, read states is corresponding.
Preferably, described weight table arranges module and is used for the score value of sender, reading state, short message content and outbox time distribution correspondence to note and carries out independent assortment, thereby obtains described score value weight table.
Preferably, described note removing module comprises:
Score value adds up sub-block, is used for note each several part score value is added up, and obtains the total score value of note;
Score value sequence sub-block is used for according to the height of the total score value of note, note being sorted.
Automatic short message deleting method provided by the present invention or system, by preset the score value weight table of note and the score value threshold value of automatic deleting short message by the note structure, automatic deleting short message when the total score value of note each several part reaches threshold value, thereby can accurately delete the note that wish is deleted, improved the level of security of note deletion, and, promoted user's experience.
Description of drawings
Fig. 1 is automatic short message deleting method flow chart in an embodiment of the invention;
Fig. 2 is to be the method flow diagram that the note each several part distributes score value by note score value weight table in one embodiment of the present of invention;
Fig. 3 is the structural representation of short message automatic deleting system in an embodiment of the invention;
Fig. 4 is the structural representation of short message automatic deleting system in another embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage are described further with reference to accompanying drawing in connection with embodiment.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows automatic short message deleting method flow process in an embodiment of the invention.This flow process comprises the following steps:
Step S10 presets the score value weight table of note and the score value threshold value of automatic deleting short message by the note structure; Described score value weight table comprises note each several part and score value corresponding to each several part; Usually, note can be divided into the parts such as sender, outbox time, reading state, short message content by structure, thereby can preset a score value weight table corresponding with each several part in mobile phone, and according to significance level, each several part is distributed score value in this score value weight table, for example the outbox people is Zhang San, and score value is 5; Before the outbox time was 3 days, score value was 3; Note is unread state, and score value is 1 etc.Automatically the threshold value of deleting short message can arrange according to user's needs, such as being set to 10,15 etc.But the structure reference table 1 of score value weight table.
Figure GSB0000110988090000031
Figure GSB0000110988090000041
Table 1
Step S20 is that the note each several part distributes score value by note score value weight table; When wanting deleting short message, be that note is distributed score value by each several part listed in above-mentioned score value weight table, for example, when mobile phone sends the automatic short message delete instruction, at first distribute score value by the score value that presets in above-mentioned score value weight table, for example, if note sends for Zhang San, distribute score value 5, and this note is that Zhang San sent before 3 days, distributes score value 3, this note is unread state, distributing score value is 1, and this short message content keyword is tourism, and distributing score value is 2.
Step S30 calculates note each several part score value and obtains the total score value of note; After above-mentioned score value distributes, the corresponding score value of each several part is waited until total score value by totalling or other computing, for example in table 1, total score value of Zhang San is: 5+3+1+2=11, total score value of Li Si is: 5+5+1+5=16.
Step S40 when the total score value of note is less than or equal to when presetting the score value threshold value, deletes corresponding note.For example, if the threshold value that presets is 15, Zhang San's note is deleted, and keep Li Si's note.The structure of score value weight table has multiple, can arrange according to the structure of note, for example, also the sender of note can be divided into the classifications such as household, colleague, friend, and with the outbox time slice, further improve the flexibility that arranges of score value weight table.
The each several part of said short message and corresponding score value can arrange according to user's needs, in one embodiment, can sender and a reading state according to note distribute the corresponding score value that presets.For example, can distribute according to different senders different score values, for example, the note that can be the girlfriend is distributed higher score value; And distribute certain score value according to the reading state (for example do not read or read) of this note, for example, if girlfriend's note is unread state, score value is relatively high.When deleting short message, thereby only calculate total score value that this two-part score value obtains note.
As shown in Figure 2, in a concrete example, above-mentioned steps S20 can comprise:
Step S21 obtains the reading state of note; For example, when deleting short message, obtain the note that is kept in mobile phone and be read states or unread state.
Step S22 when note is transferred to read states by unread state, distributes score value by the score value that presets that in the score value weight table, read states is corresponding.For example, if in the score value weight table, the score value of note unread state is 1, the score value of read states is 0, and when note was transferred to read states by unread state, distributing the score value of its reading state part was 0.
In another embodiment, also can sender, outbox time, reading state and the short message content of note be distributed corresponding score value and carry out independent assortment, thereby obtaining described score value weight table.For example, three that can only choose in above-mentioned four parts are combined the score value that distributes correspondence, thereby obtain the score value weight table; Two that also can choose in four parts are combined the score value that distributes correspondence, thereby obtain the score value weight table; Also can choose one or four and score value corresponding to distribution in four parts, thereby obtain the score value weight table.
In above-described embodiment, when obtaining the total score value of note, calculating note each several part score value summation also can comprise the following steps: note each several part score value is added up, obtain the total score value of note; According to the height of the total score value of note, note is sorted.By sorting by the total score value of note, thereby can know the significance level of other not deleted note, further promote the user and experience.
In present embodiment, the score value of note each several part can arrange according to user's needs, thereby can accurately delete the note of wish deletion in mobile phone, thereby improves the level of security of note deletion, and promotes user's experience.
The present invention also provides a kind of short message automatic deleting system, and this short message automatic deleting system can be realized the said short message auto-deleted method.As shown in Figure 3, this system comprises:
Weight table arranges module 10, is used for presetting the score value weight table of note and the score value threshold value of automatic deleting short message by the note structure; Described score value weight table comprises note each several part and score value corresponding to each several part; The structure of score value weight table can be with reference to above-mentioned table 1.In one embodiment, weight table arranges module 10 and can be used for distributing the corresponding score value that presets according to sender and the reading state of note, thereby obtains described score value weight table.In another embodiment, weight table arranges module 10 and also can be used for the score value of sender, reading state, short message content and outbox time distribution correspondence to note and carry out independent assortment, thereby obtains described score value weight table.
Score value distribution module 20, being used for by note score value weight table is that the note each several part distributes score value; For example, this score value distribution module 20 can when mobile phone sends the automatic short message delete instruction, be distributed score value by the score value that presets in above-mentioned score value weight table, for example, if note sends for Zhang San, distribute score value 5, and this note is that Zhang San sent before 3 days, distributes score value 3, this note is unread state, distributing score value is 1, and this short message content keyword is tourism, and distributing score value is 2.
Score value weighted calculation module 30 is used for calculating note each several part score value and obtains the total score value of note; For example, after the score value of said short message each several part distributes, can the corresponding score value of each several part be waited until total score value by totalling or other computing by score value weighted calculation module 30, for example pass through the calculating of score value weighted calculation module 30, in table 1, total score value of Zhang San is: 5+3+1+2=11, total score value of Li Si is: 5+5+1+5=16.
Note removing module 40 is used for when the total score value of described note deleting corresponding note when presetting the score value threshold value.For example, with above-mentioned Zhang San's note deletion, and keep Li Si's note
As shown in Figure 4, above-mentioned score value distribution module 20 can comprise:
State obtains sub-block 21, obtains the reading state of note;
Score value conversion sub-block 22 when note is transferred to read states by unread state, is distributed score value by the score value that presets that in the score value weight table, read states is corresponding.For example, in above-described embodiment, if in the score value weight table, the score value of note unread state is 1, the score value of read states is 0, and when note is transferred to read states by unread state, changing sub-block 22 by score value, to distribute the score value of note reading states part be 0.
Note removing module 40 can comprise:
Score value adds up sub-block 41, and note each several part score value is added up, and obtains the total score value of note;
Score value sequence sub-block 42 sorts note according to the height of the total score value of note.
In the present embodiment by sorting by the total score value of note, thereby can know the significance level of other not deleted note, further promote the user and experience.
These are only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (10)

1. an automatic short message deleting method, is characterized in that, comprises the following steps:
Preset the score value weight table of note and the score value threshold value of automatic deleting short message by the note structure; Described score value weight table comprises note each several part and score value corresponding to each several part;
Be that the note each several part distributes score value by note score value weight table;
Calculate note each several part score value and obtain the total score value of note;
When the total score value of described note is less than or equal to when presetting the score value threshold value, delete corresponding note.
2. automatic short message deleting method as claimed in claim 1, is characterized in that, the described step that presets the score value threshold value of the score value weight table of note and automatic deleting short message by the note structure comprises:
Distribute the corresponding score value that presets according to sender and the reading state of note.
3. automatic short message deleting method as claimed in claim 2, is characterized in that, described is that the note each several part distributes the step of score value to comprise by note score value weight table:
Obtain the reading state of note;
When note is transferred to read states by unread state, distribute score value by the score value that presets that in the score value weight table, read states is corresponding.
4. automatic short message deleting method as claimed in claim 1, is characterized in that, the described step that presets the score value threshold value of the score value weight table of note and automatic deleting short message by the note structure comprises:
Sender, reading state, short message content and outbox time to note distribute corresponding score value and carry out independent assortment, thereby obtain described score value weight table.
5. automatic short message deleting method as described in any one in claim 1 to 4, is characterized in that, the step that described calculating note each several part score value obtains the total score value of note comprises:
Note each several part score value is added up, obtain the total score value of note;
According to the height of the total score value of note, note is sorted.
6. a short message automatic deleting system, is characterized in that, comprising:
Weight table arranges module, is used for presetting the score value weight table of note and the score value threshold value of automatic deleting short message by the note structure; Described score value weight table comprises note each several part and score value corresponding to each several part;
The score value distribution module, being used for by note score value weight table is that the note each several part distributes score value;
Score value weighted calculation module is used for calculating note each several part score value and obtains the total score value of note;
The note removing module is used for when the total score value of described note deleting corresponding note when presetting the score value threshold value.
7. short message automatic deleting system as claimed in claim 6, is characterized in that, described weight table arranges module and is used for distributing the corresponding score value that presets according to sender and the reading state of note, thereby obtains described score value weight table.
8. short message automatic deleting system as claimed in claim 7, is characterized in that, described score value distribution module comprises:
State obtains sub-block, obtains the reading state of note;
Score value conversion sub-block when note is transferred to read states by unread state, is distributed score value by the score value that presets that in the score value weight table, read states is corresponding.
9. short message automatic deleting system as claimed in claim 6, it is characterized in that, described weight table arranges module and is used for the score value of sender, reading state, short message content and outbox time distribution correspondence to note and carries out independent assortment, thereby obtains described score value weight table.
10. short message automatic deleting system as described in any one in claim 6 to 9, is characterized in that, described note removing module comprises:
Score value adds up sub-block, is used for note each several part score value is added up, and obtains the total score value of note;
Score value sequence sub-block is used for according to the height of the total score value of note, note being sorted.
CN201010214059.2A 2010-06-29 2010-06-29 Automatic short message deleting method and system Expired - Fee Related CN101883185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010214059.2A CN101883185B (en) 2010-06-29 2010-06-29 Automatic short message deleting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010214059.2A CN101883185B (en) 2010-06-29 2010-06-29 Automatic short message deleting method and system

Publications (2)

Publication Number Publication Date
CN101883185A CN101883185A (en) 2010-11-10
CN101883185B true CN101883185B (en) 2013-11-06

Family

ID=43055066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010214059.2A Expired - Fee Related CN101883185B (en) 2010-06-29 2010-06-29 Automatic short message deleting method and system

Country Status (1)

Country Link
CN (1) CN101883185B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970663A (en) * 2012-11-29 2013-03-13 北京小米科技有限责任公司 Short message processing method and device
US9736293B2 (en) * 2012-12-24 2017-08-15 Dongguan Yulong Telecommunication Tech Co., Ltd. Terminal and specified content deletion method
US9509848B2 (en) 2014-06-30 2016-11-29 Microsoft Technology Licensing, Llc Message storage
CN107682563A (en) * 2017-11-14 2018-02-09 程桂平 Handle the method and system and its smart mobile phone of short message
CN108063872A (en) * 2017-12-19 2018-05-22 青岛海信移动通信技术股份有限公司 The method for cleaning and device of short message
CN114520850A (en) * 2020-11-20 2022-05-20 深圳市万普拉斯科技有限公司 Method for clearing short message, mobile terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1406428A1 (en) * 2003-04-10 2004-04-07 Siemens Aktiengesellschaft Message managing method in a mobile terminal
CN1604642A (en) * 2004-11-04 2005-04-06 复旦大学 A method for arranging information release priority in broadcast video program system
US20080016575A1 (en) * 2006-07-14 2008-01-17 Motorola, Inc. Method and system of auto message deletion using expiration
CN101188836A (en) * 2007-11-01 2008-05-28 深圳华为通信技术有限公司 Information deletion method and device
CN101321340A (en) * 2007-06-08 2008-12-10 鸿富锦精密工业(深圳)有限公司 Short message automatic deleting system and method
CN101754138A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Method and system for automatically deleting message and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1406428A1 (en) * 2003-04-10 2004-04-07 Siemens Aktiengesellschaft Message managing method in a mobile terminal
CN1604642A (en) * 2004-11-04 2005-04-06 复旦大学 A method for arranging information release priority in broadcast video program system
US20080016575A1 (en) * 2006-07-14 2008-01-17 Motorola, Inc. Method and system of auto message deletion using expiration
CN101321340A (en) * 2007-06-08 2008-12-10 鸿富锦精密工业(深圳)有限公司 Short message automatic deleting system and method
CN101188836A (en) * 2007-11-01 2008-05-28 深圳华为通信技术有限公司 Information deletion method and device
CN101754138A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Method and system for automatically deleting message and mobile terminal

Also Published As

Publication number Publication date
CN101883185A (en) 2010-11-10

Similar Documents

Publication Publication Date Title
CN101883185B (en) Automatic short message deleting method and system
CN103701709B (en) Flow rate control method and system
CN103747132B (en) The method of display message and terminal
CN103259825A (en) Method and device for message pushing
CN102045810A (en) Method, device and system for accessing machine type communication terminal equipment to network
CN101719954B (en) Method and device for realizing shot message topping
CN102131165B (en) Schedule cooperation method based on short message and mobile terminal
CN107949043A (en) Terminal receives optimization method, terminal and the readable storage medium storing program for executing of mail
CN107589990A (en) A kind of method and system of the data communication based on thread pool
WO2004077229A3 (en) Structure and method for managing available memory resources
CN103942282A (en) Sample data obtaining method, device and system
CN105379352A (en) System, device, and method for optimizing network
CN104980290A (en) Method for establishing groups and server
CN105045911A (en) Label generating method for user to mark and label generating equipment for user to mark
CN101867660A (en) Method for automatically deleting short message
CN106845882A (en) Method, server and system for bulk SMS
CN114448922A (en) Message grading processing method, device, equipment and storage medium
CN104484619B (en) It is a kind of to solve the method that client multi-logical channel accesses PKCS#15 file conflicts
CN102256211A (en) Group-based method and system for application realization of M2M terminal
CN103067610B (en) Method and device and mobile terminal of interception of junk short message
CN105303365A (en) Office schedule planning method based on intelligent terminals
CN103312702A (en) Service push method and device
CN100438667C (en) User terminal and its method for processing message
CN103347253B (en) The extensive distributed transmitting system of off-line short message and method
CN109086289A (en) A kind of media data processing method, client, medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170829

Address after: 223001 Huaian city of Jiangsu Province town of South Gate Village Huaian District No. 12 white Tao hospital group

Co-patentee after: Sun Zhihong

Patentee after: Sun Kaixia

Co-patentee after: Xu Kewei

Co-patentee after: Xu Rong

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corporation

TR01 Transfer of patent right
CB03 Change of inventor or designer information

Inventor after: Sun Kaixia

Inventor after: Sun Zhihong

Inventor after: Xu Kewei

Inventor after: Xu Rong

Inventor before: Fan Jiankang

CB03 Change of inventor or designer information
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131106

Termination date: 20180629

CF01 Termination of patent right due to non-payment of annual fee