CN104967979A - Message interception method and device - Google Patents

Message interception method and device Download PDF

Info

Publication number
CN104967979A
CN104967979A CN201510368757.0A CN201510368757A CN104967979A CN 104967979 A CN104967979 A CN 104967979A CN 201510368757 A CN201510368757 A CN 201510368757A CN 104967979 A CN104967979 A CN 104967979A
Authority
CN
China
Prior art keywords
note
memory space
interception
preset
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510368757.0A
Other languages
Chinese (zh)
Other versions
CN104967979B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510368757.0A priority Critical patent/CN104967979B/en
Publication of CN104967979A publication Critical patent/CN104967979A/en
Application granted granted Critical
Publication of CN104967979B publication Critical patent/CN104967979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/12Detection or prevention of fraud

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a message interception method, comprising steps of A extracting parameter information of received message and correlating the message and the parameter information and storing the message and the parameter information in a first preset storage space, B determining whether a message can be received during a preset time interval, C executing the step A and the step B when the message is received in the preset time interval, D obtaining the message to be intercepted in the first preset storage space based on the parameter information when the message is not received in the preset time interval and the plurality of the messages are stored in the first storage space, and E moving and storing the message to be intercepted to the second preset storage space and outputting message interception prompt information. The message interception method and the device can effectively intercept the useless message.

Description

SMS interception method and device
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of SMS interception method and device.
Background technology
Along with the development of mobile communication, the content of note pushed information is more and more abundanter.Because the content-length pushed of wall scroll note is limited, thus in order to push more contents note time, need to be divided into many notes to push, such as continuously many (1/5,2/5,3/5,4/5,5/5) complete long content refuse messages could be pushed, cause more serious harassing and wrecking than wall scroll refuse messages to user, the interception (1/5 that existing interception mode cannot be completely complete, 2/5,3/5,4/5,5/5) continuous refuse messages.
Summary of the invention
Main purpose of the present invention is to propose a kind of SMS interception method and device, is intended to solve the technical problem cannot tackling continuous refuse messages.
For achieving the above object, the invention provides a kind of SMS interception method, described SMS interception method comprises the following steps:
The parameter information of the note that A, extraction receive, and described note and parameter information association thereof are saved to the first default memory space;
B, judge whether receive note in prefixed time interval;
C, when receiving described note within a preset time interval, continue to perform described steps A and step B;
D, do not receive described note within a preset time interval, and when the quantity of the note that described first memory space stores is multiple, obtain described first based on described parameter information and preset treating in memory space and tackle note;
E, treat that interception note mobile storage to the second presets memory space by described, export SMS interception information.
Preferably, after described step B, described SMS interception method also comprises step:
Do not receive described note within a preset time interval, and when the quantity of described note is single, the note mobile storage presetting memory space storage by described first presets memory space to the 3rd, and exports short message prompt information.
Preferably, described parameter information comprises identification of contacts and byte length, and described step D comprises:
Do not receive described note within a preset time interval, and when the quantity of note that described first memory space stores is multiple, obtain described first and preset identification of contacts in each note that memory space stores and the identical note of byte length;
Obtain described note in not between be separated with other note time, using the note of this acquisition as wait tackle note.
Preferably, described obtain note in not between be separated with other note time, using the note of this acquisition as wait tackle note step after, described step D comprises:
Determine to treat described in each whether also to receive after time of reception note the latest in interception note to tackle the identical note of note identification of contacts with described waiting;
Also receive after time of reception note the latest and tackle the identical note of note identification of contacts with described waiting, and the byte length of the note received be less than described in time tackling the byte length of note, be added into described band hide treating to receive after time of reception note the latest in interception note a note described in each in note.
Preferably, also step is comprised after described step D:
Described first preset memory space also comprise except described in time tackling other note except note, preset described first in memory space except described in wait that other note mobile storage of tackling except note presets memory space to the described 3rd, and export short message prompt information.
In addition, for achieving the above object, the present invention also proposes a kind of SMS interception device, and described SMS interception device comprises:
Extraction module, for extracting the parameter information of the note received;
Memory module, presets memory space for described note and parameter information association thereof are saved to first;
Judge module, for judging whether receive note in prefixed time interval;
Described extraction module, time also for receiving described note within a preset time interval, extracts the parameter information of the note received;
Acquisition module, for not receiving described note within a preset time interval, and when the quantity of the note that described first memory space stores is multiple, obtaining treating in the described first default memory space based on described parameter information and tackling note;
Blocking module, for treating that interception note mobile storage to the second presets memory space by described, exports SMS interception information.
Preferably, described SMS interception device also comprises the first reminding module, for not receiving described note within a preset time interval, and the quantity of described note is when being single, the note mobile storage presetting memory space storage by described first presets memory space to the 3rd, and exports short message prompt information.
Preferably, described parameter information comprises identification of contacts and byte length, and described acquisition module comprises:
Acquiring unit, for not receiving described note within a preset time interval, and when the quantity of note that described first memory space stores is multiple, obtains described first and preset identification of contacts in each note that memory space stores and the identical note of byte length;
Processing unit, for obtain described note in not between be separated with other note time, using the note of this acquisition as wait tackle note.
Preferably, described acquisition module also comprises:
Whether determining unit, treat described in each also to receive after time of reception note the latest in interception note to tackle the identical note of note identification of contacts with described waiting for determining;
Described processing unit, also tackle the identical note of note identification of contacts for also receiving after time of reception note the latest with described waiting, and the byte length of the note received be less than described in time tackling the byte length of note, be added into described band hide treating to receive after time of reception note the latest in interception note a note described in each in note.
Preferably, described SMS interception device also comprises:
Second reminding module, for described first preset memory space also comprise except described in time tackling other note except note, preset described first in memory space except described in wait that other note mobile storage of tackling except note presets memory space to the described 3rd, and export short message prompt information.
The SMS interception method that the present invention proposes and device, the program is when receiving note, judge whether to receive other note continuously, when receiving other note continuously, parameter information based on each note is determined to treat intercept information in this information received continuously, this is treated intercept information mobile storage to the second memory space is to tackle, and export interception information, effectively tackle continuous refuse messages.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the radio communication device schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of SMS interception method preferred embodiment of the present invention;
Fig. 4 is the refinement schematic diagram that the present invention obtains note step to be concealed.
Fig. 5 is the high-level schematic functional block diagram of SMS interception device of the present invention preferred embodiment;
Fig. 6 is the refinement high-level schematic functional block diagram of acquisition module in SMS interception device of the present invention preferred embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input unit 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and radio communication device or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcaster Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), forward link media (MediaFLO @) the digital broadcast apparatus receiving digital broadcast of data broadcast device, received terrestrial digital broadcasting integrated service (ISDB-T) etc.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcaster of broadcast singal and above-mentioned digital broadcast apparatus.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (global pick device).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.
A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 122, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memory 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 121 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration of mobile terminal 100 or speed is moved and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input unit and output device.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin-film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in memory 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise pick-up, buzzer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incoming communication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.
Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.
Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memory 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and radio communication device of data via frame or grouping and satellite-based communicator operates.
Describe wherein according to the communicator that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer.Such as, the air interface used by communicator comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA), code division multiple access (CDMA) and universal mobile communications device (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc.As non-limiting example, description below relates to cdma communication device, but such instruction is equally applicable to the device of other type.
With reference to figure 2, cdma wireless communication device can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that device as shown in Figure 2 can comprise multiple BSC2750.
Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as the sub-device of base station transceiver (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 operated in device by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several global pick device (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.
In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of radio communication device, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Based on the structure of above-mentioned mobile terminal hardware configuration and communicator, each embodiment of focus adjustment method of the present invention is proposed.
As shown in Figure 3, Fig. 3 is the schematic flow sheet of SMS interception method preferred embodiment of the present invention.
The present embodiment proposes a kind of SMS interception method, and described SMS interception method comprises the following steps:
Step S10, extracts the parameter information of the note received, and described note and parameter information association thereof are saved to the first default memory space;
In the present embodiment, when receiving note, can judge whether this note is refuse messages, when this note is refuse messages, performing the scheme of S10 to S40.Also can set up the call relation that this SMS interception software and existing refuse messages judge between software, when refuse messages judges that the note that software judges to receive is refuse messages, call this SMS interception software, namely perform the scheme of S10 to S40.Refuse messages judges by identification of contacts and/or content, and concrete mode is that prior art does not repeat them here.
This first memory space is preferably the buffer memory of terminal, and also can be a certain default file folder of terminal, the association of note and parameter information is preserved, and the mode by related information table realizes.
Step S20, judges whether receive note in prefixed time interval;
After receiving note, receive note all within a preset time interval, to judge whether receive note within a preset time interval at every turn.
When receiving described note within a preset time interval, continue to perform described step S10 and step S20;
Step S30, does not receive described note within a preset time interval, and when the quantity of the note that described first memory space stores is multiple, obtains treating in the described first default memory space tackle note based on described parameter information;
Obtain in time tackling note, directly the parameter information of each note can be compared, the note of being mated by parameter information is as waiting to tackle note, further, other note may be interspersed with in each note of parameter information coupling, then between each note needing to judge that parameter information mates further whether between be separated with other note, when being separated with other note between not, the note of being mated by parameter information is as waiting to tackle note
By described, step S40, treats that interception note mobile storage to the second presets memory space, exports SMS interception information.
This second memory space can be default file, and be preferably refuse messages memory module, this SMS interception information, can only comprise identification of contacts and treat the quantity of intercept information, also can comprise the keyword treating intercept information further.To wait that tackling the default memory space of note mobile storage to the second refers to that treating interception note and will treat that interception note storing value second presets memory space in memory space is preset in deletion first in the present embodiment.While intercept information is treated in deletion, hiding Info of its correspondence can be deleted simultaneously.
Be understandable that, do not receive described note within a preset time interval, and when the quantity of described note is single, the note mobile storage presetting memory space storage by described first presets memory space to the 3rd, and exports short message prompt information.To wait that tackling note mobile storage to the 3rd default memory space refers to that treating interception note and will treat that interception note storing value the 3rd presets memory space in memory space is preset in deletion first, this short message prompt information can comprise the identification of contacts of note, also can comprise the keyword of information further.
Further, due to the situation of partial interception may be there is, then also comprising step after described all S40: described first preset memory space also comprise except described in time tackling other note except note, preset described first in memory space except described in wait that other note mobile storage of tackling except note presets memory space to the described 3rd, and export short message prompt information.
The SMS interception method that the present embodiment proposes, the program is when receiving note, judge whether to receive other note continuously, when receiving other note continuously, parameter information based on each note is determined to treat intercept information in this information received continuously, this is treated intercept information mobile storage to the second memory space is to tackle, and export interception information, effectively tackle continuous refuse messages.
In the above-described embodiments, wait to tackle the obtain manner of note with reference to Fig. 4, comprise step S30 described in identification of contacts and byte length at described parameter information and comprise:
Step S31, do not receive described note within a preset time interval, and when the quantity of note that described first memory space stores is multiple, obtains described first and preset identification of contacts in each note that memory space stores and the identical note of byte length;
Step S32, obtain described note in not between be separated with other note time, using the note of this acquisition as wait tackle note.
Be understandable that, when being divided into by long SMS multiple note to send, the length of last note may be less than other notes, then, after described step S32, described step S30 also comprises step:
Determine to treat described in each whether also to receive after time of reception note the latest in interception note to tackle the identical note of note identification of contacts with described waiting;
Also receive after time of reception note the latest and tackle the identical note of note identification of contacts with described waiting, and the byte length of the note received be less than described in time tackling the byte length of note, be added into described band hide treating to receive after time of reception note the latest in interception note a note described in each in note.
Below by way of example, such scheme is described, the note received is followed successively by A1, A2 according to time of reception ... An, associated person information corresponding to each note is a1, a2 ... an, byte length is b1, b2 successively ... bn, second default memory space is refuse messages memory module, then can there is following situation:
1) as (a1=a2=an) and (b1=b2=bn), using whole note all as waiting to tackle note, interception Article 1, Article 2, n-th note.Prompting user note is blocked, and will be blocked note and be saved to refuse messages memory module;
2) as (a1=a2=an) and (b1=b2 ≠ bn), perform note and all tackle, interception Article 1, Article 2, n-th note.Prompting user note is blocked, and will be blocked note and be saved to refuse messages memory module;
3) as (a1=a2=an) and (b1 ≠ b2=bn), perform note partial interception, do not tackle Article 1 note.Interception Article 2 to the n-th note.Article 1, note regular prompt is read to user, and Article 2 is blocked to N article of short message prompt user note, will be blocked note and be saved to refuse messages memory module;
4) as (a1 ≠ a2 ≠ an) and (b1 ≠ b2 ≠ bn), whole regular prompt is read to user.
5) as (a1 ≠ a2 ≠ an) and (b1=b2=bn), whole regular prompt is read to user.
6) as (a1=a2 ≠ an) and (b1=b2=bn), perform note partial interception, interception Article 1 note, Article 2 note, do not tackle n-th note.Article 1, Article 2 note regular prompt reads to user, and N article of short message prompt user note is blocked, and will be blocked note and be saved to refuse messages memory module.
7) as (a1 ≠ a2=an) and (b1=b2=bn), perform note partial interception, do not tackle Article 1 note, interception Article 2 note to the n-th note.Article 1, note regular prompt is read to user, and the second to the n-th short message prompt user note is blocked, and will be blocked note and be saved to refuse messages memory module.
8) as (a1=a2=am) and (b1=b2=bm), and (am+1=am+2=an) and (b m+1=b m+2=bn), wherein n>m+2, then perform note and all tackle.
In above-mentioned 8, situation does not represent the situation between all notes, only enumerating for ease of understanding the scheme of carrying out, not representing the application and only there are above 8 kinds of situations.
The present invention further provides a kind of SMS interception device.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are SMS interception device of the present invention preferred embodiment.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 5 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the SMS interception device shown in Fig. 5, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for auxiliary each program function block understanding this SMS interception device, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of respective define name will be reached.
A kind of SMS interception device of the present embodiment, described SMS interception device comprises:
Extraction module 10, for extracting the parameter information of the note received;
In the present embodiment, can when receiving note, judge whether this note is refuse messages, when this note is refuse messages, extraction module 10 extracts the parameter information of the note received.Also the call relation that this SMS interception software and existing refuse messages judge between software can be set up, when refuse messages judges that the note that software judges to receive is refuse messages, call this SMS interception software, namely extraction module 10 extracts the parameter information of the note received.Refuse messages judges by identification of contacts and/or content, and concrete mode is that prior art does not repeat them here.
This first memory space is preferably the buffer memory of terminal, and also can be a certain default file folder of terminal, the association of note and parameter information is preserved, and the mode by related information table realizes.
Memory module 20, presets memory space for described note and parameter information association thereof are saved to first;
After receiving note, receive note all within a preset time interval, to judge whether receive note within a preset time interval at every turn.
Judge module 30, for judging whether receive note in prefixed time interval;
Described extraction module 10, time also for receiving described note within a preset time interval, extracts the parameter information of the note received;
Acquisition module 40, for not receiving described note within a preset time interval, and when the quantity of the note that described first memory space stores is multiple, obtaining treating in the described first default memory space based on described parameter information and tackling note;
Obtain in time tackling note, directly the parameter information of each note can be compared, the note of being mated by parameter information is as waiting to tackle note, further, other note may be interspersed with in each note of parameter information coupling, between each note then needing to judge that parameter information mates further whether between be separated with other note, when being separated with other note between not, the note of being mated by parameter information is as waiting to tackle note.
Blocking module 50, for treating that interception note mobile storage to the second presets memory space by described, exports SMS interception information.
This second memory space can be default file, and be preferably refuse messages memory module, this SMS interception information, can only comprise identification of contacts and treat the quantity of intercept information, also can comprise the keyword treating intercept information further.To wait that tackling the default memory space of note mobile storage to the second refers to that treating interception note and will treat that interception note storing value second presets memory space in memory space is preset in deletion first in the present embodiment.While intercept information is treated in deletion, hiding Info of its correspondence can be deleted simultaneously.
Be understandable that, described SMS interception device also comprises the first reminding module, for not receiving described note within a preset time interval, and the quantity of described note is when being single, the note mobile storage presetting memory space storage by described first presets memory space to the 3rd, and exports short message prompt information.To wait that tackling note mobile storage to the 3rd default memory space refers to that treating interception note and will treat that interception note storing value the 3rd presets memory space in memory space is preset in deletion first, this short message prompt information can comprise the identification of contacts of note, also can comprise the keyword of information further.
Further, due to the situation of partial interception may be there is, then described SMS interception device also comprises the second reminding module, for described first preset memory space also comprise except described in time tackling other note except note, preset described first in memory space except described in wait that other note mobile storage of tackling except note presets memory space to the described 3rd, and export short message prompt information.This first reminding module and the second reminding module can be same module.
The SMS interception device that the present embodiment proposes, the program is when receiving note, judge whether to receive other note continuously, when receiving other note continuously, parameter information based on each note is determined to treat intercept information in this information received continuously, this is treated intercept information mobile storage to the second memory space is to tackle, and export interception information, effectively tackle continuous refuse messages.
In the above-described embodiments, acquisition module 40 is waited to tackle the obtain manner of note with reference to Fig. 6, and when described parameter information comprises identification of contacts and byte length, described acquisition module 40 comprises:
Acquiring unit 41, for not receiving described note within a preset time interval, and when the quantity of note that described first memory space stores is multiple, obtains described first and preset identification of contacts in each note that memory space stores and the identical note of byte length;
Processing unit 42, for obtain described note in not between be separated with other note time, using the note of this acquisition as wait tackle note.
Be understandable that, when being divided into by long SMS multiple note to send, the length of last note may be less than other notes, then described acquisition module 40 also comprises:
Whether determining unit, treat described in each also to receive after time of reception note the latest in interception note to tackle the identical note of note identification of contacts with described waiting for determining;
Described processing unit 42, also tackle the identical note of note identification of contacts for also receiving after time of reception note the latest with described waiting, and the byte length of the note received be less than described in time tackling the byte length of note, be added into described band hide treating to receive after time of reception note the latest in interception note a note described in each in note.
Below by way of example, such scheme is described, the note received is followed successively by A1, A2 according to time of reception ... An, associated person information corresponding to each note is a1, a2 ... an, byte length is b1, b2 successively ... bn, second default memory space is refuse messages memory module, then can there is following situation:
1) as (a1=a2=an) and (b1=b2=bn), using whole note all as waiting to tackle note, interception Article 1, Article 2, n-th note.Prompting user note is blocked, and will be blocked note and be saved to refuse messages memory module;
2) as (a1=a2=an) and (b1=b2 ≠ bn), perform note and all tackle, interception Article 1, Article 2, n-th note.Prompting user note is blocked, and will be blocked note and be saved to refuse messages memory module;
3) as (a1=a2=an) and (b1 ≠ b2=bn), perform note partial interception, do not tackle Article 1 note.Interception Article 2 to the n-th note.Article 1, note regular prompt is read to user, and Article 2 is blocked to N article of short message prompt user note, will be blocked note and be saved to refuse messages memory module;
4) as (a1 ≠ a2 ≠ an) and (b1 ≠ b2 ≠ bn), whole regular prompt is read to user.
5) as (a1 ≠ a2 ≠ an) and (b1=b2=bn), whole regular prompt is read to user.
6) as (a1=a2 ≠ an) and (b1=b2=bn), perform note partial interception, interception Article 1 note, Article 2 note, do not tackle n-th note.Article 1, Article 2 note regular prompt reads to user, and N article of short message prompt user note is blocked, and will be blocked note and be saved to refuse messages memory module.
7) as (a1 ≠ a2=an) and (b1=b2=bn), perform note partial interception, do not tackle Article 1 note, interception Article 2 note to the n-th note.Article 1, note regular prompt is read to user, and the second to the n-th short message prompt user note is blocked, and will be blocked note and be saved to refuse messages memory module.
8) as (a1=a2=am) and (b1=b2=bm), and (am+1=am+2=an) and (b m+1=b m+2=bn), wherein n>m+2, then perform note and all tackle.
In above-mentioned 8, situation does not represent the situation between all notes, only enumerating for ease of understanding the scheme of carrying out, not representing the application and only there are above 8 kinds of situations.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a SMS interception method, is characterized in that, described SMS interception method comprises the following steps:
The parameter information of the note that A, extraction receive, and described note and parameter information association thereof are saved to the first default memory space;
B, judge whether receive note in prefixed time interval;
C, when receiving described note within a preset time interval, continue to perform described steps A and step B;
D, do not receive described note within a preset time interval, and when the quantity of the note that described first memory space stores is multiple, obtain described first based on described parameter information and preset treating in memory space and tackle note;
E, treat that interception note mobile storage to the second presets memory space by described, export SMS interception information.
2. SMS interception method as claimed in claim 1, it is characterized in that, after described step B, described SMS interception method also comprises step:
Do not receive described note within a preset time interval, and when the quantity of described note is single, the note mobile storage presetting memory space storage by described first presets memory space to the 3rd, and exports short message prompt information.
3. SMS interception method as claimed in claim 1 or 2, it is characterized in that, described parameter information comprises identification of contacts and byte length, and described step D comprises:
Do not receive described note within a preset time interval, and when the quantity of note that described first memory space stores is multiple, obtain described first and preset identification of contacts in each note that memory space stores and the identical note of byte length;
Obtain described note in not between be separated with other note time, using the note of this acquisition as wait tackle note.
4. SMS interception method as claimed in claim 1 or 2 in claim, is characterized in that, described obtain note in not between be separated with other note time, using the note of this acquisition as wait tackle note step after, described step D comprises:
Determine to treat described in each whether also to receive after time of reception note the latest in interception note to tackle the identical note of note identification of contacts with described waiting;
Also receive after time of reception note the latest and tackle the identical note of note identification of contacts with described waiting, and the byte length of the note received be less than described in time tackling the byte length of note, be added into described band hide treating to receive after time of reception note the latest in interception note a note described in each in note.
5. SMS interception method as claimed in claim 3, is characterized in that, also comprise step after described step D:
Described first preset memory space also comprise except described in time tackling other note except note, preset described first in memory space except described in wait that other note mobile storage of tackling except note presets memory space to the described 3rd, and export short message prompt information.
6. a SMS interception device, is characterized in that, described SMS interception device comprises:
Extraction module, for extracting the parameter information of the note received;
Memory module, presets memory space for described note and parameter information association thereof are saved to first;
Judge module, for judging whether receive note in prefixed time interval;
Described extraction module, time also for receiving described note within a preset time interval, extracts the parameter information of the note received;
Acquisition module, for not receiving described note within a preset time interval, and when the quantity of the note that described first memory space stores is multiple, obtaining treating in the described first default memory space based on described parameter information and tackling note;
Blocking module, for treating that interception note mobile storage to the second presets memory space by described, exports SMS interception information.
7. SMS interception device as claimed in claim 6, it is characterized in that, described SMS interception device also comprises the first reminding module, for not receiving described note within a preset time interval, and the quantity of described note is when being single, the note mobile storage presetting memory space storage by described first presets memory space to the 3rd, and exports short message prompt information.
8. SMS interception device as claimed in claims 6 or 7, it is characterized in that, described parameter information comprises identification of contacts and byte length, and described acquisition module comprises:
Acquiring unit, for not receiving described note within a preset time interval, and when the quantity of note that described first memory space stores is multiple, obtains described first and preset identification of contacts in each note that memory space stores and the identical note of byte length;
Processing unit, for obtain described note in not between be separated with other note time, using the note of this acquisition as wait tackle note.
9. SMS interception device as claimed in claim 8 in claim, it is characterized in that, described acquisition module also comprises:
Whether determining unit, treat described in each also to receive after time of reception note the latest in interception note to tackle the identical note of note identification of contacts with described waiting for determining;
Described processing unit, also tackle the identical note of note identification of contacts for also receiving after time of reception note the latest with described waiting, and the byte length of the note received be less than described in time tackling the byte length of note, be added into described band hide treating to receive after time of reception note the latest in interception note a note described in each in note.
10. SMS interception device as claimed in claims 6 or 7, it is characterized in that, described SMS interception device also comprises:
Second reminding module, for described first preset memory space also comprise except described in time tackling other note except note, preset described first in memory space except described in wait that other note mobile storage of tackling except note presets memory space to the described 3rd, and export short message prompt information.
CN201510368757.0A 2015-06-29 2015-06-29 SMS interception method and device Active CN104967979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510368757.0A CN104967979B (en) 2015-06-29 2015-06-29 SMS interception method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510368757.0A CN104967979B (en) 2015-06-29 2015-06-29 SMS interception method and device

Publications (2)

Publication Number Publication Date
CN104967979A true CN104967979A (en) 2015-10-07
CN104967979B CN104967979B (en) 2018-12-07

Family

ID=54221899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510368757.0A Active CN104967979B (en) 2015-06-29 2015-06-29 SMS interception method and device

Country Status (1)

Country Link
CN (1) CN104967979B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060019684A1 (en) * 2004-07-22 2006-01-26 Xiao-Qin Yu Short message filter mechanism and communication device
CN101350957A (en) * 2008-07-28 2009-01-21 杨沁沁 Method and equipment for shielding rubbish short message
CN101472245A (en) * 2007-12-27 2009-07-01 中国移动通信集团公司 Method and apparatus for intercepting rubbish short message
CN101651934A (en) * 2009-09-04 2010-02-17 中兴通讯股份有限公司 Method and system for filtering long short messages
CN103037326A (en) * 2011-09-30 2013-04-10 重庆重邮信科通信技术有限公司 Method and device for processing long shot messages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060019684A1 (en) * 2004-07-22 2006-01-26 Xiao-Qin Yu Short message filter mechanism and communication device
CN101472245A (en) * 2007-12-27 2009-07-01 中国移动通信集团公司 Method and apparatus for intercepting rubbish short message
CN101350957A (en) * 2008-07-28 2009-01-21 杨沁沁 Method and equipment for shielding rubbish short message
CN101651934A (en) * 2009-09-04 2010-02-17 中兴通讯股份有限公司 Method and system for filtering long short messages
CN103037326A (en) * 2011-09-30 2013-04-10 重庆重邮信科通信技术有限公司 Method and device for processing long shot messages

Also Published As

Publication number Publication date
CN104967979B (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN104850259A (en) Combination operation method, combination operation apparatus, touch screen operating method and electronic device
CN104915141A (en) Method and device for previewing object information
CN104735255A (en) Split screen display method and system
CN105225457A (en) System, the apparatus and method of information prompting are carried out by intelligent home device
CN104660912A (en) Photographing method and photographing device
CN105100401A (en) Method and device for implementing return to original interface after interface switching
CN104915140A (en) Processing method based on virtual key touch operation data and processing device based on virtual key touch operation data
CN105094612A (en) Object selecting method and device
CN105095790A (en) Hidden object view method and device
CN104993180A (en) Terminal charging method and device
CN105100416A (en) Event reminding method and wearable device
CN105100412A (en) Method and device for eliminating terminal data
CN104951236A (en) Wallpaper configuration method for terminal device, and terminal device
CN105100673A (en) Voice over long term evolution (VoLTE) based desktop sharing method and device
CN104980549A (en) Information processing method and mobile terminal
CN105138400A (en) Application self-starting management method and apparatus
CN104898940A (en) Picture processing method and device
CN105099701A (en) Terminal and terminal authentication method
CN105138871A (en) Unlocking method and apparatus for mobile terminal and mobile terminal
CN105072279A (en) Backup device and method based on mobile terminal
CN104735254A (en) Terminal screen locking method and system
CN105049612A (en) Method of realizing recording and device of realizing recording
CN104731499A (en) Method and device for starting background applications and mobile terminal
CN104754131B (en) The display packing of split screen interface identification and system
CN105100407A (en) Method and device for automatically remarking contact

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