CN101321317A - Implementing cascade short message transmission method in short message system by segmenting affirmation mechanism - Google Patents

Implementing cascade short message transmission method in short message system by segmenting affirmation mechanism Download PDF

Info

Publication number
CN101321317A
CN101321317A CNA2008100682560A CN200810068256A CN101321317A CN 101321317 A CN101321317 A CN 101321317A CN A2008100682560 A CNA2008100682560 A CN A2008100682560A CN 200810068256 A CN200810068256 A CN 200810068256A CN 101321317 A CN101321317 A CN 101321317A
Authority
CN
China
Prior art keywords
short message
segmentation
cascade
receiving
transmitting terminal
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
CNA2008100682560A
Other languages
Chinese (zh)
Other versions
CN101321317B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN 200810068256 priority Critical patent/CN101321317B/en
Publication of CN101321317A publication Critical patent/CN101321317A/en
Application granted granted Critical
Publication of CN101321317B publication Critical patent/CN101321317B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method that a subsection validation mechanism realizes concatenation short message transmission, comprising: a short message sending terminal divides a primed concatenation short message into a plurality of subsections; the message sending terminal sends a first section to a short message receiving terminal via a short message central terminal, and waits for response; after receiving a first subsection message, the short message central terminal immediately returns the response to the short message sending terminal; after the short message sending terminal receives the successful response, the short message receiving terminal returns a first subsection return receipt to the short message sending terminal, and displays content of the subsection and information of the subsection; after the short message receiving terminal receives the successful return receipt of the first subsection, the following subsections are continuously sent via repeating above steps. The method of the invention adopts a subsection message sending waiting validation mechanism and a method of filling characters in the tail-end of the subsection, so as to effectively avoid the uncommon conditions that the subsection of the concatenation short message is lost, dislocated, etc. and improve practicability, flexibility and reliability of concatenation short message services.

Description

A kind of segmentation affirmation mechanism realizes short-message system cascade short message transmission method
Technical field
The present invention relates to a kind of method that realizes short message transmission, relate in particular to a kind of method that realizes the cascade short message transmission.
Background technology
In the prior art, global system for mobile communications 0340 (GSM0340) agreement is that the technology of GSM network point-to-point short message service realizes standard, has wherein described a kind of cascade short message service.The maximum length of common content of short message is 140 bytes, can hold 140 8 bit character or binary data, 70 unicode characters or 160 7 bit character.But in the practical application of short message service, content of short message length is easy to surpass this restriction.In order to send the short message above wall scroll content of short message length restriction, the GSM0340 agreement has been stipulated this mechanism of utilizing the cascade of a plurality of segmentation short message to realize super long short message, i.e. cascade short message.
The overlength message that message sender will need to send splits into the segmented messages of a plurality of cascades, and the length of each segmented messages is no more than the message content length of agreement regulation, then these segmentations is independently sent to the message sink end.The cascade short message has added message header in content of short message, be used for representing that current message is certain segmentation of a cascade message, the recipient of message assembles out complete cascade message after all segmentations of a cascade message are collected, and realizes the transmission of super long short message.
, the different segmentations of cascade short message, send to the message sink end via different network elements probably, perhaps send to the message sink end via the different nodes of identical network element, the cascade message fragment message that receiving terminal is received is not necessarily according to the original segmentation sequence arrangement of cascade short message, so the message sink end may normal group takes on the complete content of cascade short message.Article one, each segmented messages of cascade message may have some segmented messages and lose in transmission course, and the cascade message fragment that causes the message sink end to be received is imperfect.
When the cascade short message carries out segmentation, the coding of same character may be split in the different segmented messages contents, message content interdependence between two adjacent sectional message can't independently be decoded in this case.Even segmented messages arrives receiving terminal in order, receiving terminal also can't in time be decoded and the display message content, and must wait for that next segmentation arrives, and just can decode.
Prior art cascade short message can't guarantee the reliability of self transmission, and each network element does not have unified processing method to cascade transmission of messages reliability in the GSM network, very easily causes cascade short message fragment loss, dislocation.
Therefore, prior art awaits improving and development.
Summary of the invention
The object of the invention is to provide a kind of segmentation affirmation mechanism to realize short-message system cascade short message transmission method, by the mode of cascade short message segmentation affirmation mechanism and segmentation end filler, guarantee the reliability of cascade short message transmission and the independence of every segmented messages content.
Technical scheme of the present invention is as follows:
A kind of segmentation affirmation mechanism realizes short-message system cascade short message transmission method, and described short-message system comprises: a short message transmitting terminal; One short message receiving receiving end; One short message service center end; Described short message service center end respectively with described short message transmitting terminal, described short message receiving receiving end control connection mutually, described cascade short message transmission method is as follows:
A, described short message transmitting terminal will wait that a cascade short message of sending out splits into a plurality of segmentations;
B, described message sending end send first segmentation by described short message service center end to described short message receiving receiving end, and wait-for-response;
After C, described short message service center end are received described first segmented messages, return response to described short message transmitting terminal immediately;
After D, described short message transmitting terminal received the success response of described first segmentation, described short message receiving receiving end was returned the receipt of described first segmentation to the short message transmitting terminal, and shows this segmentation message content, and the segment information of message fragment;
After E, described message sink end are received the success receipt of described first segmentation, repeat above step and continue to send subsequent segment.
Described method, wherein, described short message service center end is to described short message receiving terminal, time threshold of setting when sending described first segmentation.
Described method, wherein, described steps A also comprises:
A1, find the segmentation of cascade short message when described short message transmitting terminal same character is split in the different segmentations, then fill null character (NUL), the complete coding of this character is moved on in the back segmentation at last segmented messages end.
Described method, wherein, described step D also comprises:
D1, when described short message receiving receiving end receives the failure response of described first segmentation, then short message service center analyzes its failure cause.
Described method, wherein, described step D1 may further comprise the steps:
D11, receive response results when described short message transmitting terminal and show that described first is segmented into permanent error that then the cascade short message sends failure;
D12, receive response results when described short message transmitting terminal and show that described first is segmented into provisional mistake, then return and carry out above-mentioned steps B;
D13, do not receive first segmentation response results because of surpassing described time threshold, then return and carry out above-mentioned steps B when described short message transmitting terminal.
Described method, wherein, the execution number of times of carrying out above-mentioned steps B that returns described in described step D12 or the D13 is provided with the limit.
Described method, wherein, described step e is further comprising the steps of:
E1, receive described first minute segment fault receipt when described short message receiving receiving end, then the cascade short message sends failure;
E2, when described short message receiving receiving end because overtime threshold value and do not receive described first segmentation receipt, then the cascade short message sends failure.
Described method, wherein, its form of described receipt is global system for mobile communications 0340 an agreement specified standard mobile phone receipt form.
A kind of segmentation affirmation mechanism provided by the present invention realizes short-message system cascade short message transmission method, owing to adopted segmented messages to send the mode that wait acknowledge is machine-processed and fill character in the segmentation end, avoid abnormal conditions such as the segmentation of cascade short message is lost, dislocation effectively, improved practicality, flexibility and the reliability of cascade short message service.
Description of drawings
Fig. 1 is a GSM0340 agreement cascade short message coding structure schematic diagram among the present invention;
Fig. 2 is a cascade short message segmentation affirmation mechanism schematic flow sheet of the present invention.
Embodiment
Below in conjunction with accompanying drawing, will make a more detailed description each preferred embodiment of the present invention.
A kind of segmentation affirmation mechanism of the present invention realizes short-message system cascade short message transmission method, its GSM0340 agreement cascade short message coding structure as shown in Figure 1, it comprises:
Data length (UDL): be used to identify and do not comprise the byte length 11 of this field at interior content of short message, unit is 8 bits;
Data head sign length (UDHL): be used to identify and do not comprise the length 12 of this field at interior content of short message head, unit is 8 bits;
Information word identifier (IEI): be used for identifying content of short message head information word identifier, account for one 8 bit, wherein reference number length is that the cascade short message header unit identifier of 8 bits is 0x00, and reference number length be the cascade short message header unit identifier of 16 bits is 0x08;
Information word data length (IEDL): be used to store and do not comprise this field in interior cascade short message information metadata, and sign do not comprise this field at interior cascade short message information unit byte length 13, unit is 8 bits;
Cascade short message reference number (IED1): be used for identifying the sequence number of cascade short message, all segmented messages cascade short message reference numbers of cascade short message must be consistent.When the information word identifier was 0x00, reference number accounted for 18 bit, and when the information word identifier was 0x08, reference number accounted for 28 bits;
The cascade short message splits information (IED2): be used to show how many bar segmented messages this cascade short message splits into altogether, accounts for one 8 bit, and span is 1~255;
Current cascade short message sequence number information (IED3): in order to show the sequence number of current segmented messages in the cascade short message, account for one 8 bit, value increases progressively in proper order since 1;
Note (SM): be used to store the content of short message of removing outside the content of short message head,, then place filler before the message content, to protect the 7 bits of encoded ends of message on 8 bit boundaries if it is 7 bits of encoded forms.
Cascade short message segmentation affirmation mechanism of the present invention, described short-message system comprises: the short message transmitting terminal; The short message receiving receiving end; Short message service center's end; Short message service center end respectively with described short message transmitting terminal, described short message receiving receiving end control connection mutually, its concrete operations flow process as shown in Figure 2, its concrete steps are as follows:
A, short message transmitting terminal will wait that a cascade short message of sending out splits into i segmentation promptly: A1 ... Ai;
Whether the segmentation of B, described short message transmitting terminal inquiry cascade short message is wrong, and whether promptly same character splits in the different segmentations, if not, and execution in step C then; If, then fill null character (NUL) at last segmented messages end, the complete coding of this character is moved on in the back segmentation;
C, described short message transmitting terminal send described segmentation A1 by Short Message Center to the short message receiving receiving end, and wait for described Short Message Center feedback response information, set an operating time threshold value simultaneously;
After described segmentation A1 message is received by D, described short message service center, immediately to short message transmitting terminal feedback response information;
E, receive the failure response information of described segmentation A1 when described short message transmitting terminal, then Short Message Center analyzes failure response information, the response analysis result.
F, be permanent error when the response analysis result shows described segmentation A1, then the cascade short message sends failure;
G, be provisional mistake when the response analysis result shows described segmentation A1, and this segmentation message number of retries no show upper limit, then repeating to return and carry out above-mentioned steps B, otherwise stop retry, the cascade short message sends failure;
H, show that described segmentation A1 sends that the time limit surpasses described time threshold and the response message of not receiving segmentation A1 as the response analysis result, and this segmentation message number of retries no show upper limit, then repeat above-mentioned steps B, otherwise stop retry, the cascade short message sends failure;
I, receive the success response information of described segmentation A1 when described short message transmitting terminal, then described Short Message Center returns the receipt of described segmentation A1 to message sending end, and shows this segmentation message content, and the segment information of message fragment;
K, receive segmentation A1 receipt failure information when described short message receiving receiving end, then the cascade short message sends failure;
L, when described short message receiving receiving end surpasses the transmitting time threshold value and does not receive segmentation A1 acknowledgement information, then the cascade short message sends failure;
M, receive segmentation A1 success receipt information when described short message receiving receiving end, then described segmentation A1 sends successfully, repeats above step afterwards and continues to send subsequent segment.
In above cascade short message segmentation affirmation mechanism concrete operations flow process, when cascade short message transmitting terminal sends the segmentation of cascade short message, independent in order each segmentation of transmission.After transmitting terminal whenever sends the segmentation of a cascade short message, wait for the report of receiving terminal return state, set a time threshold simultaneously, at the appointed time receive this segmented messages receipt that receiving terminal returns in the threshold value, continue to send next segmentation and wait for the affirmation of receiving terminal receipt.When transmitting terminal sends a segmentation, but at the appointed time do not receive the receipt that receiving terminal returns in the threshold value, send current segmented messages to receiving terminal again, avoided segmented messages to lose like this.The message sink end returns receipt to transmitting terminal after whenever receiving a segmented messages immediately, shows this segmentation message content in Short Message Center simultaneously, and the segment information of message fragment.When finding the cascade message fragment, message sending end same character can be split in the different segmentations, add the filling null character (NUL) at last segmented messages end, the complete coding of this character is moved on in the back segmentation, guaranteed the independence of every segmented messages content so effectively.
A kind of segmentation affirmation mechanism of the present invention realizes short-message system cascade short message transmission method, and wherein the segmentation end mechanism of filling character is as follows:
According to the GSM0340 agreement, the maximum length of content of short message is 140 bytes, can hold 140 8 bit character or binary data, 70 unicode characters or 160 7 bit character.For the segmented messages of cascade short message, need place cascade short message head in the content of short message starting position.
Cascade short message head with 8 bit reference numbers is an example, and cascade short message head length degree is 6 bytes, and the content of short message maximum length is 134 bytes.Under 8 bit character or binary data coding situation, minimum code unit is a byte, can not cause split the assigning in two segmented messages of coding of a character or binary data, need not fill character at the segmentation end.Under 7 bits of encoded situations, minimum code unit is 7 hytes, and 7 hytes are finished on 8 bit boundaries at the filler that can fill necessity between cascade short message head and the message content, can not cause split the assigning in two segmented messages of coding of a character or binary data, need not fill character at the segmentation end.But, for the unicode character, because the minimum code unit of unicode is 2 bytes, may cause split the assigning in two segmented messages of coding of a character or binary data, therefore when character-coded 2 byte of unicode are split when assigning in the different segmentations, need fill a null character (NUL) at last segmentation end, can guarantee that like this this character code is not split, guarantee the independence of every segmented messages content.Adopt the segmentation end to fill character after the mechanism, mobile phone terminal or other receiving device can show the message content of this segmentation immediately after receiving a cascade message fragment, do not need to wait for subsequent segment.
Segmentation affirmation mechanism of the present invention realizes short-message system cascade short message transmission method, owing to adopted by the cascade short message and divided segment acknowledgement, and the segmentation end mechanism of filling character, guaranteed the order of the message fragment that the cascade short message receiving is received, avoid losing of message fragment, guaranteed the reliability of cascade short message transmission, avoid same character to be split transmission simultaneously by two segmentations, guaranteed every segmented messages content mutual independence, can avoid the segmentation of cascade short message to lose, abnormal conditions such as dislocation, simultaneously because the strict transmission sequence of having guaranteed to divide short message, receiving terminal is whenever received a segmented messages, can independently decode and show this segmented messages content, improve the practicality of cascade short message service, flexibility and reliability.
Should be understood that the description of above-mentioned specific embodiment is comparatively detailed, can not therefore be interpreted as the restriction to scope of patent protection of the present invention, scope of patent protection of the present invention should be as the criterion with claims.

Claims (8)

1, a kind of segmentation affirmation mechanism realizes short-message system cascade short message transmission method, and described short-message system comprises: a short message transmitting terminal; One short message receiving receiving end; One short message service center end; Described short message service center end respectively with described short message transmitting terminal, described short message receiving receiving end control connection mutually, described cascade short message transmission method is as follows:
A, described short message transmitting terminal will wait that a cascade short message of sending out splits into a plurality of segmentations;
B, described message sending end send first segmentation by described short message service center end to described short message receiving receiving end, and wait-for-response;
After C, described short message service center end are received described first segmented messages, return response to described short message transmitting terminal immediately;
After D, described short message transmitting terminal received the success response of described first segmentation, described short message receiving receiving end was returned the receipt of described first segmentation to the short message transmitting terminal, and shows this segmentation message content, and the segment information of message fragment;
After E, described message sink end are received the success receipt of described first segmentation, repeat above step and continue to send subsequent segment.
2, method according to claim 1 is characterized in that, described short message service center end is to described short message receiving terminal, time threshold of setting when sending described first segmentation.
3, method according to claim 1 is characterized in that, described steps A also comprises:
A1, find the segmentation of cascade short message when described short message transmitting terminal same character is split in the different segmentations, then fill null character (NUL), the complete coding of this character is moved on in the back segmentation at last segmented messages end.
4, method according to claim 1 is characterized in that, described step D also comprises:
D1, when described short message receiving receiving end receives the failure response of described first segmentation, then short message service center analyzes its failure cause.
5, method according to claim 4 is characterized in that, described step D1 may further comprise the steps:
D11, receive response results when described short message transmitting terminal and show that described first is segmented into permanent error that then the cascade short message sends failure;
D12, receive response results when described short message transmitting terminal and show that described first is segmented into provisional mistake, then return and carry out above-mentioned steps B;
D13, do not receive first segmentation response results because of surpassing described time threshold, then return and carry out above-mentioned steps B when described short message transmitting terminal.
6, method according to claim 5 is characterized in that, the execution number of times of carrying out above-mentioned steps B that returns described in described step D12 or the D13 is provided with the limit.
7, method according to claim 1 is characterized in that, described step e is further comprising the steps of:
E1, receive described first minute segment fault receipt when described short message receiving receiving end, then the cascade short message sends failure;
E2, when described short message receiving receiving end because overtime threshold value and do not receive described first segmentation receipt, then the cascade short message sends failure.
8, method according to claim 1 is characterized in that, its form of described receipt is global system for mobile communications 0340 an agreement specified standard mobile phone receipt form.
CN 200810068256 2008-07-01 2008-07-01 Implementing cascade short message transmission method in short message system by segmenting affirmation mechanism Expired - Fee Related CN101321317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810068256 CN101321317B (en) 2008-07-01 2008-07-01 Implementing cascade short message transmission method in short message system by segmenting affirmation mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810068256 CN101321317B (en) 2008-07-01 2008-07-01 Implementing cascade short message transmission method in short message system by segmenting affirmation mechanism

Publications (2)

Publication Number Publication Date
CN101321317A true CN101321317A (en) 2008-12-10
CN101321317B CN101321317B (en) 2012-12-05

Family

ID=40181089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810068256 Expired - Fee Related CN101321317B (en) 2008-07-01 2008-07-01 Implementing cascade short message transmission method in short message system by segmenting affirmation mechanism

Country Status (1)

Country Link
CN (1) CN101321317B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977358A (en) * 2010-09-26 2011-02-16 北京握奇数据系统有限公司 Method, device and equipment for transmitting data short messages
CN104918240A (en) * 2006-06-29 2015-09-16 卢森特技术有限公司 SMPP (Short Message Peer to Peer) message processing for SMS (Short Message Service) spam filtering

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108631955A (en) * 2018-05-15 2018-10-09 网易(杭州)网络有限公司 It is a kind of to ensure that message sends reachable mthods, systems and devices

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100532274B1 (en) * 1999-09-08 2005-11-29 삼성전자주식회사 Apparatus for transfering long message in portable terminal and method therefor
US6529525B1 (en) * 2000-05-19 2003-03-04 Motorola, Inc. Method for supporting acknowledged transport layer protocols in GPRS/edge host application
JP3727247B2 (en) * 2001-03-02 2005-12-14 株式会社エヌ・ティ・ティ・ドコモ Information delivery management device, mobile communication terminal, information delivery confirmation system, and information delivery confirmation method
CN101047979A (en) * 2006-03-30 2007-10-03 华为技术有限公司 Process method for preventing retransmitting automatic retransmission request data
CN101162923A (en) * 2007-11-06 2008-04-16 中兴通讯股份有限公司 Transmission method and reception apparatus of ultra-long bluetooth short message

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918240A (en) * 2006-06-29 2015-09-16 卢森特技术有限公司 SMPP (Short Message Peer to Peer) message processing for SMS (Short Message Service) spam filtering
CN101977358A (en) * 2010-09-26 2011-02-16 北京握奇数据系统有限公司 Method, device and equipment for transmitting data short messages

Also Published As

Publication number Publication date
CN101321317B (en) 2012-12-05

Similar Documents

Publication Publication Date Title
CN102027461B (en) Extended messaging platform
CN102474512B (en) Method and system for encoding and decoding length of medium access control protocol data unit
EP2642788A1 (en) Method and device for improving robustness of context update message in robust header compression
CN101350858A (en) Method for decoding short message and user terminal
CN102160315A (en) Iterative decoding of blocks with cyclic redundancy checks
CN100349474C (en) Method for processing push notification in multimedia message service
CN101540740A (en) Prompting method of a plurality of instant communication windows, system and device thereof
CN113535432B (en) Data distribution method and device, electronic equipment and storage medium
CN101321317B (en) Implementing cascade short message transmission method in short message system by segmenting affirmation mechanism
CN104679888A (en) Device and method for data synchronization
CN1972494A (en) Processing method for signaling tracking
CN1988709A (en) Signalling tracking device
CN104901865A (en) Mobile-end instant messaging (IM) signal synchronization method based on global monotonic serial number
CN113242109B (en) Method, device and equipment for checking message data
CN113704002A (en) RPC component realization method based on private protocol and RPC component
CN109428676B (en) Method and device for synchronizing forward error correction coding and decoding modes
CN103391521A (en) Method, device and system for transmitting short message
CN1968441A (en) Method for implementation of predefined short message service
CN1988480A (en) Signalling tracing processing method
CN1297095C (en) Value added service request processing method
CN109361629B (en) Kafka-based large message reliable transmission method
CN112448932B (en) Message processing method and device
CN102891732A (en) Data sending method and device and data receiving method and device
CN113490165B (en) 4G module short message receiving and transmitting method for embedded system
CN108123721B (en) Encoding method and device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121205

Termination date: 20190701