CN102281516B - Short message processing method and short message processing terminal - Google Patents

Short message processing method and short message processing terminal Download PDF

Info

Publication number
CN102281516B
CN102281516B CN201110265673.6A CN201110265673A CN102281516B CN 102281516 B CN102281516 B CN 102281516B CN 201110265673 A CN201110265673 A CN 201110265673A CN 102281516 B CN102281516 B CN 102281516B
Authority
CN
China
Prior art keywords
note
short message
twinkle
terminal
split
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201110265673.6A
Other languages
Chinese (zh)
Other versions
CN102281516A (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.)
BEIJING WUXIAN XINRUI NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING WUXIAN XINRUI NETWORK 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 BEIJING WUXIAN XINRUI NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING WUXIAN XINRUI NETWORK TECHNOLOGY Co Ltd
Priority to CN201110265673.6A priority Critical patent/CN102281516B/en
Publication of CN102281516A publication Critical patent/CN102281516A/en
Application granted granted Critical
Publication of CN102281516B publication Critical patent/CN102281516B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a short message processing method. The short message processing method comprises the following steps of: 1, receiving a short message by using a terminal, and judging whether the short message is required to be processed or not, if so, performing a step 2, and otherwise, directly saving the short message; 2, judging whether the short message is a long short message or not, if so, performing a step 3, and otherwise, performing a step 4; 3, reintegrating the split long short message, and displaying the long short message to a user; and 4, saving or deleting the short message. In addition, the invention also provides a short message processing terminal. By the method and the terminal, the short message which is sent from a specific source number and/or comprises specific keywords can be processed, and the long short message which is split into a plurality of common short messages is reintegrated and displayed to the user, so that the short message can be conveniently read and managed by the user. In addition, the invention also provides a method for converting a flash message into a common short massage, displaying the short message to the user and saving the short message, so that all terminals have a function of receiving the flash message, the modes of receiving and displaying the short message are improved, and user experience is improved.

Description

A kind of SMS processing method and note processing terminal
Technical field
The present invention relates to a kind of SMS processing method and note processing terminal.
Background technology
At present, the short message standard that China Mobile, China Telecom, San great telecom operators of CHINAUNICOM formulate, the word length that all defines each note is no more than 70 characters; If surpass 70 characters, be considered as long SMS, a long SMS is split into many 70 characters with interior normal short message, these several normal short messages are used an identical message identification (in SMPP agreement < < Short Message Peer to Peer-Short Message Peer to Peer > >, message identification field is Message_id), and with there being the sequence number of several notes and every note under the same message identification of special field description.Mobile terminal (as: mobile phone) will be identified the note of identical information sign, and is organized into a complete long SMS according to sequence number again.
But because mobile phone manufacturer does not produce mobile phone in strict accordance with short message standard, mobile phone is not supported the standard of above-mentioned long SMS combination greatly, cause a long SMS finally on mobile phone the form with many normal short messages be kept at inbox, user must repeatedly open inbox could read complete long short message content.
In addition, according to the related specifications of existing short message, note can only show with text, and the note that is dealt into mobile phone from mobile phone directly deposits inbox in, to user, do not provide first and to read, then to determine the function of preserving or directly deleting, the form of expression is single, also lack interactive friendly interface.At present, from platform, be dealt into the note of mobile phone, some uses the form of twinkle SM (is that note is directly presented on screen, do not take the internal memory of mobile phone, after being selected to preserve by user, just deposit inbox in, otherwise just disappearance is not preserved automatically) send, but due to domestic each operator SMS Network Element Function not all support lightning note, or many mobile phones do not support lightning note, cause user cannot use lightning SMS.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of processing method and note processing terminal of note.
As the one side of technical solution of the present invention, a kind of SMS processing method is provided, concrete steps are as follows:
Step 1, terminal receives note, and judges whether to process this note: if desired process, perform step 2; Otherwise directly preserve this note;
Step 2, judges whether this note is long SMS: if long SMS performs step 3; Otherwise execution step 4;
Step 3, reintegrates the long SMS being split, and to user, shows;
Step 4, preserves or deletes this note.
Further, the judgement of described step 1 also comprises and judges whether this note is the step of twinkle SM after need to processing the note receiving,
If the note receiving is twinkle SM, twinkle SM is converted to the note that terminal can be identified and show, then preserves or delete this note.
Further, according to following steps, twinkle SM is converted to the note form that terminal can be identified,
Steps A 1, obtains the DCS field of note of reception or the field value of its mapping;
Steps A 2, judges whether the field value of described DCS field or its mapping conforms to default twinkle SM numerical value; If conform to, read the note of reception and be saved to the buffer area of terminal, then show to user.
Further, judge whether in accordance with the following methods to process note,
If described note from default source Mobile Station International ISDN Number, judges this note and need to process; And/or,
If described note comprises default keyword, judge that this note need to process.
Further, in described step 2, if the note receiving belongs to one in many notes with identical information sign, judge that receiving note is long SMS.
Further, in described step 3, according to following steps, reintegrate the long SMS being split,
Step B1, obtains the message identification that is split note and the quantity that is split note;
Step B2, judges whether to receive and whole is split note: if receive, whole split note, combine in order the note being split, form a complete long SMS; Otherwise continue the note of waiting for that reception is split.
As technical solution of the present invention on the other hand, also provide a kind of note processing terminal.This terminal comprises information receiving unit, processing unit, memory cell, display unit, and described processing unit is connected with described information receiving unit, described memory cell, described display unit respectively;
Described information receiving unit, for receiving note, and is sent to described processing unit;
Described memory cell, for preserving default source Mobile Station International ISDN Number and/or keyword;
Described processing unit, for reading source Mobile Station International ISDN Number and/or the keyword in described memory cell, processes the note receiving, and is sent to described display unit demonstration.
Further, the note that described processing unit sends described information receiving unit is processed and is comprised: the reintegrating and preservation and the conversion of deletion and/or twinkle SM and the preservation of twinkle SM and the deletion of long SMS of long SMS.
The invention has the beneficial effects as follows:
Adopt technical solution of the present invention, just can be to from particular source number and/or comprise that the note of particular keywords processes, after the long SMS that is split into some normal short messages is reintegrated, then by client window, represent user friendly reading and management to user.In addition, the present invention also provides a kind of twinkle SM is converted to the method that normal short message form represents and preserves to user, so just makes all terminals all possess the function that receives twinkle SM, has increased the reception display format of note, has strengthened user's experience.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of implementation of SMS processing method of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of implementation of SMS processing method of the present invention;
Fig. 3 is the formation schematic diagram of note processing terminal of the present invention.
Embodiment
Below in conjunction with accompanying drawing, principle of the present invention and feature are described, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As the one side of technical solution of the present invention, a kind of SMS processing method is provided, as shown in Figure 1, concrete steps are as follows.
Step 1, terminal receives note, and judges whether to process this note: if desired process, perform step 2; Otherwise directly preserve this note;
Step 2, judges whether this note is long SMS: if long SMS performs step 3; Otherwise execution step 4;
Step 3, reintegrates the long SMS being split, and to user, shows;
Step 4, preserves or deletes this note.
As shown in Figure 2, SMS processing method of the present invention also comprises whether the note that judgement receives is the step of twinkle SM.As a kind of implementation of SMS processing method of the present invention, can be as shown in Figure 2, whether the note that first judgement receives is long SMS, then judges whether this note is twinkle SM.Or, as the another kind of implementation of SMS processing method of the present invention, also can first judge whether the note receiving is twinkle SM, more further judge whether this note is long SMS.If the note that judgement receives is twinkle SM, first twinkle SM is converted to the note that terminal can be identified and show, then processing is preserved or deleted to this note.
As technical solution of the present invention on the other hand, also provide a kind of note processing terminal.As shown in Figure 3, this terminal comprises information receiving unit 10, processing unit 20, memory cell 30, display unit 40, and processing unit 20 is connected with information receiving unit 10, memory cell 30, display unit 40 respectively.Wherein, information receiving unit 10, for receiving note, and is sent to processing unit 20.Memory cell 30, for preserving default source Mobile Station International ISDN Number and/or keyword.Processing unit 20, for the source Mobile Station International ISDN Number in reading cells 30 and/or keyword, processes the note receiving, and is sent to display unit 40 demonstrations.
Further, the note that 20 pairs of information receiving units of processing unit 10 send is processed and is comprised: the reintegrating and preservation and the conversion of deletion and/or twinkle SM and the preservation of twinkle SM and the deletion of long SMS of long SMS.
Information receiving unit 10 in note processing terminal of the present invention receives the outside note sending, and according to following steps, carries out note processing.
First, processing unit 20 receives the note that information receiving unit 10 sends, and judges whether to process this note.Mainly comprise:
(1) judge that whether this note is from default source Mobile Station International ISDN Number, judge whether this note is the information that carries default source Mobile Station International ISDN Number.If from the note of default source Mobile Station International ISDN Number, after this note being processed, to user, show again; Otherwise directly store this note into terminal, for example, store in the inbox of mobile phone.And/or,
(2) judge in the content of this note whether comprise default keyword.If comprise default keyword, after this note being processed, then show to user; Otherwise directly store this note into terminal, for example, store in the inbox of mobile phone.
Secondly, for treated unit 20, judge the note that need to process, also need further this note to be made as judged again:
(1) judge whether this note is long SMS.Be that processing unit 20 judges whether the note that information receiving unit 10 sends belongs in many notes with identical information sign.If have identical information sign, judgement receives note for the part in the long SMS being split; Otherwise the note that the note that receives is common form is described, by display unit 40, note is represented to user and checked, processing is preserved or deleted to processing unit 20, again according to user's selection, to this note.
Inner in CMPP agreement (China Mobile Peer to Peer, China Mobile's internet short message gateway interface protocol), in CMPP_SUBMIT message definition, there is corresponding parameter configuration:
TP_udhi: do not contain protocol header information in 0 represent content body; 1 represent content contains protocol header information (long SMS, push note etc. all contains a content on endomorph).When endomorph is set, comprise protocol header, need to write corresponding information according to agreement, long SMS protocol header has two kinds:
A.6 bit protocol head form: 05 00 03 XX MM NN, wherein,
Byte 1: 05, the length of expression residue protocol header;
Byte 2: 00, this value is stipulated in GSM 03.40 standard 9.2.3.24.1, represents that the flag length of this batch of ultralong short message is subsequently the XX value in 1(form);
Byte 3: 03, the length of the remaining note sign of this value representation;
Byte 4: XX, unique sign of this batch of note;
Byte 5: MM, the quantity of this batch of note.If 5 altogether of ultralong short messages, the value is here exactly 5;
Byte 6: NN, the quantity of this batch of note.If current note is the value of the article one in this batch of note is 1, the value of second is 2.
For example: 05 00 03 39 02 01.
B.7 position protocol header style: 06 08 04 XX XX MM NN, wherein,
Byte 1: 06, the length of expression residue protocol header;
Byte 2: 08, this value is stipulated in GSM 03.40 standard 9.2.3.24.1, represents that the flag length of this batch of ultralong short message is subsequently the XX value in 2(form);
Byte 3: 04, the length of the remaining note sign of this value representation;
Byte 4-5: XX XX, unique sign of this batch of note;
Byte 6: MM, the quantity of this batch of note.If 5 altogether of ultralong short messages, the value is here exactly 5;
Byte 7: NN, the quantity of this batch of note.If current note is the value of the article one in this batch of note is 1, the value of second is 2.
For example: 06 08 04 00 39 02 01.
If the note that processing unit 20 judgements receive has identical message identification (Message_id), according to the quantity of this batch of note of pointing out in short message body (quantity with the note of this identical information sign), wait for and receive the note being split that other has like-identified, according to the order of every note, being reconfigured is a complete long SMS again, and pop-up window is shown the content of this long SMS, user friendly reading and management to user.After user checks, processing be preserved or be deleted to processing unit 20 can, further according to user's selection, to this long SMS.
(2) judge whether this note is twinkle SM.It is the data coding scheme of the note of processing unit 20 judgement information receiving units 10 transmissions.For example, when terminal (mobile phone) is received note, except comprising message body, also comprise some other relevant field, as source Mobile Station International ISDN Number, timestamp and data coding scheme etc.Data coding scheme DCS(Data Coding-Scheme wherein) as control field, specify character set and the display mode showing.DCS is in SMPP agreement (Short Message Peer to Peer, Short Message Peer to Peer), and the field of mapping is Data_coding(Chinese: data encoding), control the value of this field, just note can be shown as to twinkle SM.DCS is at CMPP agreement (China Mobile Peer to Peer, China Mobile's internet short message gateway interface protocol) in, the field of mapping is Msg_Fmt, when Msg_Fmt=24, represent that short message is directly presented on screen, do not take inbox space (this is twinkle SM), character set is Unicode.DCS is in SGIP agreement (Short Message Gateway Interface Protocol, Chinese joint communication company short messaging gateway system interface agreement), and the field of mapping is MessageCoding.Other telecom operators also control the demonstration of twinkle SM by similar map field.Therefore the DCS field in the note that note processing terminal of the present invention is received by judgement or the field value of its mapping judge whether note is twinkle SM, for example, if the value of this field equals default twinkle SM numerical value (24, this field value that other operators arrange may be different, but principle is identical), representing that short message can directly be presented on screen (is twinkle SM), and character set is Unicode.If (field value that is DCS field or its mapping is different from default twinkle SM numerical value for the note of common form, other numerical value outside 24 for example), by display unit 40, note is represented to user and checked, processing is preserved or deleted to processing unit 20, again according to user's selection, to this note.
Because not possessing the mobile phone terminal of function of flash message in prior art is 24 o'clock at the field value that reads DCS field or its mapping, the implication of this field value representative of None-identified, or directly it is processed as error message, therefore can not correctly show twinkle SM.Information receiving unit 10 in the present invention receives after note, first by processing unit 20, read and identify the DCS field that comprises in note or the field value of its mapping, if this field value is default twinkle SM numerical value 24, judge that the note receiving is twinkle SM, be saved in the buffer memory of terminal, then be presented on screen.And preserve or delete processing according to user's selection.If user does not select to preserve note while just exiting this display interface, automatically from buffer area, delete this note; If user selects to preserve note, note is saved in the short message inbox of terminal.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (6)

1. a SMS processing method, is characterized in that,
Step 1, terminal receives note, and judges whether to process this note, if described note from default source Mobile Station International ISDN Number, judges this note, need to process; And/or, if described note comprises default keyword, judge that this note need to process: if desired process, judge whether this note is twinkle SM, if the note receiving is twinkle SM, twinkle SM is converted to the note that terminal can be identified and show, preserve again or delete this note, execution step 2; Otherwise directly preserve this note;
Step 2, judges whether this note is long SMS: if long SMS performs step 3; Otherwise execution step 4;
Step 3, reintegrates the long SMS being split, and to user, shows;
Step 4, preserves or deletes this note.
2. according to SMS processing method claimed in claim 1, it is characterized in that,
According to following steps, twinkle SM is converted to the note form that terminal can be identified,
Steps A 1, obtains the DCS field of note of reception or the field value of its mapping;
Steps A 2, judges whether the field value of described DCS field or its mapping conforms to default twinkle SM numerical value; If conform to, read the note of reception and be saved to the buffer area of terminal, then show to user.
3. according to the SMS processing method described in claim 1 or 2, it is characterized in that,
In described step 2, if the note receiving belongs to one in many notes with identical information sign, judge that receiving note is long SMS.
4. according to SMS processing method claimed in claim 3, it is characterized in that,
In described step 3, according to following steps, reintegrate the long SMS being split,
Step B1, obtains the message identification that is split note and the quantity that is split note;
Step B2, judges whether to receive and whole is split note: if receive, whole split note, combine in order the note being split, form a complete long SMS; Otherwise continue the note of waiting for that reception is split.
5. a note processing terminal, is characterized in that,
This terminal comprises information receiving unit, processing unit, memory cell, display unit, and described processing unit is connected with described information receiving unit, described memory cell, described display unit respectively;
Described information receiving unit, for receiving note, and is sent to described processing unit;
Described memory cell, for preserving default source Mobile Station International ISDN Number and/or keyword;
Described processing unit, for reading source Mobile Station International ISDN Number and/or the keyword in described memory cell, processes the note receiving, and judges that whether this note is from default source Mobile Station International ISDN Number, judges whether this note is the information that carries default source Mobile Station International ISDN Number; If from the note of default source Mobile Station International ISDN Number, after this note being processed, to user, show again; Otherwise directly store this note into terminal; And/or, judge in the content of this note whether comprise default keyword, if comprise default keyword, after this note being processed, then show to user; Otherwise directly store this note into terminal, the DCS field in the note that judgement is received or the field value of its mapping judge whether note is twinkle SM, if the value of this field equals default twinkle SM numerical value, short message is sent to described display unit and shows.
6. according to note processing terminal claimed in claim 5, it is characterized in that,
The note that described processing unit sends described information receiving unit is processed and is comprised: the reintegrating and preservation and the conversion of deletion and/or twinkle SM and the preservation of twinkle SM and the deletion of long SMS of long SMS.
CN201110265673.6A 2011-09-08 2011-09-08 Short message processing method and short message processing terminal Expired - Fee Related CN102281516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110265673.6A CN102281516B (en) 2011-09-08 2011-09-08 Short message processing method and short message processing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110265673.6A CN102281516B (en) 2011-09-08 2011-09-08 Short message processing method and short message processing terminal

Publications (2)

Publication Number Publication Date
CN102281516A CN102281516A (en) 2011-12-14
CN102281516B true CN102281516B (en) 2014-07-23

Family

ID=45106638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110265673.6A Expired - Fee Related CN102281516B (en) 2011-09-08 2011-09-08 Short message processing method and short message processing terminal

Country Status (1)

Country Link
CN (1) CN102281516B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244204A (en) * 2013-06-06 2014-12-24 深圳富泰宏精密工业有限公司 Short message content extraction method and system
CN103809929B (en) * 2014-01-15 2017-06-23 深圳市金立通信设备有限公司 Method and terminal that a kind of image shows
CN105898049A (en) * 2016-04-01 2016-08-24 乐视控股(北京)有限公司 Method and device for receiving short messages

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937806A (en) * 2005-09-23 2007-03-28 英华达(上海)电子有限公司 Mobile phone short-message management method
CN101695154A (en) * 2009-10-27 2010-04-14 青岛海信移动通信技术股份有限公司 Short message processing method and short message processing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050062304A (en) * 2003-12-20 2005-06-23 엘지전자 주식회사 A method for processing received sms
CN101325740A (en) * 2007-06-15 2008-12-17 华为技术有限公司 Method, apparatus and system for implementing intercommunication of conversation initiating protocol message and short message

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937806A (en) * 2005-09-23 2007-03-28 英华达(上海)电子有限公司 Mobile phone short-message management method
CN101695154A (en) * 2009-10-27 2010-04-14 青岛海信移动通信技术股份有限公司 Short message processing method and short message processing device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Alphabets and language-specific information (GSM 03.38).《GSM 03.38》.1996,全文.
ETSI.Digital cellular telecommunications system (Phase 2+)
ETSI.Digital cellular telecommunications system (Phase 2+) Alphabets and language-specific information (GSM 03.38).《GSM 03.38》.1996,全文. *

Also Published As

Publication number Publication date
CN102281516A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
Ma et al. General application research on GSM module
CN101350858B (en) Method for decoding short message and user terminal
CN100425081C (en) Code-conversion method for shortmessage receiving and transmitting and network apparatus used thereof
CN102158819A (en) Process method for mobile device to display E-mail, server and mobile device
CN102111498B (en) Electronic mail replying method and mobile terminal
CN101980552A (en) Method and device for quickly adding addressees and mobile terminal
CN102833408B (en) Method and device for displaying messages
CN102281516B (en) Short message processing method and short message processing terminal
CN104125321A (en) Contact information updating method, device and system
CN102655483A (en) Method, client side and system for obtaining contact information by virtue of emails
CN101390410B (en) Icon transforming system, and service method for the same
CN103037329A (en) Short message function testing platform and short message function testing method
CN103581846A (en) User business card updating method and system
CN201286115Y (en) E-mail customer terminal and mobile communication terminal
CN101588542A (en) Method and terminal for processing messages
US9544252B2 (en) Compressing and decompressing electronic messages in message threads
WO2011017927A1 (en) Short message encoding method, device and system
CN101808040B (en) Access server method of mobile E-mail client and mobile terminal
CN105187607A (en) Message processing method and system
CN102970661A (en) Method and device for code conversion of short messages
CN102075453A (en) Mobile phone short message and intranet mailbox communication system and implementation method thereof
CN100387075C (en) Rate treating device, short message charge-deducting system and method
CN101272533A (en) Implementing method and processing method for informing user of unread message number
CN112383888A (en) Short message system, method and equipment
WO2017071216A1 (en) Mail body display method and apparatus for mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140723

Termination date: 20210908

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