CN104967979B - SMS interception method and device - Google Patents

SMS interception method and device Download PDF

Info

Publication number
CN104967979B
CN104967979B CN201510368757.0A CN201510368757A CN104967979B CN 104967979 B CN104967979 B CN 104967979B CN 201510368757 A CN201510368757 A CN 201510368757A CN 104967979 B CN104967979 B CN 104967979B
Authority
CN
China
Prior art keywords
short message
memory space
short
intercepted
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.)
Active
Application number
CN201510368757.0A
Other languages
Chinese (zh)
Other versions
CN104967979A (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)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of SMS interception method, the SMS interception method the following steps are included: the short message that A, extraction are received parameter information, and the short message and its parameter information association are saved to the first default memory space;B, judge whether receive short message in prefixed time interval;C, when receiving the short message within a preset time interval, the step A and step B is continued to execute;D, the short message is not received within a preset time interval, and when the quantity for the short message that first memory space stores is multiple, based on the parameter the short message to be intercepted in the first default memory space described in acquisition of information;E, the short message movement to be intercepted is stored to the second default memory space, exports SMS interception prompt information.The present invention effectively intercepts continuous refuse messages.

Description

SMS interception method and device
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of SMS interception methods and device.
Background technique
With the development of mobile communication, the content of short message pushed information is more and more abundant.Due to pushing for single short message Content-length be limited, so when in order to push the short message of more contents, need to be divided into a plurality of short message push, such as continuously A plurality of (1/5,2/5,3/5,4/5,5/5) could push the long content refuse messages finished, make than single refuse messages to user At more serious harassing and wrecking, existing interception mode can not completely intercept (1/5,2/5,3/5,4/5,5/5) continuous rubbish completely Rubbish short message.
Summary of the invention
It is a primary object of the present invention to propose a kind of SMS interception method and device, it is intended to which solution can not intercept continuous rubbish The technical issues of rubbish short message.
To achieve the above object, the present invention provides a kind of SMS interception method, and the SMS interception method includes following step It is rapid:
A, the parameter information of the short message received is extracted, and the short message and its parameter information association are saved to first in advance If memory space;
B, judge whether receive short message in prefixed time interval;
C, when receiving the short message within a preset time interval, the step A and step B is continued to execute;
D, the short message, and the number of the short message in first memory space storage are not received within a preset time interval When amount is multiple, the short message to be intercepted in the first default memory space described in acquisition of information based on the parameter;
E, the short message movement to be intercepted is stored to the second default memory space, exports SMS interception prompt information.
Preferably, after the step B, the SMS interception method is further comprised the steps of:
The short message is not received within a preset time interval, and when the quantity of the short message is single, by described first Mobile store to third of short message of default memory space storage presets memory space, and exports short message prompt information.
Preferably, the parameter information includes identification of contacts and byte length, and the step D includes:
The short message, and the quantity of the short message in first memory space storage are not received within a preset time interval When being multiple, it is identical to obtain identification of contacts and byte length in each short message of the described first default memory space storage Short message;
It is not spaced when having other short messages in the short message of acquisition, using the short message of the acquisition as short message to be intercepted.
Preferably, described not spaced when having other short messages in the short message of acquisition, using the short message of the acquisition as wait intercept After the step of short message, the step D includes:
It determines each described wait intercept whether the short message of receiving time the latest in short message also receives with described wait block later Truncate the identical short message of letter identification of contacts;
Short message identical with the short message identification of contacts to be intercepted also is received after the short message of receiving time the latest, And the byte length of the short message received be less than it is described when intercepting the byte length of short message, will be each described wait intercept in short message A short message is received after the short message of receiving time the latest to be added in the hiding short message of the band.
Preferably, it is further comprised the steps of: after the step D
When the described first default memory space further includes other short messages except described in addition to intercepting short message, by described In one default memory space except described wait intercept short message in addition to mobile store to the third of other short messages preset memory space, And export short message prompt information.
In addition, to achieve the above object, the present invention also proposes a kind of SMS interception device, the SMS interception device packet It includes:
Extraction module, for extracting the parameter information of the short message received;
Memory module, for saving the short message and its parameter information association to the first default memory space;
Judgment module, for judging whether receive short message in prefixed time interval;
The extraction module when being also used to receive the short message within a preset time interval, extracts the short message received Parameter information;
Module is obtained, is deposited for not receiving the short message within a preset time interval, and in first memory space It is short wait intercept in the first default memory space described in acquisition of information based on the parameter when the quantity of the short message of storage is multiple Letter;
Blocking module exports SMS interception for storing the short message movement to be intercepted to the second default memory space Prompt information.
Preferably, the SMS interception device further includes the first cue module, for not receiving within a preset time interval To the short message, and when the quantity of the short message is single, by the mobile storage of short message of the described first default memory space storage Memory space is preset to third, and exports short message prompt information.
Preferably, the parameter information includes identification of contacts and byte length, and the acquisition module includes:
Acquiring unit is deposited for not receiving the short message within a preset time interval, and in first memory space When the quantity of the short message of storage is multiple, obtain in each short message of the first default memory space storage identification of contacts and The identical short message of byte length;
Processing unit, in the short message of acquisition it is not spaced have other short messages when, using the short message of the acquisition as Short message to be intercepted.
Preferably, the acquisition module further include:
Determination unit, it is each described wait intercept whether the short message of receiving time the latest in short message also receives later for determining To short message identical with the short message identification of contacts to be intercepted;
The processing unit, is also used to also receive after receiving time short message the latest and the short message to be intercepted joins It is that people identifies identical short message, and the byte length of the short message received is less than described when intercepting the byte length of short message, general It is each described to hide short message wait intercept to receive a short message in short message after the short message of receiving time the latest and be added to the band In.
Preferably, the SMS interception device further include:
Second cue module, for the described first default memory space further include except described wait intercept short message in addition to its When its short message, by the described first default memory space except described wait intercept short message in addition to other short messages movement store to described Third presets memory space, and exports short message prompt information.
SMS interception method and device proposed by the present invention, the program judge whether continuously to receive when receiving short message To other short messages, when continuously receiving other short messages, which is determined based on the parameter information of each short message In breath to intercept information, this is waited for that intercept information movement is stored to the second memory space to intercept, and export interception and mention Show information, effectively intercepts continuous refuse messages.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication device schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow diagram of SMS interception method preferred embodiment of the present invention;
Fig. 4 is the refinement schematic diagram that the present invention obtains short message step to be concealed.
Fig. 5 is the functional block diagram of SMS interception device preferred embodiment of the present invention;
Fig. 6 is the refinement the functional block diagram that module is obtained in SMS interception device preferred embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication device Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module 112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB) Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcasters.Particularly, broadcasting reception module 111 It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video It broadcasts-holds (DVB-H), forward link media (MediaFLO@) data broadcasting device, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digital broadcast apparatus receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcasters and above-mentioned digital broadcast apparatus of signal.Via the received broadcast singal of broadcasting reception module 111 and/ Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module Typical case be GPS (global pick device).According to current technology, GPS module 115, which calculates, comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, it is defended for the method for calculating position and temporal information using three Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115 It can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121 Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110 It send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (audio data) is received via microphone in record mode, speech recognition mode etc. operational mode, and can will in this way Acoustic processing be audio data.Audio that treated (voice) data can be converted in the case where telephone calling model can The format output of mobile communication base station is sent to via mobile communication module 112.Various types of make an uproar can be implemented in microphone 122 Sound eliminates (or inhibition) algorithm to eliminate the noise or do that (or inhibition) generates during sending and receiving audio signal It disturbs.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration of mobile terminal 100 or by fast movement and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include that proximity sensor 1410 will combine below Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include 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 input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include sound pick-up, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit 153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any Line and wireless communication device and satellite-based communication device operate.
Referring now to Fig. 2 description communication device that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication device.For example, used by communication device Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress Set (UMTS) (particularly, long term evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under The description in face is related to cdma communication device, but such introduction is equally applicable to other types of device.
With reference to Fig. 2, cdma wireless communication device may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in the device by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global pick device (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication device, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti- It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals It is sent to mobile terminal 100.
Structure based on above-mentioned mobile terminal hardware configuration and communication device proposes that focus adjustment method of the present invention is each Embodiment.
As shown in figure 3, Fig. 3 is the flow diagram of SMS interception method preferred embodiment of the present invention.
The present embodiment proposes a kind of SMS interception method, the SMS interception method the following steps are included:
Step S10 extracts the parameter information of the short message received, and the short message and its parameter information association is saved extremely First default memory space;
In the present embodiment, can judge whether the short message is refuse messages when receiving short message, be rubbish in the short message When short message, the scheme of S10 to S40 is executed.Can also establish the SMS interception software and existing refuse messages judge software it Between call relation call the SMS interception soft when refuse messages judge that software judges the short message received as refuse messages Part executes the scheme of S10 to S40.Refuse messages can determine that concrete mode is existing by identification of contacts and/or content Details are not described herein for technology.
First memory space is preferably the caching of terminal, can also be pressed from both sides for a certain default file of terminal, short message and ginseng The association of number information saves, and can be realized by way of related information table.
Step S20 judges whether receive short message in prefixed time interval;
After receiving short message every time, short message is received within a preset time interval, to judge within a preset time interval Whether short message is received.
When receiving the short message within a preset time interval, the step S10 and step S20 is continued to execute;
Step S30 does not receive the short message within a preset time interval, and in the short of first memory space storage When the quantity of letter is multiple, the short message to be intercepted in the first default memory space described in acquisition of information based on the parameter;
It obtains when intercepting short message, directly the parameter information of each short message can be compared, parameter information is matched Short message further may be interspersed with other short messages in the matched each short message of parameter information, then need as short message to be intercepted Further judge between the matched each short message of parameter information whether between be separated with other short messages, it is not spaced have other short messages when, Using the matched short message of parameter information as short message to be intercepted,
The short message movement to be intercepted is stored to the second default memory space, exports SMS interception prompt letter by step S40 Breath.
Second memory space can be preset file, preferably refuse messages memory module, SMS interception prompt Information can only include identification of contacts and the quantity to intercept information, further may also comprise the key to intercept information Word.Mobile store to the second default memory space of short message to be intercepted is referred in the first default memory space of deletion in the present embodiment Short message to be intercepted and short message storage value second to be intercepted is preset into memory space.It, can be same while deleting to intercept information When delete its corresponding hiding information.
It is understood that not receiving the short message within a preset time interval, and the quantity of the short message is single When, mobile store to third of short message of the described first default memory space storage is preset into memory space, and export short message prompt Information.By short message to be intercepted it is mobile store to third preset memory space refer to delete in the first default memory space wait intercept Short message storage value third to be intercepted simultaneously is preset memory space by short message, which may include contact person's mark of short message Know, further may also comprise the keyword of information.
Further, it due to the case where there may be partial interceptions, then further comprises the steps of: after the week S40 in institute It is when to state the first default memory space further include other short messages except described in addition to intercepting short message, the described first default storage is empty Between in except it is described wait intercept short message in addition to mobile store to the third of other short messages preset memory space, and export short message and mention Show information.
The SMS interception method that the present embodiment proposes, the program judge whether to continuously receive it when receiving short message Its short message is determined in the information continuously received when continuously receiving other short messages based on the parameter information of each short message To intercept information, this is waited for that intercept information movement is stored to the second memory space to intercept, and export interception prompting letter Breath, effectively intercepts continuous refuse messages.
In the above-described embodiments, the acquisition modes of short message to be intercepted include contact person's mark in the parameter information referring to Fig. 4 Know and byte length described in step S30 include:
Step S31 does not receive the short message within a preset time interval, and in the short of first memory space storage When the quantity of letter is multiple, identification of contacts and byte long in each short message of the described first default memory space storage are obtained Spend identical short message;
Step S32, it is not spaced when having other short messages in the short message of acquisition, using the short message of the acquisition as wait intercept Short message.
It is understood that the length of the last one short message may when long SMS being divided into multiple short messages being sent Less than other short messages, then after the step S32, the step S30 is further comprised the steps of:
It determines each described wait intercept whether the short message of receiving time the latest in short message also receives with described wait block later Truncate the identical short message of letter identification of contacts;
Short message identical with the short message identification of contacts to be intercepted also is received after the short message of receiving time the latest, And the byte length of the short message received be less than it is described when intercepting the byte length of short message, will be each described wait intercept in short message A short message is received after the short message of receiving time the latest to be added in the hiding short message of the band.
Above scheme is illustrated below by way of example, the short message received according to receiving time be followed successively by A1, A2 ... An, the corresponding contact information of each short message are a1, a2 ... an, and byte length successively b1, b2 ... bn, second is pre- If memory space is refuse messages memory module, then there can be following situations:
1) such as (a1=a2=an) and (b1=b2=bn), whole short messages are regard as short message to be intercepted, intercepts first Item, Article 2, nth short message.It prompts user's short message intercepted, intercepted short message is saved to refuse messages memory module;
2) it such as (a1=a2=an) and (b1=b2 ≠ bn), executes short message and all intercepts, intercept first article, Article 2, the N short message.It prompts user's short message intercepted, intercepted short message is saved to refuse messages memory module;
3) such as (a1=a2=an) and (b1 ≠ b2=bn), short message partial interception is executed, does not intercept first short message.It blocks Article 2 is cut to nth short message.First short message regular prompt is read to user, and Article 2 is short to the N articles short message prompt user Letter is intercepted, and intercepted short message is saved to refuse messages memory module;
4) such as (a1 ≠ a2 ≠ an) and (b1 ≠ b2 ≠ bn), whole regular prompts give user to read.
5) such as (a1 ≠ a2 ≠ an) and (b1=b2=bn), whole regular prompts give user to read.
6) such as (a1=a2 ≠ an) and (b1=b2=bn), short message partial interception is executed, first short message, second are intercepted Short message, does not intercept nth short message.First, Article 2 short message regular prompt give user read, the N articles short message prompt user Short message is intercepted, and intercepted short message is saved to refuse messages memory module.
7) such as (a1 ≠ a2=an) and (b1=b2=bn), short message partial interception is executed, first short message is not intercepted, blocks Article 2 short message is cut to nth short message.First short message regular prompt is read to user, and second to nth short message prompt user Short message is intercepted, and intercepted short message is saved to refuse messages memory module.
8) such 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 executes short message and all intercepts.
The case where situation is not represented between all short messages in above-mentioned 8, the scheme only carried out for ease of understanding are enumerated, Not representing the application, there is only above 8 kinds of situations.
The present invention further provides a kind of SMS interception devices.
It is the functional block diagram of SMS interception device preferred embodiment of the present invention referring to Fig. 5, Fig. 5.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 5 is only one preferably real The exemplary diagram of example is applied, those skilled in the art surrounds the functional module of SMS interception device shown in fig. 5, can carry out easily new Functional module supplement;The title of each functional module is self-defined title, is only used for auxiliary and understands the SMS interception device Each program function block is not used in restriction technical solution of the present invention, and the core of technical solution of the present invention is each self-defined title The function to be reached of functional module.
A kind of SMS interception device of the present embodiment, the SMS interception device include:
Extraction module 10, for extracting the parameter information of the short message received;
In the present embodiment, can judge whether the short message is refuse messages when receiving short message, be rubbish in the short message When short message, extraction module 10 extracts the parameter information of the short message received.The SMS interception software and existing can also be established Refuse messages judge the call relation between software, judge that software judges the short message received as refuse messages in refuse messages When, call the SMS interception software, i.e. the parameter information that extracts the short message received of extraction module 10.Refuse messages can pass through connection It is that people's mark and/or content determine, concrete mode is that details are not described herein for the prior art.
First memory space is preferably the caching of terminal, can also be pressed from both sides for a certain default file of terminal, short message and ginseng The association of number information saves, and can be realized by way of related information table.
Memory module 20, for saving the short message and its parameter information association to the first default memory space;
After receiving short message every time, short message is received within a preset time interval, to judge within a preset time interval Whether short message is received.
Judgment module 30, for judging whether receive short message in prefixed time interval;
The extraction module 10, when being also used to receive the short message within a preset time interval, extract receive it is short The parameter information of letter;
Module 40 is obtained, for not receiving the short message within a preset time interval, and in first memory space It is short wait intercept in the first default memory space described in acquisition of information based on the parameter when the quantity of the short message of storage is multiple Letter;
It obtains when intercepting short message, directly the parameter information of each short message can be compared, parameter information is matched Short message further may be interspersed with other short messages in the matched each short message of parameter information, then need as short message to be intercepted Further judge between the matched each short message of parameter information whether between be separated with other short messages, it is not spaced have other short messages when, Using the matched short message of parameter information as short message to be intercepted.
Blocking module 50 exports short message and blocks for storing the short message movement to be intercepted to the second default memory space Cut prompt information.
Second memory space can be preset file, preferably refuse messages memory module, SMS interception prompt Information can only include identification of contacts and the quantity to intercept information, further may also comprise the key to intercept information Word.Mobile store to the second default memory space of short message to be intercepted is referred in the first default memory space of deletion in the present embodiment Short message to be intercepted and short message storage value second to be intercepted is preset into memory space.It, can be same while deleting to intercept information When delete its corresponding hiding information.
It is understood that the SMS interception device further includes the first cue module, within a preset time interval It does not receive the short message, and when the quantity of the short message is single, the short message of the described first default memory space storage is moved Dynamic store to third presets memory space, and exports short message prompt information.Mobile store to third is default of short message to be intercepted is deposited Storage space refers to the short message to be intercepted deleted in the first default memory space and will the default storage of short message storage value third be intercepted Space, the short message prompt information may include the identification of contacts of short message, further may also comprise the keyword of information.
Further, due to the case where there may be partial interceptions, then the SMS interception device further includes the second prompt Module will be described for when the described first default memory space further includes other short messages except described in addition to intercepting short message In first default memory space except described wait intercept short message in addition to other short messages it is mobile store it is empty to the default storage of the third Between, and export short message prompt information.First cue module and the second cue module can be same module.
The SMS interception device that the present embodiment proposes, the program judge whether to continuously receive it when receiving short message Its short message is determined in the information continuously received when continuously receiving other short messages based on the parameter information of each short message To intercept information, this is waited for that intercept information movement is stored to the second memory space to intercept, and export interception prompting letter Breath, effectively intercepts continuous refuse messages.
In the above-described embodiments, the acquisition modes of the short message to be intercepted of module 40 are obtained referring to Fig. 6, in the parameter information packet When including identification of contacts and byte length, the acquisition module 40 includes:
Acquiring unit 41, for not receiving the short message within a preset time interval, and in first memory space When the quantity of the short message of storage is multiple, obtain in each short message of the first default memory space storage identification of contacts with And the identical short message of byte length;
Processing unit 42, in the short message of acquisition it is not spaced have other short messages when, the short message of the acquisition is made For short message to be intercepted.
It is understood that the length of the last one short message may when long SMS being divided into multiple short messages being sent Less than other short messages, then the acquisition module 40 further include:
Determination unit, it is each described wait intercept whether the short message of receiving time the latest in short message also receives later for determining To short message identical with the short message identification of contacts to be intercepted;
The processing unit 42 is also used to also receive and the short message to be intercepted after receiving time short message the latest The identical short message of identification of contacts, and the byte length of the short message received be less than it is described when intercepting the byte length of short message, By it is each it is described wait intercept in short message receive after the short message of receiving time the latest a short message be added to the band hide it is short In letter.
Above scheme is illustrated below by way of example, the short message received according to receiving time be followed successively by A1, A2 ... An, the corresponding contact information of each short message are a1, a2 ... an, and byte length successively b1, b2 ... bn, second is pre- If memory space is refuse messages memory module, then there can be following situations:
1) such as (a1=a2=an) and (b1=b2=bn), whole short messages are regard as short message to be intercepted, intercepts first Item, Article 2, nth short message.It prompts user's short message intercepted, intercepted short message is saved to refuse messages memory module;
2) it such as (a1=a2=an) and (b1=b2 ≠ bn), executes short message and all intercepts, intercept first article, Article 2, the N short message.It prompts user's short message intercepted, intercepted short message is saved to refuse messages memory module;
3) such as (a1=a2=an) and (b1 ≠ b2=bn), short message partial interception is executed, does not intercept first short message.It blocks Article 2 is cut to nth short message.First short message regular prompt is read to user, and Article 2 is short to the N articles short message prompt user Letter is intercepted, and intercepted short message is saved to refuse messages memory module;
4) such as (a1 ≠ a2 ≠ an) and (b1 ≠ b2 ≠ bn), whole regular prompts give user to read.
5) such as (a1 ≠ a2 ≠ an) and (b1=b2=bn), whole regular prompts give user to read.
6) such as (a1=a2 ≠ an) and (b1=b2=bn), short message partial interception is executed, first short message, second are intercepted Short message, does not intercept nth short message.First, Article 2 short message regular prompt give user read, the N articles short message prompt user Short message is intercepted, and intercepted short message is saved to refuse messages memory module.
7) such as (a1 ≠ a2=an) and (b1=b2=bn), short message partial interception is executed, first short message is not intercepted, blocks Article 2 short message is cut to nth short message.First short message regular prompt is read to user, and second to nth short message prompt user Short message is intercepted, and intercepted short message is saved to refuse messages memory module.
8) such 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 executes short message and all intercepts.
The case where situation is not represented between all short messages in above-mentioned 8, the scheme only carried out for ease of understanding are enumerated, Not representing the application, there is only above 8 kinds of situations.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of SMS interception method, which is characterized in that the SMS interception method the following steps are included:
A, the parameter information of the short message received is extracted, the parameter information includes identification of contacts and byte length, and is incited somebody to action The short message and its parameter information association are saved to the first default memory space;
B, judge whether receive short message in prefixed time interval;
C, when receiving the short message within a preset time interval, the step A and step B is continued to execute;
D, the short message, and the number of the short message in the described first default memory space storage are not received within a preset time interval When amount is multiple, it is identical to obtain identification of contacts and byte length in each short message of the described first default memory space storage Short message, it is not spaced when having other short messages in the short message of acquisition, using the short message of the acquisition as short message to be intercepted;
E, the short message movement to be intercepted is stored to the second default memory space, exports SMS interception prompt information.
2. SMS interception method as described in claim 1, which is characterized in that after the step B, the SMS interception method It further comprises the steps of:
It does not receive the short message within a preset time interval, and when the quantity of the short message is single, described first is preset Mobile store to third of the short message of memory space storage presets memory space, and exports short message prompt information.
3. such as claim SMS interception method as described in claim 1, which is characterized in that it is described in the short message of acquisition not Between when being separated with other short messages, using the short message of the acquisition as after the step of short message to be intercepted, the step D includes:
Determine it is each it is described wait intercept whether also received after the short message of receiving time the latest in short message with it is described short wait intercept Believe the identical short message of identification of contacts;
Short message identical with the short message identification of contacts to be intercepted also is received after the short message of receiving time the latest, and is connect The byte length of the short message received is less than described when intercepting the byte length of short message, described receives each wait intercept in short message The short message received after the short message of time the latest is added to described wait intercept in short message.
4. SMS interception method as claimed in claim 2, which is characterized in that further comprised the steps of: after the step D
It is pre- by described first when the described first default memory space further includes other short messages except described in addition to intercepting short message If in memory space except described wait intercept short message in addition to mobile store to the third of other short messages preset memory space, and it is defeated Short message prompt information out.
5. a kind of SMS interception device, which is characterized in that the SMS interception device includes:
Extraction module, for extracting the parameter information of the short message received, the parameter information includes identification of contacts and word Save length;
Memory module, for saving the short message and its parameter information association to the first default memory space;
Judgment module, for judging whether receive short message in prefixed time interval;
The extraction module when being also used to receive the short message within a preset time interval, extracts the ginseng of the short message received Number information;
Module is obtained, is deposited for not receiving the short message within a preset time interval, and in the described first default memory space When the quantity of the short message of storage is multiple, obtain in each short message of the first default memory space storage identification of contacts and The identical short message of byte length, and in the short message of acquisition it is not spaced have other short messages when, by the short message of the acquisition As short message to be intercepted;
Blocking module exports SMS interception prompt for storing the short message movement to be intercepted to the second default memory space Information.
6. SMS interception device as claimed in claim 5, which is characterized in that the SMS interception device further includes the first prompt Module, for not receiving the short message within a preset time interval, and when the quantity of the short message is single, by described first Mobile store to third of short message of default memory space storage presets memory space, and exports short message prompt information.
7. SMS interception device as claimed in claim 5, which is characterized in that the acquisition module further include:
Determination unit, for determine it is each it is described wait intercept whether also received after the short message of receiving time the latest in short message with The identical short message of the short message identification of contacts to be intercepted;
Processing unit, for also being received and the short message identification of contacts phase to be intercepted after receiving time short message the latest With short message, and the byte length of the short message received be less than it is described when intercepting the byte length of short message, will it is each described in The short message received after the short message of receiving time the latest in interception short message is added to described wait intercept in short message.
8. SMS interception device as claimed in claim 6, which is characterized in that the SMS interception device further include:
Second cue module, for the described first default memory space further include except described wait intercept short message in addition to it is other short When letter, by the described first default memory space except described wait intercept short message in addition to other short messages movement store to the third Default memory space, 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 CN104967979A (en) 2015-10-07
CN104967979B true 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104967979A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN106231087B (en) A kind of method and apparatus of front and back sides dual-screen display device false-touch prevention
CN105100476B (en) A kind of mobile terminal unlocking device and method
CN104967744B (en) Adjust the method and device of terminal parameter
CN105262819B (en) A kind of mobile terminal and its method for realizing push
CN105306457B (en) Data buffer storage device and method
CN105263049B (en) A kind of video Scissoring device, method and mobile terminal based on frame coordinate
CN105208212B (en) Chat record display device and method
CN105897995B (en) A kind of method and apparatus for adding contact information
CN106941443A (en) One population historical record checks terminal and method
CN104679890B (en) Picture method for pushing and device
CN105138880B (en) The processing unit and method of terminal operation data
CN105430258B (en) A kind of method and apparatus of self-timer group photo
CN105263195B (en) Data transmission device and method
CN105049582B (en) A kind of save set of calling record, method and display methods
CN106095464B (en) A kind of method and device of the seamless operation of application program
CN105808049B (en) A kind of control method that realizing mobile terminal and device
CN104735254B (en) terminal screen locking method and system
CN106412328B (en) A kind of method and apparatus obtaining field feedback
CN105049610B (en) A kind of input method and terminal
CN105187621B (en) The method, apparatus and terminal of message notifying
CN106484534A (en) Control method for the mobile terminal of displaying and control device
CN109542317A (en) A kind of display control method, equipment and the storage medium of double-sided screen mobile terminal
CN106911486B (en) A kind of message push processing method, apparatus and system
CN106227454B (en) A kind of touch trajectory detection system and method
CN105100458B (en) A kind of device and method of quick selecting object

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