唐 山 学 院 毕 业 设 计
receiver terminal number and encoding strategy that corresponds to the number of decoding strategies.
16, As described in claim Qiao mobile terminal, and its characteristics is described in the first module built-in DTMF decoder decoding strategy.
17, As described in claim 16 of the mobile terminal, and its characteristics is described in the second module built-BCD decoder decoding strategy.
18, A mobile terminal, including:
Receiver module for receiving text messages; first decoding module, the use of built-in number decoding strategy described in the letter sent to terminal number, interest rate decoding; its characteristics is described in the mobile terminal include: determine the module with the described in the first decoding module and the receiver module connects to determine whether the first decoding module suitable number of built-in decoder for decoding strategy, and determine the results will be described in a letter sent to terminal number, the corresponding income sent to the decoding module decode; second decoding module, the module connected with the judge referred to in its use of built-in number decoding strategy described in the sender information to decoding terminal numbers.
19, As described in claim 18 of the mobile terminal, and its characteristics is described in the first decoding module decoding strategy built-in number for the receiver terminal number and encoding strategy that corresponds to the number of decoding strategies.
Background technology
With the third-generation mobile communications development, CDMA2000 protocol, TDMA and CDMA combined with a network (TDS-CDMA) and WCDMA protocol agreement will become the third generation mobile communication protocol of the mainstream. SMS the field of mobile communications as an important business, require the agreement of different good compatibility, and proceed to demand that a good codec compatibility strategy.
Currently, CDMA2000 terminal number of SMS using DTMF or 4 to 8 DTMF codec. For example, four DTMF encoding strategy is as follows:
The number of'1 'a'9', coding for 1-9; The number of'0 'coding for OxA; Symbol '*', coding for OxB; Symbol '#' code for OxC
46
唐 山 学 院 毕 业 设 计
Messages in the current WCDMA terminal BCD number using 4 or 8-bit BCD to codecs. For example, 4 BCD encoding strategy is as follows: The number of'1 'a'9' coding for 1-9; The number of'0 'code of 0; Symbol '*' coding for OxA; Symbol '#' code for OxB
As a result of \show that the coding strategy, it can be seen through the above-mentioned coding strategy, if the use of WCDMA mobile terminal 4 BCD coding strategy of the sender terminal to encode numbers, the receiving party Terminal for CDMA2000 mobile terminals, the use of four strategies for DTMF decoding messages received in the terminal to decode the number, then as a result of four DTMF decoding strategies and four different BCD coding strategy, that is, the number'0 ', the provision different decoding strategy, the sender of the digital terminal number'0 'will not be the correct decoding CDMA2000 mobile terminal, CDMA2000 mobile end-user will not be able to see the correct number of the sender terminal. Similarly, as long as the sender and receiver terminals in terminal-to-end codec number of different strategies are likely to result in the receiver terminal can not decode correctly. At present, the contents of the message coding and decoding, the receiving terminal for CDMA2000 mobile terminals, the messages received by the content of the messages were told gsm7bit coding strategy for the introduction of coding, but the sender terminal gsm7bit coding strategies may be used, or the use of ascii code strategy. CDMA2000 mobile terminal if the receiver in accordance with this information, directly gsm7bit decoder decoding strategy, the sender terminal in ascii coding strategy used in the content of the message is encoded, the decoding garbled results.
The invention of the number of decoding steps of the methods include: Received by the recipient terminal extracts message sender terminal number information, referred to the receiver terminal to the first decoding strategy number of the sender terminal to decode the information; if decoding is successful, the recipient in the sender terminal display terminal number; Otherwise, the second decoding strategy of the letter sent to terminal number, interest rate for decoding, and decoding in the above results show that the recipient terminal.
Decoded information to the presence of terminal number does not belong to the characters, the first decoder to determine the success of decoding strategies. The
47
唐 山 学 院 毕 业 设 计
invention of a number of decoding messages, including the following steps: Received by the recipient terminal message sender terminal number extracted information; to determine whether the use of the first decoder for decoding strategy; if so, decoding strategies are the first terminal of the sender number decoding information; otherwise, to the second decoding strategy sender information terminal to decode the number. Decoding strategy described in the first side and receiving-end coding strategy number that corresponds to the number of decoding strategies. Encoded as described in the sender information terminal in the existence of numbers does not belong to the first character decoding strategies to determine first whether the decoding strategy can be successful decoding.
The invention described in the support of the mobile terminal number decoder include: receiver module for receiving text messages; first decoding module, receiver module connected with the above, the use of built-in number decoding strategy described in information sent to terminal number decode . Described in the mobile terminal include: determine the module, the module connected to the first decoder for decoding module to determine the first terminal of the sender number of the success of decoding information; second decoding module, the module connected with the judge referred to by described in the first decoding module of the terminal on the sender number of letters, after the failure of income decoder, using its built-in number decoding strategy described in the sender information to decoding terminal numbers. Described in the first decoding module decoding strategy built-in number for the receiver terminal number and encoding strategy that corresponds to the number of decoding strategies. Described in the first module built-in DTMF decoder decoding strategy. Described in the second module built-BCD decoder decoding strategy.
The beneficial effects of this invention is as follows:
The method of the invention to the receiver terminal number coding strategy used in the corresponding decoding strategy number of the sender SMS number decoded information to determine the success of decoding, if successful, re-use of the second number referred to the number of decoding strategies decode the information, so that increased information on the number of decoder compatibility.
The present invention in order to support the decoding method described in number to provide a mobile terminal, the judge added a module for decoding module to determine the first terminal of the sender number of the success of decoding information; and the second decoding module, for decoding module described in the
48
唐 山 学 院 毕 业 设 计
first terminal of the sender number of letters, after the failure of income decoder, using its built-in number decoding strategy described in the sender information to decoding terminal numbers. The invention of the number of methods can be decoded before decoding to determine whether the use of the first decoder for decoding strategy, if appropriate, directly to the second decoder decoding strategy. To be methods of the present invention also provides a mobile terminal, the judge added a module to determine the suitability of teeth! \decoder decoding strategies to decode and determine the results will be described in accordance with sender terminal number information is sent to the corresponding decoding module to decode; second decoding module, the module connected with the judge referred to in its use of built-in number decoding strategy described in the letter sent to terminal number, interest rate decoding.
The present invention method of the SMS messages received to decode the content before comparing the contents of the original message length and the length of the encoded content of the existence of differences between, as well as to determine whether there is compensation, and to judge according to the results of comparison to determine the use of What kind of decoding strategies to decode, so to avoid a blind decoding of the situation caused by garbled. In order to support the invention described in the contents of decoding methods, provides a mobile terminal, which added a fourth decoder module for docking strategy to ascii decode the SMS messages received to decode the content; compared to determine module, used to compare messages the length of the original content and receive the contents of the encoded length, as well as to determine whether there is compensation, and to determine the basis of comparison results will be the contents of the received messages forwarded to the corresponding decoder decoding module.
49
唐 山 学 院 毕 业 设 计
一种对短信号码解码的方法
1、一种对短信号码解码的方法,其特征在于,包括下列步骤:接收方终端收到短信后提取发送方终端号码信息,所述接收方终端以第一解码策略对发送方终端号码信息进行解码;若解码成功,则在该接收方终端上显示发送方终端号码;否则,以第二解码策略对发送方终端号码信息进行解码,并将解码结果显示在所述接收方终端上。
2、如权利要求1所述的方法,其特征在于,所述第一解码策略为与接收方终端的号码编码策略相对应的号码解码策略。
3、如权利要求2所述的方法,其特征在于,所述第一解码策略为二次拨号解码策略(DTMF)。
4、如权利要求3所述的方法,其特征在于,所述第二解码策略为发送方号码编码策略相对应的号码解码策略。
5、如权利要求3所述的方法,其特征在于,所述第二解码策略为二进制编码的十进制解码策略(BCD )o
6、如权利要求1至5任一项所述的方法,其特征在于,以解码后的信息中是否存在不属于终端号码的字符,来判断第一解码策略解码是否成功。
7、一种对短信号码解码的方法,其特征在于,包括下列步骤: 接收方终端收到短信后提取发送方终端号码信息;判断是否适合利用第一解码策略对所述发送方终端号码信,息进行解码;若是,则以第一解码策略对发送方终端号码信息进行解码,否则,以第二解码策略对发送方终端号码信息进行解码。
8、如权利要求7所述的方法,其特征在于,所述第一解码策略为与接收方终端的号码编码策略相对应的号码解码策略。
9、如权利要求7或8所述的方法,其特征在于,以所述编码后的发送方终端号码信息中是否存在不属于第一解码策略的字符,来判断以第一解码策略进行解码是否可成功。
10、一种对短信内容解码的方法,其特征在于,包括下列步骤:
若接收方终端被告知接收到的短信的短信内容是以全球移动通信7位编码策略(gsm7bit)编码,则该接收方终端判断原始内容的长度是否与编码后的内容长度相同,以及判断编码后的消息流中是否存在补偿位;若长度相同且不存在补偿位,则以美国信息互换标准代码解码策略(ascii )对所述短信内容解码,并将解码结果显示在该接收方终端上;否则,以gsm7bit解码策略对所述短信内容进行解码,并将解码结果显示在该接收方终端上。
中文翻译
50