CN101841784A - Method for CDMA terminal to interact PDU format SMSs with other terminals - Google Patents
Method for CDMA terminal to interact PDU format SMSs with other terminals Download PDFInfo
- Publication number
- CN101841784A CN101841784A CN 201010121683 CN201010121683A CN101841784A CN 101841784 A CN101841784 A CN 101841784A CN 201010121683 CN201010121683 CN 201010121683 CN 201010121683 A CN201010121683 A CN 201010121683A CN 101841784 A CN101841784 A CN 101841784A
- Authority
- CN
- China
- Prior art keywords
- pdu
- cdma
- note
- field
- 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.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a realization method for a CDMA terminal to interact PDU format SMSs with other terminals, which comprises the following steps that: when receiving the PDU format SMSs of a correspondent end, the CDMA terminal analyzes the PDU format SMSs according to the definitions of all fields in a PDU packet, extracts the contents of all fields related to a CDMA SMS protocol and correspondingly processes the same; and when the SMSs are sent to the correspondent end, the CDMA terminal generates corresponding PDU format SMSs and sends the same to the correspondent end according to the combinations of the contents of all the fields of the CDMA SMSs to be sent based on the structure of the PDU packet regulated by a PDU code. The method for the CDMA terminal to interact PDU format SMSs with other terminals realizes the function of the CDMA terminal to support the PDU format SMSs, improves the product competitiveness of the CDMA terminal, and enhances the compatibility of a PC tool of a CDMA/GSM dual-mode terminal.
Description
Technical field
The present invention relates to communication technical field, relate in particular to the method for a kind of CDMA terminal and the mutual PDU form of other-end note.
Background technology
At present, mobile phone user's quantity rapidly increases.Be accompanied by the surge of cellphone subscriber's quantity, mobile communication system inevitably can be often with overload state work, and this will cause mobile phone the time to be easy to occur being similar in communication going offline, cross-talk, faults such as speech quality is bad, networking speed is slow, packet loss.At the problems referred to above, carrying out the network optimization or mobile communication system is carried out the network capacity extension is the measure that present operator widely takes.And on the basis of existing network, release the dual-mode handset of supporting GSM network and cdma network simultaneously, the user freely is switched between GSM network and cdma network, thereby avoid call drop effectively, problems such as the difficulty of conversing and lower tone.Compare and use single GSM network or cdma network to converse, the superiority of dual-mode handset that combines two network optimization gesture is self-evident naturally.
For the terminal of supporting the CDMA/GSM bimodulus,, also to support the note of CDMA form except supporting GSM form note.Owing to support TEXT (text) pattern and PDU (protocol Data Unit) pattern under the GSM standard, and can only support the TEXT pattern at present under the CDMA standard.So, for the note AT instruction interface of unified product, realize that same note AT instruction can both correctly be handled under two kinds of different standards, be necessary to propose the solution that a kind of CDMA of realization terminal is supported the PDU pattern.
Summary of the invention
Technical problem to be solved by this invention provides the implementation method of a kind of CDMA terminal and the mutual PDU form of other-end note, realize the function of CDMA terminal support PDU pattern, strengthen the compatibility of the PC instrument of CDMA/GSM dual-mode terminal, improve the competitiveness of CDMA terminal.
For solving the problems of the technologies described above, the present invention adopts following solution:
The implementation method of a kind of CDMA terminal and the mutual PDU form of other-end note comprises:
When receiving the PDU form note of opposite end, the CDMA terminal is wrapped the implication of each field this PDU form note is resolved according to PDU, carries out respective handling after extracting each field contents relevant with the CDMA short message protocol;
When the opposite end sends note, the CDMA terminal is according to the structure of the PDU bag of PDU regulation and stipulation, according to sending to the opposite end after the corresponding PDU form note of each field contents combination generation of CDMA note to be sent.
Wherein, the PDU form note of described opposite end comprises SCA, PDUType, MR, DA, PID, DCS, VP, UDL, UD field.
Wherein, for the UD field in the PDU form note, if content adopts 7 GSM codings in this UD field, then the CDMA terminal adopts following analytic method to obtain the actual characters number of short message content to it:
Divided by 7, if do not divide exactly, the merchant who obtains so is the actual characters number of short message content with total BIT figure place of this UD field; If divide exactly and high 7 BIT positions of last byte of this UD field all are 0, the actual characters number of short message content subtracts 1 for the merchant so, otherwise the merchant who obtains is the actual characters number of short message content.
Wherein, the PDU of described PDU regulation and stipulation comprises SCA, PDUType, OA, PID, DCS, SCTS, UDL, UD field.
The present invention has following beneficial effect:
1) the present invention has realized the function of CDMA terminal support PDU form note, has improved the competitiveness of CDMA terminal.
2) for the CDMA/GSM dual-mode terminal, the method that adopts the present invention to propose, under GSM and two kinds of standards of CDMA, all can handle PDU form note and TEXT form note, the PC instrument no longer needs to judge that according to the standard of current terminal note operates employed pattern, and directly adopt suitable mode easily to carry out the note operation, reduce the development difficulty of PC instrument, and strengthened the compatible uniformity of CDMA/GSM standard instrument.
Description of drawings
Fig. 1 is a method flow diagram of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples:
In the present embodiment, the CDMA terminal is the wireless terminal of any support CDMA standard, supports the SMS business, and can support the professional relevant AT instruction of SMS of PDU form; The TE terminal be any by AT instruction and CDMA terminal interaction to finish the equipment of SMS business.
As shown in Figure 1, the method of CDMA terminal proposed by the invention and TE terminal interaction PDU form note mainly comprises two processes: the processing procedure after the PDU form note of CDMA terminal reception TE terminal, and the processing procedure of CDMA terminal when the TE terminal sends PDU form note, will describe respectively below.
PDU form note for the TE terminal is sent mainly comprises SCA, PDUType, MR, DA, PID, DCS, VP, UDL, UD field, and the CDMA terminal is resolved this PDU form note according to the implication that PDU wraps each field receiving the back:
1.SCA field: its content is a short message centre number, for CDMA, does not use meaning, so this field can be ignored;
2.PDUType field: comprise RP attribute bit, UDHI attribute bit, SRR attribute bit, VPF attribute bit, RD attribute bit, MTI attribute bit; Wherein, the RP attribute bit is meaningless to CDMA, so ignore; The UDHI attribute bit is the UDHI long SMS Warning Mark position of the CDMA of correspondence; The SRR attribute bit represents whether need returning short message; The VPF attribute bit represents that current note has or not the term of validity information and the term of validity to represent mode; The RD attribute bit is meaningless to CDMA, so ignore; The MTI attribute bit is represented short message type;
3.MR field: its content is the call number of corresponding CDMA, for the wall scroll note, and the ID of promptly current transmission note number;
4.DA field: its content is addressee's a number, can carry out corresponding parsing according to standard, and the addressee of corresponding CDMA note is set then;
5.PID field does not have any meaning, directly ignores to get final product;
6.DCS field: comprise the coded message of short message content, can separate out corresponding coded system according to biased the transfering from one place to another under escort of the BIT of correspondence, and the corresponding field setting of CDMA note is got final product;
7.VP field: be the content of the real note term of validity, can be provided with in conjunction with the VPF field of front corresponding field to the CDMA note;
8.UDL field: its content is the length of the short message content of back UD field;
9.UD field: it should be noted that, the short message content of UD field is encoded, for the GSM terminal, need not to resolve, but for the CDMA terminal, must know the definite number of the contained character of short message content, so, be easy to therefrom to parse the actual content of note if adopt UNICODE coding or 8 codings; But if 7 GSM coding, content just need be carried out special parsing according to following algorithm so: divided by 7, if do not divide exactly, the merchant who obtains so is the actual characters number of short message content with total BIT figure place of UD field; If divide exactly, need so last byte of UD field is judged: if high 7 the BIT positions of this byte all are 0, the actual characters number of short message content subtracts 1 for the merchant so, otherwise the merchant who obtains is the actual characters number of short message content;
Like this, according to the content of above field the CDMA note is carried out after correspondence is provided with, and then other CDMA field is carried out default setting, the CDMA terminal just can send and store according to common CDMA note.
For CDMA note that receives or the CDMA note that reads, the CDMA terminal equally also need report the TE terminal according to the PDU pattern.According to the PDU standard, recipient's PDU bag will comprise SCA, PDUType, OA, PID, DCS, SCTS, UDL, UD field.Compare with transmit leg, the recipient is a group PDU bag, and transmit leg is XiePDUBao.So in the present embodiment, the CDMA terminal is when the TE terminal sends note, generates corresponding PDU according to every field combination of the CDMA note that receives or read and wrap and offer TE and get final product:
1.SCA field: its content is a short message centre number, for CDMA, does not use, and gets final product so this part field directly fills 0;
2.PDUType field: need fill corresponding BIT position according to standard according to the UDHI flag bit and the type of the CDMA note that receives or read, then other position 0 be got final product;
3.OA field: be sender's number, the sender information of note is filled according to standard get final product;
4.PID field: do not have what meaning, directly fill 00;
5.DCS field: because the corresponding several different coded systems of identical 7BIT coding meeting, and only support a kind of coded system (i.e. Mo Ren 7 GSM coded systems) in the PDU standard, so so long as 7BIT coding, all handle according to 7 GSM coded systems of acquiescence earlier, set up after the position of DCS correspondence, other positions 0 are filled into the field of PDU correspondence;
6.SCTS field: i.e. timestamp, if comprise timestamp in the CDMA note, then be filled into the PDU bag and get final product, if do not have, then obtain the current time and fill;
7.UDL field: be the decoding shared byte number of short message content before.
8.UD field: the front is mentioned, and what it was filled is through the short message content after the coding, very simple for 8 and 16, only content need be copied over just passable; But for 7 codings, if the coded system of the short message content of receiving or reading is not 7 GSM coded systems of acquiescence that PDU supports, need carry out code conversion to short message content, that is to say, coded system according to the current use of short message content decompresses earlier, carry out compressed encoding according to 7 GSM coded systems of acquiescence again, the content after will encoding is at last filled into;
Like this, after finishing the group bag of each field of PDU, PDU is reported the TE terminal with the character format of 16 systems get final product.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of the claim scope of the present invention.
Claims (4)
1. the implementation method of CDMA terminal and the mutual PDU form of other-end note is characterized in that this method comprises:
When receiving the PDU form note of opposite end, the CDMA terminal is wrapped the implication of each field this PDU form note is resolved according to PDU, carries out respective handling after extracting each field contents relevant with the CDMA short message protocol;
When the opposite end sends note, the CDMA terminal is according to the structure of the PDU bag of PDU regulation and stipulation, according to sending to the opposite end after the corresponding PDU form note of each field contents combination generation of CDMA note to be sent.
2. the implementation method of CDMA terminal as claimed in claim 1 and the mutual PDU form of other-end note is characterized in that, the PDU form note of described opposite end comprises SCA, PDUType, MR, DA, PID, DCS, VP, UDL, UD field.
3. the implementation method of CDMA terminal as claimed in claim 2 and the mutual PDU form of other-end note, it is characterized in that, for the UD field in the PDU form note, if content adopts 7 GSM codings in this UD field, then the CDMA terminal adopts following analytic method to obtain the actual characters number of short message content to it:
Divided by 7, if do not divide exactly, the merchant who obtains so is the actual characters number of short message content with total BIT figure place of this UD field; If divide exactly and high 7 BIT positions of last byte of this UD field all are 0, the actual characters number of short message content subtracts 1 for the merchant so, otherwise the merchant who obtains is the actual characters number of short message content.
4. the implementation method of CDMA terminal as claimed in claim 1 and the mutual PDU form of other-end note is characterized in that the PDU of described PDU regulation and stipulation comprises SCA, PDUType, OA, PID, DCS, SCTS, UDL, UD field.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010121683 CN101841784A (en) | 2010-03-10 | 2010-03-10 | Method for CDMA terminal to interact PDU format SMSs with other terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010121683 CN101841784A (en) | 2010-03-10 | 2010-03-10 | Method for CDMA terminal to interact PDU format SMSs with other terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101841784A true CN101841784A (en) | 2010-09-22 |
Family
ID=42744832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010121683 Pending CN101841784A (en) | 2010-03-10 | 2010-03-10 | Method for CDMA terminal to interact PDU format SMSs with other terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101841784A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180192293A1 (en) * | 2017-01-03 | 2018-07-05 | Alibaba Group Holding Limited | Fake Base Station Short Message Identification |
CN108282256A (en) * | 2017-01-06 | 2018-07-13 | 中兴通讯股份有限公司 | Information processing method and terminal |
CN115022824A (en) * | 2022-06-02 | 2022-09-06 | 河南信安通信技术股份有限公司 | Method and device for detecting startup and shutdown of mobile phone by using non-inductive short message |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1679356A (en) * | 2002-07-09 | 2005-10-05 | 高通股份有限公司 | Short message conversion between different formats for wireless communication systems |
-
2010
- 2010-03-10 CN CN 201010121683 patent/CN101841784A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1679356A (en) * | 2002-07-09 | 2005-10-05 | 高通股份有限公司 | Short message conversion between different formats for wireless communication systems |
Non-Patent Citations (1)
Title |
---|
《微计算机信息》 20090925 强浩 G/C双模双待机CDMA侧短消息功能的实现 第1页至第2页 1-4 第25卷, 第9-3期 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180192293A1 (en) * | 2017-01-03 | 2018-07-05 | Alibaba Group Holding Limited | Fake Base Station Short Message Identification |
WO2018129083A1 (en) * | 2017-01-03 | 2018-07-12 | Alibaba Group Holding Limited | Fake base station short message identification |
US10771979B2 (en) | 2017-01-03 | 2020-09-08 | Alibaba Group Holding Limited | Fake base station short message identification |
CN108282256A (en) * | 2017-01-06 | 2018-07-13 | 中兴通讯股份有限公司 | Information processing method and terminal |
CN108282256B (en) * | 2017-01-06 | 2022-05-13 | 中兴通讯股份有限公司 | Information processing method and terminal |
CN115022824A (en) * | 2022-06-02 | 2022-09-06 | 河南信安通信技术股份有限公司 | Method and device for detecting startup and shutdown of mobile phone by using non-inductive short message |
CN115022824B (en) * | 2022-06-02 | 2024-03-22 | 河南信安通信技术股份有限公司 | Method and device for detecting on/off of mobile phone by using non-inductive short message |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100425081C (en) | Code-conversion method for shortmessage receiving and transmitting and network apparatus used thereof | |
EP2509344A1 (en) | Method for transmitting and receiving multimedia information and terminal thereof | |
CN107105414A (en) | A kind of income system and method for Big Dipper RDSS short messages and SMS | |
TWI531919B (en) | System of document transceiving, device of document transceiving and method thereof | |
CN102202010A (en) | Message transmission client and communication method with combination of short message and network | |
CN101156424A (en) | Method, system and device for limiting forwarding short message | |
CN101001403B (en) | Expansing codeless conversion operation in system of personal mobile phone | |
CN101841784A (en) | Method for CDMA terminal to interact PDU format SMSs with other terminals | |
KR101565765B1 (en) | Interface between 3gpp networks and 3gpp2 networks for wap text messaging | |
CN1848973B (en) | Short message group transmitting method, terminal and short message center | |
CN101252410B (en) | Method for reducing IP routing protocol band-width occupation | |
CN101635892A (en) | Method for uniformly coding and decoding message contents and integrated short message center system | |
CN101106754B (en) | A method for transmitting SMS to gateway in mobile network | |
CN100373962C (en) | Shortmessage cluster sending method and platform therefor | |
CN101141702B (en) | Short message report processing method and system of black list book | |
CN102868980A (en) | MMS (multimedia message) sending method and communication terminal | |
KR100956793B1 (en) | Method and Server for Transforming Message Format for Interworking between Different Message Standards | |
CN101516067A (en) | System and method for sending multimedia message-storing addresses | |
CN101227496A (en) | Apparatus, system and method for sending propelling movement as well as method for sending message | |
CN101583103A (en) | Transmitting or receiving method of short messages in text mode and device | |
CN101163277A (en) | Information processing method and subscriber terminal | |
CN102487493B (en) | Short message processing method and international intercommunication gateway | |
CN101754482B (en) | Gateway and message processing system and method | |
CN100396118C (en) | Short-message cluster-sending method and apparatus | |
CN101835116B (en) | Method and system for realizing CLASS 0 short message transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100922 |
|
RJ01 | Rejection of invention patent application after publication |