CN1444378A - Ultra-long short message sending method - Google Patents

Ultra-long short message sending method Download PDF

Info

Publication number
CN1444378A
CN1444378A CN 02104099 CN02104099A CN1444378A CN 1444378 A CN1444378 A CN 1444378A CN 02104099 CN02104099 CN 02104099 CN 02104099 A CN02104099 A CN 02104099A CN 1444378 A CN1444378 A CN 1444378A
Authority
CN
China
Prior art keywords
content
short message
bit
long short
communication protocol
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
CN 02104099
Other languages
Chinese (zh)
Other versions
CN1444378B (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.)
Lenovo Beijing Ltd
Motorola Mobile Communication Technology Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 02104099 priority Critical patent/CN1444378B/en
Publication of CN1444378A publication Critical patent/CN1444378A/en
Application granted granted Critical
Publication of CN1444378B publication Critical patent/CN1444378B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A method for sending super long or short message includes 1) according to a request of communication protocol 7-bit coding first maximum volume, the longest content is cut out from a paper beginning or end to examine if the said content is all 7-bit coding, if so, to go on with step 4 or to progress in step if not, 2) to cut out the content of maximum length from head or end to examine if there is single 7-bit code content, if so to carry out step 3, if not to step 4, in accordance of potocol 8-bit code second maximum volume 3) to reduce one syllable from to longest 4) to bundle the cut out content to be sent 5) to repeat step 1 from the cut point till all the content is segmented.

Description

The method that super long short message sends
Technical field
The present invention relates to the method that a kind of short message sends, especially a kind of mobile device, hand-held device, PC and notebook computer etc. send the method that super long short message sends.
Background technology
Because mobile communication technology and development of internet technology, the short message between the mobile device sends and reception becomes widely used technology.Everybody can greet each other by short message or transmission information easily.Short message or be note, english abbreviation SMS.When using the 7-bits coding, it can send maximum 160 characters.8-bit can send 140 characters in the time of coding.Because Chinese character is a double-byte encodings, so the maximum Chinese character number that can send is 70 Chinese characters.At present because the convenience of PDA typing, on PDA, write short message, send by mobile phone then and become commonplace application, but still be subjected to when writing short message now with PDA short message breath word length restriction (English 160 characters or 70 Chinese characters), can not give full play to the advantage of PDA.The typing of PDA own is than very fast, and can realize share (such as one section ready-made article) of resource, if still be subjected to the restriction of character when sending, will make the practicality that sends SMS message by PDA have a greatly reduced quality.
Summary of the invention
The method that the object of the present invention is to provide a kind of PDA super long short message to send, it can overcome the transmission quantitative limitation, improves the advantage of PDA super long short message greatly, and can read effectively.
The object of the present invention is achieved like this: the method that a kind of super long short message sends, and which comprises at least content segmentation is an above packet that meets the communication protocol capacity requirement, packing then sends.
Particularly, be step 1:, intercept the content of this maximum length from the file head or tail, and check whether this content is full 7-bit coding according to the encode requirement of first heap(ed) capacity of communication protocol 7-bit; If then carry out step 4; Not then carry out step 2;
Step 2:, intercept the content of this maximum length from the file head or tail, and check whether this content has an odd number 7-bit encoded content, if having then execution in step 3 according to the encode requirement of second heap(ed) capacity of communication protocol 8-bit; If no, execution in step 4 then;
Step 3: reduce by a byte intercepting content from maximum length;
Step 4:, send with the content packaging that is intercepted;
Step 5: from intercept point, repeating step 1 is cut apart to content whole and to be finished.
In packet header or the bag tail identifier is set, receiving device is according to sending address information and identifier information link bag content, content-data regains one's integrity.
According to the technique scheme analysis as can be known, the present invention has expanded a whole short message length greatly, has given full play to the ability of PDA word processing, has enriched the content of short message.
Description of drawings
Fig. 1 is a flow chart of the present invention.
Embodiment
As shown in Figure 1, the present invention is the method that a kind of super long short message sends
Because the restriction of agreement can only send 70 for Chinese character.So adopt the way of cutting apart before sending, promptly being divided into 70 characters for the information greater than 70 Chinese characters is that a short message sends, and so circulation is up to sending all information.For example, the length of short message is 215, then is divided into 70,70,70, five, totally four bags, and the recipient receives 4 short messages altogether.So just finished the short message that sends greater than 70 Chinese characters.
Above-mentioned solution is feasible, but the short message format in the reality may be very complicated, as not treating with a certain discrimination, all can cause confusion as border intercepting character with 70 Chinese characters, or the waste of resource.Mainly show the following aspects:
1, mess code appears
Figure A0210409900051
Because there is an English alphabet 4 (1 byte) centre, remaining Chinese character all is two bytes, so block to the position (140 byte) of 70 Chinese characters, at this moment later Chinese character just all can misplace, being shown on others mobile phone will be mess code entirely, does not see it being what information at all.So before transmission, must handle, prevent that similar thing from taking place.
2, redundancy appears in the bag number of short message, causes telephone expenses to increase
So-called redundant should the transmission by N bag, the result but sends with N+1 bag (or more), will cause unnecessary waste like this.Such as:
If if at this moment still 4 short messages will occur, in fact because English can send 160 at most, so above-mentioned only just can sending with 3 bags in fact finishes with 70 Chinese characters (140 byte) boundary.So this situation also will be handled before transmission.
Being treated to before sending:
Step 1: according to the encode requirement of first heap(ed) capacity of communication protocol 7-bit, for example 160 bytes intercept the content of this maximum length then from the file head or tail, and check in 160 bytes whether all be ASCII character, if then carry out step 4; Not then carry out step 2;
Step 2: according to the encode requirement of second heap(ed) capacity of communication protocol 8-bit, the previous step maximum length is set at 140 bytes, intercepts the content of this maximum length, and check whether this content has an odd number 7-bit encoded content from the file head or tail, if have, then execution in step 3; If no, illustrating complete in this content is Chinese character, and then execution in step 4;
Step 3: reduce by a byte from maximum length, promptly, guarantee that the Chinese character byte is complete from 139 byte intercepting contents, thus the possibility of having avoided mess code to occur.
Step 4:, send with the content packaging that is intercepted;
Step 5: from intercept point, repeating step 1 is cut apart to content whole and to be finished.
3, the bag number of information may cause the inconvenience reading too much
Through may not can being dealt into the destination after the divided data transmission according to order, arrive first such as last bag, and first bag arrives at last, make troubles for like this people who reads, so need be when sending, in packet header or the bag tail identifier is set, receiving device is according to sending address information and identifier information link bag content, the content-data that regains one's integrity marks, with easy-to-read.

Claims (3)

1, a kind of method of super long short message transmission, it is characterized in that: which comprises at least following steps: with content segmentation is an above packet that meets the communication protocol capacity requirement, packing then sends.
2, the method for super long short message transmission according to claim 1, it is characterized in that: be specially step 1: according to the encode requirement of first heap(ed) capacity of communication protocol 7-bit, intercept the content of this maximum length from the file head or tail, and check whether this content is full 7-bit coding; If then carry out step 4; Not then carry out step 2;
Step 2:, intercept the content of this maximum length from the file head or tail, and check whether this content has an odd number 7-bit encoded content, if having then execution in step 3 according to the encode requirement of second heap(ed) capacity of communication protocol 8-bit; If no, execution in step 4 then;
Step 3: reduce by a byte intercepting content from maximum length;
Step 4:, send with the content packaging that is intercepted;
Step 5: from intercept point, repeating step 1 is cut apart to content whole and to be finished.
3, the method that sends of super long short message according to claim 1 is characterized in that: in packet header or the bag tail identifier is set, receiving device is according to sending address information and identifier information link bag content, content-data regains one's integrity.
CN 02104099 2002-03-11 2002-03-11 Ultra-long short message sending method Expired - Fee Related CN1444378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02104099 CN1444378B (en) 2002-03-11 2002-03-11 Ultra-long short message sending method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02104099 CN1444378B (en) 2002-03-11 2002-03-11 Ultra-long short message sending method

Publications (2)

Publication Number Publication Date
CN1444378A true CN1444378A (en) 2003-09-24
CN1444378B CN1444378B (en) 2013-01-16

Family

ID=27810825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02104099 Expired - Fee Related CN1444378B (en) 2002-03-11 2002-03-11 Ultra-long short message sending method

Country Status (1)

Country Link
CN (1) CN1444378B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324914C (en) * 2004-04-22 2007-07-04 中兴通讯股份有限公司 Short message transmitting method for PCS short message system
WO2007109936A1 (en) * 2006-03-29 2007-10-04 Huawei Technologies Co., Ltd. Method, apparatus, and system for transmitting super long short message in cdma circuitry field
CN100399839C (en) * 2005-02-21 2008-07-02 宏碁股份有限公司 Method for intercepting short message character string
WO2010031329A1 (en) * 2008-09-17 2010-03-25 华为技术有限公司 Method, system and device for receiving and sending instant message
CN1981494B (en) * 2004-07-06 2010-05-05 株式会社Ntt都科摩 Message transfer system and message transfer method
CN101047733B (en) * 2006-06-16 2010-09-29 华为技术有限公司 Short message processing method and device
CN101400024B (en) * 2007-09-28 2011-02-09 华为技术有限公司 Method and device for load balance in signaling element layer
CN1716922B (en) * 2004-01-16 2011-10-19 微软公司 Method and system for mobile device messaging
CN101662539B (en) * 2009-09-28 2012-05-23 华为终端有限公司 Method and device for assembling long short message
CN103488617A (en) * 2012-06-11 2014-01-01 北京新媒传信科技有限公司 Data interception method and device
CN104063362A (en) * 2013-07-18 2014-09-24 腾讯科技(深圳)有限公司 Character string truncation method and device
CN105934734A (en) * 2014-01-22 2016-09-07 株式会社和冠 Position indicator, position detection device, position detection circuit, and position detection method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155199A (en) * 1995-12-01 1997-07-23 阿尔卡塔尔·阿尔斯托姆公司 Electronic mail business network
US5822700A (en) * 1996-04-18 1998-10-13 Telefonaktiebolaget L M Ericsson Flow control of short message service messages in a cellular telephone network
US6108325A (en) * 1997-12-09 2000-08-22 Nortel Networks Corporation Optimized SMS delivery algorithm

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8112103B2 (en) 2004-01-16 2012-02-07 Kuang-Chao Eric Yeh Methods and systems for mobile device messaging
CN1716922B (en) * 2004-01-16 2011-10-19 微软公司 Method and system for mobile device messaging
CN1324914C (en) * 2004-04-22 2007-07-04 中兴通讯股份有限公司 Short message transmitting method for PCS short message system
CN1981494B (en) * 2004-07-06 2010-05-05 株式会社Ntt都科摩 Message transfer system and message transfer method
CN100399839C (en) * 2005-02-21 2008-07-02 宏碁股份有限公司 Method for intercepting short message character string
WO2007109936A1 (en) * 2006-03-29 2007-10-04 Huawei Technologies Co., Ltd. Method, apparatus, and system for transmitting super long short message in cdma circuitry field
CN101047733B (en) * 2006-06-16 2010-09-29 华为技术有限公司 Short message processing method and device
CN101400024B (en) * 2007-09-28 2011-02-09 华为技术有限公司 Method and device for load balance in signaling element layer
WO2010031329A1 (en) * 2008-09-17 2010-03-25 华为技术有限公司 Method, system and device for receiving and sending instant message
CN101662539B (en) * 2009-09-28 2012-05-23 华为终端有限公司 Method and device for assembling long short message
CN103488617A (en) * 2012-06-11 2014-01-01 北京新媒传信科技有限公司 Data interception method and device
CN104063362A (en) * 2013-07-18 2014-09-24 腾讯科技(深圳)有限公司 Character string truncation method and device
WO2015007115A1 (en) * 2013-07-18 2015-01-22 Tencent Technology (Shenzhen) Company Limited Method and apparatus of truncating character string
CN104063362B (en) * 2013-07-18 2016-03-16 腾讯科技(深圳)有限公司 A kind of truncation of a string method and device
CN105934734A (en) * 2014-01-22 2016-09-07 株式会社和冠 Position indicator, position detection device, position detection circuit, and position detection method

Also Published As

Publication number Publication date
CN1444378B (en) 2013-01-16

Similar Documents

Publication Publication Date Title
US11799881B2 (en) Resisting the spread of unwanted code and data
Freed et al. RFC2046: Multipurpose internet mail extensions (MIME) Part two: Media types
Shirali-Shahreza et al. Text steganography in SMS
Freed et al. Multipurpose internet mail extensions (MIME) part two: Media types
US7155672B1 (en) Method and system for dynamic font subsetting
Nielsen et al. Network performance effects of HTTP/1.1, CSS1, and PNG
JP3859313B2 (en) Tag document compression apparatus and restoration apparatus, compression method and restoration method, compression / decompression apparatus and compression / decompression method, and computer-readable recording medium recording a compression, decompression or compression / decompression program
CN1444378A (en) Ultra-long short message sending method
US7565605B2 (en) Reorganizing content of an electronic document
US6523062B1 (en) Facilitating memory constrained client devices by employing deck reduction techniques
CN101040283A (en) Form related data reduction
CN101059800A (en) Method and apparatus for displaying electronic book on mobile phone
CN108595389A (en) A method of Word document is converted into txt plain text documents
CN102916991B (en) Method, system and device for transmitting data
CN1625179A (en) Send by reference in a customizable, tag-based protocol
US20040205216A1 (en) Efficient message packaging for transport
WO2013097812A1 (en) Method and system for downloading font file
Borenstein et al. RFC1521: MIME (Multipurpose Internet Mail Extensions) Part One: Mechanisms for Specifying and Describing the Format of Internet Message Bodies
US7814408B1 (en) Pre-computing and encoding techniques for an electronic document to improve run-time processing
Kilichev et al. Errors in SMS to hide short messages
KR101114229B1 (en) Method for analyzing Korean or Janpanese web contents in HTTP packets
US7860989B2 (en) Efficient transformation of interchange format messages
JP4056199B2 (en) Methods, systems, and computer program products for optimizing single byte character processing for use within a multibyte character encoding scheme
US6737992B1 (en) Method, apparatus, and article for GIOP message compression/decompression
CN1324914C (en) Short message transmitting method for PCS short message system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: LIANXIANG (BEIJING) CO. LTD.; APPLICANT

Free format text: FORMER OWNER: LIANXIANG (BEIJING) CO. LTD.

Effective date: 20080815

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20080815

Address after: No. 6, Pioneer Road, Haidian District information industry base, Beijing, China: 100085

Applicant after: Lenovo (Beijing) Co., Ltd.

Co-applicant after: Lenovo Mobile Communication Technology Ltd.

Address before: No. 6, Pioneer Road, Haidian District information industry base, Beijing, China: 100085

Applicant before: Lenovo (Beijing) Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130116

Termination date: 20210311