Movatterモバイル変換


[0]ホーム

URL:


CN103902213A - Text information generating method and device - Google Patents

Text information generating method and device
Download PDF

Info

Publication number
CN103902213A
CN103902213ACN201210581320.1ACN201210581320ACN103902213ACN 103902213 ACN103902213 ACN 103902213ACN 201210581320 ACN201210581320 ACN 201210581320ACN 103902213 ACN103902213 ACN 103902213A
Authority
CN
China
Prior art keywords
character information
character
pinyin
information
page
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.)
Granted
Application number
CN201210581320.1A
Other languages
Chinese (zh)
Other versions
CN103902213B (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.)
China Mobile Group Henan Co Ltd
Original Assignee
China Mobile Group Henan 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 China Mobile Group Henan Co LtdfiledCriticalChina Mobile Group Henan Co Ltd
Priority to CN201210581320.1ApriorityCriticalpatent/CN103902213B/en
Publication of CN103902213ApublicationCriticalpatent/CN103902213A/en
Application grantedgrantedCritical
Publication of CN103902213BpublicationCriticalpatent/CN103902213B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明公开了一种文字信息的生成方法和设备,其内容包括:接收用户触发页面产生的输入文字信息的请求消息,启动与页面有链接关系的虚拟键盘,并接收用户通过触发所述虚拟键盘中的字符键生成的拼音形式的字符信息,根据预先存储的拼音形式的字符信息与汉字形式的字符信息之间的对应关系,确定接收到的拼音形式的字符信息对应的汉字形式的字符信息,将所述确定的汉字形式的字符信息推送至触发页面中显示,在接收到用户触发的输入文字信息的请求消息时启动与该页面有链接关系的虚拟键盘,比现有技术中通过启动操作系统中的虚拟键盘更加灵活,并且启动的虚拟键盘与页面具有链接关系,使用比较方便,减少了响应指令的时间,提高了文字信息生成的效率。

The invention discloses a method and device for generating text information. The content includes: receiving a request message for inputting text information generated by a user triggering a page, starting a virtual keyboard linked to the page, and receiving a user triggering the virtual keyboard. The character information in the form of pinyin generated by the character key in the character key, according to the correspondence between the character information in the form of pinyin and the character information in the form of Chinese characters stored in advance, determine the character information in the form of Chinese characters corresponding to the received character information in the form of pinyin, Push the character information of the determined Chinese character form to the trigger page for display, start the virtual keyboard that has a link relationship with the page when receiving the request message of the input text information triggered by the user, compared with the prior art by starting the operating system The virtual keyboard in is more flexible, and the activated virtual keyboard has a link relationship with the page, which is more convenient to use, reduces the time for responding to instructions, and improves the efficiency of text information generation.

Description

A kind of generation method and apparatus of Word message
Technical field
The present invention relates to word input field, relate in particular to a kind of generation method and apparatus that is applied to the Word message on self-aided terminal.
Background technology
Along with scientific and technical development, various electronic products are likeeed the bees pressing out in swarms, for example: computer, mobile phone, self-aided terminal etc., people are in the process of utilizing online computing, when needs are in the WEB page when input characters, conventionally start the input method software of installing in computer, and this input method software is by this software of operating system of installing on computers, and then the word that needs of output user.In this course, user can input the literal order needing by physical keyboard, the literal order that the dummy keyboard that can also carry by operating system input needs.
But the dummy keyboard that operating system carries need to be operated by professional tools such as mouses conventionally, and dummy keyboard be arranged on fixed position show, with other softwares in client or application program independent operating.For example: user need to show WEB webpage in input characters, now, otherwise start physical keyboard, by physical keyboard input needs literal order; Dummy keyboard in starting the operating system, utilizes special tool to make and sends out the literal order that dummy keyboard output needs.
Along with industrialized development, in society, there is a large amount of self-aided terminals, their productive life that appears as people brings great convenience.Described self-aided terminal comprises a tangibly display screen and controller, and people, by touch control self-aided terminal, obtain the information needing from self-aided terminal.
In the prior art, if desired input characters on self-aided terminal, conventionally start be with self-aided terminal in the dummy keyboard that matches of operating system, and the dummy keyboard matching with the operating system of computer in this dummy keyboard and computer is similar, just can respond triggering command, and do not need professional tool to operate, but, this dummy keyboard form is fixed, the speed that receives triggering command is slower, and the accuracy of recognition instruction is poor, easily occurs read error, cause output character inaccurate, user is experienced poor.
In sum, in the prior art, the dummy keyboard based in master terminal exists dirigibility poor, and the time of response input instruction is longer, the lower problem of accuracy of output character.
Summary of the invention
The embodiment of the present invention provides a kind of generation method and apparatus of Word message, exists dirigibility poor for solving the dummy keyboard of prior art based in master terminal, and the time of response input instruction is longer, the lower problem of accuracy of output character.
A generation method for Word message, comprising:
Receive the request message that user triggers the inputting word information of page generation, start the dummy keyboard that has linking relationship with the page;
And receive user by the character information of the phonetic form of the character keys generation in the described dummy keyboard of triggering;
According to the corresponding relation between the pre-stored character information of phonetic form and the character information of hanzi form, the character information of the hanzi form that the character information of definite phonetic form receiving is corresponding;
The character information of described definite hanzi form is pushed to trigger in the page and show.
A generation equipment for Word message, comprising:
Start module, trigger the request message of the inputting word information of page generation for receiving user, start the dummy keyboard that has linking relationship with the page;
Receiver module, for and receive the character information of phonetic form that user generates by triggering the character keys of described dummy keyboard;
Determination module, for according to the corresponding relation between the pre-stored character information of phonetic form and the character information of hanzi form, determines the character information of the hanzi form that the character information of the phonetic form receiving is corresponding;
Generation module, shows for the character information of described definite hanzi form being pushed to the triggering page.
Beneficial effect of the present invention is as follows:
The embodiment of the present invention triggers the request message of the inputting word information of page generation by receiving user, start the dummy keyboard that has linking relationship with the page, and receive user by the character information of the phonetic form of the character keys generation in the described dummy keyboard of triggering, according to the corresponding relation between the pre-stored character information of phonetic form and the character information of hanzi form, determine the character information of the hanzi form that the character information of the phonetic form that receives is corresponding, the character information of described definite hanzi form is pushed to trigger in the page and show, compared with prior art, in self-aided terminal, when start the dummy keyboard that has linking relationship with this page in the time receiving the request message of inputting word information that user triggers, than more flexible by the dummy keyboard in starting the operating system in prior art, and the dummy keyboard and the page that start have linking relationship, use more convenient, reduce the time of response instruction, improve the efficiency that Word message generates.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the generation method of a kind of Word message of the embodiment of the present invention one;
Fig. 2 is the corresponding character information of hanzi form the schematic flow sheet of demonstration of character information of determining the phonetic form receiving;
Fig. 3 is the structural representation of the generation equipment of a kind of Word message of the embodiment of the present invention two.
Embodiment
In order to realize object of the present invention, the embodiment of the present invention provides a kind of generation method and apparatus of Word message, trigger the request message of the inputting word information of page generation by receiving user, start the dummy keyboard that has linking relationship with the page, and receive user by the character information of the phonetic form of the character keys generation in the described dummy keyboard of triggering, according to the corresponding relation between the pre-stored character information of phonetic form and the character information of hanzi form, determine the character information of the hanzi form that the character information of the phonetic form that receives is corresponding, the character information of described definite hanzi form is pushed to trigger in the page and show, compared with prior art, in self-aided terminal, when start the dummy keyboard that has linking relationship with this page in the time receiving the request message of inputting word information that user triggers, than more flexible by the dummy keyboard in starting the operating system in prior art, and the dummy keyboard and the page that start have linking relationship, use more convenient, reduce the time of response instruction, improve the efficiency that Word message generates.
Below in conjunction with Figure of description, each embodiment of the present invention is described in detail.
Embodiment mono-:
As shown in Figure 1, be the process flow diagram of the generation method of a kind of Word message of the embodiment of the present invention one, described method comprises:
Step 101: reception user triggers the request message of the inputting word information of page generation, starts the dummy keyboard that has linking relationship with the page.
Particularly, instep 101, can carry out eaily the input of Word message in order to realize in the display page with touch function, developer will write in html page with the program that starts, moves dummy keyboard, incidence relation between inputting word information port and its enable port of dummy keyboard of html page is set, guarantee like this, in the time that needs carry out word generation, to start dummy keyboard.
Wherein, described dummy keyboard can be realized by JavaScript scripted code.For example: on_load() statement represents dummy keyboard initialization under JS script; Showkeyboard() statement represents to show dummy keyboard; Closekeyboard() statement represents to close dummy keyboard; OverInput(inputContainerId) statement represents definite Word message to be filled into the input frame of the WEB page; SetCapsLock() identification letter capital and small letter when statement represents to trigger under English mode the character keys of dummy keyboard; Pagefy(page NumKey) statement represents display field page turning; Resetvalue() statement represents that input replacement empties; SetVariables() it is placed in the middle that statement represents to arrange dummy keyboard screen; EvalMove() statement represents to drag dummy keyboard; What search_code_table(inputhz) statement represented input is the character information of phonetic form or the character information of hanzi form; Create_word_list(start, index, str)) statement represents the list of generating character information display; Insert_char(inputhz) statement represents the character information of input Pinyin form; Select_hz() statement represents Chinese pattern input; Select_en () statement represents English mode input etc.
More preferably, developer passes through document.write() layout pattern of the dynamic generating virtual keyboard of method etc., the needs that show according to the page, are the different dummy keyboard display format of different page setups.
Developer also passes through document.write() method generation DIV, and the css pattern display property value that DIV is set is none, this div is hidden, dummy keyboard is put into the DIV of generation simultaneously, make dummy keyboard page there is hidden function, and in the time that needs are closed dummy keyboard, call closekeyboard() method, the display property value of DIV is set to none, hides dummy keyboard.
In user need to the display page in self-aided terminal, when input characters, send the request message of inputting word information by the input port of page inputting word information.
Receive the request message that user triggers the inputting word information of page generation, and according to the incidence relation between inputting word information port and its enable port of dummy keyboard default in the page, in the time that user triggers the request message of inputting word information port generation inputting word information of the page, start with the page and have the dummy keyboard of linking relationship and show in the page.
Step 102: receive user by the character information of the phonetic form of the character keys generation in the described dummy keyboard of triggering.
Instep 102, start dummy keyboard and in the page show after, user triggers the character keys in the dummy keyboard of demonstration, triggers the order of character keys in described dummy keyboard and monogram and become the principle of phonetic according to user, generates the character information of the phonetic form needing.
For example: user triggers character keys w and the o in the dummy keyboard of demonstration successively, trigger the order of character keys in described dummy keyboard and monogram and become the principle of phonetic according to user, generate the character information " wo " of the phonetic form needing.
User triggers character keys w, o, m, e, the n in the dummy keyboard of demonstration successively, triggers the order of character keys in described dummy keyboard and monogram and become the principle of phonetic according to user, generates the character information " wo men " of the phonetic form needing.
Step 103: according to the corresponding relation between the pre-stored character information of phonetic form and the character information of hanzi form, the character information of the hanzi form that the character information of definite phonetic form receiving is corresponding.
Instep 103, the corresponding relation between the described pre-stored character information of phonetic form and the character information of hanzi form includes but not limited to following mode:
First, 26 English alphabets are combined according to Chinese pinyin combination principle, form the character information of multiple phonetic forms.
For example: a, ai, lv, da, tian etc.
Secondly, determine the character information of at least one hanzi form that the character information of this phonetic form is corresponding for the character information of each phonetic form.
For example: a: eh, Ah ,'s a word used for translation etc.; Ai: sound of sighing, dust, suffer, like, etc.
The 3rd, the corresponding relation between the character information of the hanzi form that the character information of setting up this phonetic form is corresponding with this pinyin character information of determining, and form an array for this corresponding relation.
For example: set up the corresponding relation between a and (eh, Ah ,'s a word used for translation), and form array a(eh, Ah ,'s a word used for translation).
The 4th, the sequencing that the multiple arrays that form are arranged according to letter forms the list of phonetic-Chinese character.
Wherein, the order of described arrangement is: first arrange according to initial; Secondly,, in the time that initial is identical, arrange according to second letter; Successively backward, to the last letter.
As shown in table 1, for the sequencing of arranging according to letter forms the list of phonetic-Chinese character:
aEh, Ah ,'s a word used for translation etc.
aiSound of sighing, dust, suffer, like, etc.
…………
ma, code,, horse, mother etc.
…………
zhiValue, to, refer to, only, will, etc.
Table 1
The character information of the hanzi form that the described character information of determining the phonetic form that receives is corresponding, specifically comprises:
First, the character information of the character information of each the phonetic form receiving and pre-stored phonetic form is carried out to matching operation.
Particularly, in the time that the character information of phonetic form generating is 1, the character information of this pinyin character information generating and pre-stored phonetic form is carried out to matching operation.
In the time that the character information of phonetic form generating is at least 1, the character information of each the pinyin character information generating and pre-stored phonetic form is carried out to matching operation.
More preferably, the character information of the character information of each the phonetic form receiving and pre-stored phonetic form is carried out to matching operation, specifically comprises:
The first, the length value of the character information of each phonetic form that calculating receives.
For example: the character information of the phonetic form receiving is " wo ", and the length value of the character information of this phonetic form calculating is 2.
The second, from the character information of pre-stored phonetic form, find out the character information of the phonetic form that length value is identical with the length value of described calculating.
Particularly, from the list of phonetic-Chinese character, the character information of the phonetic form that the length value of searching the character information of phonetic form is 2.
The 3rd, each character in the character information of each character in the character information of each the phonetic form receiving and each phonetic form of finding out is compared.
The 4th, in the time that each character in the character information of each character in the character information of each the phonetic form receiving and each the phonetic form finding out is identical, determine that the character information of this phonetic form finding out and the character information of this phonetic form receiving match;
When each character in the character information of each character in the character information of each the phonetic form receiving and each the phonetic form finding out at least one when not identical, determine that the character information of this phonetic form finding out and the character information of this phonetic form receiving do not match.
Secondly, in the time that the character information of this phonetic form receiving mates completely with the character information of pre-stored phonetic form, search the character information of the hanzi form that the character information of pre-stored phonetic form is corresponding, and character information using the character information of the hanzi form finding as hanzi form corresponding to the character information of the phonetic form receiving.
Step 104: the character information of described definite hanzi form is pushed in the triggering page and shown.
Particularly, instep 104, the character information of hanzi form definite instep 103 is pushed in the triggering page and shown.
The mode of described demonstration includes but not limited to following mode:
First,, according to the number of the character information of the hanzi form of each demonstration of the number of the character information of definite hanzi form and setting, calculate the number of times that the character information of described definite hanzi form need to show.
For example: the number of the character information of definite hanzi form is 100, the number of the character information of the hanzi form of each demonstration of setting is 6, obtaining the number of times that the character information of described definite hanzi form need to show is 17 times, wherein, show for the last time the character information of remaining 4 hanzi forms.
Secondly, the character information of the described definite hanzi form obtaining is write in word-information display hurdle successively, and push to trigger in the page and show, wherein, in described word display field, to change the number of times showing identical with the demonstration number of times calculating for the character information of hanzi form.
Particularly, first, according to the demonstration number of times calculating, the character information of the described definite hanzi form obtaining is divided into groups, wherein, the character information of the hanzi form comprising in each group is identical with the character information of each demonstration of setting.
More preferably, according to the number of the character information of hanzi form in each group after grouping, the character information of the hanzi form of each group that grouping is obtained is numbered.
For example, take the character information of above-mentioned 100 definite hanzi forms as example, the character information of the hanzi form of first group be numbered 10,11,12,13,14 and 15; The character information of the hanzi form of second group be numbered 20,21,22,23,24 and 25; The character information of the hanzi form of the 17 group be numbered 170,171,172 and 173.
Wherein, each numbers the character information of a corresponding unique hanzi form.
Secondly, gained grouping is sorted.
Wherein, sort by can be hanzi form character information stroke from less to more, can be the frequency using according to the character information of hanzi form, do not limit here.
The 3rd, the character information of hanzi form after sequence is write in word-information display hurdle successively take group as unit, and push to trigger in the page and show.
It should be noted that, when the character information of the hanzi form in display field need to switch, trigger switching push button and switch, guarantee to find the character information of the hanzi form needing.
More preferably, as shown in Figure 2, for determining the corresponding character information of hanzi form the schematic flow sheet of demonstration of character information of the phonetic form receiving, specifically comprise:
Step 201: pre-loaded dummy keyboard operating file and phonetic-Chinese character fileinfo.
Step 202: the phonetic-Chinese character fileinfo loading is carried out to traversing operation, the dope vector of the character information that obtains comprising a phonetic form and the information of at least one hanzi form.
Particularly, in the time that right phonetic-Chinese character fileinfo carries out traversing operation, will obtain multiple arrays, wherein, the character information that comprises a phonetic form in each array and the information of at least one hanzi form.
Step 203: the character information of the phonetic form in the character information of the phonetic form receiving and each array is carried out to matching operation.
Step 204: when the character information of the phonetic form receiving and the character information of the phonetic form in an array are when mating, the character information of the hanzi form corresponding character information of phonetic form in this array is extracted and forms Chinese character array.
Step 205: for the Chinese character array obtaining, determine the number of the character information of hanzi form in this Chinese character array, and judge that whether this number is greater than each demonstration number of setting, if be greater than, performs step 207; Otherwise, execution step 206.
Step 206: Chinese character array is converted into demonstration array.
Wherein, the character information of each hanzi form in demonstration array configures a numbering.
For example: Chinese character array is: sound of sighing, dust, suffer, like; Convert demonstration array to: 1 sound of sighing 2 dusts 3 suffer 4 love 5.
Step 207: Chinese character array is converted into Pagination Display array.
Wherein, in Pagination Display data, be the character information configuration numbering of the hanzi form of every one page.
In the time that the number of the character information of the hanzi form of last page is less than the number of every page of demonstration of setting, it is the character information configuration numbering of the hanzi form of last page.
By the scheme of the embodiment of the present invention one, receive the request message that user triggers the inputting word information of page generation, start the dummy keyboard that has linking relationship with the page, and receive user by the character information of the phonetic form of the character keys generation in the described dummy keyboard of triggering, according to the corresponding relation between the pre-stored character information of phonetic form and the character information of hanzi form, determine the character information of the hanzi form that the character information of the phonetic form that receives is corresponding, the character information of described definite hanzi form is pushed to trigger in the page and show, compared with prior art, in self-aided terminal, when start the dummy keyboard that has linking relationship with this page in the time receiving the request message of inputting word information that user triggers, than more flexible by the dummy keyboard in starting the operating system in prior art, and the dummy keyboard and the page that start have linking relationship, use more convenient, reduce the time of response instruction, improve the efficiency that Word message generates.
Embodiment bis-:
As shown in Figure 3, be the structural representation of the generation equipment of a kind of Word message of the embodiment of the present invention two, described equipment comprises: startmodule 11,receiver module 12,determination module 13 andgeneration module 14, wherein:
Start module 11, trigger the request message of the inputting word information of page generation for receiving user, start the dummy keyboard that has linking relationship with the page;
Receiver module 12, for and receive the character information of phonetic form that user generates by triggering the character keys of described dummy keyboard;
Determination module 13, for according to the corresponding relation between the pre-stored character information of phonetic form and the character information of hanzi form, determines the character information of the hanzi form that the character information of the phonetic form receiving is corresponding;
Generation module 14, shows for the character information of described definite hanzi form being pushed to the triggering page.
Particularly, describedstartup module 11, specifically for according to the incidence relation between default inputting word information port and its enable port of dummy keyboard in the page, in the time that user triggers the request message of inputting word information port generation inputting word information of the page, start with the page and have the dummy keyboard of linking relationship and show in the page.
Describedreceiver module 12, becomes the principle of phonetic specifically for trigger the order of character keys in described dummy keyboard and monogram according to user, generate the character information of the phonetic form needing.
More preferably, describeddetermination module 13, specifically comprises: mate subelement 21 and search subelement 22, wherein:
Coupling subelement 21, for carrying out matching operation by the character information of the character information of each the phonetic form receiving and pre-stored phonetic form.
Search subelement 22, for in the time that the character information of this phonetic form receiving mates completely with the character information of pre-stored phonetic form, search the character information of the hanzi form that the character information of pre-stored phonetic form is corresponding, and character information using the character information of the hanzi form finding as hanzi form corresponding to the character information of the phonetic form receiving.
Particularly, describedgeneration module 14, specifically according to the number of the character information of each demonstration of the number of the character information of definite hanzi form and setting, calculate the number of times that the character information of described definite hanzi form need to show, and the character information of the described definite hanzi form obtaining is write in word-information display hurdle successively, push in the triggering page and show, wherein, the number of described word display field is to determine according to the demonstration number of times calculating.
More preferably, described coupling subelement 21, the length value of the character information of each the phonetic form receiving specifically for calculating, and from the character information of pre-stored phonetic form, find out the character information of the phonetic form that length value is identical with the length value of described calculating, each character in the character information of each character in the character information of each the phonetic form receiving and each the phonetic form finding out is compared;
In the time that each character in the character information of each character in the character information of each the phonetic form receiving and each the phonetic form finding out is identical, determine that the character information of this phonetic form finding out and the character information of this phonetic form receiving match;
When each character in the character information of each character in the character information of each the phonetic form receiving and each the phonetic form finding out at least one when not identical, determine that the character information of this phonetic form finding out and the character information of this phonetic form receiving do not match.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

Translated fromChinese
1.一种文字信息的生成方法,其特征在于,包括:1. A method for generating text information, comprising:接收用户触发页面产生的输入文字信息的请求消息,启动与页面有链接关系的虚拟键盘;Receive a request message for inputting text information generated by the user triggering the page, and start a virtual keyboard linked to the page;并接收用户通过触发所述虚拟键盘中的字符键生成的拼音形式的字符信息;And receive the character information of the pinyin form generated by the user by triggering the character keys in the virtual keyboard;根据预先存储的拼音形式的字符信息与汉字形式的字符信息之间的对应关系,确定接收到的拼音形式的字符信息对应的汉字形式的字符信息;According to the correspondence between the pre-stored character information in the form of pinyin and the character information in the form of Chinese characters, determine the character information in the form of Chinese characters corresponding to the received character information in the form of pinyin;将所述确定的汉字形式的字符信息推送至触发页面中显示。The determined character information in the form of Chinese characters is pushed to the trigger page for display.2.如权利要求1所述的方法,其特征在于,所述接收用户触发页面产生的输入文字信息的请求消息,启动与页面有链接关系的虚拟键盘,具体包括:2. The method according to claim 1, wherein the request message of receiving the input text information that the user triggers the page to generate starts a virtual keyboard that has a link relationship with the page, specifically comprising:根据在页面中预设的输入文字信息端口与虚拟键盘的启动端口之间的关联关系,在用户触发页面的输入文字信息端口产生输入文字信息的请求消息时,启动与页面有链接关系的虚拟键盘并在页面中显示。According to the association between the input text information port preset in the page and the start port of the virtual keyboard, when the user triggers the input text information port of the page to generate a request message for input text information, start the virtual keyboard linked to the page and displayed on the page.3.如权利要求1所述的方法,其特征在于,所述用户通过触发所述虚拟键盘中的字符键生成拼音形式的字符信息,具体包括:3. The method according to claim 1, wherein the user generates character information in pinyin form by triggering character keys in the virtual keyboard, specifically comprising:根据用户触发所述虚拟键盘中字符键的顺序以及字母组合成拼音的原则,生成需要的拼音形式的字符信息。According to the order in which the user triggers the character keys in the virtual keyboard and the principle of combining letters into pinyin, the required character information in the form of pinyin is generated.4.如权利要求1所述的方法,其特征在于,所述根据预先存储的拼音形式的字符信息与汉字形式的字符信息之间的对应关系,确定接收到的拼音形式的字符信息对应的汉字形式的字符信息,具体包括:4. The method according to claim 1, wherein, according to the correspondence between the pre-stored character information in the pinyin form and the character information in the form of Chinese characters, determine the Chinese character corresponding to the received character information in the pinyin form Form character information, specifically including:将接收到的每一个拼音形式的字符信息与预先存储的拼音形式的字符信息进行匹配操作;Matching each received character information in pinyin form with the pre-stored character information in pinyin form;在接收到的该拼音形式的字符信息与预先存储的拼音形式的字符信息完全匹配时,查找预先存储的拼音形式的字符信息对应的汉字形式的字符信息,并将查找到的汉字形式的字符信息作为接收到的拼音形式的字符信息对应的汉字形式的字符信息;When the received character information in the pinyin form matches the pre-stored character information in the pinyin form completely, search for the character information in the form of Chinese characters corresponding to the character information in the pre-stored pinyin form, and use the found character information in the form of Chinese characters Character information in the form of Chinese characters corresponding to the received character information in the form of Pinyin;所述将所述确定的汉字形式的字符信息推送至触发页面中显示,具体包括:The said pushing the character information in the form of the determined Chinese characters to the trigger page for display specifically includes:根据确定的汉字形式的字符信息的个数和设定的每次显示的字符信息的个数,计算得到所述确定的汉字形式的字符信息需要显示的次数;According to the number of character information in the determined Chinese character form and the number of character information displayed each time set, calculate the number of times the character information in the determined Chinese character form needs to be displayed;将得到的所述确定的汉字形式的字符信息依次写入文字信息显示栏中,并推送至触发页面中显示,其中,所述文字显示栏内汉字形式的字符信息变化显示的次数与计算得到的显示次数相同。The obtained character information of the determined Chinese character form is sequentially written into the text information display column, and pushed to the trigger page for display, wherein, the number of times of character information change display in the Chinese character form in the text display column is the same as the calculated Displayed the same number of times.5.如权利要求4所述的方法,其特征在于,所述将接收到的每一个拼音形式的字符信息与预先存储的拼音形式的字符信息进行匹配操作,具体包括:5. The method according to claim 4, wherein the matching operation of the received character information of each pinyin form with the pre-stored character information of the pinyin form specifically comprises:计算接收到的每一个拼音形式的字符信息的长度值;Calculate the length value of each received character information in pinyin form;从预先存储的拼音形式的字符信息中查找出长度值与所述计算的长度值相同的拼音形式的字符信息;Find out the character information in the pinyin form whose length value is the same as the calculated length value from the pre-stored character information in the form of pinyin;将接收到的每一个拼音形式的字符信息中的每一个字符与查找出的每一个拼音形式的字符信息中的每一个字符进行比较;Comparing each character in the received character information in each pinyin form with each character in the found character information in each pinyin form;当接收到的每一个拼音形式的字符信息中的每一个字符与查找出的每一个拼音形式的字符信息中的每一个字符都相同时,确定查找出的该拼音形式的字符信息与接收到的该拼音形式的字符信息相匹配;When each character in the character information of each phonetic form received is the same as each character in the character information of each phonetic form found out, it is determined that the character information of the phonetic form found out is consistent with the received character information. The character information of the pinyin form matches;当接收到的每一个拼音形式的字符信息中的每一个字符与查找出的每一个拼音形式的字符信息中的每一个字符至少一个不相同时,确定查找出的该拼音形式的字符信息与接收到的该拼音形式的字符信息不相匹配。When each character in the character information of each pinyin form received is different from at least one of each character in the character information of each pinyin form found out, it is determined that the character information of the pinyin form found out is different from the received character information. The character information of the pinyin form does not match.6.一种文字信息的生成设备,其特征在于,包括:6. A device for generating text information, comprising:启动模块,用于接收用户触发页面产生的输入文字信息的请求消息,启动与页面有链接关系的虚拟键盘;The startup module is used to receive a request message for inputting text information generated by the user triggering the page, and start a virtual keyboard linked to the page;接收模块,用于并接收用户通过触发所述虚拟键盘中的字符键生成的拼音形式的字符信息;The receiving module is used for and receives the character information of the pinyin form that the user generates by triggering the character keys in the virtual keyboard;确定模块,用于根据预先存储的拼音形式的字符信息与汉字形式的字符信息之间的对应关系,确定接收到的拼音形式的字符信息对应的汉字形式的字符信息;A determining module, configured to determine the character information in the form of Chinese characters corresponding to the received character information in the form of Pinyin according to the pre-stored correspondence between the character information in the form of Pinyin and the character information in the form of Chinese characters;生成模块,用于将所述确定的汉字形式的字符信息推送至触发页面中显示。A generating module, configured to push the determined character information in the form of Chinese characters to a trigger page for display.7.如权利要求6所述的设备,其特征在于,7. The apparatus of claim 6, wherein所述启动模块,具体用于根据在页面中预设的输入文字信息端口与虚拟键盘的启动端口之间的关联关系,在用户触发页面的输入文字信息端口产生输入文字信息的请求消息时,启动与页面有链接关系的虚拟键盘并在页面中显示。The start-up module is specifically used to start when the user triggers the input text information port of the page to generate a request message for input text information according to the association between the input text information port preset in the page and the start port of the virtual keyboard. A virtual keyboard that is linked to the page and displayed on the page.8.如权利要求6所述的设备,其特征在于,8. The apparatus of claim 6, wherein所述接收模块,具体用于根据用户触发所述虚拟键盘中字符键的顺序以及字母组合成拼音的原则,生成需要的拼音形式的字符信息。The receiving module is specifically configured to generate the required character information in the form of Pinyin according to the order in which the user triggers the character keys in the virtual keyboard and the principle of combining letters into Pinyin.9.如权利要求6所述的设备,其特征在于,所述确定模块,具体包括:9. The device according to claim 6, wherein the determining module specifically comprises:匹配子单元,用于将接收到的每一个拼音形式的字符信息与预先存储的拼音形式的字符信息进行匹配操作;A matching subunit, configured to match each received character information in pinyin form with pre-stored character information in pinyin form;查找子单元,用于在接收到的该拼音形式的字符信息与预先存储的拼音形式的字符信息完全匹配时,查找预先存储的拼音形式的字符信息对应的汉字形式的字符信息,并将查找到的汉字形式的字符信息作为接收到的拼音形式的字符信息对应的汉字形式的字符信息;The search subunit is used to search for the character information in the form of Chinese characters corresponding to the character information in the pre-stored pinyin form when the received character information in the pinyin form completely matches the pre-stored character information in the pinyin form, and will find The character information in the form of Chinese characters is used as the character information in the form of Chinese characters corresponding to the received character information in the form of Pinyin;所述生成模块,具体根据确定的汉字形式的字符信息的个数和设定的每次显示的字符信息的个数,计算得到所述确定的汉字形式的字符信息需要显示的次数,并将得到的所述确定的汉字形式的字符信息依次写入文字信息显示栏中,推送至触发页面中显示,其中,所述文字显示栏的个数是根据计算得到的显示次数确定的。The generating module, specifically according to the number of character information in the determined Chinese character form and the number of character information displayed each time set, calculates the number of times the character information in the determined Chinese character form needs to be displayed, and will obtain The determined character information in the form of Chinese characters is sequentially written into the text information display column and pushed to the trigger page for display, wherein the number of the text display columns is determined according to the calculated display times.10.如权利要求9所述的设备,其特征在于,10. The apparatus of claim 9, wherein所述匹配子单元,具体用于计算接收到的每一个拼音形式的字符信息的长度值,并从预先存储的拼音形式的字符信息中查找出长度值与所述计算的长度值相同的拼音形式的字符信息,将接收到的每一个拼音形式的字符信息中的每一个字符与查找出的每一个拼音形式的字符信息中的每一个字符进行比较;The matching subunit is specifically used to calculate the length value of each received character information in pinyin form, and find out the pinyin form whose length value is the same as the calculated length value from the pre-stored character information in pinyin form character information, comparing each character in the received character information of each pinyin form with each character in the character information of each pinyin form found;当接收到的每一个拼音形式的字符信息中的每一个字符与查找出的每一个拼音形式的字符信息中的每一个字符都相同时,确定查找出的该拼音形式的字符信息与接收到的该拼音形式的字符信息相匹配;When each character in the character information of each phonetic form received is the same as each character in the character information of each phonetic form found out, it is determined that the character information of the phonetic form found out is consistent with the received character information. The character information of the pinyin form matches;当接收到的每一个拼音形式的字符信息中的每一个字符与查找出的每一个拼音形式的字符信息中的每一个字符至少一个不相同时,确定查找出的该拼音形式的字符信息与接收到的该拼音形式的字符信息不相匹配。When each character in the character information of each pinyin form received is different from at least one of each character in the character information of each pinyin form found out, it is determined that the character information of the pinyin form found out is different from the received character information. The character information of the pinyin form does not match.
CN201210581320.1A2012-12-272012-12-27A kind of generation method and equipment of Word messageActiveCN103902213B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210581320.1ACN103902213B (en)2012-12-272012-12-27A kind of generation method and equipment of Word message

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210581320.1ACN103902213B (en)2012-12-272012-12-27A kind of generation method and equipment of Word message

Publications (2)

Publication NumberPublication Date
CN103902213Atrue CN103902213A (en)2014-07-02
CN103902213B CN103902213B (en)2017-03-29

Family

ID=50993563

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210581320.1AActiveCN103902213B (en)2012-12-272012-12-27A kind of generation method and equipment of Word message

Country Status (1)

CountryLink
CN (1)CN103902213B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106227360A (en)*2016-07-122016-12-14上海多吉网络科技有限公司Identification code processing method and system in conjunction with input method
CN107256170A (en)*2017-06-162017-10-17北京百度网讯科技有限公司Method and apparatus for the activation input method setting option of terminal device
CN110764680A (en)*2018-07-252020-02-07北京京东金融科技控股有限公司Method and device for generating simulation keyboard, electronic equipment and computer readable medium
CN111190529A (en)*2018-11-152020-05-22鸿合科技股份有限公司Keyboard input method and device and electronic equipment
CN112181239A (en)*2020-09-302021-01-05深圳市快易典教育科技有限公司 A kind of interactive method, system and computer equipment based on electronic test paper
CN115373526A (en)*2022-08-312022-11-22北京奕斯伟计算技术股份有限公司Display frame and Chinese character input supporting method of display frame

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5146221A (en)*1989-01-131992-09-08Stac, Inc.Data compression apparatus and method
CN1952860B (en)*2006-11-152012-04-04康佳集团股份有限公司Chinese input method for realizing double spelling in mobile phone
JP2008268477A (en)*2007-04-192008-11-06Hitachi Business Solution KkRhythm adjustable speech synthesizer
CN101581994B (en)*2009-03-242012-04-18杨彬Device and method for inputting characters on a touch screen in a terminal
CN102375656B (en)*2010-08-132016-08-03深圳市世纪光速信息技术有限公司Full spelling single character sliding input method based on touch screen, device and touch screen terminal
CN102096553B (en)*2011-01-282013-02-13鸿富锦精密工业(深圳)有限公司Electronic reader and method for displaying input method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
球痴窝: "js做的虚拟键盘", 《ITEYE技术网站》*

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106227360A (en)*2016-07-122016-12-14上海多吉网络科技有限公司Identification code processing method and system in conjunction with input method
CN107256170A (en)*2017-06-162017-10-17北京百度网讯科技有限公司Method and apparatus for the activation input method setting option of terminal device
CN110764680A (en)*2018-07-252020-02-07北京京东金融科技控股有限公司Method and device for generating simulation keyboard, electronic equipment and computer readable medium
CN110764680B (en)*2018-07-252022-12-27京东科技控股股份有限公司Method and device for generating simulated keyboard, electronic equipment and computer readable medium
CN111190529A (en)*2018-11-152020-05-22鸿合科技股份有限公司Keyboard input method and device and electronic equipment
CN111190529B (en)*2018-11-152024-04-30鸿合科技股份有限公司Keyboard input method and device and electronic equipment
CN112181239A (en)*2020-09-302021-01-05深圳市快易典教育科技有限公司 A kind of interactive method, system and computer equipment based on electronic test paper
CN115373526A (en)*2022-08-312022-11-22北京奕斯伟计算技术股份有限公司Display frame and Chinese character input supporting method of display frame
CN115373526B (en)*2022-08-312024-12-31北京奕斯伟计算技术股份有限公司 A display frame and a method for supporting Chinese character input of the display frame

Also Published As

Publication numberPublication date
CN103902213B (en)2017-03-29

Similar Documents

PublicationPublication DateTitle
Bi et al.Multilingual touchscreen keyboard design and optimization
CN100555203C (en)Revise the system and method for input characters
CN102520874B (en)Pinyin input method based on touch screen and device
CN103902213A (en)Text information generating method and device
CN102289290B (en)Method for generating virtual keyboard and method for inputting Pinyin by using virtual keyboard
JP5521028B2 (en) Input method editor
KR20080106265A (en) System and method for entering data into a computing system
CN102141868B (en)Method for quickly operating information interaction page, input method system and browser plug-in
CN102141889A (en)Typing assistance for editing
CN103026318A (en)Input method editor
CN101183296A (en)Virtual double assembly keyboard input chinese characters displayed by mobile phones touch screen
CN117590953B (en)Double-spelling input method based on 10-key keyboard and applied to small-screen electronic equipment
CN106710326A (en)Reading textbook system based on Chinese
JP2008546045A (en) Kanji input method and input device for information communication terminal
CN102866826A (en)Character input method and device
CN103399766A (en) Method and device for updating an input method system
CN102193645A (en)Character inputting method and system
CN102929683A (en)Full-automatic simulation system of input device
CN103870003A (en)Information processing method and electronic device
CN102096553B (en)Electronic reader and method for displaying input method thereof
CN103888800A (en)Control method and control device
CN104423614B (en)A kind of keyboard layout method, device and electronic equipment
CN100541402C (en)A kind of Chinese character input method
CN104850237A (en)Method for generating and processing derived candidate item in input method
CN106126093A (en)A kind of input method based on dummy keyboard and system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp