CN104991698A - Data information obtaining method and apparatus - Google Patents
Data information obtaining method and apparatus Download PDFInfo
- Publication number
- CN104991698A CN104991698A CN201510350474.3A CN201510350474A CN104991698A CN 104991698 A CN104991698 A CN 104991698A CN 201510350474 A CN201510350474 A CN 201510350474A CN 104991698 A CN104991698 A CN 104991698A
- Authority
- CN
- China
- Prior art keywords
- character information
- information
- converted
- standard character
- transfer algorithm
- 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
Landscapes
- Document Processing Apparatus (AREA)
Abstract
An embodiment of the invention discloses a data information obtaining method and apparatus. The method comprises the steps of: receiving character information input by a user, wherein the character information comprises phonetic notation information, Tongyong Pinyin information, Chinese Pinyin information or Wade-Giles Pinyin information; converting the character information to preset standard character information according to a preset conversion algorithm; and according to a corresponding relationship between pre-stored data information and the standard character information, obtaining data information corresponding to the standard character information. Therefore, the purpose of supporting at least one or more query modes at the same time can be achieved.
Description
Technical field
The embodiment of the present invention relates to the technical field of mobile terminal, particularly relates to a kind of method and the device that obtain data message.
Background technology
At present, the dialer software of the portable handheld device occurred in market, dial (of a telephone) all can only support Chinese pinyin inquiring contactor or phonetic notation inquiring contactor, and dial (of a telephone) can not support the mode inquiring contactor that simplified Chinese character pinyin queries contact person or traditional font phonetic notation inquiring contactor or other inquiry modes combine simultaneously.
Summary of the invention
The object of the embodiment of the present invention is to propose a kind of method and the device that obtain data message, is intended to solve the problem how simultaneously supporting multiple inquiring contactor mode.
For reaching this object, the embodiment of the present invention by the following technical solutions:
Obtain a method for data message, described method comprises:
Receive the character information of user's input, described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information;
According to the transfer algorithm pre-set, described character information is converted to the standard character information pre-set;
According to the corresponding relation of the data message prestored and described standard character information, obtain the data message corresponding with described standard character information.
Preferably,
Described character information is converted to the standard character information pre-set by the transfer algorithm that described basis pre-sets, and comprising:
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described phonetic notation information is converted to described general Pinyin information; Or,
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described Chinese phonetic alphabet information is converted to described general Pinyin information; Or,
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described Wade-Giles information is converted to described general Pinyin information.
Preferably, the transfer algorithm that described basis pre-sets also comprises before described character information being converted to the standard character information pre-set:
Receive the translative mode of user's input, described translative mode is used for described character information being converted to the standard character information pre-set;
According to the transfer algorithm pre-set, described character information is converted to the standard character information pre-set, comprises:
Standard character information to be converted is obtained according to described translative mode;
Described character information is converted to described standard character information to be converted by the transfer algorithm pre-set.
Preferably, described described character information is converted to described standard character information to be converted by the transfer algorithm pre-set, comprises:
Described character information is converted to the form of another character information different from described character information form by the transfer algorithm pre-set.
Preferably, the corresponding relation of the data message that described basis prestores and described standard character information, after obtaining the data message corresponding with described standard character information, also comprises:
Described data message is shown to described user.
Obtain a device for data message, described device comprises:
First receiver module, for receiving the character information of user's input, described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information;
Modular converter, for being converted to according to the transfer algorithm pre-set the standard character information pre-set by described character information;
Acquisition module, for the corresponding relation according to the data message prestored and described standard character information, obtains the data message corresponding with described standard character information.
Preferably, described modular converter comprises:
First converting unit, if the standard character information for pre-setting is general Pinyin information, is then converted to described general Pinyin information according to the transfer algorithm pre-set by described phonetic notation information;
Second converting unit, if the standard character information for pre-setting is general Pinyin information, is then converted to described general Pinyin information according to the transfer algorithm pre-set by described Chinese phonetic alphabet information;
3rd converting unit, if the standard character information for pre-setting is general Pinyin information, is then converted to described general Pinyin information according to the transfer algorithm pre-set by described Wade-Giles information.
Preferably, described device also comprises:
Second receiver module, for receiving the translative mode of user's input, described translative mode is used for described character information being converted to the standard character information pre-set;
Described modular converter, comprising:
Acquiring unit, for obtaining standard character information to be converted according to described translative mode;
4th converting unit, for being converted to described standard character information to be converted by described character information by the transfer algorithm pre-set.
Preferably, described modular converter comprises:
5th converting unit, for being converted to the form of another character information different from described character information form by the transfer algorithm pre-set by described character information.
Preferably, described device also comprises:
Display module, for being shown to described user by described data message.
The embodiment of the present invention is by receiving the character information of user's input, and described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information; According to the transfer algorithm pre-set, described character information is converted to the standard character information pre-set; According to the corresponding relation of the data message prestored and described standard character information, obtain the data message corresponding with described standard character information, thus the object of the inquiry mode simultaneously supporting more than at least one can be realized.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the embodiment of the present invention obtains method first embodiment of data message;
Fig. 2 is the schematic flow sheet that the embodiment of the present invention obtains method second embodiment of data message;
Fig. 3 is the schematic flow sheet that the embodiment of the present invention obtains method the 3rd embodiment of data message;
Fig. 4 is the high-level schematic functional block diagram that the embodiment of the present invention obtains the device of data message;
Fig. 5 is the high-level schematic functional block diagram of embodiment of the present invention modular converter 402;
Fig. 6 is the high-level schematic functional block diagram that the embodiment of the present invention obtains the device of data message;
Fig. 7 is the high-level schematic functional block diagram of embodiment of the present invention modular converter 402;
Fig. 8 is the high-level schematic functional block diagram of embodiment of the present invention modular converter 402;
Fig. 9 is the high-level schematic functional block diagram that the embodiment of the present invention obtains the device of data message.
Embodiment
Below in conjunction with drawings and Examples, the embodiment of the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the embodiment of the present invention, but not the restriction to the embodiment of the present invention.It also should be noted that, for convenience of description, illustrate only the part relevant to the embodiment of the present invention in accompanying drawing but not entire infrastructure.
Embodiment one
It is the schematic flow sheet of method first embodiment of embodiment of the present invention acquisition data message with reference to figure 1, Fig. 1.
In embodiment one, the method for described acquisition data message comprises:
Step 101, receive the character information of user's input, described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information;
Concrete, by studying the rule of phonetic and phonetic notation, phonetic alphabet and the Chinese phonetic script being put by same dial (of a telephone) according to certain rules, realizes this dial (of a telephone) software supports Pinyin Input inquiring contactor and phonetic notation inquiring contactor simultaneously.User can adopt the custom of phonetic notation or phonetic to input.
Step 102, is converted to the standard character information pre-set by described character information according to the transfer algorithm pre-set;
Preferably, described character information is converted to the standard character information pre-set by the transfer algorithm that described basis pre-sets, and comprising:
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described phonetic notation information is converted to described general Pinyin information; Or,
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described Chinese phonetic alphabet information is converted to described general Pinyin information; Or,
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described Wade-Giles information is converted to described general Pinyin information.
Concrete, mutually can change between various different character information input rule.
Step 103, according to the corresponding relation of the data message prestored and described standard character information, obtains the data message corresponding with described standard character information.
Concrete, if standard character information is general Pinyin information, then obtain the data message corresponding with described general Pinyin information; If standard character information is other character informations, such as, standard character can be phonetic notation information or Chinese phonetic alphabet information or Wade-Giles information, then obtain the data message corresponding with other character informations.Meanwhile, also can set up and store data message corresponding to various different character information.
The embodiment of the present invention is by receiving the character information of user's input, and described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information; According to the transfer algorithm pre-set, described character information is converted to the standard character information pre-set; According to the corresponding relation of the data message prestored and described standard character information, obtain the data message corresponding with described standard character information, thus the object of the inquiry mode simultaneously supporting more than at least one can be realized.
Embodiment two
It is the schematic flow sheet of method second embodiment of embodiment of the present invention acquisition data message with reference to figure 2, Fig. 2.
On the basis of embodiment one, the transfer algorithm that described basis pre-sets also comprises before described character information being converted to the standard character information pre-set:
Step 104, receives the translative mode of user's input, and described translative mode is used for described character information being converted to the standard character information pre-set;
According to the transfer algorithm pre-set, described character information is converted to the standard character information pre-set, comprises:
Standard character information to be converted is obtained according to described translative mode;
Described character information is converted to described standard character information to be converted by the transfer algorithm pre-set.
Preferably, described described character information is converted to described standard character information to be converted by the transfer algorithm pre-set, comprises:
Described character information is converted to the form of another character information different from described character information form by the transfer algorithm pre-set.
Concrete, user can select any one character information to be converted to other a kind of character informations in the various characters information pre-set, thus adds the dirigibility of character conversion, the use of convenient user.
Embodiment three
It is the schematic flow sheet of method the 3rd embodiment of embodiment of the present invention acquisition data message with reference to figure 3, Fig. 3.
On the basis of embodiment one, the corresponding relation of the data message that described basis prestores and described standard character information, after obtaining the data message corresponding with described standard character information, also comprises:
Step 105, is shown to described user by described data message.
Concrete, the data message finally obtained is shown to user in a variety of ways.
Embodiment four
It is the high-level schematic functional block diagram of the device of embodiment of the present invention acquisition data message with reference to figure 4, Fig. 4.
In embodiment four, described device comprises:
First receiver module 401, for receiving the character information of user's input, described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information;
Concrete, by studying the rule of phonetic and phonetic notation, phonetic alphabet and the Chinese phonetic script being put by same dial (of a telephone) according to certain rules, realizes this dial (of a telephone) software supports Pinyin Input inquiring contactor and phonetic notation inquiring contactor simultaneously.User can adopt the custom of phonetic notation or phonetic to input.
Modular converter 402, for being converted to according to the transfer algorithm pre-set the standard character information pre-set by described character information;
Concrete, mutually can change between various different character information input rule.
Acquisition module 403, for the corresponding relation according to the data message prestored and described standard character information, obtains the data message corresponding with described standard character information.
Concrete, if standard character information is general Pinyin information, then obtain the data message corresponding with described general Pinyin information; If standard character information is other character informations, such as, standard character can be phonetic notation information or Chinese phonetic alphabet information or Wade-Giles information, then obtain the data message corresponding with other character informations.Meanwhile, also can set up and store data message corresponding to various different character information.
The embodiment of the present invention is by receiving the character information of user's input, and described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information; According to the transfer algorithm pre-set, described character information is converted to the standard character information pre-set; According to the corresponding relation of the data message prestored and described standard character information, obtain the data message corresponding with described standard character information, thus the object of the inquiry mode simultaneously supporting more than at least one can be realized.
Preferably, with reference to figure 5, Fig. 5 be the high-level schematic functional block diagram of embodiment of the present invention modular converter 402.
Described modular converter 402 comprises:
First converting unit 501, if the standard character information for pre-setting is general Pinyin information, is then converted to described general Pinyin information according to the transfer algorithm pre-set by described phonetic notation information;
Second converting unit 502, if the standard character information pre-set is general Pinyin information, then for described Chinese phonetic alphabet information being converted to described general Pinyin information according to the transfer algorithm pre-set;
3rd converting unit 503, if the standard character information for pre-setting is general Pinyin information, is then converted to described general Pinyin information according to the transfer algorithm pre-set by described Wade-Giles information.
Embodiment five
It is the high-level schematic functional block diagram of the device of embodiment of the present invention acquisition data message with reference to figure 6, Fig. 6.
On the basis of embodiment four, described device also comprises:
Second receiver module 404, for receiving the translative mode of user's input, described translative mode is used for described character information being converted to the standard character information pre-set;
Preferably, with reference to figure 7, Fig. 7 be the high-level schematic functional block diagram of embodiment of the present invention modular converter 402.
Described modular converter 402, comprising:
Acquiring unit 701, for obtaining standard character information to be converted according to described translative mode;
4th converting unit 702, for being converted to described standard character information to be converted by described character information by the transfer algorithm pre-set.
Preferably, with reference to figure 8, Fig. 8 be the high-level schematic functional block diagram of embodiment of the present invention modular converter 402.
Described modular converter 402 also comprises:
5th converting unit 703, for being converted to the form of another character information different from described character information form by the transfer algorithm pre-set by described character information.
Concrete, user can select any one character information to be converted to other a kind of character informations in the various characters information pre-set, thus adds the dirigibility of character conversion, the use of convenient user.
Embodiment six
It is the high-level schematic functional block diagram of the device of embodiment of the present invention acquisition data message with reference to figure 9, Fig. 9.
On the basis of embodiment four, described device also comprises:
Display module 405, for being shown to described user by described data message.
Concrete, the data message finally obtained is shown to user in a variety of ways.
Below the know-why of the embodiment of the present invention is described in conjunction with specific embodiments.These describe the principle just in order to explain the embodiment of the present invention, and can not be interpreted as the restriction to embodiment of the present invention protection domain by any way.Based on explanation herein, those skilled in the art does not need to pay other embodiment that performing creative labour can associate the embodiment of the present invention, these modes all by fall into the embodiment of the present invention protection domain within.
Claims (10)
1. obtain a method for data message, it is characterized in that, described method comprises:
Receive the character information of user's input, described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information;
According to the transfer algorithm pre-set, described character information is converted to the standard character information pre-set;
According to the corresponding relation of the data message prestored and described standard character information, obtain the data message corresponding with described standard character information.
2. method according to claim 1, is characterized in that, described character information is converted to the standard character information pre-set by the transfer algorithm that described basis pre-sets, and comprising:
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described phonetic notation information is converted to described general Pinyin information; Or,
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described Chinese phonetic alphabet information is converted to described general Pinyin information; Or,
If the standard character information pre-set is general Pinyin information, then according to the transfer algorithm pre-set, described Wade-Giles information is converted to described general Pinyin information.
3. method according to claim 1 and 2, is characterized in that, the transfer algorithm that described basis pre-sets also comprises before described character information being converted to the standard character information pre-set:
Receive the translative mode of user's input, described translative mode is used for described character information being converted to the standard character information pre-set;
According to the transfer algorithm pre-set, described character information is converted to the standard character information pre-set, comprises:
Standard character information to be converted is obtained according to described translative mode;
Described character information is converted to described standard character information to be converted by the transfer algorithm pre-set.
4. method according to claim 3, is characterized in that, described described character information is converted to described standard character information to be converted by the transfer algorithm pre-set, and comprising:
Described character information is converted to the form of another character information different from described character information form by the transfer algorithm pre-set.
5. method according to claim 1 and 2, is characterized in that, the corresponding relation of the data message that described basis prestores and described standard character information, after obtaining the data message corresponding with described standard character information, also comprises:
Described data message is shown to described user.
6. obtain a device for data message, it is characterized in that, described device comprises:
First receiver module, for receiving the character information of user's input, described character information comprises phonetic notation information, general Pinyin information, Chinese phonetic alphabet information or Wade-Giles information;
Modular converter, for being converted to according to the transfer algorithm pre-set the standard character information pre-set by described character information;
Acquisition module, for the corresponding relation according to the data message prestored and described standard character information, obtains the data message corresponding with described standard character information.
7. device according to claim 6, is characterized in that, described modular converter comprises:
First converting unit, if the standard character information for pre-setting is general Pinyin information, is then converted to described general Pinyin information according to the transfer algorithm pre-set by described phonetic notation information;
Second converting unit, if the standard character information for pre-setting is general Pinyin information, is then converted to described general Pinyin information according to the transfer algorithm pre-set by described Chinese phonetic alphabet information;
3rd converting unit, if the standard character information for pre-setting is general Pinyin information, is then converted to described general Pinyin information according to the transfer algorithm pre-set by described Wade-Giles information.
8. the device according to claim 6 or 7, is characterized in that, described device also comprises:
Second receiver module, for receiving the translative mode of user's input, described translative mode is used for described character information being converted to the standard character information pre-set;
Described modular converter, comprising:
Acquiring unit, for obtaining standard character information to be converted according to described translative mode;
4th converting unit, for being converted to described standard character information to be converted by described character information by the transfer algorithm pre-set.
9. device according to claim 8, is characterized in that, described modular converter also comprises:
5th converting unit, for being converted to the form of another character information different from described character information form by the transfer algorithm pre-set by described character information.
10. the device according to claim 6 or 7, is characterized in that, described device also comprises:
Display module, for being shown to described user by described data message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510350474.3A CN104991698A (en) | 2015-06-23 | 2015-06-23 | Data information obtaining method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510350474.3A CN104991698A (en) | 2015-06-23 | 2015-06-23 | Data information obtaining method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104991698A true CN104991698A (en) | 2015-10-21 |
Family
ID=54303514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510350474.3A Pending CN104991698A (en) | 2015-06-23 | 2015-06-23 | Data information obtaining method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104991698A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1271135A (en) * | 1999-04-15 | 2000-10-25 | 英业达集团(上海)电子技术有限公司 | Phonetic code inquiring method for data base |
CN1287322A (en) * | 1999-09-03 | 2001-03-14 | 英业达集团(上海)电子技术有限公司 | Multiple inner code converting system |
CN1339907A (en) * | 2000-08-22 | 2002-03-13 | 英业达集团(上海)电子技术有限公司 | Chinese character and word input method and system |
CN1361619A (en) * | 2000-12-26 | 2002-07-31 | 英业达集团(上海)电子技术有限公司 | Intelligent data check system and method of mobile telephone |
CN1421803A (en) * | 2001-11-30 | 2003-06-04 | 英业达股份有限公司 | System and method capable of performing pinyin romanization-phonetic notation conversion of multiple-syllable word |
CN104219362A (en) * | 2013-05-30 | 2014-12-17 | 腾讯科技(深圳)有限公司 | Method and device for searching for contact person |
-
2015
- 2015-06-23 CN CN201510350474.3A patent/CN104991698A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1271135A (en) * | 1999-04-15 | 2000-10-25 | 英业达集团(上海)电子技术有限公司 | Phonetic code inquiring method for data base |
CN1287322A (en) * | 1999-09-03 | 2001-03-14 | 英业达集团(上海)电子技术有限公司 | Multiple inner code converting system |
CN1339907A (en) * | 2000-08-22 | 2002-03-13 | 英业达集团(上海)电子技术有限公司 | Chinese character and word input method and system |
CN1361619A (en) * | 2000-12-26 | 2002-07-31 | 英业达集团(上海)电子技术有限公司 | Intelligent data check system and method of mobile telephone |
CN1421803A (en) * | 2001-11-30 | 2003-06-04 | 英业达股份有限公司 | System and method capable of performing pinyin romanization-phonetic notation conversion of multiple-syllable word |
CN104219362A (en) * | 2013-05-30 | 2014-12-17 | 腾讯科技(深圳)有限公司 | Method and device for searching for contact person |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101150796A (en) | A method and device for quick entry into mobile phone menu | |
CN104754536A (en) | Method and system for realizing communication between different languages | |
CN103986752A (en) | Method, device and system for inputting information on input interface of smart television set | |
KR20210006454A (en) | RACH resource selection method, RACH resource configuration method, user equipment and network-side equipment | |
CN102541400A (en) | System and method performing data interaction with touch screen | |
CN103596021A (en) | Account login method, device and system of intelligent television | |
CN108536638B (en) | Intelligent bookmark setting method, mobile terminal, system and readable storage medium | |
CN101202780A (en) | System and method for managing contextual model | |
CN109189258A (en) | Record the method and device of notes | |
KR100390646B1 (en) | Dialing method in smart-phone | |
CN101699839A (en) | Mobile terminal figure adaptive system and method thereof | |
CN103412885A (en) | Contact person photo setting method and device | |
CN107635066A (en) | A kind of Dialing Method and mobile terminal | |
CN102843596A (en) | Input method used in intelligent television | |
CN104834848A (en) | Mobile phone fingerprint identification method and apparatus | |
CN112395086A (en) | Resource allocation method and device, electronic equipment and storage medium | |
CN104216982A (en) | Information processing method and electronic equipment | |
CN105095161B (en) | Method and device for displaying rich text information | |
CN103870008A (en) | Method and device for output and input of Braille characters on touch screen | |
CN104991698A (en) | Data information obtaining method and apparatus | |
CN103618958A (en) | Method and device for inputting text information to television | |
CN104079698A (en) | Incoming call information display method and device | |
KR20120082121A (en) | Method and apparatus for sroring telephone number in portable terminal | |
CN108234275B (en) | Method and device for releasing communication information | |
KR20140080214A (en) | Terminal and method for transmission of user information |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151021 |