CN102281516A - 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
CN102281516A
CN102281516A CN2011102656736A CN201110265673A CN102281516A CN 102281516 A CN102281516 A CN 102281516A CN 2011102656736 A CN2011102656736 A CN 2011102656736A CN 201110265673 A CN201110265673 A CN 201110265673A CN 102281516 A CN102281516 A CN 102281516A
Authority
CN
China
Prior art keywords
note
short message
sms
terminal
twinkle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102656736A
Other languages
Chinese (zh)
Other versions
CN102281516B (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

Images

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, three big telecom operators of CHINAUNICOM formulate, the word length that all defines each bar note is no more than 70 characters; If surpass 70 characters, promptly be considered as long SMS, then a long SMS is split into many 70 characters with interior normal short message, these several normal short messages use an identical message identification (the message identification field is Message_id in the SMPP agreement " Short Message Peer to Peer-Short Message Peer to Peer "), and with the sequence number that several notes and every note are arranged under the same message identification of special field description.Portable terminal (as: mobile phone) will be discerned the note of identical information sign, and is organized into a complete long SMS again according to sequence number.
But because the mobile phone manufacturer does not produce mobile phone in strict accordance with the 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, the 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, not to the user first reading is provided, decision is preserved or the direct function of deletion then, the form of expression is single, also lack interactive friendly interface.At present, be dealt into the note of mobile phone from platform, some uses the form of twinkle SM (is that note directly is presented on the screen, do not take the internal memory of mobile phone, after selecting to preserve by the user, just deposit inbox in, otherwise just disappearance is not preserved automatically) send, but because domestic each operator SMS Network Element Function is also not all supported the lightning note, perhaps many mobile phones are not supported the lightning note, cause the user can't use the lightning SMS.
Summary of the invention
Technical problem to be solved by this invention provides 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 and need handle this note: if need to handle, then execution in step 2; Otherwise directly preserve this note;
Step 2, judge whether this note is long SMS: if long SMS, then execution in step 3; Otherwise execution in step 4;
Step 3 is reintegrated the long SMS that is split, and shows to the user;
This note is preserved or deleted to step 4.
Further, described step 1 judgement also comprises judging whether this note is the step of twinkle SM after need handling the note that receives,
If the note that receives is a twinkle SM, then twinkle SM is converted to the note that terminal can be discerned and show, preserve or delete this note again.
Further, twinkle SM is converted to the note form that terminal can be discerned according to following steps,
Steps A 1 is obtained 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 the twinkle SM numerical value of presetting; If conform to, then read the note of reception and be saved to the buffer area of terminal, show to the user again.
Further, judge whether in accordance with the following methods and need handle note,
If described note, is then judged this note from default source Mobile Station International ISDN Number and need be handled; And/or,
If described note comprises default keyword, judge that then this note need handle.
Further, in the described step 2,, judge that then receiving note is long SMS if the note that receives belongs to one in many notes with identical information sign.
Further, in the described step 3, reintegrate the long SMS that is split according to following steps,
Step B1 obtains message identification that is split note and the quantity that is split note;
Step B2 judges whether to receive whole quilts and splits note: splits note if receive whole quilts, then make up the note that is split in order, form a complete long SMS; Otherwise continue wait and receive the note that 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 links to each other with described information receiving unit, described memory cell, described display unit respectively;
Described information receiving unit is used to receive note, and is sent to described processing unit;
Described memory cell is used to preserve default source Mobile Station International ISDN Number and/or keyword;
Described processing unit is used to read source Mobile Station International ISDN Number and/or keyword in the described memory cell, the note that receives is handled, and be sent to described display unit demonstration.
Further, described processing unit note that described information receiving unit is sent is handled and is comprised: the reintegrating and preservation and the conversion of deletion and/or twinkle SM and the preservation and the deletion of twinkle SM 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 the particular source number and/or comprise that the note of particular keywords handles, after the long SMS that is split into some normal short messages reintegrated, represent user friendly reading and management to the user again by client window.In addition, the present invention also provides a kind of twinkle SM is converted to the method that the normal short message form represents and preserves to the 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 experience.
Description of drawings
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, institute gives an actual example and only is used to explain the present invention, is not to be used 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 and need handle this note: if need to handle, then execution in step 2; Otherwise directly preserve this note;
Step 2, judge whether this note is long SMS: if long SMS, then execution in step 3; Otherwise execution in step 4;
Step 3 is reintegrated the long SMS that is split, and shows to the user;
This note is preserved or deleted to step 4.
As shown in Figure 2, SMS processing method of the present invention comprises also whether the note of judging reception is the step of twinkle SM.As a kind of implementation of SMS processing method of the present invention, can judge earlier whether the note that receives is long SMS, judges whether this note is twinkle SM again as shown in Figure 2.Perhaps,, can judge earlier also whether the note that receives is twinkle SM, judge further more whether this note is long SMS as the another kind of implementation of SMS processing method of the present invention.If judge that the note that receives is a twinkle SM, then earlier twinkle SM is converted to the note that terminal can be discerned and show, again 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 links to each other with information receiving unit 10, memory cell 30, display unit 40 respectively.Wherein, information receiving unit 10 is used to receive note, and is sent to processing unit 20.Memory cell 30 is used to preserve default source Mobile Station International ISDN Number and/or keyword.Processing unit 20 is used for source Mobile Station International ISDN Number and/or keyword in the reading cells 30, the note that receives is handled, and be sent to display unit 40 demonstrations.
Further, the note that sends of 20 pairs of information receiving units of processing unit 10 is handled and is comprised: the reintegrating and preservation and the conversion of deletion and/or twinkle SM and the preservation and the deletion of twinkle SM of long SMS of long SMS.
Information receiving unit 10 in the note processing terminal of the present invention receives the outside note that sends, and carries out note according to following steps and handles.
At first, processing unit 20 receives the note that information receiving unit 10 sends, and judges whether and need handle this note.Mainly comprise:
(1) whether judges this note from default source Mobile Station International ISDN Number, judge promptly 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, show to the user again after then this note being handled; 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 then this note being handled, show to the user again; Otherwise directly store this note into terminal, for example store in the inbox of mobile phone.
Secondly, judge the note that need handle, also need further this note to be made as judging again for treated unit 20:
(1) judges whether this note is long SMS.Be that processing unit 20 judges whether the note of information receiving unit 10 transmissions belongs in many notes with identical information sign.If have the identical information sign, judge that then receiving note is the part in the quilt long SMS that splits; Otherwise illustrate that the note that receives is the note of common form, then note is represented to the user and check that processing is preserved or deleted to processing unit 20 according to user's selection, to this note again by display unit 40.
In CMPP agreement (China Mobile Peer to Peer, China Mobile's internet short message gateway interface protocol) lining, the relevant parameters configuration is arranged in the CMPP_SUBMIT message definition:
TP_udhi: do not contain protocol header information in the 0 represent content body; 1 represent content contains protocol header information (long SMS, push note etc. all contains a content on endomorph).Comprise protocol header when endomorph is set, need write corresponding information according to agreement, the 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 stipulates that in GSM 03.40 standard 9.2.3.24.1 the sign bit length of expression this batch ultralong short message subsequently is the XX value in the 1(form);
Byte 3: 03, the length of the remaining note sign of this value representation;
Byte 4: XX, unique sign of this batch note;
Byte 5: MM, the quantity of this batch note.If 5 altogether of ultralong short messages, the value here is exactly 5;
Byte 6: NN, the quantity of this batch note.If current note is the value of the article one in this batch note is 1, the value of second is 2.
For example: 05 00 03 39 02 01.
B.7 Wei protocol header form: 06 08 04 XX XX MM NN, wherein,
Byte 1: 06, the length of expression residue protocol header;
Byte 2: 08, this value stipulates that in GSM 03.40 standard 9.2.3.24.1 the sign bit length of expression this batch ultralong short message subsequently is the XX value in the 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 note;
Byte 6: MM, the quantity of this batch note.If 5 altogether of ultralong short messages, the value here is exactly 5;
Byte 7: NN, the quantity of this batch note.If current note is the value of the article one in this batch note is 1, the value of second is 2.
For example: 06 08 04 00 39 02 01.
If processing unit 20 judges that the note that receives has identical message identification (Message_id), then wait for and receive the note that other quilt with like-identified splits according to the quantity (quantity that promptly has the note of this identical information sign) of this batch note of pointing out in the short message body, according to the order of every note it being reconfigured is a complete long SMS again, and the pop-up window content of showing this long SMS to the user, user friendly reading and management.The user check finish after, processing be preserved or be deleted to processing unit 20 can to this long SMS further according to user's selection.
(2) judge whether this note is twinkle SM.It is the data coding scheme that processing unit 20 is judged the note that information receiving unit 10 sends.When terminal (for example mobile phone) when receiving 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) specifies character set and the display mode that shows as control field.DCS is in SMPP agreement (Short Message Peer to Peer, Short Message Peer to Peer), and the field of mapping is the Data_coding(Chinese: digital coding), control the value of this field, just note can be shown as 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, the expression short message directly is presented on the screen, do not take inbox space (this is a 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 use similar map field to control the demonstration of twinkle SM.Therefore the DCS field in the note received by judgement of note processing terminal of the present invention 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 (for example 24, this field value that other operators are provided with may be different, but principle is identical), representing then that short message can directly be presented on the screen (is twinkle SM), and character set is Unicode.If (field value that is DCS field or its mapping is different with default twinkle SM numerical value for the note of common form, other numerical value outside 24 for example), then note is represented to the user and check by display unit 40, processing is preserved or deleted to processing unit 20 according to user's selection, to this note again.
Because not possessing the mobile phone terminal of function of flash message in the prior art is 24 o'clock at the field value that reads DCS field or its mapping, can't discern the implication of this field value representative, perhaps directly it is handled as error message, therefore can not correctly show twinkle SM.After information receiving unit 10 among the present invention receives note, earlier read and discern the DCS field that comprises in the note or the field value of its mapping by processing unit 20, if this field value is default twinkle SM numerical value 24, judge that then the note that receives is a twinkle SM, it is saved in the buffer memory of terminal, is presented on the screen again.And preserve or delete processing according to user's selection.If the user does not select to preserve note when just withdrawing from this display interface, then delete this note from buffer area automatically; If the user selects to preserve note, then note is saved in the short message inbox of terminal.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a SMS processing method is characterized in that,
Step 1, terminal receives note, and judges whether and need handle this note: if need to handle, then execution in step 2; Otherwise directly preserve this note;
Step 2, judge whether this note is long SMS: if long SMS, then execution in step 3; Otherwise execution in step 4;
Step 3 is reintegrated the long SMS that is split, and shows to the user;
This note is preserved or deleted to step 4.
2. according to the described SMS processing method of claim 1, it is characterized in that,
Described step 1 judgement also comprises judging whether this note is the step of twinkle SM after need handling the note that receives,
If the note that receives is a twinkle SM, then twinkle SM is converted to the note that terminal can be discerned and show, preserve or delete this note again.
3. according to the described SMS processing method of claim 2, it is characterized in that,
According to following steps twinkle SM is converted to the note form that terminal can be discerned,
Steps A 1 is obtained 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 the twinkle SM numerical value of presetting; If conform to, then read the note of reception and be saved to the buffer area of terminal, show to the user again.
4. according to claim 1,2 or 3 described SMS processing methods, it is characterized in that,
In the described step 1, judge whether in accordance with the following methods and need handle note,
If described note, is then judged this note from default source Mobile Station International ISDN Number and need be handled; And/or,
If described note comprises default keyword, judge that then this note need handle.
5. according to claim 1,2 or 3 described SMS processing methods, it is characterized in that,
In the described step 2,, judge that then receiving note is long SMS if the note that receives belongs to one in many notes with identical information sign.
6. according to the described SMS processing method of claim 5, it is characterized in that,
In the described step 3, reintegrate the long SMS that is split according to following steps,
Step B1 obtains message identification that is split note and the quantity that is split note;
Step B2 judges whether to receive whole quilts and splits note: splits note if receive whole quilts, then make up the note that is split in order, form a complete long SMS; Otherwise continue wait and receive the note that is split.
7. a note processing terminal is characterized in that,
This terminal comprises information receiving unit, processing unit, memory cell, display unit, and described processing unit links to each other with described information receiving unit, described memory cell, described display unit respectively;
Described information receiving unit is used to receive note, and is sent to described processing unit;
Described memory cell is used to preserve default source Mobile Station International ISDN Number and/or keyword;
Described processing unit is used to read source Mobile Station International ISDN Number and/or keyword in the described memory cell, the note that receives is handled, and be sent to described display unit demonstration.
8. according to the described note processing terminal of claim 7, it is characterized in that,
The note that described processing unit sends described information receiving unit is handled and is comprised: the reintegrating and preservation and the conversion of deletion and/or twinkle SM and the preservation and the deletion of twinkle SM 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 true CN102281516A (en) 2011-12-14
CN102281516B 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)

Cited By (3)

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

Citations (4)

* 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
CN1937806A (en) * 2005-09-23 2007-03-28 英华达(上海)电子有限公司 Mobile phone short-message management method
CN101325740A (en) * 2007-06-15 2008-12-17 华为技术有限公司 Method, apparatus and system for implementing intercommunication of conversation initiating protocol message and short message
CN101695154A (en) * 2009-10-27 2010-04-14 青岛海信移动通信技术股份有限公司 Short message processing method and short message processing device

Patent Citations (4)

* 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
CN1937806A (en) * 2005-09-23 2007-03-28 英华达(上海)电子有限公司 Mobile phone short-message management method
CN101325740A (en) * 2007-06-15 2008-12-17 华为技术有限公司 Method, apparatus and system for implementing intercommunication of conversation initiating protocol message and short message
CN101695154A (en) * 2009-10-27 2010-04-14 青岛海信移动通信技术股份有限公司 Short message processing method and short message processing device

Non-Patent Citations (1)

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

Cited By (4)

* 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
CN103809929A (en) * 2014-01-15 2014-05-21 深圳市金立通信设备有限公司 Method and terminal for displaying image
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

Also Published As

Publication number Publication date
CN102281516B (en) 2014-07-23

Similar Documents

Publication Publication Date Title
Ma et al. General application research on GSM module
CN100425081C (en) Code-conversion method for shortmessage receiving and transmitting and network apparatus used thereof
US20120278433A1 (en) Method for transmitting and receiving multimedia information and terminal
CN102447778A (en) Message display method and device
CN102158819A (en) Process method for mobile device to display E-mail, server and mobile device
CN101980552A (en) Method and device for quickly adding addressees and mobile terminal
US20150189484A1 (en) Method, Apparatus, And System For Updating Contact Information
CN102833408B (en) Method and device for displaying messages
CN102655483A (en) Method, client side and system for obtaining contact information by virtue of emails
CN102571990A (en) E-mail synchronization method and system for mobile terminal
CN102281516B (en) Short message processing method and short message processing terminal
CN102438220A (en) Short message control system and method, short message processing method and mobile terminal
CN103037338A (en) Signature inserting method of contact information and communication terminal
CN101616100A (en) Mail push, reception, sending method, mail server and Mail Clients
CN103164122B (en) A kind of method and device calling address list content
CN105791520A (en) Contact list updating method and coresponding apparatus
US9544252B2 (en) Compressing and decompressing electronic messages in message threads
CN105187607A (en) Message processing method and system
CN101924818A (en) Method and device for replying short message
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
CN101808040A (en) Access server method of mobile E-mail client and mobile terminal
CN104796519A (en) Terminal
CN100387075C (en) Rate treating device, short message charge-deducting system and method
CN112383888A (en) Short message system, method and equipment

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