CN101202976A - Apparatus and method of mobile communication terminal character conversion - Google Patents

Apparatus and method of mobile communication terminal character conversion Download PDF

Info

Publication number
CN101202976A
CN101202976A CNA2006101195445A CN200610119544A CN101202976A CN 101202976 A CN101202976 A CN 101202976A CN A2006101195445 A CNA2006101195445 A CN A2006101195445A CN 200610119544 A CN200610119544 A CN 200610119544A CN 101202976 A CN101202976 A CN 101202976A
Authority
CN
China
Prior art keywords
character
coding
repertoire
communication terminal
mobile communication
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
Application number
CNA2006101195445A
Other languages
Chinese (zh)
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.)
Shanghai Simcom Ltd
Original Assignee
Shanghai Simcom 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 Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CNA2006101195445A priority Critical patent/CN101202976A/en
Publication of CN101202976A publication Critical patent/CN101202976A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses a character conversion device of a mobile communication terminal, and comprises a data recognition unit which judges whether the code of a received first character exists in a local character base; a character code corresponding table which records the code of the first character and the code of a corresponding second character in the local character base; and a character conversion unit which converts the received first character into the corresponding second character in the local character base according to the character code corresponding table. Besides, the invention discloses a character conversion method of the mobile communication terminal, which first judges whether the code of the received first character exists in the local character base, and searches the code of the second character in the local character base which is corresponding to the first character according to the set character code corresponding table, if not. The invention reduces the occupation of memory space by the character base resource, has a small calculating amount, is suitable for mobile terminal devices limited by resources and cost and can realize the compatibility of characters with only a set of character base in the mobile terminal device.

Description

Mobile communication terminal character conversion equipment and method
Technical field
The present invention relates to a kind of device and method in the enterprising line character conversion of mobile communication terminal.
Background technology
At moving communicating field, all be to adopt the Unicode character set, comprising simplified Hanzi storehouse and non-simplified Chinese font library.In order to reduce cost and to save space resources, the all only built-in a kind of main use client's of present mobile phone character library commonly used, like this can only a kind of specific built-in character library on the mobile phone (as, unsimplified Hanzi or simplified Hanzi) coding word normally show, between the different mobile phone of two built-in character libraries, carry out transmission (short message, multimedia message, E-mail) of data etc., or the movable storage device function of using mobile phone carries out multimedia messages when downloading, and will run into the incompatible problem of the character of these external datas and cell phone system and shows mess code.
Address this problem, a method is exactly built-in two kinds of character libraries in the mobile phone, but can increase cost and waste resource like this.
Summary of the invention
The objective of the invention is to solve the mess code problem that occurs when existing mobile phone carries out data interaction, a kind of method and apparatus in the enterprising line character conversion of mobile communication terminal is provided.
The objective of the invention is to be achieved through the following technical solutions:
A kind of mobile communication terminal character conversion equipment comprises:
A data recognition unit judges whether the coding of the first received character exists in local character repertoire;
The coding of the second corresponding character in a character code correspondence table, the coding that writes down described first character and local character repertoire;
A character conversion unit according to above-mentioned character code correspondence table, is second corresponding in the local character repertoire character with first character conversion that receives.
This device also comprises one first character repertoire coding schedule and one second character repertoire coding schedule, wherein, the first character repertoire coding schedule is preserved the coding and the corresponding characters index of all characters in the described first character place character library, the second character repertoire coding schedule is preserved the coding of all characters in the described local character library, and this character code correspondence table writes down the coding of described character index and corresponding second character.
Wherein, this data identification unit comprises one first and searches the unit, and it searches the coding of described first character in the described second character repertoire coding schedule.This character conversion unit comprises that one second is searched the unit, and it searches the corresponding characters index according to being coded in the first character repertoire coding schedule of first character, searches the coding of the second corresponding character again in the character code correspondence table according to this character index.
Wherein, this first character is a simplified Hanzi, and described local character repertoire is a non-simplified Chinese font library, and perhaps, this first character is that unsimplified Hanzi, described local character repertoire are the simplified Hanzi storehouse.
And, this first character repertoire coding schedule is according to the ascending order or the descending of the coding of first character, this second character repertoire coding schedule is according to the ascending order or the descending of the coding of second character, this character code correspondence table is according to the ascending order or the descending of this character index, and described first searches unit and second searches the unit and all use dichotomy to search.
The present invention also comprises a kind of mobile communication terminal character conversion method, whether the coding of at first judging first character receive exists in local character repertoire, if not have then search the coding of this first character second character of correspondence in local character repertoire according to the character code correspondence table of setting.
Use one first character repertoire coding schedule to write down the coding and the corresponding characters index of all characters in the described first character place character library in the method, use one second character repertoire coding schedule to preserve the coding of all characters in the described local character library, this character code correspondence table writes down the coding of described character index and corresponding second character.
By in this second character repertoire coding schedule, searching the coding of this first character, judge whether the coding of this first character exists in local character repertoire.
In this first character repertoire coding schedule, search the pairing character index of coding of this first character, in described character code correspondence table, search the coding of the second corresponding character then according to this character index.
Wherein, this first character is that simplified Hanzi, described local character repertoire are non-simplified Chinese font library, and perhaps, this first character is that unsimplified Hanzi, described local character repertoire are the simplified Hanzi storehouse.,
This first character repertoire coding schedule is according to the ascending order or the descending of the coding of first character, this second character repertoire coding schedule is according to the ascending order or the descending of the coding of second character, this character code correspondence table all uses dichotomy to search according to the ascending order or the descending of this character index in the above-mentioned search procedure.
Positive progressive effect of the present invention is: significantly reduced the character library resource to the taking of memory headroom, operand is little, be applicable to resource, the limited mobile terminal device of cost, only needs a cover character library can realize compatibility to character on mobile terminal device.
Description of drawings
Fig. 1 is the block diagram of the character conversion device among the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
As shown in Figure 1, a kind of mobile communication terminal character conversion equipment comprises:
A data recognition unit 100 judges whether the coding of the first received character exists in local character repertoire, if there is no, then carry out character conversion;
One first character repertoire coding schedule 200 is preserved the coding and the corresponding characters index of all characters in the first received character place character library;
One second character repertoire coding schedule 300 is preserved the coding of all characters in the described local character library;
A character code correspondence table 400 writes down the coding of described character index and corresponding second character;
A character conversion unit 500 according to above-mentioned character code correspondence table, is second corresponding in the local character repertoire character with first character conversion that receives.
Wherein, this data identification unit 100 comprises one first and searches unit 110, it searches the coding of described first character in the described second character repertoire coding schedule 200, if search the coding less than first character in this table, then being coded in the local character repertoire of this first character do not exist.
This character conversion unit 500 comprises that one second is searched unit 510, it searches the corresponding characters index according to being coded in the first character repertoire coding schedule 200 of first character, searches the coding of the second corresponding character again in character code correspondence table 400 according to this character index.
Corresponding with said apparatus, a kind of mobile communication terminal character conversion method, for first character in the data flow that receives, at first in this second character repertoire coding schedule 300, search the coding of this first character, thereby judge whether its coding exists in local character repertoire,, then can directly show first character if exist, if there is no, then need to carry out character conversion.
In this first character repertoire coding schedule 200, search the pairing character index of coding of this first character, obtain this character index after, in described character code correspondence table 400, search the coding of the second corresponding character according to this character index.
All characters are the character in the Unicode character set, and obviously, all codings are the Unicode coding, so just can directly use on mobile phone, have reduced the operand of other unnecessary conversions.
Generally, this first character is a simplified Hanzi, and then described local character repertoire is a non-simplified Chinese font library.Perhaps, this first character is a unsimplified Hanzi, then described local character repertoire is the simplified Hanzi storehouse.
Enumerate concrete application example below, the process of said apparatus and method is described.
In CONTINENTAL AREA OF CHINA, mobile communication terminal is supported simplified literal usually, when in the data flow that receives the traditional Chinese being arranged, as “ Su ", its Unicode sign indicating number " 0x8085 " will be shown as mess code in the local terminal.
At this moment, what the described first character repertoire coding schedule write down is the Unicode coding and the corresponding characters index of unsimplified Hanzi, second character repertoire coding schedule record be the Unicode coding of simplified Hanzi, the character code conversion table then writes down this character index and encodes with the Unicode of corresponding simplified Hanzi.
After it receives above-mentioned character, at first in the second character repertoire coding schedule, search, the coding of judging this character is not in local character repertoire, find its index such as “ Su according to the first character repertoire coding schedule then " the index=4386 of Unicode sign indicating number " 0x8085 "; finding index then in the character code conversion table is that Unicode sign indicating number " 0x8083 " of 4386; “ Su just " the Unicode sign indicating number of corresponding simplified Chinese character " respectful ", this Unicode sign indicating number is can find deserved character in the simplified character library in this locality and display it, and the situation of mess code just can not occur.
And, this first character repertoire coding schedule 200 is according to the ascending order or the descending of the coding of first character, this second character repertoire coding schedule 300 is according to the ascending order or the descending of the coding of second character, and this character code correspondence table 400 is according to the ascending order or the descending of this character index.
Search procedure in said apparatus and the method all uses dichotomy to search, and searching of tens thousand of records only needed hundreds of, significantly reduces and searches number of times, is suitable for program and moves on mobile phone.

Claims (12)

1. a mobile communication terminal character conversion equipment is characterized in that, this device comprises:
A data recognition unit judges whether the coding of the first received character exists in local character repertoire;
The coding of the second corresponding character in a character code correspondence table, the coding that writes down described first character and local character repertoire;
A character conversion unit according to above-mentioned character code correspondence table, is second corresponding in the local character repertoire character with first character conversion that receives.
2. mobile communication terminal character conversion equipment according to claim 1, it is characterized in that, this device also comprises one first character repertoire coding schedule and one second character repertoire coding schedule, wherein, the first character repertoire coding schedule is preserved the coding and the corresponding characters index of all characters in the described first character place character library, the second character repertoire coding schedule is preserved the coding of all characters in the described local character library, and this character code correspondence table writes down the coding of described character index and corresponding second character.
3. mobile communication terminal character conversion equipment according to claim 2 is characterized in that, this data identification unit comprises one first and searches the unit, and it searches the coding of described first character in the described second character repertoire coding schedule.
4. mobile communication terminal character conversion equipment according to claim 3, it is characterized in that, this character conversion unit comprises that one second is searched the unit, it searches the corresponding characters index according to being coded in the first character repertoire coding schedule of first character, searches the coding of the second corresponding character again in the character code correspondence table according to this character index.
5. mobile communication terminal character conversion equipment according to claim 4, it is characterized in that this first character is a simplified Hanzi, described local character repertoire is a non-simplified Chinese font library, perhaps, this first character is that unsimplified Hanzi, described local character repertoire are the simplified Hanzi storehouse.
6. mobile communication terminal character conversion equipment according to claim 5, it is characterized in that, this first character repertoire coding schedule is according to the ascending order or the descending of the coding of first character, this second character repertoire coding schedule is according to the ascending order or the descending of the coding of second character, this character code correspondence table is according to the ascending order or the descending of this character index, and described first searches unit and second searches the unit and all use dichotomy to search.
7. mobile communication terminal character conversion method, it is characterized in that, whether the coding of at first judging first character receive exists in local character repertoire, if not have then search the coding of this first character second character of correspondence in local character repertoire according to the character code correspondence table of setting.
8. mobile communication terminal character conversion method according to claim 7, it is characterized in that, use one first character repertoire coding schedule to write down the coding and the corresponding characters index of all characters in the described first character place character library in the method, use one second character repertoire coding schedule to preserve the coding of all characters in the described local character library, this character code correspondence table writes down the coding of described character index and corresponding second character.
9. mobile communication terminal character conversion method according to claim 8 is characterized in that, by search the coding of this first character in this second character repertoire coding schedule, judges whether the coding of this first character exists in local character repertoire.
10. mobile communication terminal character conversion method according to claim 9, it is characterized in that, in this first character repertoire coding schedule, search the pairing character index of coding of this first character, in described character code correspondence table, search the coding of the second corresponding character then according to this character index.
11. mobile communication terminal character conversion method according to claim 10, it is characterized in that, this first character is that simplified Hanzi, described local character repertoire are non-simplified Chinese font library, and perhaps this first character is that unsimplified Hanzi, described local character repertoire are the simplified Hanzi storehouse.
12. mobile communication terminal character conversion method according to claim 11, it is characterized in that, this first character repertoire coding schedule is according to the ascending order or the descending of the coding of first character, this second character repertoire coding schedule is according to the ascending order or the descending of the coding of second character, this character code correspondence table all uses dichotomy to search according to the ascending order or the descending of this character index in the above-mentioned search procedure.
CNA2006101195445A 2006-12-13 2006-12-13 Apparatus and method of mobile communication terminal character conversion Pending CN101202976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101195445A CN101202976A (en) 2006-12-13 2006-12-13 Apparatus and method of mobile communication terminal character conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101195445A CN101202976A (en) 2006-12-13 2006-12-13 Apparatus and method of mobile communication terminal character conversion

Publications (1)

Publication Number Publication Date
CN101202976A true CN101202976A (en) 2008-06-18

Family

ID=39517892

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101195445A Pending CN101202976A (en) 2006-12-13 2006-12-13 Apparatus and method of mobile communication terminal character conversion

Country Status (1)

Country Link
CN (1) CN101202976A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847050A (en) * 2010-05-18 2010-09-29 四川长虹电器股份有限公司 Simple Chinese input and display method in embedded product
CN101938718A (en) * 2009-07-02 2011-01-05 华为技术有限公司 Method and device for forwarding short messages between networks
WO2011116554A1 (en) * 2010-03-25 2011-09-29 中兴通讯股份有限公司 Method, system and terminal for processing text information in mobile multimedia broadcast
WO2011150796A1 (en) * 2010-05-31 2011-12-08 深圳市开立科技有限公司 Method and device for editing and displaying russian characters in chinese operating system environment
CN101345952B (en) * 2008-09-03 2012-04-04 华为终端有限公司 Data storing and reading method, device and system for client identification card
CN102508688A (en) * 2011-09-30 2012-06-20 福州瑞芯微电子有限公司 Method for solving media label information messy codes of multi-media file of android system
CN102799590A (en) * 2011-05-26 2012-11-28 安凯(广州)微电子技术有限公司 Embedded type electronic product word stock as well as word stock generating method and word stock searching method
CN101621642B (en) * 2008-06-30 2013-03-06 乐金电子(中国)研究开发中心有限公司 Digital television set and character displaying method thereof
CN103745710A (en) * 2013-12-04 2014-04-23 西安诺瓦电子科技有限公司 Text information playing device and method
CN104424165A (en) * 2013-09-06 2015-03-18 北大方正集团有限公司 Messy code detection method and system for text documents
CN103150293B (en) * 2011-12-06 2017-06-06 富泰华工业(深圳)有限公司 The method that the electronic installation of mess code recovery can be carried out and recover mess code
CN107302645A (en) * 2017-04-27 2017-10-27 珠海赛纳打印科技股份有限公司 A kind of image processing apparatus and its image processing method
CN112036121A (en) * 2020-08-31 2020-12-04 浪潮商用机器有限公司 Simplified Chinese character and traditional Chinese character conversion method and related device
CN116611397A (en) * 2023-05-19 2023-08-18 北京神州安付科技股份有限公司 Special font processing method and system for financial payment equipment

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621642B (en) * 2008-06-30 2013-03-06 乐金电子(中国)研究开发中心有限公司 Digital television set and character displaying method thereof
CN101345952B (en) * 2008-09-03 2012-04-04 华为终端有限公司 Data storing and reading method, device and system for client identification card
CN101938718B (en) * 2009-07-02 2015-05-27 华为技术有限公司 Method and device for forwarding short messages between networks
CN101938718A (en) * 2009-07-02 2011-01-05 华为技术有限公司 Method and device for forwarding short messages between networks
WO2011116554A1 (en) * 2010-03-25 2011-09-29 中兴通讯股份有限公司 Method, system and terminal for processing text information in mobile multimedia broadcast
CN101847050A (en) * 2010-05-18 2010-09-29 四川长虹电器股份有限公司 Simple Chinese input and display method in embedded product
WO2011150796A1 (en) * 2010-05-31 2011-12-08 深圳市开立科技有限公司 Method and device for editing and displaying russian characters in chinese operating system environment
CN102799590B (en) * 2011-05-26 2017-02-08 安凯(广州)微电子技术有限公司 Embedded type electronic product word stock as well as word stock generating method and word stock searching method
CN102799590A (en) * 2011-05-26 2012-11-28 安凯(广州)微电子技术有限公司 Embedded type electronic product word stock as well as word stock generating method and word stock searching method
CN102508688B (en) * 2011-09-30 2014-04-02 福州瑞芯微电子有限公司 Method for solving media label information messy codes of multi-media file of android system
CN102508688A (en) * 2011-09-30 2012-06-20 福州瑞芯微电子有限公司 Method for solving media label information messy codes of multi-media file of android system
CN103150293B (en) * 2011-12-06 2017-06-06 富泰华工业(深圳)有限公司 The method that the electronic installation of mess code recovery can be carried out and recover mess code
CN104424165A (en) * 2013-09-06 2015-03-18 北大方正集团有限公司 Messy code detection method and system for text documents
CN103745710A (en) * 2013-12-04 2014-04-23 西安诺瓦电子科技有限公司 Text information playing device and method
CN103745710B (en) * 2013-12-04 2015-11-25 西安诺瓦电子科技有限公司 Word message playing device and method
CN107302645A (en) * 2017-04-27 2017-10-27 珠海赛纳打印科技股份有限公司 A kind of image processing apparatus and its image processing method
CN112036121A (en) * 2020-08-31 2020-12-04 浪潮商用机器有限公司 Simplified Chinese character and traditional Chinese character conversion method and related device
CN116611397A (en) * 2023-05-19 2023-08-18 北京神州安付科技股份有限公司 Special font processing method and system for financial payment equipment

Similar Documents

Publication Publication Date Title
CN101202976A (en) Apparatus and method of mobile communication terminal character conversion
CN103853806A (en) Method and device for converting table
CN101221418A (en) Multiple language development environment using shared resources
CN101526963A (en) Method for identifying web page coding, device and terminal equipment
CN102790727A (en) Method and system for dynamically pushing personal labels of users
CN105120109A (en) file display method and system
CN108628900B (en) Data format obtaining method and related device
CN101589388A (en) Method and system for indicating links in a document
CN101459712A (en) Telephone book ordering method and mobile phone equipment
CN101364216A (en) Method and device for displaying electronic book documentary on mobile terminal
CN104199628B (en) Character display method and system based on QT Embedded system
CN104281601A (en) Method and device for constructing huge character library and method and device for displaying characters
JPWO2009028555A1 (en) Electronic device, character string display method, multiple character string sort method, and character string display / sort program
CN101483035A (en) Method and system for display text on graphical interface
US6271865B1 (en) Cellular phone handset which can display special characters
CN103428341B (en) Method and device for searching for mobile phone contacts
EP2450791B1 (en) Method for updating media database in portable terminal
CN101599264B (en) Method and relevant device for displaying characters on mobile terminal
CN101621771B (en) Method, device and system for processing short message encoding
CN101345952A (en) Data storing and reading method, device and system for client identification card
CN107526730A (en) A kind of management method, storage medium and electronic equipment for translating data
CN102262520A (en) Test display method based on built-in platform mobile phone and applied device thereof
CN101101606A (en) Web page coding language automatic identification method and device for embedded type browser
CN101072252A (en) Method and device for identifying mobile phone number territoriality for mobile communication terminal
CN102014191A (en) System and method for acquiring contact names

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080618