CN105187646B - SMS interception method and device - Google Patents
SMS interception method and device Download PDFInfo
- Publication number
- CN105187646B CN105187646B CN201510567436.3A CN201510567436A CN105187646B CN 105187646 B CN105187646 B CN 105187646B CN 201510567436 A CN201510567436 A CN 201510567436A CN 105187646 B CN105187646 B CN 105187646B
- Authority
- CN
- China
- Prior art keywords
- short message
- network
- detecting
- sms
- communications records
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The disclosure is directed to a kind of SMS interception method and devices, belong to field of information security technology.The described method includes: the number for whether being stored with the transmission terminal for sending the network and short message in address list detected after receiving network and short message;When detecting not stored number in address list, it whether there is communications records between detection and the number;When detecting with communications records are not present between the number, which intercept and the number is marked.The disclosure solves user's hand labeled and sends the number of rubbish network and short message there are hysteresis quality, and the lower problem of efficiency of hand labeled;Terminal can be made automatic and rubbish network and short message is intercepted in time, and the number for sending rubbish network and short message is marked, avoid user from being marked manually, to improve labeling effciency.
Description
Technical field
This disclosure relates to field of information security technology, in particular to a kind of SMS interception method and device.
Background technique
With the development of internet technology, smart machine can not only (Circuit Switched, circuit be handed over by CS
Change) domain transmitting-receiving operator SMS, additionally it is possible to pass through PS (Circuit Switched, packet switch) domain transceiver network short message.Phase
Compared with incumbent operator short message, the expense of network and short message is cheaper, but the universal of network and short message also results in a large amount of use
The rubbish network and short message that family is sent by criminal is harassed.
In order to avoid user is harassed by rubbish network and short message, the relevant technologies are short by user's hand labeled transmission rubbish network
The number of letter realizes that the rubbish network and short message sent to the number intercepts.But this rubbish network SMS interception mode
There are hysteresis qualitys, i.e., when user's hand labeled sends the number of rubbish network and short message, have received the rubbish of number transmission
The harassing and wrecking of rubbish network and short message, and the efficiency of hand labeled is lower.
Summary of the invention
The embodiment of the present disclosure provides the short breath hold-up interception method of one kind and device, the technical solution are as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of SMS interception method is provided, this method comprises:
After receiving network and short message, number that the transmission terminal for sending the network and short message whether is stored in address list detected
Code;
When detecting not stored number in address list, it whether there is communications records between detection and the number;
When detect between the number be not present communications records when, to the network and short message carry out intercept and to the number into
Line flag.
At least one of optionally, it whether there is communications records between detection and the number, include the following steps:
It detects whether to be transmitted across network and short message or operator SMS to the number;Net is not transmitted across to the number when detecting
When network short message or operator SMS, communications records are not present between the determining and number;
Or,
It detects whether to dial the number;When detect do not dialed the number when, it is determining be not present between the number
Communications records;
Or
Detect whether to receive network and short message or operator SMS from the number;It is somebody's turn to do being not received by come from
When the network and short message or operator SMS of number, communications records are not present between the determining and number.
Optionally, this method, further includes:
When detecting with communications records are not present between the number, service return receipt is not sent;Service return receipt is used for hair
It makes arrangements for his funeral and holds informing network short message Delivered.
Optionally, this method, further includes:
It is intercepting in the predetermined amount of time after network and short message, is detecting whether that the operator for receiving transmission terminal transmission is short
Letter;Operator SMS sends when terminal does not receive service return receipt and sends;
When receiving operator SMS within a predetermined period of time, releases the interception to the network and short message and cancel to this number
The label of code.
Optionally, this method, further includes:
Whether the content for detecting the network and short message intercepted matches with the contact information in address list;Contact information includes
Name of contact person, contact phone or contact addresses;
When the content for detecting network and short message is matched with the contact information in address list, release to the network and short message
It intercepts and cancels the label to the number.
According to the second aspect of an embodiment of the present disclosure, a kind of SMS interception device is provided, which includes:
Whether first detection module is configured as after receiving network and short message, detect to be stored with to send in address list and be somebody's turn to do
The number of the transmission terminal of network and short message;
Second detection module is configured as when detecting not stored number in address list, between detection and the number
With the presence or absence of communications records;
Blocking module, be configured as when detect between the number be not present communications records when, to the network and short message into
Row intercepts and the number is marked.
Optionally, at least one of second detection module, including following detection sub-module:
First detection sub-module is configured as detecting whether to be transmitted across network and short message or operator SMS to the number;When
Detect that there is no communications records between determination and the number when not being transmitted across network and short message or operator SMS to the number;
Or,
Second detection sub-module is configured as detecting whether to dial the number;When detect do not dialed the number when,
Communications records are not present between the determining and number;
Or
Third detection sub-module, is configured as detecting whether to receive network and short message from the number or operator is short
Letter;When being not received by the network and short message or operator SMS from the number, there is no logical between the determining and number
Letter record.
Optionally, the device, further includes:
Receipt sending module is configured as not sending and being sent to when detecting with communications records are not present between the number
Receipt;Service return receipt is used for transmission terminal informing network short message Delivered.
Optionally, the device, further includes:
Third detection module is configured as intercepting in the predetermined amount of time after the network and short message, detects whether to receive
Send the operator SMS that terminal is sent;The operator SMS sends when terminal does not receive service return receipt and sends;
First releases module, is configured as when receiving the operator SMS within a predetermined period of time, releases to the net
Label of the interception and cancellation of network short message to the number.
Optionally, the device, further includes:
4th detection module, the contact information being configured as in the content and address list for the network and short message that detection intercepts are
No matching;Contact information includes name of contact person, contact phone or contact addresses;
Second releases module, is configured as to detect that the content of network and short message is matched with the contact information in address list
When, it releases the interception to the network and short message and cancels the label to the number.
According to the third aspect of an embodiment of the present disclosure, a kind of SMS interception device is provided, which includes:
Processor;
The memory of executable instruction for storage processor;
Wherein, processor is configured as:
After receiving network and short message, number that the transmission terminal for sending the network and short message whether is stored in address list detected
Code;
When detecting not stored number in address list, it whether there is communications records between detection and the number;
When detect between the number be not present communications records when, to the network and short message carry out intercept and to the number into
Line flag.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
Detect whether the network and short message received is rubbish network and short message according to address list and the communication information by terminal, it is right
Rubbish network and short message is intercepted, and the number for sending the rubbish network and short message is marked;Solves user's hand labeled
The number of rubbish network and short message is sent there are hysteresis quality, and the lower problem of efficiency of hand labeled;Terminal can be made automatic and
Rubbish network and short message is intercepted in time, and to send rubbish network and short message number be marked, avoid user manually into
Line flag, to improve labeling effciency.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Figure 1A is the method flow diagram of SMS interception method shown according to an exemplary embodiment;
Figure 1B is communications records detection process involved in SMS interception method shown according to an exemplary embodiment
Method flow diagram;
Fig. 2A is the method flow diagram of the SMS interception method shown according to another exemplary embodiment;
Fig. 2 B is the implementation diagram of the SMS interception method shown in A according to fig. 2;
Fig. 3 is a kind of structural block diagram of SMS interception device shown according to an exemplary embodiment;
Fig. 4 is a kind of structural block diagram of the SMS interception device shown according to another exemplary embodiment;
Fig. 5 is a kind of block diagram of SMS interception device shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The SMS interception method that each embodiment of the present invention provides, can be by the intelligence with network and short message transmission-receiving function eventually
End is to realize.The intelligent terminal can be smart phone, tablet computer and pocket computer on knee etc..
To simplify the description, hereinafter only with SMS interception method by smart phone execution come for example, but not to this
It constitutes and limits.
Figure 1A is the method flow diagram of SMS interception method shown according to an exemplary embodiment.The present embodiment is short with this
Letter hold-up interception method is used to for smart phone be illustrated, this method comprises:
In a step 101, after receiving network and short message, whether it is stored in detection address list and sends the network and short message
Send the number of terminal.
It is received unlike operator SMS from traditional by the domain CS, smart phone, which receives network and short message, can pass through PS
Domain, i.e. smart phone receive network and short message using data traffic.
After smart phone receives network and short message using data traffic, that is, obtain number for sending the terminal of the network and short message
Code, and detect and whether be stored with the number in address list.
In a step 102, when detecting not stored number in address list, with the presence or absence of logical between detection and the number
Letter record.
Since the communication between smart phone may include short message communication and airtime communication, in one embodiment, intelligence
Energy mobile phone can also be detected further between the number with the presence or absence of short message communication record or airtime communication record.
In step 103, when detecting with communications records are not present between the number, which is intercepted
And the number is marked.
When detecting not stored number in address list, and when communications records are not present between the number, smart phone
It determines that the network and short message is rubbish network and short message, and is intercepted, the rubbish network and short message is avoided to harass user.
In conclusion SMS interception method provided in this embodiment, is detected by terminal according to address list and the communication information
Whether the network and short message received is rubbish network and short message, is intercepted to rubbish network and short message, and to the transmission rubbish network
The number of short message is marked;Solve user's hand labeled send rubbish network and short message number there are hysteresis qualitys, and manually
The lower problem of the efficiency of label;Terminal can be made automatic and rubbish network and short message is intercepted in time, and to transmission rubbish
The number of network and short message is marked, and user is avoided to be marked manually, to improve labeling effciency.
In one embodiment, when smart phone whether there is communications records between detection and the number, inspection can be passed through
It surveys and is recorded between the number with the presence or absence of short message communication record or airtime communication.Optionally, as shown in Figure 1B, step 102 can
To include the combination of any one of step 102A, 102B and 102C or any combination or three.
In step 102A, detect whether to send network short message or operator SMS to the number;When detecting not to this number
When code is transmitted across network and short message or operator SMS, communications records are not present between the determining and number.
In step 102B, detect whether to dial the number;When detect do not dialed the number when, it is determining with this number
Communications records are not present between code.
In step 102C, detect whether to receive network and short message or operator SMS from the number;Do not having
When receiving the network and short message or operator SMS from the number, determines and communicate note there is no described between the number
Record.
Fig. 2A is the method flow diagram of the SMS interception method shown according to another exemplary embodiment.The present embodiment is with this
SMS interception method is used to for smart phone be illustrated, this method comprises:
In step 201, after receiving network and short message, whether it is stored in detection address list and sends the network and short message
Send the number of terminal.
The short message of smart phone transmitting-receiving can be divided into operator SMS and network and short message.Smart phone is short in transmission operator
When letter, which is sent to recipient's mobile phone by operator SMS gateway, entire to receive
Hair process carries out in the cs domain.And smart phone carries the network and short message of recipient's number when sending network and short message with number
It is sent to according to the form of flow and the network and short message server (non-operator provides) of network and short message server, network and short message is provided
Server searches recipient's mobile phone corresponding with recipient's number, and the network and short message is sent to recipient by internet
Terminal, entire transmitting-receiving process can carry out in the ps domain.
After smart phone receives short message, the short message can be judged for operator SMS or net according to the source of the short message
Network short message.When the short message comes from the domain CS, smart phone determines that the short message is operator SMS;When the short message comes from ps domain
When, smart phone determines that the short message is network and short message.It should be noted that used due to operator SMS and network and short message
Short message protocol is different, and smart phone can also determine that the short message is operator SMS according to the short message protocol of the short message received
Or network and short message, the disclosure do not determine that the mode of short message type is defined to smart phone.
Since the contact person stored in address list is usually people known to user, this kind of contact person sends rubbish network and short message
Probability it is lower, so smart phone can by detection address list in whether be stored with the corresponding number of the network and short message, come
Primarily determine whether the network and short message is rubbish network and short message.When detecting in address list comprising the number, that is, determine the net
Network short message is not rubbish network and short message, and user is reminded to check and accept.
In one embodiment, when detecting in address list not comprising the number, step 202 is can be performed in smart phone, right
The network and short message is further detected.
In step 202, when detecting not stored number in address list, with the presence or absence of logical between detection and the number
Letter record.
In the address list of smart phone and the not stored number, but preserve when being recorded with the number communication, it should
Number may be the number that some contact person temporarily uses in address list, and the network and short message that the number is sent is that rubbish network is short
The probability of letter is relatively low.So in detecting smart phone when the number of the not stored transmission terminal, smart phone can be into
One step detects whether the network and short message is rubbish network and short message according to communications records.Make
For a kind of possible implementation, step 202 may include appointing in step 202A, step 202B and step 202C
The combination of one or any combination or three.
In step 202A, detect whether to be transmitted across network and short message or operator SMS to the number;When detect not to
When the number is transmitted across network and short message or operator SMS, communications records are not present between the determining and number.
Smart phone can detecte short message and send in record, if include the network and short message sent to the number or operator
Short message, when the network and short message or operator SMS comprising being sent to the number, that is, determine between the number exist communicate note
Record, to the number send network and short message without intercept;When short not comprising the network and short message or operator sent to the number
It is when letter, i.e., determining that communications records are not present between the number, and execute step 203.
As a kind of possible implementation, smart phone may be used also when detecting the presence of the short message sent to the number
Further to obtain the quantity for sending short message to the number, when the quantity is less than preset quantity threshold value, determine that the number is ripe
The number that people temporarily uses;When the quantity is greater than preset quantity threshold value, determine that the number is that acquaintance often uses number, and reminds use
The number is added in address list by family, and user is facilitated to get in touch with the number.
In step 202B, detect whether to dial the number;When detect do not dialed the number when, it is determining with this number
Communications records are not present between code.
Smart phone can detecte in message registration, if comprising the message registration with the number, when comprising with the number
Message registration when, that is, determine and there are communications records, the network and short message sent to the number is without intercepting between the number;
It is when not including the message registration with the number, i.e., determining that communications records are not present between the number, and execute step 203.
As a kind of possible implementation, smart phone may be used also when detecting the presence of the message registration with the number
Further to obtain the duration of call with the number, when the duration of call is less than preset time threshold, determine that the number is ripe
The number that people temporarily uses;When the duration of call is greater than preset time threshold, determine that the number is that acquaintance often uses number, and mentions
The number is added in address list by the user that wakes up, and user is facilitated to get in touch with the number.
In step 202C, detect whether to receive network and short message or operator SMS from the number;Do not having
When receiving the network and short message or operator SMS from the number, communications records are not present between the determining and number.
Smart phone not to from a certain user network and short message and operator SMS enabling intercept this function automatically
Can when, the network and short message and operator SMS that smart phone receives be not a possibility that criminal or advertiser send compared with
Greatly.In order to avoid the mistake of network and short message intercepts, smart phone can detecte short message and receive record after receiving network and short message
In, the network and short message and operator SMS that whether are sent comprising the number.In one embodiment, it is wrapped in record if short message receives
Containing network and short message and operator SMS that the number is sent, and this receives the message from the number, then the number is not
A possibility that being criminal or advertiser's transmission, is larger.Exemplary, the disclosure can be come from by detecting whether to receive
The network and short message or operator SMS of the number determines whether to intercept the number.In one embodiment, it is recorded when short message receives
In send there is no the number network and short message or operator SMS when, smart phone is i.e. determining, and there is no logical between the number
Letter record, and execute step 203.
It should be noted that when smart phone whether there is communications records between detection and the number, it can be according only to
Short message communication is recorded or is detected according only to message registration, and the disclosure is defined not to this.
It will be apparent that through the above steps, even if the number that not stored acquaintance temporarily uses in smart phone, as long as depositing
The communications records with the number are contained, the network and short message that smart phone would not send the number intercepts, and facilitates user
It is temporarily exchanged with acquaintance.
In step 203, when detecting with communications records are not present between the number, which is intercepted
And the number is marked.
When detect in address list do not include the number, and between the number be not present communications records when, smart phone
A possibility that i.e. determining be not present with the number contacts, and the network and short message of number transmission is rubbish network and short message is high, needs
Network and short message is intercepted.Exemplary, in order to avoid the subsequent transmission rubbish network and short message of the number, smart phone can also be right
The number is marked, and can intercept to the network and short message of the subsequent transmission of the number.
In step 204, when detecting with communications records are not present between the number, service return receipt is not sent;It is sent to
Receipt is used for transmission terminal informing network short message Delivered.
Smart phone when receiving network and short message, can to send terminal send service return receipt (ACK,
Acknowledgement), inform that sending the terminal network and short message has been received by.Smart phone is due to network condition is poor etc.
And when not receiving network and short message, service return receipt will not be sent to terminal is sent.In one embodiment, if sending terminal predetermined
The service return receipt is not received in time, then can remind the not sent success of user network short message, and is asked the user whether to run
The form of quotient's short message retransmits short message.Wherein, ACK confirms character, is transmitting terminal is issued in receiving end in data communication one
Kind transmission class control character, for indicating that the data sent have confirmed that reception is errorless.
According to a kind of embodiment of the disclosure, in order to avoid the mistake of network and short message intercepts, and rubbish network and short message is improved
Harassing and wrecking cost, smart phone detect network and short message be rubbish network and short message when, will not to send terminal transmission be sent to back
It holds.
When under the network and short message is intercepted by mistake, user is in aware network short message undelivered, it will usually with operation
The form of quotient's short message retransmits short message, and smart phone can re-start detection according to the operator SMS;When the network is short
When the really rubbish net network short message of letter, due to cost considerations, the criminal for sending the rubbish network and short message will not be sent
Operator SMS.
In step 205, it is intercepting in the predetermined amount of time after network and short message, is detecting whether to receive transmission terminal hair
The operator SMS sent;Operator SMS sends when terminal does not receive service return receipt and sends.
Due to not sending service return receipt when detecting that network and short message is rubbish network and short message, network can be shown by sending terminal
The not sent success of information.When under the network and short message is intercepted by mistake, user is after aware network short message undelivered, it will usually
Short message is retransmitted in the form of operator SMS;And when the network and short message is strictly rubbish network and short message, criminal will
Operator SMS will not be retransmitted.
Smart phone can be according to intercepting in the predetermined amount of time after network and short message, if receives transmission terminal hair
The operator SMS sent determines whether that mistake has intercepted network and short message.It is sent out when receiving the transmission terminal within a predetermined period of time
When the operator SMS sent, determine that mistake has intercepted the network and short message of number transmission, and execute step 206;When in pre- timing
Between when the operator SMS of transmission terminal transmission is not received in section, determine that the network and short message that the number is sent is rubbish network
Short message.
In step 206, when receiving operator SMS within a predetermined period of time, the interception to the network and short message is released
And cancellation is to the label of the number.
In predetermined amount of time after intercepting network and short message, when receiving the operator SMS of transmission terminal transmission,
Smart phone is to determine that mistake has intercepted the network and short message of number transmission, releases the interception to the network and short message and cancels to this
The label of number.Further, also user can be reminded to check the network and short message, to avoid the omission of critical network short message.
In step 207, whether the content for detecting the network and short message of interception matches with the contact information in address list;Connection
It is people's information include name of contact person, contact phone or contact addresses.
Under normal conditions, when user is contacted using temporary number and good friend, it can show the body of oneself in the information of transmission
Part, in order to further avoid the mistake interception to network and short message, smart phone obtains the content of the network and short message intercepted, and detects
Whether the content matches with the contact information in address list.
For example, smart phone can detecte in the network and short message whether the name comprising some contact person in address list, again
For example, smart phone can detecte in the network and short message whether the phone comprising some contact person in address list.
In a step 208, when the content for detecting network and short message is matched with the contact information in address list, releasing pair
Label of the interception and cancellation of the network and short message to the number.
When the content for detecting network and short message is matched with the contact information in address list, smart phone determines the network
Short message is not rubbish network and short message, releases the interception to the network and short message, and user is reminded to check and accept.As a kind of possible realization
Mode, smart phone can also show the contact information being matched to, user facilitated to know when reminding user to check and accept
The corresponding transmission user of the network and short message.
For example, as shown in Figure 2 B, user A needs to notify user that B has a meeting afternoon, but the mobile phone of user A is out of power, user A
Have to that smart phone 21 has been borrowed to send network and short message 23 to the smart phone 22 of user B to other people, includes in the network and short message 23
The name of user A.But due in the smart phone of user B 22 and the number of not stored smart phone 21 and and smart phone
Communication was not carried out between 21, smart phone 22 is intercepted the network and short message 23.Smart phone 22 is to the network and short message
After 23 are intercepted, detect comprising name A in the network and short message 23, and connection is matched in the address list of smart phone 22
People A, smart phone 22 are the interception cancelled to the network and short message 23, remind user B to check and accept, and to the contact information being matched to
It is shown.
In conclusion SMS interception method provided in this embodiment, is detected by terminal according to address list and the communication information
Whether the network and short message received is rubbish network and short message, is intercepted to rubbish network and short message, and to the transmission rubbish network
The number of short message is marked;Solve user's hand labeled send rubbish network and short message number there are hysteresis qualitys, and manually
The lower problem of the efficiency of label;It can make automatic by terminal and rubbish network and short message is intercepted in time, and to transmission rubbish
The number of rubbish network and short message is marked, and user is avoided to be marked manually, to improve labeling effciency.
In the present embodiment, terminal in terms of short message communication record and airtime communication record two, detects simultaneously and sends network
The transmission terminal of short message whether there is communications records, and avoiding detection, caused network and short message mistake does not intercept comprehensively, improve
The accuracy that network and short message intercepts.
In the present embodiment, terminal is being intercepted in the predetermined amount of time after network and short message, and detection sends the hair of the network and short message
It makes arrangements for his funeral to hold and has sent operator SMS whether again, and when detecting that the transmission terminal has sent operator SMS, release to this
The interception of network and short message avoids the case where interception of non-junk network and short message is caused short message to miss by terminal, it is short to improve network
Believe the accuracy intercepted.
In the present embodiment, for terminal after intercepting network and short message, whether the content for further detecting network and short message includes communication
Contact information in record, and the interception arrived to the network and short message is released when the content of network and short message includes contact information,
Further improve the accuracy of network and short message interception.
In the present embodiment, terminal is after to rubbish network SMS interception, no longer to the terminal for sending the rubbish network and short message
Service return receipt is sent, is merely able to retransmit by way of operator SMS so that sending terminal, improves transmission rubbish net
The cost of network short message.
Fig. 3 is a kind of structural block diagram of SMS interception device shown according to an exemplary embodiment.The SMS interception
Device can pass through the portion of software, hardware or both being implemented in combination with as the intelligent terminal with network and short message transmission-receiving function
Divide or whole.The SMS interception device may include:
First detection module 310, is configured as after receiving network and short message, detects in address list whether be stored with transmission
The number of the transmission terminal of the network and short message;
Second detection module 320 is configured as when detecting not stored number in address list, detection with the number it
Between whether there is communications records;
Blocking module 330 is configured as when detecting with communications records are not present between the number, to the network and short message
Intercept and the number is marked.
In conclusion SMS interception device provided in this embodiment, is detected by terminal according to address list and the communication information
Whether the network and short message received is rubbish network and short message, is intercepted to rubbish network and short message, and to the transmission rubbish network
The number of short message is marked;Solve user's hand labeled send rubbish network and short message number there are hysteresis qualitys, and manually
The lower problem of the efficiency of label;It can make automatic by terminal and rubbish network and short message is intercepted in time, and to transmission rubbish
The number of rubbish network and short message is marked, and user is avoided to be marked manually, to improve labeling effciency.
Fig. 4 is a kind of structural block diagram of the SMS interception device shown according to another exemplary embodiment.The short message is blocked
The intelligent terminal with network and short message transmission-receiving function can be become by being implemented in combination with for software, hardware or both by cutting device
Partly or entirely.The SMS interception device may include:
First detection module 410, is configured as after receiving network and short message, detects in address list whether be stored with transmission
The number of the transmission terminal of the network and short message;
Second detection module 420 is configured as when detecting not stored number in address list, detection with the number it
Between whether there is communications records;
Blocking module 430 is configured as when detecting with communications records are not present between the number, to the network and short message
Intercept and the number is marked.
Optionally, the second detection module 420, including following first detection sub-module 421,422 and of the second detection sub-module
The combination of any one of third detection sub-module 423 or any combination or three.
First detection sub-module 421 is configured as detecting whether to be transmitted across network and short message or operator SMS to the number;
When detect be not transmitted across network and short message or operator SMS to the number when, determine between the number there is no communicating note
Record.
Second detection sub-module 422 is configured as detecting whether to dial the number;The number was not dialed when detecting
When, communications records are not present between determination and the number.
Third detection sub-module 423 is configured as detecting whether to receive the network and short message from the number or operation
Quotient's short message;When being not received by the network and short message or operator SMS from the number, do not deposited between the determining and number
In communications records.
Optionally, the device, further includes:
Receipt sending module 440 is configured as not sending and sending when detecting with communications records are not present between the number
Up to receipt;Service return receipt is used for transmission terminal informing network short message Delivered.
Optionally, the device, further includes:
Third detection module 450 is configured as intercepting in the predetermined amount of time after the network and short message, detects whether to receive
To the operator SMS for sending terminal transmission;The operator SMS sends when terminal does not receive service return receipt and sends;
First releases module 460, is configured as when receiving the operator SMS within a predetermined period of time, releases to this
Label of the interception and cancellation of network and short message to the number.
Optionally, the device, further includes:
4th detection module 470, the contact person's letter being configured as in the content and address list for the network and short message that detection intercepts
Whether breath matches;Contact information includes name of contact person, contact phone or contact addresses;
Second releases module 480, is configured as when the contact information in the content and address list for detecting network and short message
When matching, releases the interception to the network and short message and cancel the label to the number.
In conclusion SMS interception device provided in this embodiment, is detected by terminal according to address list and the communication information
Whether the network and short message received is rubbish network and short message, is intercepted to rubbish network and short message, and to the transmission rubbish network
The number of short message is marked;Solve user's hand labeled send rubbish network and short message number there are hysteresis qualitys, and manually
The lower problem of the efficiency of label;It can make automatic by terminal and rubbish network and short message is intercepted in time, and to transmission rubbish
The number of rubbish network and short message is marked, and user is avoided to be marked manually, to improve labeling effciency.
In the present embodiment, terminal in terms of short message communication record and airtime communication record two, detects simultaneously and sends network
The transmission terminal of short message whether there is communications records, and avoiding detection, caused network and short message mistake does not intercept comprehensively, improve
The accuracy that network and short message intercepts.
In the present embodiment, terminal is being intercepted in the predetermined amount of time after network and short message, and detection sends the hair of the network and short message
It makes arrangements for his funeral to hold and has sent operator SMS whether again, and when detecting that the transmission terminal has sent operator SMS, release to this
The interception of network and short message avoids the case where interception of non-junk network and short message is caused short message to miss by terminal, it is short to improve network
Believe the accuracy intercepted.
In the present embodiment, for terminal after intercepting network and short message, whether the content for further detecting network and short message includes communication
Contact information in record, and the interception arrived to the network and short message is released when the content of network and short message includes contact information,
Further improve the accuracy of network and short message interception.
In the present embodiment, terminal is after to rubbish network SMS interception, no longer to the terminal for sending the rubbish network and short message
Service return receipt is sent, is merely able to retransmit by way of operator SMS so that sending terminal, improves transmission rubbish net
The cost of network short message.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 5 is a kind of block diagram of SMS interception device 500 shown according to an exemplary embodiment.For example, device 500 can
To be smart phone or tablet device etc..
Referring to Fig. 5, device 500 may include following one or more components: processing component 502, memory 504, power supply
Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and
Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 502 may include that one or more processors 520 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just
Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate
Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown
Example includes the instruction of any application or method for operating on device 500, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 may include power management system
System, one or more power supplys and other with for device 500 generate, manage, and distribute the associated component of electric power.
Multimedia component 508 includes the screen of one output interface of offer between described device 500 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 508 includes a front camera and/or rear camera.When device 500 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike
Wind (MIC), when device 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set
Part 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented
Estimate.For example, sensor module 514 can detecte the state that opens/closes of device 500, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device
Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500
Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 500
When device executes, so that device 500 is able to carry out said short message hold-up interception method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (7)
1. a kind of SMS interception method, which is characterized in that the described method includes:
After receiving network and short message, detect in address list whether be stored with number for sending the transmission terminal of the network and short message
Code;
When detecting the not stored number in the address list, it whether there is communications records between detection and the number;
When detecting between the number there is no when the communications records, the network and short message intercept and to described
Number is marked;
When detecting between the number there is no when the communications records, service return receipt is not sent;The service return receipt is used
In informing the network and short message Delivered to the transmission terminal;
It is intercepting in the predetermined amount of time after the network and short message, is detecting whether to receive the operator that the transmission terminal is sent
Short message;The operator SMS is that the transmission terminal is sent when not receiving the service return receipt;
When receiving the operator SMS in the predetermined amount of time, the interception to the network and short message and cancellation are released
To the label of the number.
2. the method according to claim 1, wherein the detection between the number with the presence or absence of communicating note
At least one of record, include the following steps:
It detects whether to be transmitted across network and short message or operator SMS to the number;Institute is not transmitted across to the number when detecting
It is determining that the communications records are not present between the number when stating network and short message or the operator SMS;
Or,
It detects whether to dial the number;When detect do not dialed the number when, it is determining not deposited between the number
In the communications records;
Or,
Detect whether to receive network and short message or operator SMS from the number;It had been not received by from described
It is determining that the communications records are not present between the number when network and short message or operator SMS of number.
3. method according to claim 1 or 2, which is characterized in that the method, further includes:
Whether the content for detecting the network and short message intercepted matches with the contact information in the address list;The contact person
Information includes name of contact person, contact phone or contact addresses;
When the content for detecting the network and short message is matched with the contact information in the address list, release to described
Label of the interception and cancellation of network and short message to the number.
4. a kind of SMS interception device, which is characterized in that described device includes:
First detection module is configured as after receiving network and short message, is detected and whether is stored with the transmission net in address list
The number of the transmission terminal of network short message;
Second detection module is configured as when detecting the not stored number in the address list, detection and the number
Between whether there is communications records;
Blocking module is configured as when detecting between the number there is no the communications records, short to the network
Letter intercept and the number is marked;
Receipt sending module is configured as not sending and sending when detecting between the number there is no when the communications records
Up to receipt;The service return receipt is used to inform the network and short message Delivered to the transmission terminal;
Third detection module is configured as intercepting in the predetermined amount of time after the network and short message, detects whether to receive institute
It states and sends the operator SMS that terminal is sent;When the operator SMS is that the transmission terminal does not receive the service return receipt
It sends;
First releases module, is configured as when receiving the operator SMS in the predetermined amount of time, releases to institute
It states the interception of network and short message and cancels the label to the number.
5. device according to claim 4, which is characterized in that second detection module, including following detection sub-module
At least one of:
First detection sub-module is configured as detecting whether to be transmitted across network and short message or operator SMS to the number;Work as inspection
It measures when not being transmitted across the network and short message or the operator SMS to the number, it is determining to be not present between the number
The communications records;
Or,
Second detection sub-module is configured as detecting whether to dial the number;When detect do not dialed the number when,
It is determining that the communications records are not present between the number;
Or
Third detection sub-module, is configured as detecting whether to receive network and short message from the number or operator is short
Letter;It is determining not deposited between the number when being not received by the network and short message or operator SMS from the number
In the communications records.
6. device according to claim 4 or 5, which is characterized in that described device, further includes:
4th detection module, is configured as the content for the network and short message that detection intercepts and the contact person in the address list believes
Whether breath matches;The contact information includes name of contact person, contact phone or contact addresses;
Second releases module, is configured as the contact person in the content and the address list for detecting the network and short message
When information matches, releases the interception to the network and short message and cancel the label to the number.
7. a kind of SMS interception device, which is characterized in that described device includes:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
After receiving network and short message, detect in address list whether be stored with number for sending the transmission terminal of the network and short message
Code;
When detecting the not stored number in the address list, it whether there is communications records between detection and the number;
When detecting between the number there is no when the communications records, the network and short message intercept and to described
Number is marked;
When detecting between the number there is no when the communications records, service return receipt is not sent;The service return receipt is used
In informing the network and short message Delivered to the transmission terminal;
It is intercepting in the predetermined amount of time after the network and short message, is detecting whether to receive the operator that the transmission terminal is sent
Short message;The operator SMS is that the transmission terminal is sent when not receiving the service return receipt;
When receiving the operator SMS in the predetermined amount of time, the interception to the network and short message and cancellation are released
To the label of the number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510567436.3A CN105187646B (en) | 2015-09-08 | 2015-09-08 | SMS interception method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510567436.3A CN105187646B (en) | 2015-09-08 | 2015-09-08 | SMS interception method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105187646A CN105187646A (en) | 2015-12-23 |
CN105187646B true CN105187646B (en) | 2019-02-12 |
Family
ID=54909483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510567436.3A Active CN105187646B (en) | 2015-09-08 | 2015-09-08 | SMS interception method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105187646B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791552B (en) * | 2016-02-25 | 2019-03-12 | 北京奇虎科技有限公司 | A kind of SMS processing method, device and mobile terminal |
CN105681170B (en) * | 2016-03-08 | 2019-04-16 | 北京小米移动软件有限公司 | SMS interception method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056442A (en) * | 2007-05-28 | 2007-10-17 | 中兴通讯股份有限公司 | SMS processing method and mobile terminal using same |
CN102045652A (en) * | 2009-10-21 | 2011-05-04 | 深圳市彩讯科技有限公司 | Garbage short message interception method based on characteristic similarity |
CN102695174A (en) * | 2012-05-07 | 2012-09-26 | 清华大学 | Method, system and device for protecting against nuisance calls |
CN102801859A (en) * | 2012-08-03 | 2012-11-28 | 陈伟 | Method and device for identifying junk short message, and mobile communication terminal with device |
-
2015
- 2015-09-08 CN CN201510567436.3A patent/CN105187646B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056442A (en) * | 2007-05-28 | 2007-10-17 | 中兴通讯股份有限公司 | SMS processing method and mobile terminal using same |
CN102045652A (en) * | 2009-10-21 | 2011-05-04 | 深圳市彩讯科技有限公司 | Garbage short message interception method based on characteristic similarity |
CN102695174A (en) * | 2012-05-07 | 2012-09-26 | 清华大学 | Method, system and device for protecting against nuisance calls |
CN102801859A (en) * | 2012-08-03 | 2012-11-28 | 陈伟 | Method and device for identifying junk short message, and mobile communication terminal with device |
Also Published As
Publication number | Publication date |
---|---|
CN105187646A (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101920019B1 (en) | Apparatus and method for processing a call service of mobile terminal | |
CN105162937B (en) | Method for processing message of incoming call and device | |
CN106231089B (en) | Call optimization method and device | |
CN105101213A (en) | Information processing method and device | |
US9521251B2 (en) | Method and device for identifying telephone call | |
CN105554255B (en) | Method of controlling operation thereof and device for terminal device | |
CN106067111A (en) | Message treatment method and device | |
CN105515952B (en) | Method of sending message in multimedia and device | |
CN104270727A (en) | Information transmission method and device | |
CN106204097A (en) | Information-pushing method, device and mobile terminal | |
CN105099841A (en) | Information sending methods and devices, terminal and router | |
CN105872254A (en) | Message forwarding method and device | |
CN107707722A (en) | SMS interception treating method and apparatus | |
CN106060257A (en) | Method and device for viewing relevant information of contact | |
CN107071862A (en) | Account binding method and device and smart machine | |
CN108307361A (en) | A kind of short-distance wireless communication method and device | |
EP2991326B1 (en) | Method, apparatus and computer program product for processing communication identification | |
CN104918253B (en) | Recognition methods, device and the terminal device of false base station | |
CN106549859A (en) | Session information management method and device | |
CN105491518A (en) | Method and device for social reminding based on wearable devices | |
CN105187646B (en) | SMS interception method and device | |
KR101716622B1 (en) | Method and device, program and recording medium for sending message | |
CN105634928B (en) | Social based reminding method and device based on wearable device | |
CN105635414A (en) | Method and device for screening incoming calls | |
US10491556B1 (en) | Method and device for retransmitting short message, and 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 |