Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Short message encoding and decoding method and terminal

A short message encoding and decoding method technology, applied in the direction of radio/induction link selection arrangement, selection device, etc., can solve the problems of reducing resource utilization rate, reducing the number of characters sent, etc., to achieve the effect of improving resource utilization rate

Active Publication Date: 2008-11-19
HUAWEI DEVICE CO LTD
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] During the research and practice of the existing technology, the inventor found that once there is a Unicode character in the text message, the entire text message will be encoded according to the UCS2 encoding method, which greatly reduces the number of characters sent and resource utilization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Short message encoding and decoding method and terminal
  • Short message encoding and decoding method and terminal
  • Short message encoding and decoding method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Embodiments of the present invention provide a short message encoding and decoding method and terminal, which are used to increase the maximum number of characters that can be sent in a short message and improve resource utilization.

[0032] refer to figure 1 , which is a flow chart of the short message encoding method in Embodiment 1 of the present invention, and will be described in detail through specific steps below:

[0033] Step 101, when there are characters encoded in Unicode mode in the short message, judge whether the character in the short message is a coded character in Unicode mode or a character encoded in ASCII mode; if the character is a character encoded in Unicode mode, then perform the step 102; if the character is an ASCII-encoded character, perform step 103;

[0034] Step 102, converting characters encoded in the Unicode mode into characters encoded in a 9bit encoding mode in the short message;

[0035] Step 103, convert the ASCII-coded character...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a short message coding and decoding method and a terminal. The method in the embodiment of the invention comprises the following steps: when the character coded in the way of universal character set Unicode exists in the short message, whether the character in the short message is the coded character by the Unicode way or the coded character by the ASCII way of the American Standard Code for Information Interchange is judged; the coded character by the Unicode way is converted into the character coded in the 9 bit coding way; and the coded character by the ASCII way in the short message is converted into the character coded in the 9 bit coding way. The adoption of the coding method and the corresponding terminal can effectively add the largest character number that the short message can send, and the utilization for the resources is improved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a short message encoding and decoding method and terminal. Background technique [0002] The pace of work and life in today's society is fast, and communication terminals are used in more and more places, especially mobile terminals, which facilitate people's communication and life. [0003] In the current various communication terminals, the encoding of short messages generally adopts two encoding methods: American National Standard Code for Information Interchange (ASCII, American Standard Code for International Interchange) encoding and Universal Character Set 2 (UCS2, Unicode Character Set 2) encoding Way. Among them, the ASCII code is a set of character codes formulated by the United States, which has made unified regulations on the relationship between English characters and binary digits. The ASCII code specifies the encoding of 128 characters in total, and only oc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04Q7/32H04Q7/22
Inventor 陈茂华
Owner HUAWEI DEVICE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products