CN108024218A - It is a kind of to identify and the abnormal method and its system for repeating short message of processing - Google Patents

It is a kind of to identify and the abnormal method and its system for repeating short message of processing Download PDF

Info

Publication number
CN108024218A
CN108024218A CN201710111831.XA CN201710111831A CN108024218A CN 108024218 A CN108024218 A CN 108024218A CN 201710111831 A CN201710111831 A CN 201710111831A CN 108024218 A CN108024218 A CN 108024218A
Authority
CN
China
Prior art keywords
short message
terminal
sequence number
content
application processor
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.)
Pending
Application number
CN201710111831.XA
Other languages
Chinese (zh)
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 CN201710111831.XA priority Critical patent/CN108024218A/en
Publication of CN108024218A publication Critical patent/CN108024218A/en
Pending legal-status Critical Current

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]

Landscapes

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

Abstract

The invention discloses a kind of identify to include with the abnormal method and its system for repeating short message of processing, this method:When sending short message, the application processor of first terminal is to be transmitted to modem after transmitted short message appended sequence number;Short message is transmitted to the modem of second terminal by sms center server;The short message received is transmitted to application processor by the modem of second terminal, and application processor relatively and judges whether short message is identical twice before and after same terminal, if short message is identical twice, second terminal does not show received short message.The system includes:Serial number gencration module, for being transmitted short message appended sequence number when sending short message;Multilevel iudge module, for the sequence number and short message content of short message twice before and after more same terminal;Display processing module, for showing received short message.Present invention seek to address that terminal is caused to receive repetition short message problem since communication network is abnormal.

Description

It is a kind of to identify and the abnormal method and its system for repeating short message of processing
Technical field
The present invention relates to mobile communication technology field, more particularly to it is a kind of identify the method for repeating short message abnormal with processing and Its system.
Background technology
SMS (Short Messaging Service) is i.e.:Short message service, is earliest short message service, and now general And a kind of highest short message service of rate, by that can receive and dispatch short message between its mobile phone mutually, content is with text, numeral or two Based on system non-text data, subsequently also it is proposed and realizes picture, the MMS (Multimedia Message Service) (MMS) of video transmission.SMS is with letter Singly it is convenient to use function to be welcome be subject to users, rapid proliferation, but is the wireless data clothes for belonging to the first generation all the time Business, the limitation in content and application aspect there are technical standard.
As communication network technology develops, easily communications platform is more and more common, and user is short when using mobile phone at present Telecommunication function few, but still have and use.For SMS function, sometimes due to communication network failure, lead to Communication network may send the short message repeated to same client terminal.For example, mobile phone A have sent a short message to mobile phone B, due to Some abnormal causes of communication network, mobile phone B may receive the short message that two or more pieces repeats.Mobile terminal can so be taken Storage resource, influence the runnability of mobile terminal, meanwhile, user receives a plurality of when repeating short message, can cause doubting for user It is puzzled, so that it is mobile phone problem that will be considered that, user experience is influenced, and compromise brand image.
In order to solve the problems, such as to repeat short message, notification number discloses a kind of short for the Chinese invention patent of CN103905615A Believe combination system, applied in communication device, the communication device includes storage device, which includes:Receiving module, is used for When the communication device receives a short message, the sender of the short message is determined;Judgment module, for judging the storage dress Sent before the sender whether is stored with putting with the content of the short message is identical repeats short message;And merge mould Block, for deleting the information for repeating short message, the short message being shown as to newest reception when being stored with the repetition short message, And repeating label is added after the short message, the repeating label represents that the short message includes repeating short message.The skill of the patent of invention Art scheme mainly identifies that content is identical and repeats short message, then only stores a wherein short message and additional repetition is marked Note, primarily to save storage resource, can not distinguish whether due to communication network is abnormal and caused by repeat short message and ask Topic.
The content of the invention
It is a primary object of the present invention to propose a kind of identify and the abnormal method and its system for repeating short message of processing, it is intended to Solve the problems, such as to cause terminal to receive repetition short message since communication network is abnormal.
To achieve the above object, a kind of method identified with the abnormal repetition short message of processing provided by the invention, including it is following Step:
When sending short message, the application processor (AP) of first terminal is transmitted to after giving transmitted short message appended sequence number The modem (MODEM) of the first terminal;
Transmitted short message is transmitted to sms center server by the modem of the first terminal, in the short message Short message is transmitted to the modem of second terminal by central server;
The short message received is transmitted to the application processor of second terminal by the modem of the second terminal, described The application processor of second terminal relatively and judges whether short message is identical twice before and after the first terminal, if short message is identical twice When, the second terminal does not show received short message, otherwise shows received short message.
Further, the sequence number is one group of mutually independent numeral or coding, is assigned by the application processor Give the unique corresponding numeral of transmitted short message or coding.
Further, the application processor of the second terminal judges whether short message is identical twice before and after the first terminal The step of be:
Compare the sequence number of the front and rear short message twice of the first terminal, if short message sequence number is identical, relatively front and rear two The content of secondary short message, if short message content is also identical, short message is repetition short message twice before and after judging;
Otherwise, short message sequence number is different or when short message content is different, and short message is non-duplicate short message twice before and after judging.
Further, the whether identical step of short message content is twice before and after comparing:
Compare the content-data size of front and rear short message twice, if content-data size is identical, it is same to compare one of them Position character, if the same position character is identical, compares each character of short message content one by one.
Further, the identification is further included with the abnormal method for repeating short message of processing, at the application of the second terminal Manage device and store the short message sequence number and short message content of the first terminal, and replace the last storage of the same first terminal Short message sequence number and short message content.
In addition, to achieve the above object, the present invention also proposes a kind of system for identifying and repeating short message with processing exception, is used for SMS communication between two or more terminal, by the modem of first terminal, sms center server and second eventually The modem at end realizes data transfer, including serial number gencration module, for when sending short message, being that transmitted short message is attached Add sequence number;
Multilevel iudge module, for the sequence number and short message content of short message twice before and after more same terminal;
Display processing module, for when short message differs twice before and after same terminal, showing received short message.
Further, the serial number gencration module is integrally disposed in the application processor of the first terminal, transmitted Short message is transferred to the modem of the first terminal after the application processor appended sequence number of the first terminal;It is described Multilevel iudge module is integrally disposed in the application processor of the second terminal, the modem reception of the second terminal Application processor of the SMS message transmission to the second terminal.
Further, the multilevel iudge module includes sequence number comparing unit, for before and after more same terminal two The sequence number of secondary short message;Short message content comparing unit, for the content of short message twice before and after more same terminal.
Further, the identification further includes data memory module with the abnormal system for repeating short message of processing, for storing The short message sequence number and short message content of same terminal.
Further, the data memory module is connected with the application processor of the second terminal, the data storage The short message that module real-time storage is received, and replace the short message sequence number and short message content of the last storage of same terminal.
Identification proposed by the present invention and the abnormal method and its system for repeating short message of processing, by passing through when sending short message First terminal application processor addition short message sequence number, then second terminal application processor by relatively before and after twice The short message content that the short message sequence number of received short message and user edit, to determine whether being the weight that sms center server is sent Multiple short message, due to the introducing of sequence number, have identified the operation that user actively sends identical short message, is missed from without user The problem of solution, as user send two identical short messages, but only show a short message the problem of;Sms center can be identified very well The repetition short message (sequence number is identical) that server is sent, so as to reasonably show short message, optimizes mobile terminal function, carries The high intelligent level of mobile terminal, improves user experience.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 receives flow for displaying block diagram for existing short message sending;
Fig. 4 is the first identification and the abnormal method flow block diagram for repeating short message of processing of the present invention;
The short message sending that Fig. 5 is the present invention receives flow for displaying block diagram;
Fig. 6 be the present invention comparison before and after short message twice FB(flow block);
Fig. 7 be the present invention comparison before and after short message content twice FB(flow block);
Fig. 8 is second of identification and the abnormal method flow block diagram for repeating short message of processing of the present invention;
Fig. 9 is identification and the abnormal system schematic for repeating short message of processing 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.
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.
Describe to realize the mobile terminal of each embodiment of the present invention referring now to attached drawing.In follow-up description, use For represent element such as " module ", " component " or " unit " suffix only for be conducive to the present invention explanation, itself Not specific meaning.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 can 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), guider etc. and such as numeral 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 except being used in particular for moving Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal for the mobile terminal for realizing each embodiment of the present invention.
Mobile terminal 100 can 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 assemblies, it allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112nd, it is at least one in wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information that the server or reception of broadcast singal and/or broadcast related information generate before And send it to the server of terminal.Broadcast singal can include TV broadcast singals, 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 broadcast systems.Especially, broadcasting reception module 111 Can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video Broadcast-hold (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored 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 in server and/or receive from it radio signal.Such radio signal can lead to including voice Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can 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 junction service.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 positional information of mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115 calculates and comes from three or more satellites Range information and correct time information and for the Information application triangulation of calculating so that according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, defended for the method for calculation position and temporal information using three Star and the position calculated by using other satellite correction and the error of temporal information.In addition, GPS module 115 Can be by Continuous plus current location information in real time come calculating speed information.
A/V input units 120 are used to receive audio or video signal.A/V input units 120 can include 121 He of camera Microphone 1220, camera 121 in video acquisition mode or image capture mode by image capture apparatus obtain static map The view data of piece or video is handled.Picture frame after processing may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memory 160 (or other storage mediums) or be carried out via wireless communication unit 110 Send, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (voice data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action Such acoustic processing is voice data.Audio (voice) data after processing can be changed in the case of telephone calling model For the output of the form of mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can implement all kinds Noise eliminate (or suppress) algorithm with eliminate noise that (or suppression) produce during receiving and sending audio signal or Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to order input by user Kind operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (for example, sensitive component of detection change of resistance, pressure, capacitance etc. caused by by contact), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, 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 presence or absence of the contact (that is, touch input) of the position of mobile terminal 100, user for mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate and be used to control mobile terminal 100 The order of operation or signal.For example, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense The sliding-type phone is opening or closing.In addition, sensing unit 140 can detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140, which can include proximity sensor 1410, to be combined below Touch-screen is described this.
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone 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 that storage is used to verify that user uses each of mobile terminal 100 Plant information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..In addition, the device with identification module can (hereinafter referred to as " identification device ") take the form of smart card, therefore, know Other device can be connected via port or other attachment devices with mobile terminal 100.Interface unit 170 can be used for reception and come from The input (for example, data message, 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 connected with external base, interface unit 170 may be used as allowing by it by electricity Power provides to the path of mobile terminal 100 from base or may be used as allowing to pass through it from the various command signals that base inputs It is transferred to the path of mobile terminal.It may be used as being used to identify that mobile terminal is from the various command signals or electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed in mobile terminal 100 information handled.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can be shown with conversing or other communicating (for example, text messaging, multimedia file Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure UI or GUI of picture and correlation function etc..
Meanwhile when display unit 151 and touch pad 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 can 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 be watched 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 can include two or more display units (or other display devices), for example, moving Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, Speech recognition mode, broadcast reception mode are receiving or in memory 160 by wireless communication unit 110 when under isotype The voice data transducing audio signal of middle storage and to export be sound.Moreover, dio Output Modules 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 performs. Dio Output Modules 152 can include loudspeaker, 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..In addition to audio or video exports, alarm unit 153 can provide output in a different manner 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 (incomingcommunication), alarm list Member 153 can provide tactile output (that is, vibrating) to notify to user.Exported by tactile as offer, even in 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 dio Output Modules 152.
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., 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 the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal Data.
Memory 160 can 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 memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can be with performing memory by network connection The network storage device cooperation of 160 store function.
Controller 180 usually controls the overall operation of mobile terminal.For example, controller 180 performs and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 can include being used to reproduce (or playback) more matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can be constructed in controller 180, or be can be structured as and controlled Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input performed 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 Appropriate electric power needed for part and component.
Various embodiments described herein can with using such as computer software, hardware or any combination thereof calculating Machine computer-readable recording medium is implemented.Implement for hardware, 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), processor, controller, microcontroller, microprocessor, be designed to perform function described herein 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 be with allowing to perform the single of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, oneself according to its function through describing mobile terminal.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 packet transmission data it is all if any Line and wireless communication system and satellite-based communication system operate.
The communication system that can be operated referring now to Fig. 2 descriptions mobile terminal wherein according to the present invention.
Such communication system can use different air interface and/or physical layer.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to figure 2, cdma wireless communication system can 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 of some known interfaces, and the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can 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 away from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covers.Each BS270, which may be constructed such that, supports multiple frequency distribution, and each frequency distribution 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 System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing 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 system 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 positioning system (GPS) satellites 300.Satellite 300 helps to position multiple mobile terminals It is at least one in 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that, any number of satellite can be utilized to obtain useful Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to be believed with obtaining desired positioning Breath.Substitute GPS tracking techniques or outside GPS tracking techniques, the other of the position that can track mobile terminal can be used Technology.In addition, at least one gps satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication system, 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 receives each anti- Handled to link signal in specific BS270.The data of acquisition are forwarded to relevant BSC275.BSC provides call Resource allocation and the mobile management function of coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, it provides the extra route service for being used for that interface to be formed with PSTN290.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals It is sent to mobile terminal 100.
Specifically, as shown in Figure 3, existing short message service workflow is as follows:
S101, first terminal click on send button after the good short message of UI interface editings, and short message is sent to the tune of first terminal Modulator-demodulator side;
S102, the modem side of first terminal are by radio frequency mouth, by short message sending to sms center server, normally In the case of, after sms center server receives short message, short message sending can be given to corresponding second terminal;In some Network Abnormal feelings Under condition, sms center server may repeat after the short message of first terminal transmission is received to corresponding second terminal Short message is sent, for example, it is possible to repeat to send 2 or a plurality of identical short message;
After S103, the modem side of second terminal receive the short message that sms center server sends over, not Any judgement can be done, short message is directly sent to the application processor side of the second terminal, the application processing of second terminal Device side can show the repetition short message received on UI;User can be appreciated that two or more pieces repeats short message.
SMS communication between mobile terminal can be one-to-one form or a pair of multi-form, therefore, above-mentioned In second terminal be not an only terminal, above-mentioned first terminal and second terminal are only to represent a short message to lead to Sender and recipient during news, both can exchange.In mobile terminal it is integrally disposed have wireless communication unit 110, User input unit 130, output unit 150, the device with modem or with identical function, and application processing Device or the device with identical function.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the method for the present invention is proposed.
Embodiment one
As shown in figure 4, first embodiment of the invention proposes a kind of identification and handles the abnormal method for repeating short message, including with Lower step:
S201, when sending short message, the application processor of first terminal is to transmit after transmitted short message appended sequence number To the modem of first terminal;
Transmitted short message is transmitted to sms center server by S202, the modem of the first terminal, described Short message is transmitted to the modem of second terminal by sms center server;
The application that the short message received is transmitted to second terminal by S203, the modem of the second terminal is handled Device, the application processor of the second terminal relatively and judge whether short message is identical twice before and after the first terminal;
If S204, when short message is identical twice, the second terminal does not show received short message, and otherwise display is received Short message.
Wherein, first terminal and second terminal are only the sender and recipient represented during a SMS communication, First terminal and second terminal can send short message mutually, and modem therein, which is used to realize with sms center server, to be believed Number communication, for receiving or sending short message, application processor appended sequence number when sending short message, compares when receiving short message Sequence number and short message content, so as to determine whether to repeat short message.First terminal and second terminal have display unit at the same time, For showing short message content, repeating short message will not show in the terminal of recipient, will also not stored in the terminal of recipient, Avoid occupancy memory space.
Specifically, refer to the attached drawing 5, identification of the invention and the detailed process of the abnormal repetition short message of processing are:
S301, user are in the input unit 130 by first terminal 101 and display unit 151 in UI interface editing short messages;
S302, click on send button, the tune of the application processor of first terminal 101 by short message sending to first terminal 101 During modulator-demodulator, sequence number SQN is added before short message content, sequence number SQN is one group of mutually independent numeral or coding, is led to Cross the application processor and assign the unique corresponding numeral of transmitted short message or coding.
SQN can be one group and be incremented by or the numeral successively decreased, if SQN value ranges are 1-100, reach 100 Posterior circle Started counting up from 1;The number of repetition for the repetition short message that Network Abnormal produces will be limited, using the digital scope energy of 1-100 Enough meet the needs of sequence number.SQN can also be one group of binary coding, such as 00001-11111, after reaching 11111 from 00001 cycle count;In short, the value rule of sequence number SQN only needs to meet separate and unique identification requirement, form It is varied, it is not limited to aforesaid way.It can identify whether two same short messages of content are sms centers by sequence number Repeat the short message of transmission or user specially repeats the short message of transmission.
After S303, the modem of first terminal 101 assemble the short message received according to 3GPP protocol rules, issue Sms center server 400, sms center server 400 is by the short message sending received to second terminal 102;First terminal After the short message that the application processor that 101 modem receives first terminal 101 is sent, can by sequence number SQN and The short message content that user edits entirely regards the content of short message as, and any differentiation is not done to SQN.
After S304, the modem of second terminal 102 receive short message, short message content can be sent to second terminal 102 application processor, after the application processor of second terminal 102 receives short message, first can receive this short The content of letter (receive_sms_data) is stored into current_sms_data variables;
S305, the application processor of second terminal 102 (compile the short message being currently received comprising SQN sequence numbers and user Collect content) compared with the short message that the last time receives, if short message sequence number and short message content are all identical, then it is assumed that receive The repetition short message that communication network is sent, does not show the short message being currently received;If short message sequence number difference or short message content are not Together, then it is assumed that have received a new short message, (the repetition short message that user specially edits is transmitted, and such a situation needs to carry out Display, it is impossible to be considered network problem, the repetition short message of transmission), show recently received short message;
S306, regardless of result of the comparison, after completeer, be required in current_sms_data variables Appearance is stored into last_sms_data variables, to give over to later comparison.
As shown in fig. 6, the application processor of the second terminal 102 judge before and after same sender twice short message whether phase With step be:
S401, more same terminal front and rear short message twice sequence number;Short message sequence number is different, short twice before and after judging Believe for non-duplicate short message;Otherwise, S402 is performed;
The content of short message twice before and after S402, comparison, if short message content is also identical, it is repeatedly short to judge front and rear short message twice Letter;Otherwise, it is determined that front and rear short message twice is non-duplicate short message.
As shown in fig. 7, the whether identical step of short message content is twice before and after relatively:
The content-data size of short message twice before and after S501, comparison;If content-data size is identical, S502, ratio are performed More one of same position character;If the same position character is identical, performs S503, compare each of short message content one by one A character.
Short message content, based on text, numeral or binary system non-text data, length is limited within 140 bytes, generally Compare two short message contents by the way of each character contrasts one by one, the processor resource so taken is more.Two identical (sender of two short messages is different in the present invention, or sequence number is not in the case that the short message of content, particularly sequence number are identical Together, it is judged as not being to repeat short message), the byte quantity affirmative size of the character of short message content, that is, size of data are inevitable It is identical, therefore compare size of data and can quickly judge the different situation of short message content.In the case where size of data is identical, If short message content is identical, then the character for choosing specific location in two short message contents is compared, such as first character Or n-th character, the character of specific location differ, then two short message content differences are may determine that.In size of data, specific During the character all same of position, just compare the character of two short messages one by one, so as to finally judge whether short message content is identical.
By above-mentioned manner of comparison, rather than start with regard to using a character, then a character compares short message content Compared with can greatly save the resource of application processor.First, when short message content is identical, the size of data volume is necessarily identical , if data volume size is identical, then selected specific location (such as first character) is necessarily identical.
As shown in figure 8, the identification is further included with the abnormal method for repeating short message of processing:
S205, the application processor of second terminal 102 store the short message sequence number and short message content of sender, and replace same The short message sequence number and short message content of the last storage of one terminal.
Terminal as recipient can receive the short message transmitted by multiple terminals as sender, be used in the present invention The short message of storage nearest (short message that same terminal last time is sent), is stored in the spatial cache of application processor, or solely Stand in the data memory module of application processor, as comparison when receiving the short message transmitted by same terminal next time according to According to.When receiving the newest short message of same terminal, the short message of the same terminal of last storage is deleted by application processor, And store the newest short message.
Embodiment two
In addition, to achieve the above object, refer to the attached drawing 9, the present invention also proposes that a kind of identification and processing are abnormal and repeats short message System, for the SMS communication between two or more terminal, by the modem 1121 of first terminal 101, short message Central server 400 and the modem of second terminal 102 2121 realize data transfer, pass through the input unit of mobile terminal The editor of 130 131 complete short message of short message editing module.Fig. 9 is that a kind of identify of the present embodiment repeats short message with processing exception System, the system comprises:
Serial number gencration module 501, for when sending short message, being transmitted short message appended sequence number;
Multilevel iudge module 502, for the sequence number and short message content of short message twice before and after more same terminal;
Display processing module 1511, for when short message differs twice before and after same terminal, showing received short message.
Wherein, the serial number gencration module 501 is integrally disposed in the application processor 1122 of first terminal 101, transmitted Short message the tune of the first terminal 101 is transferred to after 1122 appended sequence number of application processor of the first terminal 101 Modulator-demodulator 1121;The multilevel iudge module 502 is integrally disposed in the application processor 2122 of second terminal 102, and described Application processor 2122 of the SMS message transmission that the modem 2121 of two terminals 102 receives to the second terminal 102.Display Processing module 1511 is integrally disposed in the display unit 151 of mobile terminal, and application processor and modem belong to move The mobile communication module 112 of dynamic terminal.
First terminal 101 and second terminal 102 are respectively provided with application processor and modem, or have identical function Device;Also there is short message editing module 131 and Display processing module 1511, both can be each other as recipient and transmission Side, realizes the reception and transmission of short message.
Wherein, the multilevel iudge module 502 includes sequence number comparing unit, for before and after more same terminal twice The sequence number of short message;Short message content comparing unit, for the content of short message twice before and after more same terminal.
Wherein, the identification further includes data memory module 503 with the abnormal system for repeating short message of processing, same for storing The short message sequence number and short message content of one terminal.
Wherein, the data memory module 503 is connected with the application processor 2122 of the second terminal 102, the number The short message received according to 503 real-time storage of memory module, and replace the short message sequence number of the last storage of same sender and short Believe content.Data memory module 503 calls the cache resources of the application processor 2122 of second terminal 102, and note data amount is small, It disclosure satisfy that call data storage;Or a data memory module is set independently of the application processor 2122 of second terminal 102 503。
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, takes Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of identify and the abnormal method for repeating short message of processing, it is characterised in that comprises the following steps:
When sending short message, the application processor of first terminal is transmitted to described first after giving transmitted short message appended sequence number The modem of terminal;
Transmitted short message is transmitted to sms center server, the sms center clothes by the modem of the first terminal Short message is transmitted to the modem of second terminal by business device;
The short message received is transmitted to the application processor of second terminal by the modem of the second terminal, and described second The application processor of terminal relatively and judges whether short message is identical twice before and after the first terminal, if short message is identical twice, The second terminal does not show received short message, otherwise shows received short message.
A kind of 2. method identified with the abnormal repetition short message of processing according to claim 1, it is characterised in that the sequence Number it is one group of mutually independent numeral or coding, transmitted short message is assigned only by the application processor of the first terminal One corresponding numeral or coding.
3. a kind of method identified with the abnormal repetition short message of processing according to claim 1, it is characterised in that described second The application processor of terminal judges that the whether identical step of short message is twice before and after the first terminal:
Compare the sequence number of the front and rear short message twice of the first terminal, it is relatively front and rear shorter twice if short message sequence number is identical The content of letter, if short message content is also identical, short message is repetition short message twice before and after judging;
Otherwise, short message sequence number is different or when short message content is different, and short message is non-duplicate short message twice before and after judging.
4. a kind of method identified with the abnormal repetition short message of processing according to claim 3, it is characterised in that before and after relatively The whether identical step of short message content is twice:
Compare the content-data size of front and rear short message twice, if content-data size is identical, more one of same position Character, if the same position character is identical, compares each character of short message content one by one.
5. a kind of method identified with the abnormal repetition short message of processing according to claim 1, it is characterised in that further include institute The application processor for stating second terminal stores the short message sequence number and short message content of the first terminal, and replaces same described the The short message sequence number and short message content of the last storage of one terminal.
6. it is a kind of identify with the abnormal system for repeating short message of processing, for the SMS communication between two or more terminal, by the The modem of the modem of one terminal, sms center server and second terminal realizes data transfer, its feature It is, including serial number gencration module, for when sending short message, being transmitted short message appended sequence number;
Multilevel iudge module, for the sequence number and short message content of short message twice before and after more same terminal;
Display processing module, for when short message differs twice before and after same terminal, showing received short message.
A kind of 7. system identified with the abnormal repetition short message of processing according to claim 6, it is characterised in that the sequence number Generation module is integrally disposed in the application processor of the first terminal, at application of the transmitted short message through the first terminal The modem of the first terminal is transferred to after reason device appended sequence number;The multilevel iudge module is integrally disposed in described The application processor of second terminal, SMS message transmission the answering to the second terminal of the modem reception of the second terminal Use processor.
A kind of 8. system identified with the abnormal repetition short message of processing according to claim 6, it is characterised in that the comparison Judgment module includes:Sequence number comparing unit, for the sequence number of short message twice before and after more same terminal;Short message content ratio Compared with unit, for the content of short message twice before and after more same terminal.
9. a kind of system identified with the abnormal repetition short message of processing according to claim 6, it is characterised in that further include number According to memory module, for storing the short message sequence number and short message content of same terminal.
A kind of 10. system identified with the abnormal repetition short message of processing according to claim 9, it is characterised in that the number It is connected according to memory module with the application processor of the second terminal, the data memory module real-time storage is received short Letter, and replace the short message sequence number and short message content of the last storage of same terminal.
CN201710111831.XA 2017-02-28 2017-02-28 It is a kind of to identify and the abnormal method and its system for repeating short message of processing Pending CN108024218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710111831.XA CN108024218A (en) 2017-02-28 2017-02-28 It is a kind of to identify and the abnormal method and its system for repeating short message of processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710111831.XA CN108024218A (en) 2017-02-28 2017-02-28 It is a kind of to identify and the abnormal method and its system for repeating short message of processing

Publications (1)

Publication Number Publication Date
CN108024218A true CN108024218A (en) 2018-05-11

Family

ID=62079209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710111831.XA Pending CN108024218A (en) 2017-02-28 2017-02-28 It is a kind of to identify and the abnormal method and its system for repeating short message of processing

Country Status (1)

Country Link
CN (1) CN108024218A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020228561A1 (en) * 2019-05-13 2020-11-19 阿里巴巴集团控股有限公司 Method and device for displaying conversation information
CN113301516A (en) * 2021-03-31 2021-08-24 北京思特奇信息技术股份有限公司 Method and system for rejecting duplicate messages during short message sending

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820081B1 (en) * 2001-03-19 2004-11-16 Attenex Corporation System and method for evaluating a structured message store for message redundancy
CN101276317A (en) * 2008-05-13 2008-10-01 深圳华为通信技术有限公司 Data transmission method and system as well as terminal
CN101389084A (en) * 2008-10-17 2009-03-18 中兴通讯股份有限公司 Terminal and method for recognizing and processing duplicate short message
CN103313221A (en) * 2013-05-31 2013-09-18 华为软件技术有限公司 Repeated short message analysis method, device and system
CN103905615A (en) * 2012-12-26 2014-07-02 深圳富泰宏精密工业有限公司 Short message merging system and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6820081B1 (en) * 2001-03-19 2004-11-16 Attenex Corporation System and method for evaluating a structured message store for message redundancy
CN101276317A (en) * 2008-05-13 2008-10-01 深圳华为通信技术有限公司 Data transmission method and system as well as terminal
CN101389084A (en) * 2008-10-17 2009-03-18 中兴通讯股份有限公司 Terminal and method for recognizing and processing duplicate short message
CN103905615A (en) * 2012-12-26 2014-07-02 深圳富泰宏精密工业有限公司 Short message merging system and method thereof
CN103313221A (en) * 2013-05-31 2013-09-18 华为软件技术有限公司 Repeated short message analysis method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020228561A1 (en) * 2019-05-13 2020-11-19 阿里巴巴集团控股有限公司 Method and device for displaying conversation information
CN113301516A (en) * 2021-03-31 2021-08-24 北京思特奇信息技术股份有限公司 Method and system for rejecting duplicate messages during short message sending

Similar Documents

Publication Publication Date Title
CN104883430B (en) A kind of mobile terminal and do not read the treating method and apparatus of footmark
CN104850443B (en) A kind of method and mobile terminal for closing error starting application program
CN104731512B (en) The method, apparatus and terminal that picture is shared
CN106027795B (en) A kind of switching method and terminal of double-sided screen
CN107071760A (en) Data service automatic switching method and mobile terminal
CN104679890B (en) Picture method for pushing and device
CN106550128A (en) A kind of EMS memory management process and terminal
CN105138400B (en) Application program self-starting management method and device
CN105430258B (en) A kind of method and apparatus of self-timer group photo
CN105897995B (en) A kind of method and apparatus for adding contact information
CN106789589A (en) One kind shares processing method, device and terminal
CN106131280A (en) Mobile terminal and associated person information acquisition methods
CN107071329A (en) The method and device of automatic switchover camera in video call process
CN107360214A (en) A kind of message push processing method, message sink processing method and processing device
CN108829267A (en) A kind of vocabulary recommended method, equipment and computer can storage mediums
CN105872997A (en) Short message merging method and terminal equipment
CN106412328B (en) A kind of method and apparatus obtaining field feedback
CN107071161A (en) The aggregation display method and mobile terminal of icon in a kind of status bar
CN107135298A (en) Call blocking method and apparatus
CN105049610B (en) A kind of input method and terminal
CN106993084A (en) The method, device and mobile terminal that a kind of control information is shown
CN106657643A (en) Mobile terminal and communication session display method
CN106550133A (en) Calling identification device and method
CN106507460A (en) A kind of intelligent power saving method, terminal
CN106484534A (en) Control method for the mobile terminal of displaying and control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180511

RJ01 Rejection of invention patent application after publication