CN100527868C - Terminal terminal and its short message decoding method - Google Patents

Terminal terminal and its short message decoding method Download PDF

Info

Publication number
CN100527868C
CN100527868C CNB2005100892692A CN200510089269A CN100527868C CN 100527868 C CN100527868 C CN 100527868C CN B2005100892692 A CNB2005100892692 A CN B2005100892692A CN 200510089269 A CN200510089269 A CN 200510089269A CN 100527868 C CN100527868 C CN 100527868C
Authority
CN
China
Prior art keywords
side terminal
decoding
decoded
decoding policy
policy
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.)
Active
Application number
CNB2005100892692A
Other languages
Chinese (zh)
Other versions
CN1852520A (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.)
Huawei Device Co Ltd
Original Assignee
Shenzhen Huawei Communication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CNB2005100892692A priority Critical patent/CN100527868C/en
Publication of CN1852520A publication Critical patent/CN1852520A/en
Application granted granted Critical
Publication of CN100527868C publication Critical patent/CN100527868C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is in use for solving not compatible issue of decoding terminal number of sending party in short message in current technique. The method includes steps: after receiving short message, terminal of receiving party picks up information of terminal number of sending party; using first decoding strategy, the terminal of receiving party decodes information of terminal number of sending party; if decoding is successful, then displaying terminal number of sending party on terminal at receiving party; otherwise, using second decoding strategy, the terminal of receiving party decodes information of terminal number of sending party, and displaying terminal number of sending party on terminal at receiving party.

Description

The method of portable terminal and decoding short message thereof
Technical field
The present invention relates to wireless domain, particularly relate to the method for portable terminal and decoding short message thereof.
Background technology
Along with the development of 3G (Third Generation) Moblie, the popular protocol that a kind of network (TDS-CDMA) agreement of CDMA2000 agreement, time division multiple access and code division multiple access combination and WCDMA agreement will become 3G (Third Generation) Moblie.Short message requires it that different agreements is had favorable compatibility as an important service of moving communicating field, and then requires the encoding and decoding strategy to have favorable compatibility.
At present, the termination number in the CDMA2000 note adopts 4 DTMF or 8 DTMF to carry out encoding and decoding.For example 4 dtmf code strategies are as follows:
Numeral ` 1 `-` 9 ` are encoded to 1-9;
Numeral ` 0 ` is encoded to 0xA;
Symbol ` * ` is encoded to 0xB;
Symbol ` # ` is encoded to 0xC.
And the termination number in the present WCDMA note adopts 4 BCD or 8 BCD to carry out encoding and decoding.For example 4 BCD coding strategies are as follows:
Numeral ` 1 `-` 9 ` are encoded to 1-9;
Numeral ` 0 ` is encoded to 0;
Symbol ` * ` is encoded to 0xA;
Symbol ` # ` is encoded to 0xB.
Owing to do not stipulate to show the field of coding strategy in " TIA/EIA-637-A " note standard, so as seen by above-mentioned coding strategy, if the WCDMA portable terminal adopts 4 BCD coding strategies that the sending side terminal number is encoded, receiving side terminal is the CDMA2000 portable terminal, it adopts 4 DTMF decoding policies that the termination number in the note of receiving is decoded, so because 4 DTMF decoding policies exist different with 4 BCD coding strategies, promptly to numeral ' 0 ' encoding and decoding strategy difference, numeral ' 0 ' in the sending side terminal number can not be correctly decoded by the CDMA2000 portable terminal, and the CDMA2000 mobile phone users can not be seen correct sending side terminal number.
In like manner, different as long as sending side terminal and receiving side terminal exist on to termination number encoding and decoding strategy, all may cause receiving side terminal to be correctly decoded.
At present, for the encoding and decoding of short message content, receiving side terminal is the portable terminal of CDMA2000, and the short message content in its note of receiving is apprised of to adopting gsm7bit coding strategy coding, but sending side terminal may adopt the gsm7bit coding strategy, or adopts the ascii coding strategy.If receive the CDMA2000 portable terminal according to the information of informing, directly adopt the gsm7bit decoding policy to decode, then when sending side terminal adopted the ascii coding strategy that the content in the note is encoded, decoded result was a mess code.
Summary of the invention
The invention provides the method to the note number decoding, in order to the solution prior art sending side terminal number in the note being decoded exists incompatible problem.
The invention provides portable terminal, in order to support described method to the note number decoding.
The present invention also provides a kind of method to the short message content decoding, and in order to the solution prior art short message content in the note being decoded the problem of mess code to occur.
The present invention also provides a kind of portable terminal, in order to support described method to the short message content decoding.
The present invention check numbers the decoding method comprise step:
Receiving side terminal extracts the sending side terminal number information after receiving note;
Described receiving side terminal is decoded to the sending side terminal number information with first decoding policy, and according to whether there being the character that does not belong to termination number in the decoded information, judges whether the decoding of first decoding policy is successful;
If decode successfully, then on this receiving side terminal, show the sending side terminal number; Otherwise, with second decoding policy sending side terminal number information is decoded, and decoded result is presented on the described receiving side terminal.
Described first decoding policy is and the corresponding number decoding policy of the number coding strategy of receiving side terminal.
Described first decoding policy is two-stage dialing decoding policy (DTMF).
Described second decoding policy is the corresponding number decoding policy of sender number coding strategy.
Described second decoding policy is binary-coded decimal system decoding policy (BCD).
According to said method of the present invention, also comprise: short message content is decoded; Be specially:
If it is with 7 coding strategy gsm7bit codings of global mobile communication that receiving side terminal is apprised of the short message content of the note that receives, then whether this receiving side terminal length of judging original contents is identical with content-length behind the coding, and judge in the message flow behind the coding whether have the compensation position;
If length is identical and do not have the compensation position, then described short message content is decoded, and decoded result is presented on this receiving side terminal with ASCII(American Standard Code for information interchange) decoding policy ascii;
Otherwise, with the gsm7bit decoding policy described short message content is decoded, and decoded result is presented on this receiving side terminal.
Described content-length is unit with the byte.
Described receiving side terminal obtains the length information of original contents from the message flow behind the coding.
Judge whether to exist the compensation position according to the content that is used for carrying the field that compensates position information in the message flow behind the described coding.
Another kind of the present invention comprises the following steps: the method for note number decoding
Receiving side terminal extracts the sending side terminal number information after receiving note;
According to whether existing the character that does not belong to first decoding policy to judge whether to be fit to utilize first decoding policy to decode in the described sending side terminal number information;
If then the sending side terminal number information is decoded with first decoding policy;
Otherwise, the sending side terminal number information is decoded with second decoding policy.
Described first decoding policy is and the corresponding number decoding policy of the number coding strategy of receiving side terminal.
According to said method of the present invention, also comprise: short message content is decoded; Be specially:
If it is with 7 coding strategy gsm7bit codings of global mobile communication that receiving side terminal is apprised of the short message content of the note that receives, then whether this receiving side terminal length of judging original contents is identical with content-length behind the coding, and judge in the message flow behind the coding whether have the compensation position;
If length is identical and do not have the compensation position, then described short message content is decoded, and decoded result is presented on this receiving side terminal with ASCII(American Standard Code for information interchange) decoding policy ascii;
Otherwise, with the gsm7bit decoding policy described short message content is decoded, and decoded result is presented on this receiving side terminal.
Described content-length is unit with the byte.
Described receiving side terminal obtains the length information of original contents from the message flow behind the coding.
Judge whether to exist the compensation position according to the content that is used for carrying the field that compensates position information in the message flow behind the described coding.
The portable terminal of support number decoding of the present invention comprises:
Receiver module is used to receive note; First decoder module links to each other with described receiver module, and it utilizes built-in number decoding policy that described sending side terminal number information is decoded;
Described portable terminal also comprises: judge module, and it links to each other with first decoder module, is used for whether having the character that does not belong to termination number according to decoded information, judges whether first decoder module is successful to the termination number information decoding of transmit leg; Second decoder module, it links to each other with described judge module, is used for utilizing its built-in number decoding policy that described sending side terminal number information is decoded once more after the termination number information decoding failure of described first decoder module to transmit leg.
The built-in number decoding policy of described first decoder module is and the corresponding number decoding policy of receiving side terminal number coding strategy.
The built-in DTMF decoding policy of described first decoder module.
The built-in BCD decoding policy of described second decoder module.
The another kind of portable terminal of support number decoding of the present invention comprises:
Receiver module is used to receive note; First decoder module, it utilizes built-in number decoding policy that described sending side terminal number information is decoded;
Described portable terminal also comprises: judge module, it links to each other with first decoder module with described receiver module, be used for whether existing the character that does not belong to first decoding policy to judge whether to be fit to utilize the built-in number decoding policy of first decoder module to decode, and according to judged result described sending side terminal number information sent to corresponding decoder module and decode according to described sending side terminal number information; Second decoder module, it links to each other with described judge module, and it utilizes built-in number decoding policy that described sending side terminal number information is decoded.
The built-in number decoding policy of described first decoder module is and the corresponding number decoding policy of receiving side terminal number coding strategy.
Beneficial effect of the present invention is as follows:
After the inventive method is decoded to the sender number information in the note with the number decoding policy of the number coding strategy correspondence of receiving side terminal employing, judge whether decoding is successful, if it is unsuccessful, then adopt the second number decoding policy that described number information is decoded again, improved the compatibility of the information decoding of checking numbers like this.
The present invention provides a kind of portable terminal in order to support described number coding/decoding method, and it has added judge module, is used to judge whether first decoder module is successful to the termination number information decoding of transmit leg; And second decoder module, be used for after of the termination number information decoding failure of described first decoder module, utilizing its built-in number decoding policy that described sending side terminal number information is decoded once more to transmit leg.
The check numbers method of decoding of the present invention also can adopt and judges whether earlier to be fit to utilize first decoding policy to decode before decoding, if be not suitable for, then directly decodes with second decoding policy.
To should method, the present invention also provides another kind of portable terminal, it has added judge module, be used to judge whether to be fit to utilize the built-in number decoding policy of first decoder module to decode, and according to judged result described sending side terminal number information sent to corresponding decoder module and decode; Second decoder module, it links to each other with described judge module, and it utilizes built-in number decoding policy that described sending side terminal number information is decoded.
The inventive method is before decoding to the short message content of the note received, relatively whether there are differences between the length of the length of note original contents and coding back content earlier, and judge whether there is the compensation position, and decide according to judged result relatively and to adopt any decoding policy to decode, having avoided blindly like this, decoding causes the situation that mess code occurs.
The present invention provides a kind of portable terminal in order to support described content decoding method, and it has added the 4th decoder module, is used for the ascii decoding policy short message content of the note that receives being decoded; Content-length behind the judge module relatively, the length that is used for comparison note original contents and the coding that receives, and judge whether there is the compensation position, and according to judged result relatively the short message content that receives is forwarded to corresponding decoder module and decodes.
Description of drawings
Fig. 1 is number decoding corresponding mobile terminal structural representation of the present invention;
Fig. 2 is the flow chart of steps of number coding/decoding method of the present invention;
Fig. 3 is the another kind of number decoding of the present invention corresponding mobile terminal structural representation;
Fig. 4 is the flow chart of steps of the another kind of number coding/decoding method of the present invention;
Fig. 5 is a content decoding corresponding mobile terminal structural representation of the present invention;
Fig. 6 is the flow chart of steps of content decoding method of the present invention.
Embodiment
In order to improve compatibility,, the invention provides a kind of portable terminal and comprise referring to Fig. 1 to sender number information decoding in the note:
Receiver module is used to receive note.
First decoder module links to each other with described receiver module, and it utilizes built-in number decoding policy that described sending side terminal number information is decoded.
Judge module, it links to each other with first decoder module, is used to judge whether first decoder module is successful to the termination number information decoding of transmit leg;
Second decoder module, it links to each other with described judge module, is used for utilizing its built-in number decoding policy that the number information of described sending side terminal is decoded once more after the number information decoding failure of described first decoder module to sending side terminal.
Utilize above-mentioned portable terminal, correspondence of the present invention provides a kind of method to the decoding of sending side terminal number information, referring to Fig. 2, comprises the following steps:
After S101, receiving side terminal are received note by receiver module, obtain the sending side terminal number information in the described note;
S102, receiving side terminal utilize the first number decoding policy that is provided with in first decoder module, and promptly the number decoding policy of local terminal number coding strategy correspondence is decoded to described number information;
Whether S103, judgement decode successful;
S104, if the success, then show decoded number;
S105, if unsuccessful, then utilize the second number decoding policy that is provided with in second decoder module once more described number information to be decoded, and show decoded number.
Below send note to the CDMA2000 portable terminal, specifically describe the inventive method by the WCDMA portable terminal.
Described WCDMA portable terminal adopts 4 BCD number coding strategies; The CDMA2000 portable terminal adopts 4 DTMF number coding strategies.
The termination number of-WCDMA portable terminal is 103, according to 4 BCD coding strategies:
Numeral ` 1 `-` 9 ` are encoded to 1-9;
Numeral ` 0 ` is encoded to 0;
Symbol ` * ` is encoded to 0xA;
Symbol ` # ` is encoded to 0xB.
Described number 103 is encoded, and coding result is 103.
After coding work was finished, described WCDMA portable terminal sent to recipient CDMA2000 portable terminal with the described note that includes the sending side terminal number information.
After-CDMA2000 portable terminal utilizes receiver module to receive this note, therefrom obtain the number information of sending side terminal, i.e. information " 103 " behind the coding.
-CDMA2000 portable terminal adopts the number decoding policy of the local terminal number coding strategy correspondence that is provided with in first decoder module that described number information is decoded, promptly the decoding policy of 4 DTMF number coding strategy correspondences is 4 DTMF number decoding policies, according to described 4 DTMF number decoding policies:
Numeral ` 1 `-` 9 ` are encoded to 1-9;
Numeral ` 0 ` is encoded to 0xA;
Symbol ` * ` is encoded to 0xB;
Symbol ` # ` is encoded to 0xC.
The number information " 103 " that obtains is decoded, and decoded result is 10xA3.
-according to whether there being the character that does not belong to termination number in the decoded information, judge whether the decoding of first decoding policy is successful.Have " xA " in the obvious decoded information, it does not belong to the character of termination number.Judge that in view of the above decoding is unsuccessful.
-once more described number information is decoded with the second number decoding policy that is provided with in second decoder module, promptly once more described number information to be decoded with the BCD decoding policy, decoded result is 103.And be presented on the CDMA2000 portable terminal 103.Finish the demonstration of number part.
In order to improve compatibility to sender number information decoding in the note, referring to Fig. 3, the invention provides another kind of portable terminal, comprising:
Receiver module is used to receive note;
Judge module, it links to each other with described receiver module, is used to judge whether to be fit to utilize the built-in number decoding policy of first decoder module to decode, and according to judged result described sending side terminal number information is sent to corresponding decoder module and decode;
First decoder module, it links to each other with described judge module, and it utilizes built-in number decoding policy that described sending side terminal number information is decoded;
Second decoder module, it links to each other with described judge module, and it utilizes built-in number decoding policy that described sending side terminal number information is decoded.
Utilize above-mentioned portable terminal, correspondence of the present invention provides another kind of method to the decoding of sending side terminal number information, referring to Fig. 4, comprises the following steps:
After S201, receiving side terminal are received note by receiver module, obtain the sending side terminal number information in the described note;
S202, judge whether to be fit to utilize first decoding policy to decode, if, then change step S203 over to, otherwise, change step S204 over to;
S203, receiving side terminal utilize the first number decoding policy that is provided with in first decoder module, and promptly the number decoding policy of local terminal number coding strategy correspondence is decoded to described number information;
S204, utilize the second number decoding policy that is provided with in second decoder module that described number information is decoded.
Below send note to the CDMA2000 portable terminal, specifically describe the inventive method by the WCDMA portable terminal.
Described WCDMA portable terminal adopts 4 BCD number coding strategies; The CDMA2000 portable terminal adopts 4 DTMF number coding strategies.
The termination number of-WCDMA portable terminal is 103, according to 4 BCD coding strategies:
Numeral ` 1 `-` 9 ` are encoded to 1-9;
Numeral ` 0 ` is encoded to 0;
Symbol ` * ` is encoded to 0xA;
Symbol ` # ` is encoded to 0xB.
Described number 103 is encoded, and coding result is 103.
After coding work was finished, described WCDMA portable terminal sent to recipient CDMA2000 portable terminal with the described note that includes the sending side terminal number information.
After-CDMA2000 portable terminal utilizes receiver module to receive this note, therefrom obtain the number information of sending side terminal, i.e. information " 103 " behind the coding.
Whether there is the character that does not belong to first decoding policy in the sending side terminal number information of-CDMA2000 portable terminal after, judges whether to be fit to utilize first decoding policy to decode with described coding.This example first decoding policy is 4 DTMF number decoding policies, according to described 4 DTMF number decoding policies:
Numeral ` 1 `-` 9 ` are encoded to 1-9;
Numeral ` 0 ` is encoded to 0xA;
Symbol ` * ` is encoded to 0xB;
Symbol ` # ` is encoded to 0xC.
Judge whether to be fit to utilize decoding.
There is " 0 " character in the sending side terminal number information behind the obvious described coding, but in the DTMF strategy, do not have the code character of " 0 ".Judge that in view of the above decoding can not be successful.
-once more described number information is decoded with the second number decoding policy that is provided with in second decoder module, promptly once more described number information to be decoded with the BCD decoding policy, decoded result is 103.And be presented on the CDMA2000 portable terminal 103.Finish the demonstration of number part.
In order to solve the problem that may occur mess code to the short message content in note decoding,, the invention provides a kind of portable terminal and comprise referring to Fig. 5:
Receiver module is used to receive note.
Compare judge module, it is connected in described receiver module and links to each other, short message content length behind the coding that is used for the length of comparison note original contents and receives, and judge whether there is the compensation position, and according to judged result relatively the short message content that receives is forwarded to corresponding decoder module and decodes.
The 4th decoder module links to each other with described relatively judge module.Judge that at described relatively judge module the length of note original contents is identical with short message content length behind the coding that receives, and when not having the compensation position, the note that reception is sent.And the short message content of the note that receives is decoded with the ascii decoding policy.
The 3rd decoder module links to each other with described relatively judge module.Judge that at described relatively judge module the length of note original contents is different with short message content length behind the coding that receives, when perhaps having the compensation position, the note that reception is sent.And the short message content of the note that receives is decoded with the gsm7bit decoding policy.
Utilize above-mentioned portable terminal, correspondence of the present invention provides a kind of method to the short message content decoding, referring to Fig. 6, comprises the following steps:
After S301, receiving side terminal are received note by receiver module, obtain the short message content information in the described note;
Whether the content-length behind the length that S302, comparison judge module are judged the note original contents and the coding is identical, if identically change step S303 over to, otherwise changes step S305 over to;
S303, comparison judge module judge whether to exist the compensation position, do not change step S204 over to if do not exist, otherwise change step S305 over to;
S304, decode with the ascii decoding policy;
S305, decode with the gsm7bit decoding policy.
Below send note to the CDMA2000 portable terminal, specifically describe the inventive method by the WCDMA portable terminal.
Example one: the WCDMA portable terminal adopts gsm7bit content encoding strategy; The CDMA2000 portable terminal adopts gsm7bit decoding policy or ascii decoding policy that short message content is decoded.
-WCDMA portable terminal is encoded to short message content to be sent with gsm7bit content encoding strategy, and finishes the described note of coding back transmission.
-CDMA2000 portable terminal obtains the short message content information in the described note, promptly with the content behind the gsm7bit coding strategy coding.
-Ruo recipient CDMA2000 portable terminal is apprised of short message content when receiving note be to encode with the gsm7bit coding strategy, then described CDMA2000 portable terminal obtains the length of this note original contents from the short message stream of receiving, and whether has difference in length between short message content length behind the more described coding of utilization comparison judge module and the note original contents length.
Because transmit leg WCDMA portable terminal adopts the gsm7bit coding strategy, so after comparison, can know and there are differences.Recipient CDMA2000 portable terminal judges that transmit leg WCDMA portable terminal is with the gsm7bit coding strategy short message content to be encoded really in view of the above.Afterwards, this note is sent to the 3rd decoder module.
-recipient CDMA2000 portable terminal utilizes the gsm7bit decoding policy that is provided with in the 3rd decoder module that short message content is decoded, and decoded result is presented on this CDMA2000 portable terminal.
Example two: the WCDMA portable terminal adopts ascii content encoding strategy; The CDMA2000 portable terminal adopts gsm7bit decoding policy or ascii decoding policy that short message content is decoded.
-WCDMA portable terminal is with the content encoding of ascii content encoding strategy to note to be sent, and sends described note finishing the coding back.
-CDMA2000 portable terminal obtains the short message content information in the described note, promptly with the content behind the ascii coding strategy coding.
-Ruo recipient CDMA2000 portable terminal is apprised of short message content when receiving note be to encode with the gsm7bit coding strategy, then described CDMA2000 portable terminal obtains the length of this note original contents from the short message stream of receiving, and whether has difference in length between short message content length behind the more described coding of utilization comparison judge module and the note original contents length.
Because transmit leg WCDMA portable terminal adopts the ascii coding strategy, so can know there is not difference after comparison.
There is the specific fields that is used to carry compensation position information in the short message stream behind the-coding.The comparison judge module that is provided with in the recipient CDMA2000 portable terminal judges whether to exist the compensation position according to the information in the described field.
Because transmit leg WCDMA portable terminal adopts the ascii coding strategy,, the information in the described field do not have the compensation position so showing.
Relatively judge according to above-mentioned, learn that content-length is identical and do not have the compensation position.Recipient CDMA2000 portable terminal judges that transmit leg WCDMA portable terminal is not with the gsm7bit coding strategy short message content to be encoded in view of the above, but with the ascii coding strategy short message content is encoded.Afterwards, this note is sent to the 4th decoder module.
-recipient CDMA2000 portable terminal utilizes the ascii decoding policy that is provided with in the 4th decoder module that short message content is decoded, and decoded result is presented on this CDMA2000 portable terminal.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (21)

1, a kind of method to the note number decoding is characterized in that, comprises the following steps:
Receiving side terminal extracts the sending side terminal number information after receiving note;
Described receiving side terminal is decoded to the sending side terminal number information with first decoding policy, and according to whether there being the character that does not belong to termination number in the decoded information, judges whether the decoding of first decoding policy is successful;
If decode successfully, then on this receiving side terminal, show the sending side terminal number; Otherwise, with second decoding policy sending side terminal number information is decoded, and decoded result is presented on the described receiving side terminal.
2, the method for claim 1 is characterized in that, described first decoding policy is and the corresponding number decoding policy of the number coding strategy of receiving side terminal.
3, method as claimed in claim 2 is characterized in that, described first decoding policy is two-stage dialing decoding policy DTMF.
4, method as claimed in claim 3 is characterized in that, described second decoding policy is the corresponding number decoding policy of sender number coding strategy.
5, method as claimed in claim 3 is characterized in that, described second decoding policy is binary-coded decimal system decoding policy BCD.
6, as each described method of claim 1 to 5, it is characterized in that, also comprise: short message content is decoded; Be specially:
If it is with 7 coding strategy gsm7bit codings of global mobile communication that receiving side terminal is apprised of the short message content of the note that receives, then whether this receiving side terminal length of judging original contents is identical with content-length behind the coding, and judge in the message flow behind the coding whether have the compensation position;
If length is identical and do not have the compensation position, then described short message content is decoded, and decoded result is presented on this receiving side terminal with ASCII(American Standard Code for information interchange) decoding policy ascii;
Otherwise, with the gsm7bit decoding policy described short message content is decoded, and decoded result is presented on this receiving side terminal.
7, method as claimed in claim 6 is characterized in that, described content-length is unit with the byte.
8, method as claimed in claim 7 is characterized in that, described receiving side terminal obtains the length information of original contents from the message flow behind the coding.
9, method as claimed in claim 8 is characterized in that, judges whether to exist the compensation position according to the content that is used for carrying the field that compensates position information in the message flow behind the described coding.
10, a kind of method to the note number decoding is characterized in that, comprises the following steps:
Receiving side terminal extracts the sending side terminal number information after receiving note;
Be fit to utilize first decoding policy that described sending side terminal number information is decoded according to whether existing the character that does not belong to first decoding policy to judge whether in the described sending side terminal number information;
If, then the sending side terminal number information is decoded with first decoding policy, otherwise, with second decoding policy sending side terminal number information is decoded.
11, method as claimed in claim 10 is characterized in that, described first decoding policy is and the corresponding number decoding policy of the number coding strategy of receiving side terminal.
12, as claim 10 or 11 described methods, it is characterized in that, also comprise: short message content is decoded; Be specially:
If it is with 7 coding strategy gsm7bit codings of global mobile communication that receiving side terminal is apprised of the short message content of the note that receives, then whether this receiving side terminal length of judging original contents is identical with content-length behind the coding, and judge in the message flow behind the coding whether have the compensation position;
If length is identical and do not have the compensation position, then described short message content is decoded, and decoded result is presented on this receiving side terminal with ASCII(American Standard Code for information interchange) decoding policy ascii;
Otherwise, with the gsm7bit decoding policy described short message content is decoded, and decoded result is presented on this receiving side terminal.
13, method as claimed in claim 12 is characterized in that, described content-length is unit with the byte.
14, method as claimed in claim 13 is characterized in that, described receiving side terminal obtains the length information of original contents from the message flow behind the coding.
15, method as claimed in claim 14 is characterized in that, judges whether to exist the compensation position according to the content that is used for carrying the field that compensates position information in the message flow behind the described coding.
16, a kind of portable terminal comprises:
Receiver module is used to receive note;
First decoder module links to each other with described receiver module, and it utilizes built-in number decoding policy that described sending side terminal number information is decoded;
It is characterized in that described portable terminal also comprises:
Judge module, it links to each other with first decoder module, is used for whether having the character that does not belong to termination number according to decoded information, judges whether first decoder module is successful to the termination number information decoding of transmit leg;
Second decoder module, it links to each other with described judge module, is used for utilizing its built-in number decoding policy that described sending side terminal number information is decoded once more after the termination number information decoding failure of described first decoder module to transmit leg.
17, portable terminal as claimed in claim 16 is characterized in that, the built-in number decoding policy of described first decoder module is and the corresponding number decoding policy of receiving side terminal number coding strategy.
18, portable terminal as claimed in claim 17 is characterized in that, the built-in DTMF decoding policy of described first decoder module.
19, portable terminal as claimed in claim 18 is characterized in that, the built-in BCD decoding policy of described second decoder module.
20, a kind of portable terminal comprises:
Receiver module is used to receive note;
First decoder module, it utilizes built-in number decoding policy that described sending side terminal number information is decoded;
It is characterized in that described portable terminal also comprises:
Judge module, it links to each other with first decoder module with described receiver module, be used for whether existing the character that does not belong to first decoding policy to judge whether to be fit to utilize the built-in number decoding policy of first decoder module to decode, and according to judged result described sending side terminal number information sent to corresponding decoder module and decode according to described sending side terminal number information;
Second decoder module, it links to each other with described judge module, and it utilizes built-in number decoding policy that described sending side terminal number information is decoded.
21, portable terminal as claimed in claim 20 is characterized in that, the built-in number decoding policy of described first decoder module is and the corresponding number decoding policy of receiving side terminal number coding strategy.
CNB2005100892692A 2005-08-01 2005-08-01 Terminal terminal and its short message decoding method Active CN100527868C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100892692A CN100527868C (en) 2005-08-01 2005-08-01 Terminal terminal and its short message decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100892692A CN100527868C (en) 2005-08-01 2005-08-01 Terminal terminal and its short message decoding method

Publications (2)

Publication Number Publication Date
CN1852520A CN1852520A (en) 2006-10-25
CN100527868C true CN100527868C (en) 2009-08-12

Family

ID=37133984

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100892692A Active CN100527868C (en) 2005-08-01 2005-08-01 Terminal terminal and its short message decoding method

Country Status (1)

Country Link
CN (1) CN100527868C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350858B (en) * 2008-09-10 2011-10-26 华为终端有限公司 Method for decoding short message and user terminal
CN104092514A (en) * 2014-07-08 2014-10-08 深圳市同洲电子股份有限公司 Encoding mode switching method and device
CN105163294B (en) * 2015-08-04 2018-10-26 恒宝股份有限公司 A kind of channel compressions and decompression method and its device based on Cell Broadcast CB short message

Also Published As

Publication number Publication date
CN1852520A (en) 2006-10-25

Similar Documents

Publication Publication Date Title
EP1686825A3 (en) Method and mobile terminal for securely transmitting a mobile subscriber identifier
CN102355625B (en) Method for sending position information, method for receiving position information and mobile communication terminal
CA2669182A1 (en) A method of and apparatus for paging a wireless terminal in a wireless telecommunications system
CN107105414A (en) A kind of income system and method for Big Dipper RDSS short messages and SMS
CN101621763A (en) Method and corresponding device for displaying sender Chinese name at mobile phone terminal
CN1747507A (en) Long-range monitoring method for short-message of household network
EA200500540A1 (en) TELEPHONE TERMINAL, PROVIDING A COMMUNICATION BETWEEN THE TELEPHONE AND DATA TRANSMISSION NETWORK
CN1202648C (en) Method for wireless remote control using mobile phone short message
CN100527868C (en) Terminal terminal and its short message decoding method
CN102340870B (en) Communication terminal, method for receiving data and computer program product
CN104427095A (en) A hand-held terminal intercommunication method and a hand-held terminal having an intercommunication function
CN105791520A (en) Contact list updating method and coresponding apparatus
CN102404705B (en) Mobile terminal and method thereof for remote activating call transfer
WO2005101876A8 (en) Method, server and system for managing «push-to-talk» session
CN104639765A (en) Method and system for controlling intelligent mobile terminal by intelligent watch
CN109640280B (en) Call control method, device, computer equipment and storage medium
CN102958018A (en) Short-message protection terminal and system as well as short-message protection realization method
CN102158832A (en) Method and device for self-adaptively coding short message
CN112118545B (en) Transfer equipment, server, system and login method for narrow-band and wide-band communication
CN102307075A (en) Voice transmission encryption method of DMR (digital mobile radio) communication terminal
CN102170620B (en) Mobile terminal message instantly-displaying realizing method
CN101583103A (en) Transmitting or receiving method of short messages in text mode and device
CN101902703A (en) Processing method and system of multimedia message retransmission failure
CN113490165B (en) 4G module short message receiving and transmitting method for embedded system
CN100396118C (en) Short-message cluster-sending method and apparatus

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
C56 Change in the name or address of the patentee

Owner name: HUAWEI DEVICE CO., LTD.

Free format text: FORMER NAME: SHENZHEN HUAWEI TECHNOLOGY CO.

CP01 Change in the name or title of a patent holder

Address after: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee after: Huawei Device Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Shenzhen Huawei Communication Technology Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171027

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.