[go: up one dir, main page]

CN1324914C - Short message transmitting method for PCS short message system - Google Patents

Short message transmitting method for PCS short message system Download PDF

Info

Publication number
CN1324914C
CN1324914C CNB2004100270242A CN200410027024A CN1324914C CN 1324914 C CN1324914 C CN 1324914C CN B2004100270242 A CNB2004100270242 A CN B2004100270242A CN 200410027024 A CN200410027024 A CN 200410027024A CN 1324914 C CN1324914 C CN 1324914C
Authority
CN
China
Prior art keywords
message
short message
section
short
length
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
CNB2004100270242A
Other languages
Chinese (zh)
Other versions
CN1571541A (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 CNB2004100270242A priority Critical patent/CN1324914C/en
Publication of CN1571541A publication Critical patent/CN1571541A/en
Application granted granted Critical
Publication of CN1324914C publication Critical patent/CN1324914C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a short message transmitting method of a PCS short message system. After receiving a short message transmitted by a short message entity, a short message center transmits the short message to a specified user. The present invention is characterized in that whether a short message is an ultralong short message or not is judged before transmission, if false, then the short message is directly transmitted; if true, then the whole ultralong short message is stored in a database, a segment is split from the beginning to be transmitted; whether the rest message is an ultralong short message or not is judged, if false, then the message is directly transmitted; if true, then another segment is split to be transmitted, and the operation is carried out until the message is completely transmitted; all segments can be transmitted one by one after the message is split. After each message segment is completely transmitted, post-treatment, such as charging, etc., is carried out. The treatment efficiency of a short message center is improved, and the reliability and the stability of a system are also guaranteed; particularly, the splitting method has no extra requirements to a network terminal and a cell phone terminal; the correct splitting of long messages and short messages can be completely guaranteed by the short message center.

Description

The method that the PCS short-message system sends SMS message
Technical field
The present invention relates to the short message field of mobile communication, relate in particular to of the transmission of PCS short-message system for super long short message.
Background technology
Along with the extensive use of PCS, the short message of PCS also obtains application more and more widely.The composition of the short-message system of PCS as shown in Figure 1, note system generally is made up of short message service center and outside Short Message Entity (ESME) two large divisions, short message service center is divided into business processing center module, operating maintenance module (OMM), accounting module (BM) and proxy module (SMPP) and forms, and is responsible for the storage forwarding work of short message.Outside Short Message Entity ESME, provides various and activates business via SMPP Agent access short message center by the SMPP agreement.
Along with the expansion and the variation of business, operator can provide various and professional select to use for the user, and these business all need be passed through external messaging entity ESME and link to each other with the PCS sms center, provides to the user with the form of note.Note entity and sms center carry out communication by the SMPP agreement, and the message that sms center is submitted to these external message entities is stored and transmitted, and these message are sent to the terminal use.Because the restriction of the air interface of PCS network at present, article one, the content of short message the longest can only be 116 just maximum 58 Chinese characters of byte or 116 English characters, and the message back that these external message entities send in the actual application is toward surpassing this restriction, can reach 254 bytes in the time of maximum, sms center just can not simply issue for the message of this overlength, and need carry out just issuing after message is unpacked, otherwise the message that the terminal use receives will be imperfect.Fractionation for long message has several difficult points: what at first be that message user's terminal after splitting can be correct shows there is not the phenomenon of mess code; The 2nd, the message after splitting should be received by the user according to sequencing; The 3rd, can only charge according to the rate of a normal short message after long message splits, and will after the user successfully receives all message, could charge.Because these three conditions make the transmission of long message that certain degree of difficulty be arranged in realization.
Summary of the invention
The technical problem to be solved in the present invention is the defective that exists at prior art, and a kind of method that sends for overlength message in a kind of new PCS short-message system is provided.
Technical scheme of the present invention is: short message service center sends for the user of appointment after receiving the short message that Short Message Entity sends, it is characterized in that, and before transmission, whether be that super long short message is judged to short message; If not, directly send; If, super long short message is left in the database for whole section, split out one section transmission from original position; Whether be that super long short message is judged to remaining part then, if not, directly send; If, split out one section transmission again, finish up to transmission.
Described fractionation for the message body of different type of codings, splits according to different modes.If short message all is a byte coding, can directly split and needn't scan, also can with the mode of scanning.If the coding of short message is a Chinese character code, to use the mode of scanning so, in the maximum length scope of the content of short message of interface permission aloft, the character of record byte code (as English, numeral etc.) number, decide the length of the message section of this transmission according to the parity of single-byte character number, if the maximum length-1 that air interface allows still is exactly the maximum length that air interface allows, thereby guarantee mess code can not occur.
In the present invention, the start offset amount and the length records of the short message section under at every turn splitting are got off, the start offset amount that one section the start offset amount in back equals the preceding paragraph adds the length of the last period, and the start offset amount of final stage adds that length equals the length of whole short message.
Technical scheme of the present invention can be: short message service center sends for the user of appointment after receiving the short message that Short Message Entity sends, it is characterized in that, and before transmission, whether be that super long short message is judged to short message; If not, directly send; If whole section of super long short message is left in the database and splits with the mode that scans; To the short message section that splits into, come mark with the start offset amount and the length of each section, the value of back one section start offset amount is the length that the start offset amount of the last period adds the last period; Send piecemeal by the message section after splitting then.
Charging in the technical solution of the present invention, be each message section all send finish after, subsequent treatment such as just charge.
Adopt technical solution of the present invention, do not increase the processing of short message service center's database aspect storage short message, also a short message for the short message storage, and also at most only need carry out 3 scanning to the scanning of long message, improve the treatment effeciency of sms center, also guaranteed the reliability and stability of system.Particularly crucial is that this method for splitting does not have extra requirement for network and mobile phone terminal, just can be guaranteed the correct fractionation of long message fully by short message service center.
Description of drawings
Fig. 1 shows the composition of PCS short-message system;
Fig. 2 shows the flow chart that sms center sends long message;
Fig. 3 shows long message does not have to split situation about writing down in the preceding database;
Fig. 4 shows situation about writing down in the database when sending first section message after long message splits;
After Fig. 5 shows first section of long message and sends successfully, carry out the situation that second section message writes down in the database when splitting;
Fig. 6 shows situation about writing down in the database when sending length message final stage message.
Embodiment
On the basis of the original storage short message information of sms center, increase by two attribute items of long message: the start offset amount (cur_UDOffset) of length of the message section of current transmission (cur_UDLen) and current transmission message, increasing these two attribute items can will grow message and leave in the database for whole section in short-message system, only just can obtain the current message content that will send, can unnecessaryly scan once more when under the situation of message transmission failure, carrying out retry and just can obtain the message content and the length that will send whole message according to the length of side-play amount and current message; The sending order of the message after the fractionation is also guaranteed to have only after the last period, message was correctly received by the user by these two attribute items, just can carry out the transmission of next section message; After all message sections were all successfully received by the user, sms center just can charge, and only collects according to the expense of a piece of news.If in the process that sends, a certain section message sends has forever failed, and so follow-up message section no longer sends, and sms center can be to this long message collection of charges, because the user does not have complete all message of receiving.
Because the single hop length when splitting allows the maximum message length of transmission closely related with actual air interface, following description is that 116 bytes are carried out with air interface.
One embodiment of the present invention are:
When the length overlength of one section new message that will send, begin to scan from current short message side-play amount backward.Owing to there is the character of byte and double-byte encodings in the message body, therefore scanning is in order there not to be mess code to exist in the message section that guarantees to send.The principle of scanning is: in maximum length (being 116 bytes at present) scope of the content of short message of interface permission aloft, the number of the character of record byte code, to decide the length of the message section of this transmission be the maximum length-1 that allows of air interface or be exactly the maximum length that air interface allows according to the parity of the number of characters of byte coding.
The value record of these two attributes of start offset amount (cur_UDOffset) of length of the message section of current transmission (cur_UDLen) and current transmission message is in the database of sms center, after sms center receives that exhale the response of message end, just can know that according to these two values the message of current transmission is the message of which section, and according to exhaling the paging result in the message response to judge whether this section message is accepted by the user eventually.If the user has received this section message, sms center is revised this two property values so, the length (ur_UDLen) that this sends message section is write down in the scanning and the transmission of the new one section message of the start offset amount (cur_UDOffset) of the current transmission message after change beginning simultaneously then.
Another embodiment of the invention is: the mode with scanning splits super long short message earlier, sends piecemeal then.Give each message section also with start offset amount and length records.
Below in conjunction with accompanying drawing, illustrate first kind of execution mode of the present invention.Second kind of execution mode is except that above-mentioned difference, and other parts are identical with first kind of execution mode, are not described in detail.
Present overlength message all sends to sms center from the external message entity, and as shown in Figure 2, sms center is received the short message that the external message entity is submitted to, after a series of processing such as authentication, sends this message for the user of appointment in the message.Before carrying out exhaling end, judge whether this message is overlength message, if then sms center will split, segmentation sends message in order, if just directly transmission of overlength.Concrete fractionation scheme is as follows:
Suppose the overlength message (254 bytes are maximum message bodies that defined SUBMIT_SM allowed in the smpp3.4 agreement) that sms center receives that a length is 254 bytes, sms center is as follows to the step that this note issues so:
The first step: keep this short message in the database of short message, wherein UDLen writes down the length of short message, and cur_UDOffset and cur_UDLen are 0, and this is the initial condition before splitting, referring to Fig. 3;
Second step: carry out the fractionation of first section message, begin short message scanned from current short message side-play amount cur_UDOffset this moment, obtains the message-length that this time issues.The message-length that record this time issues in cur_UDLen, as shown in Figure 4, message between the cur_Offset+cur_UDLen is exactly this message content that issues, when message issues unsuccessfully need carry out retry the time, just can know that according to cur_offset and cur_UDLen the message of needs retry is the message of which section
The 3rd step: after one section message sends successfully, change the side-play amount cur_UDOffset of short message, current cur_UDOffset is that the side-play amount of last time is moved the message byte number that sent last time backward, be cur_UDOffset=cur_UDOffset+cur_UDLen, if Sheng Xia message also needs to split then, carry out message scanning according to the method in second step, determine the message section that this issues, as shown in Figure 5;
The 4th step: after final stage message sends successfully, current side-play amount cur_UDOffset in the short message table and the situation of current message-length cur_UDLen are as shown in Figure 6, this moment is by judging the length UDLen whether cur_UDOffset and cur_UDLen sum equal short message just can know whether all message sections have all sent success to this long message, follow-up processing such as charge then;
So far, article one, logical transmission of long message all finishes, if in the process that sends message section, there is any one section message to send permanent failure, so follow-up message just no longer sends, the processing of also not chargeing, all long message split order when sending guarantee and sends successfully the just assurance of charging all foundation (cur_UDOffset+cur_UDLen)==whether this equation of UDLen set up.
In sum, adopt technical solution of the present invention, only in database, increased by two fields and just can very simply realize among the PCSSC, and guaranteed the system processing power and the efficient of sms center for the handling problem of growing message.In the note system of G net and C net, also do not handle the ability that long message sends, just can not send overlength message to sms center by agreement regulation with ESME, therefore if necessary, this Fang Ming also can be applied in G net and C net.

Claims (5)

1, the method that sends SMS message of a kind of PCS short-message system, short message service center sends for the user of appointment after receiving the short message that Short Message Entity sends, it is characterized in that, before transmission, whether be that super long short message is judged to short message; If not, directly send; If, super long short message is left in the database for whole section, split out one section transmission from original position, described fractionation to the short message of byte coding, directly splits; The short message of non-byte coding is used the mode of scanning, in the maximum length scope of the content of short message of interface permission aloft, the number of the character of record byte code, to decide the length of the message section of this transmission be the maximum length-1 that allows of air interface or be exactly the maximum length that air interface allows according to the parity of the number of characters of byte coding; Whether be that super long short message is judged to remaining part then, if not, directly send; If, split out one section transmission again, finish up to transmission.
2, the method that sends SMS message of the described PCS short-message system of claim 1, it is characterized in that, the start offset amount and the length records of the short message section under at every turn splitting are got off, the start offset amount that one section the start offset amount in back equals the preceding paragraph adds the length of the last period, and the start offset amount of final stage adds that length equals the length of whole short message.
3, the method that sends SMS message of the described PCS short-message system of the arbitrary claim of claim 1 to 2 is characterized in that, short message send finish after, the subsequent treatment of just chargeing.
4, the method that sends SMS message of a kind of PCS short-message system, short message service center sends for the user of appointment after receiving the short message that Short Message Entity sends, it is characterized in that, before transmission, whether be that super long short message is judged to short message; If not, directly send; If, whole section of super long short message left in the database and split with the mode of scanning, described fractionation, to the short message of byte coding, directly fractionation; Short message to non-byte coding, the number of the character of record byte code, to decide the length of the message section of this transmission be the maximum length-1 that allows of air interface or be exactly the maximum length that air interface allows according to the parity of the number of characters of byte coding; To the short message section that splits into, come mark with the start offset amount and the length of each section, the value of back one section start offset amount is the length that the start offset amount of the last period adds the last period; Send piecemeal by the message section after splitting then.
5, the method that sends SMS message of the described PCS short-message system of claim 4 is characterized in that, after each message section all sends and finishes, and the subsequent treatment of just chargeing.
CNB2004100270242A 2004-04-22 2004-04-22 Short message transmitting method for PCS short message system Expired - Fee Related CN1324914C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100270242A CN1324914C (en) 2004-04-22 2004-04-22 Short message transmitting method for PCS short message system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100270242A CN1324914C (en) 2004-04-22 2004-04-22 Short message transmitting method for PCS short message system

Publications (2)

Publication Number Publication Date
CN1571541A CN1571541A (en) 2005-01-26
CN1324914C true CN1324914C (en) 2007-07-04

Family

ID=34480848

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100270242A Expired - Fee Related CN1324914C (en) 2004-04-22 2004-04-22 Short message transmitting method for PCS short message system

Country Status (1)

Country Link
CN (1) CN1324914C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100399839C (en) * 2005-02-21 2008-07-02 宏碁股份有限公司 Short message character string interception method
CN100377613C (en) * 2005-06-01 2008-03-26 海信集团有限公司 Encryption method for short message of mobile telephone
CN100396115C (en) * 2005-07-28 2008-06-18 华为技术有限公司 A method of billing short messages
CN101111057B (en) * 2006-07-19 2010-06-16 中兴通讯股份有限公司 System information broadcasting method
CN100499938C (en) * 2007-04-02 2009-06-10 华为技术有限公司 Method and device for reminding SMS split
CN101400024B (en) * 2007-09-28 2011-02-09 华为技术有限公司 A method and device for load sharing at signaling network element level
CN101459626B (en) * 2008-01-22 2012-05-09 中兴通讯股份有限公司 Message transmission control method for IP multimedia subsystem
CN101577874B (en) * 2009-06-05 2012-03-28 中兴通讯股份有限公司 Method for processing short massage and short massage service center

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283938A (en) * 1999-03-19 2001-02-14 三星电子株式会社 Data sending and receiving device and method of digital mobile station
CN1298272A (en) * 1999-11-30 2001-06-06 三星电子株式会社 Method for receiving & transmitting multimedia data with short message service on mobile phone
CN1409564A (en) * 2001-09-26 2003-04-09 微软公司 Multiple partial news communication between honeyomb equipment using standard interface
US6597918B1 (en) * 1999-09-08 2003-07-22 Samsung Electronics Co., Ltd. Apparatus and method for transmitting/receiving long message in digital portable terminal
CN1444378A (en) * 2002-03-11 2003-09-24 联想(北京)有限公司 Ultra-long short message sending method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283938A (en) * 1999-03-19 2001-02-14 三星电子株式会社 Data sending and receiving device and method of digital mobile station
US6597918B1 (en) * 1999-09-08 2003-07-22 Samsung Electronics Co., Ltd. Apparatus and method for transmitting/receiving long message in digital portable terminal
CN1298272A (en) * 1999-11-30 2001-06-06 三星电子株式会社 Method for receiving & transmitting multimedia data with short message service on mobile phone
CN1409564A (en) * 2001-09-26 2003-04-09 微软公司 Multiple partial news communication between honeyomb equipment using standard interface
CN1444378A (en) * 2002-03-11 2003-09-24 联想(北京)有限公司 Ultra-long short message sending method

Also Published As

Publication number Publication date
CN1571541A (en) 2005-01-26

Similar Documents

Publication Publication Date Title
US8054971B2 (en) Free-hand mobile messaging-method and device
US20050176449A1 (en) Method and system for simplified access to alerts with a mobile device
US20060078064A1 (en) Method and radio communication device for the transmission-efficent editing of multimedia news
CN1515121A (en) Method and system for receiving data using short message service and wireless Internet
US20070180037A1 (en) Method For Processing Push Notification In Multimedia Message Service
CN1324914C (en) Short message transmitting method for PCS short message system
WO2003103218A2 (en) Method and apparatus for controlling data provided to a mobile device
CA2420145A1 (en) System and method for pushing calendar event messages from a host system to a mobile data communication device
CN101031101A (en) Method and device for reminding SMS split
CN100566302C (en) E-mail display method and system
CN101814971A (en) Method for transmitting mobile phone file
CN1371232A (en) Icon and cartoon managing method and data structure and command executing mobile terminal
US20030003931A1 (en) Transmission of messages in telecommunication system
CN1842194A (en) Automatic time setting method for mobile terminal
CN1444378A (en) Ultra-long short message sending method
CN1968441A (en) Method for implementation of predefined short message service
CN101621771B (en) Method, device and system for processing short message encoding
JP4642903B2 (en) Message conversion system and method with enhanced context recognition
CN111757282B (en) Short message sending method and device
CN102572748B (en) Enterprise signature device, system and method
CN101035372A (en) Fast matching method of AT instruction identifier
CN1829352A (en) Mobile communication terminal data management method using sim card
CN100521694C (en) Method and apparatus for implementing service transfer among accounts in communication
CN101272533A (en) Implementing method and processing method for informing user of unread message number
CN1992626A (en) Method for establishing universal discussion group in instant communication

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: 20070704

Termination date: 20190422