CN102087550B - Hardware equipment as well as method and system for inputting therein - Google Patents

Hardware equipment as well as method and system for inputting therein Download PDF

Info

Publication number
CN102087550B
CN102087550B CN200910241768.7A CN200910241768A CN102087550B CN 102087550 B CN102087550 B CN 102087550B CN 200910241768 A CN200910241768 A CN 200910241768A CN 102087550 B CN102087550 B CN 102087550B
Authority
CN
China
Prior art keywords
hardware device
candidate item
information
described hardware
word
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.)
Active
Application number
CN200910241768.7A
Other languages
Chinese (zh)
Other versions
CN102087550A (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN200910241768.7A priority Critical patent/CN102087550B/en
Publication of CN102087550A publication Critical patent/CN102087550A/en
Application granted granted Critical
Publication of CN102087550B publication Critical patent/CN102087550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a method and system for inputting in hardware equipment. The method comprises the following steps of: sending contents to be converted to an input method server by hardware equipment; carrying out word conversion according to the contents to be converted by the input method server to acquire candidate items; providing candidate item information suitable for the configuration of the hardware equipment according to the configuration information of the hardware equipment; and providing candidate items for selective input according to the candidate item information. Through the invention, an input method service needing more resources can be split into a client and a server, and the input function is finished by the intermedium through concrete hardware network interaction. Meanwhile, the invention can carry out self-adaptive control according to the configuration information of the hardware equipment so as to carry out complicated input in the hardware equipment with lower calculation resources and calculation capability.

Description

A kind of method of inputting in hardware device, system and hardware device
Technical field
The present invention relates to input method technique field, particularly relate to method, system and the hardware device in a kind of hardware device, inputted.
Background technology
Input method develops into today, has been instrument indispensable during people live, and is not only the master tool exchanging by electrical equipment between men, also the growing medium of communication that becomes man-machine interaction; Popular and universal along with intelligent terminals such as handheld devices, be not only and on common pc, need to use input method, mobile phone, PDA, even some hardware electrical equipment also become by operational order evolution mechanical, medelling originally the intelligent machine that can " understand " Human Natural Language as GPS navigation instrument (inquiry somewhere is to the map in somewhere), Set Top Box (inquiring about some TV stations or program) etc.
Yet the input method based on natural language processing, when calculating, depends on computational resource very much, computational resource and computing power are more powerful, input method intelligent also just higher; Clearly, for the electrical equipments such as Set Top Box, this computational resource and computing power are to be obviously difficult to realize.In addition, even if for thering is the mobile terminals such as mobile phone of certain computing power, also can there is the problem of computational resource and computing power deficiency.What for example, the mobile phone of more current low sides used substantially is other input method of individual character level; Only on the senior platform on some intelligent machines, as Symbian, Windows Mobile etc. could realize basic entry input method, but also cannot apply the group word algorithm that surmounts entry length, during such as the such sentence of input " jintianqunachifan " (going today where to have a meal), need to select word at least three times of user, if based on other input method of individual character level, at least need to select 6 times, thereby reduced the speed of effective input.And some electrical equipment based on rom programming etc. can not be realized by the mode of hardware programming the intelligent computation in input method especially.
Summary of the invention
The invention provides method, system and the hardware device in a kind of hardware device, inputted, realize in computational resource and the lower hardware device of computing power and also can carry out complicated words input.
The invention provides following scheme:
A method of inputting in hardware device, comprising:
Hardware device sends to input method server by content to be converted;
Input method server carries out words conversion according to described content to be converted, obtains candidate item;
Described input method server is according to the configuration information of described hardware device, described configuration information comprises the type of described hardware device and/or the demonstration character library information of described hardware device, to described hardware device, provides with described hardware device type and/or shows the candidate item information that character library information configuration adapts;
Described hardware device, according to the described candidate item information receiving, provides the candidate item of available input.
Preferably,
Described according to the configuration information of described hardware device, provide with described hardware device type and/or show that the candidate item information that character library information adapts comprises: according to the type of described hardware device, described candidate item screened or resequenced;
Or,
Describedly according to described content to be converted, carry out words conversion, obtain candidate item and comprise: only use the dictionary generation candidate item relevant with the type of described hardware device.
Preferably, described hardware device comprises Set Top Box, mobile communication terminal or controlling intelligent household appliances.
Preferably, described hardware device sends to input method server by internet, cordless communication network, cable TV network, PSTN or satellite communication network by described content to be converted.
Preferably, described in the candidate item of available input is provided after, receive to select the selection information of described candidate item, described method also comprises:
The candidate item of described selection screen display on the display device of described hardware device or appointment is shown;
Or,
Described selection information is sent to described input method server, and described input method server sends to the candidate item of described selection the receiving device of appointment.
Preferably, described according to the configuration information of described hardware device, provide with described hardware device type and/or show that the candidate item information that character library information adapts comprises:
Described input method server, according to the configuration information of described hardware device, returns with described hardware device type and/or shows the candidate item information that character library information adapts to described hardware device.
Preferably, described according to the configuration information of described hardware device, to described hardware device, return with described hardware device type and/or show that the candidate item information that character library information adapts comprises:
According to the configuration information of the described hardware device of preserving in advance, to described hardware device, return with described hardware device type and/or show the candidate item information that character library information adapts;
Or,
The configuration information of the described hardware device sending when sending described content to be converted according to described hardware device, returns with described hardware device type and/or shows the candidate item information that character library information adapts to described hardware device.
Preferably, described according to the demonstration character library information of described hardware device, to described hardware device, return with described hardware device and show that the candidate item information that character library information adapts comprises:
When described hardware device possesses the character library of demonstration, if comprise the word outside described demonstration character library in candidate item, by this candidate item filtering, or this candidate item is replaced with to the word within described demonstration character library; If candidate item comprises the word in described demonstration character library, by the word in candidate item, the numbering in described demonstration character library returns to described hardware device, so that described hardware device provides and can select for user the candidate item of input to user according to described numbering.
Preferably, described according to the demonstration character library information of described hardware device, to described hardware device, return with described hardware device and show that the candidate item information that character library information adapts comprises:
When described hardware device possesses the character library of demonstration, if need to show the candidate item outside described demonstration character library, the formed word module information code that is not included in the word in described demonstration character library in candidate item is returned to described hardware device, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code;
Or,
When described hardware device does not possess the character library of demonstration, the formed word module information code of the word in described candidate item is returned to described hardware device, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code.
Preferably, described configuration information also comprises the resolution of described hardware device display, and the described formed word module information code by the word in described candidate item returns to described hardware device and comprises:
The formed word module information code of the word in the described candidate item corresponding with described resolution is returned to described hardware device.
Preferably, described configuration information also comprises the font that can show on described hardware device, and the described formed word module information code by the word in described candidate item returns to described hardware device and comprises:
The formed word module information code of the word in the described candidate item corresponding with the described font that can show is returned to described hardware device.
A hardware device, comprising:
Peripheral interactive module, for receiving content to be converted; The candidate item information of returning according to input method server, provides the candidate item of available input;
Communication module, for described content to be converted is sent to input method server according to preset network transmission format, and receiving the candidate item information that described input method server returns according to the configuration information of described hardware device, described configuration information comprises the type of described hardware device and/or the demonstration character library information of described hardware device.
Preferably, described input method server, according to the configuration information of described hardware device, returns to the candidate item information adapting with the type of described hardware device and/or the demonstration character library information of described hardware device to described hardware device; The candidate item information that described peripheral interactive module is directly returned according to described input method server, provides the candidate item of available input.
Preferably, when candidate item information that described input method server returns is when showing the numbering in character library, described peripheral interactive module, specifically for according to the numbering in described demonstration character library, is searched and is shown word corresponding in character library, and shows the word of described correspondence.
Preferably, during formed word module information code that the candidate item information of returning when described input method server is word, described peripheral interactive module, specifically for according to described formed word module information code, shows corresponding word.
Preferably, described input method server returns to candidate item information in unified mode to hardware device, and described hardware device also comprises:
Adjusting module, for according to the configuration information of described hardware device, carries out the adjustment adapting with the type of described hardware device and/or the demonstration character library information of described hardware device to described candidate item information.
Preferably, described hardware device comprises: Set Top Box, mobile communication terminal or controlling intelligent household appliances.
Preferably, described communication module sends to input method server by internet, cordless communication network, cable TV network, PSTN or satellite communication network by described content to be converted.
Preferably, described hardware device also comprises:
Upper screen display module, for the candidate item of available input is provided, and receives after the selection information of selecting described candidate item, and the candidate item of described selection screen display on the display device of described hardware device or appointment is shown;
Or,
Select information sending module, for providing, can select for user the candidate item of input, and select after the selection information of described candidate item receiving user, the selection information of the described candidate item of described selection is sent to described input method server, so that described input method server sends to the candidate item of described selection the receiving device of appointment.
Preferably, described peripheral interactive module adopts the mode of hardware keyboards, button, knob, touch-screen, telepilot or audio frequency typing to receive the content to be converted of user's typing.
A system of inputting in hardware device, comprises hardware device and input method server, wherein,
Described hardware device, for sending to described input method server by content to be converted; Receive after the candidate item information that described input method server returns, according to described candidate item information, provide the candidate item of available input;
Described input method server, for carrying out words conversion according to described content to be converted, obtain candidate item, and according to the configuration information of described hardware device, described configuration information comprises the type of described hardware device and/or the demonstration character library information of described hardware device, to described hardware device, returns with described hardware device type and/or shows the candidate item information that character library information adapts.
Preferred:
Described hardware device comprises:
Peripheral interactive module, for receiving content to be converted; The candidate item information of returning according to described input method server, provides the candidate item of available input;
Communication module, for described content to be converted is sent to input method server according to preset network transmission format, and receives the candidate item information that described input method server returns;
Described input method server comprises:
Interactive module, for receiving and resolve the described content to be converted sending according to preset network transmission format, obtains concrete transform instances;
Computing module, for described transform instances is carried out to words conversion, obtains candidate item, so that described interactive module is returned to candidate item information to described hardware device.
Preferably, described hardware device also comprises:
Upper screen display module, for the candidate item of available input is provided, and receives after the selection information of selecting described candidate item, and the candidate item of described selection screen display on the display device of described hardware device or appointment is shown;
Or,
Select information sending module, for the candidate item of available input is provided, and receive after the selection information of selecting described candidate item, described selection information is sent to described input method server; Described input method server also comprises: transmitting element, and for the candidate item of described selection being sent to the receiving device of appointment.
Preferably, described input method server also comprises:
Candidate item information determination module, for according to the configuration information of described hardware device, determines with described hardware device type and/or shows the candidate item information that character library information adapts; So that described interactive module is by with described hardware device type and/or show that the candidate item information that character library information adapts returns to described hardware device.
Preferably, described configuration information comprises the type of described hardware device;
Described interactive module also, for according to the type of described hardware device, is screened or resequences described candidate item;
Or,
Described computing module is only used the dictionary relevant to the type of described hardware device to generate candidate item.
Preferably,
Described input method server also comprises memory module, for preserving the configuration information of hardware device; Described candidate item information determination module, specifically for according to the configuration information of the described hardware device of preserving in described memory module, is determined with described hardware device type and/or shows the candidate item information that character library information adapts;
Or,
Described hardware device also comprises configuration information transmitting element, for when sending described content to be converted, sends the configuration information of described hardware device; Described candidate item information determination module, specifically for according to the configuration information of the described hardware device of described hardware device transmission, is determined with described hardware device type and/or shows the candidate item information that character library information adapts.
Preferably, described candidate item information determination module comprises:
First determines submodule, when possessing demonstration character library when described hardware device, if comprise the word outside described demonstration character library in candidate item, by this candidate item filtering, or this candidate item is replaced with to the word within described demonstration character library; Otherwise the numbering by the word in candidate item in described demonstration character library is defined as the candidate item information adapting with described hardware device configuration, so that described hardware device provides the candidate item of available input according to described numbering.
Preferably, described candidate item information determination module comprises:
Second determines submodule, be used for when described hardware device possesses the character library of demonstration, if need to show the candidate item outside described demonstration character library, the formed word module information code that is not included in the word in described demonstration character library in candidate item is defined as to the candidate item information adapting with described hardware device configuration, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code;
Or,
The 3rd determines submodule, be used for when described hardware device does not possess the character library of demonstration, the formed word module information code of the word in described candidate item is defined as to the candidate item information adapting with described hardware device configuration, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code.
Preferably, described configuration information also comprises the resolution of described hardware device display, and described candidate item information determination module also comprises:
The 4th determines submodule, for the formed word module information code of the word of the described candidate item corresponding with described resolution being defined as with described hardware device type and/or showing the candidate item information that character library information adapts.
Preferably, described configuration information also comprises the font that can show on described hardware device, and described candidate item information determination module comprises:
The 5th determines submodule, for the candidate item information that the formed word module information code of the word of the described candidate item corresponding with the described font that can show is defined as adapt with described hardware device configuration.
Preferably, described input method server returns to candidate item information with identical candidate item form to hardware device, and described hardware device also comprises:
Adjusting module, for according to the configuration information of described hardware device, carries out with the type of described hardware device and/or shows the adjustment that character library information adapts described candidate item information.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
The present invention can send to input method server by content to be converted by hardware device; Input method server carries out words conversion according to described content to be converted, obtains candidate item, and according to the configuration information of described hardware device, to described hardware device, returns to candidate item information; Then just can, according to described candidate item information, provide the candidate item of available input.Visible, the present invention can split into client and service end by the input method service of the more resource of needs, and centre completes input function by the concrete network interconnection; Meanwhile, can carry out adaptive control according to the configuration information of hardware device, thereby realize in computational resource and the lower hardware device of computing power, also can carry out complicated words input.
Because some hardware devices may show character library and cannot display text owing to not possessing, now, even if receive the candidate item that input method server returns, also cannot display it.For this reason, the present invention can realize the demonstration of word by returning to the formed word module information code of word, therefore, expanded the scope of application of input method system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of the method that provides of the embodiment of the present invention;
Fig. 2 is the schematic diagram of the hardware device that provides of the embodiment of the present invention;
Fig. 3 is the schematic diagram of the system that provides of the embodiment of the present invention;
Fig. 4 is the schematic diagram of another system of providing of the embodiment of the present invention;
Fig. 5 is the schematic diagram of hardware device in the system that provides of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, the method for inputting in the hardware device that the embodiment of the present invention provides comprises the following steps:
S101: hardware device sends to input method server by content to be converted;
Wherein, hardware device itself can receive input instruction, and this input instruction can be in real time or batch input, and can be to input by this hardware device itself or remote control or the mode such as long-range.For example, this content to be converted can be that user passes through hardware device input itself.Concrete, user can be by the modes such as button typing or audio frequency typing, typing content to be converted.It should be noted that, under the mode of button typing, the key information that described content to be converted can be user, alphabetical sequence or the phonetic network information etc.,, hardware device can directly send to input method server by the raw information of user's input, also raw information can be carried out to some and process, then send to input method server.For example, certain user presses " 426 " three numerical keys successively, can directly " 426 " be sent to input method server, by input method server, according to key information, obtain corresponding alphabetical sequence, again alphabetical sequence is combined and obtains Pinyin information, and then carry out sound word and be converted to candidate item; Or, user, press " 426 " afterwards, hardware device also can send to input method server by alphabetical sequence " ghi abc mno " corresponding to each numerical key, by input method server, each letter is combined and obtains Pinyin information, then carry out sound word and be converted to candidate item; Or, user, press " 426 " afterwards, hardware device can also combine alphabetical sequence corresponding to each numerical key to obtain Pinyin information, as " hao gao gan han ha.m ha.n " etc., and send to input method server, now, input method server can directly carry out sound word according to Pinyin information and is converted to candidate item.
S102: input method server carries out words conversion according to described content to be converted, obtains candidate item;
S103: according to the configuration information of described hardware device, provide the candidate item information adapting with described hardware device configuration;
S104: according to described candidate item information, provide the candidate item of available input.
In embodiments of the present invention, in order to realize in the situation that not taking hardware terminal excess resource, can in hardware terminal, carry out words input, the client of a lightweight is provided, its major function is communication, comprises input and output and sends words conversion request and receive word conversion result to server end; The most complicated intelligent computation has partly been thrown on professional input method server, reduced to the full extent the requirement to hardware device.
Wherein, hardware device is when sending request to input method server, can carry hardware device No. ID, this No. ID can this hardware device of unique identification, like this, input method server, after obtaining transformation result, can, according to No. D, the I of hardware device, return to word conversion result information to hardware device.
It should be noted that, during specific implementation, input method server can be deployed on the server of hardware device system of living in, for example, for this hardware device of Set Top Box, digi-TV centre can communicate by cable TV network and Set Top Box, like this, input method server can be deployed in digi-TV centre, accordingly, Set Top Box just can send request to digi-TV centre by cable television network, and the input method server of digi-TV centre will be changed accordingly, and returns to transformation result.In this case, be equivalent to the input method server that diverse network (cable networks such as wireless network, cable TV network, PSTN, the satellite communication network etc. such as mobile communication) has respectively oneself, input method server can directly receive the request of hardware device.
In addition, also can provide unified input method server by input method provider, now, be equivalent to diverse network and can share this input method server, certainly, now first hardware device just need to send to request the server of system separately, and then the server of each system sends to input method server by request again.For example, Set Top Box, when sending words conversion request, first can send to digi-TV centre server by typing content by cable television system, and digi-TV centre server is transmitted to input method server by typing content again.Therefore, in this case, input method server is indirectly to receive the to be converted content of user in hardware device.
In addition, as can be seen from the above description, in embodiments of the present invention, not necessarily by internet, realize input method in network, any network can both be realized, as long as can realize the mutual of information.That is, the embodiment of the present invention does not limit the network type of transmission, and the transmission equipments such as internet, Internet of Things, radio all can be used as intermediate conveyor process.Accordingly, hardware device can be Set Top Box, mobile communication terminal or controlling intelligent household appliances etc.
In a word, the embodiment of the present invention proposes a kind of input method service framework that is applicable to hardware, and the input method service of the more resource of needs is split into client and service end, middlely by concrete hardware net is interconnected, completes continuous input function.Client is responsible for communication and input and output, does not comprise concrete calculating, therefore can realize with minimum program, can be solidificated in by concrete hardware device rom the inside, also can make a special chip simultaneously, is not limited to other software service form.
Input method server is after obtaining word conversion result, just word conversion result information need to be returned to hardware device, but due to the difference of various hardware device configurations, also need to carry out some and process, so that the word conversion result that can normally demonstrate in hardware device.Below this is described in detail.
For example, some hardware device may not have the needs of Display of Chinese characters when realizing its major function, therefore, in hardware device, may not show character library (for the character library of display text), like this, allow to obtain Chinese character by input method server, due in hardware device not for the demonstration character library of Display of Chinese characters, the transformation result of input method server also cannot show in hardware device.
And for example, although exist and show character library in a little hardware devices, but consider the problem of resource occupation, may only there is GB2312-80 character library, 6763 the most frequently used Chinese characters in this character library, have only been included, have a lot of Chinese characters, the Chinese character (as " hello ") of just simplifying after GB2312-80 releases as part, the complex form of Chinese characters, Japanese and the Korean Chinese character etc. of part word (as " Rong " word of Chinese former premier Zhu Rongji), Taiwan and Hong Kong use name for, in not being embodied in.Like this, if the transformation result of input method server comprises the Chinese character outside GB2312-80 character library, in hardware device, also cannot show.
For another example, the user of some hardware device is accustomed to using Chinese-traditional, and what in its equipment, record may be only also Chinese-traditional character library, now, just should provide candidate item for Chinese-traditional, and simplified form of Chinese Character can return to this hardware device.
Therefore,, when practical application, need to, according to the configuration information of described hardware device, provide the candidate item information adapting with described hardware device configuration.During specific implementation, can be by input method server according to the configuration information of described hardware device, to described hardware device, return to the candidate item information adapting with described hardware device configuration, now, hardware device is after receiving candidate item information, need not do again special processing, just can directly according to candidate item information, to user, provide and can select for user the candidate item of input.Or, input method server itself also can not distinguished the configuration information of hardware device, adopt unified mode to send candidate item to different hardware device, by being solidificated in program in each hardware device, candidate item information is adjusted to the candidate item that the configuration with hardware device adapts automatically.Below introduce in detail by input method server according to the configuration information of described hardware device, to described hardware device, return to the situation of the candidate item information adapting with described hardware device configuration.
By input method server according to the configuration information of hardware device, to hardware device, return in the situation of word conversion result information, the configuration information of hardware device can be kept in input method server in advance, for example, in input method server, can preserve in advance the ID of each hardware device and the corresponding relation between configuration information, when receiving the request of certain hardware device, after obtaining transformation result, can be first according to the ID of this hardware device, obtain the configuration information of this hardware device, and then according to the configuration information of this hardware device, determine and return in which way transformation result.
Certainly, the configuration information of hardware device also can, when hardware device sends request, offer hardware device by hardware device.For example, hardware device, when sending words conversion request, except carrying No. D, the I of self, can also carry the configuration information of self.For example, if hardware device can be set up long connection with input method system, can be after setting up long connection, while sending first words conversion request, carry the configuration information of self, input method server can be preserved the ID of this hardware device and the corresponding relation between configuration information temporarily, afterwards within effective time, just can only send user's typing content, until exceeded the term of validity, or connect disconnection.If what hardware device was set up with input method system is short connection, when hardware device sends words conversion request at every turn, all need to carry the configuration information of self.
Wherein, the configuration information of hardware device can comprise the demonstration character library of loading, and input method server can return to transformation result relevant information according to the demonstration character library loading.
1) when loaded demonstration character library is GB2312-80, so during other Chinese characters outside transformation result comprises this character library, just can be by these Chinese character filterings, only for returning to transformation result relevant information in GB2312-80.Or, also this candidate item can be replaced with to the word within described demonstration character library, and return to hardware device; For example, can replace with other words under unisonance, or, the phonetic of this word, or, can also adopt the modes such as mosaic to offer hardware device, if " Zhe " be not within showing character library, can be replaced with " Ji Ji " hardware device is provided.
Concrete, in GB2312-80 character library, each Chinese character has the numbering of oneself, therefore, input method server, when returning to transformation result relevant information, can be to return to the numbering that each Chinese character is corresponding, after hardware device receives this transformation result relevant information, can in GB2312-80 character library, search according to the numbering of Chinese character corresponding Chinese character, and it is shown to user as candidate item.For example, user input be " hao ", the transformation result obtaining be " 1; 2, numbers 3, person of outstanding talent ... ", the numbering of supposing in GB2312-80 character library " good " is 89, " number " numbering be 90, the numbering of " person of outstanding talent " is 91, the transformation result relevant information that input method server returns to hardware device can be just " 1; 89 2,90 3,91 ...; then hardware device is searched and is shown word corresponding in character library according to numbering, and the word of described correspondence is shown to user.
Certainly, for what load in hardware device, be the situations such as Chinese-traditional character library, Japanese character library, also can process according to similar method.
2) while not comprising any character library in hardware device, input method server is after obtaining transformation result, formed word module information code corresponding to transformation result can be returned to hardware device, hardware device is after knowing the formed word module information code of transformation result, just can, in the situation that not possessing the character library of demonstration, demonstrate corresponding word.Concrete, hardware device can be drawn corresponding character bitmap according to described formed word module information code, and the bitmap of drafting is shown to user.
The Chinese character of take below is simply introduced the related content of formed word module information code as example.Conventionally; for Chinese character is exported on display or printer; conventionally the words such as Chinese character can be designed to dot chart by graphical symbol; just obtained corresponding dot matrix code (graphemic code; be formed word module information code); that is to say, as long as display knows that the formed word module information code of certain Chinese character just can show this Chinese character.Show the general employing of a Chinese character 16 * 16 dot matrix, or 24 * 24 dot matrix, or 48 * 48 dot matrix.The size of known Chinese character dot matrix, can calculate a required byte space taking of Chinese character of storage.Example: with Chinese character of 16 * 16 matrix representations, be exactly by each Chinese character 16 row, 16 points of every row represent, a point needs 1 binary code, 16 points need be with 16 binary codes (i.e. 2 bytes), and totally 16 row, so need 16 row * 2 byte/OK=32 bytes, i.e. Chinese character of 16 * 16 matrix representations, graphemic code need be used 32 bytes.For the font of Chinese character is shown to output, Chinese character information processing system need to be furnished with formed word module information code storehouse, also claims font storehouse, and it has concentrated the font information of whole Chinese characters.While needing Display of Chinese characters, go out the formed word module information code (being font information) of this Chinese character according to Hanzi internal code to formed word module information code library searching, then output, just can obtain Chinese character from output device.
That is to say, if loaded demonstration character library, be also just equivalent in advance the font code of each word is kept to this locality, when needs show certain word, its font code is taken out, then according to the dot matrix rule of font code representative, show and word can be presented on screen.Therefore, this mode that the formed word module information code of word is sent to hardware device, just be equivalent in this locality, not preserve in advance the formed word module information code of word, therefore, display cannot know how to show, as long as but this formed word module information code is sent to hardware device, the display of hardware device just can demonstrate corresponding word shape.
In addition,, because Chinese character may have multiple font, for same word, the formed word module information code under different fonts can be different.And due to the difference of monitor resolution, may be only for showing Song typeface Chinese character on some hardware device, also the hardware device of some higher-end may be able to show the Chinese character of regular script or other fonts, therefore, the configuration information of hardware device can also comprise the resolution information of display, according to this information, can judge the font information that can show in hardware device, and then determine to hardware device, return to which kind of formed word module information code.If the resolution of certain hardware device is lower, only can show Song typeface Chinese character,, when returning to the formed word module information code of transformation result, should return to the formed word module information code of the Song typeface, otherwise, if what return is the formed word module information code of regular script, on this hardware device, possibly cannot normally show.
In addition, in the higher hardware device of some self resolution, may always be and show regular script Chinese character, also this configuration information can be kept to input method server, or send to input method server, input method server just can return to the regular script formed word module information code of word.Certainly, in the situation that monitor resolution allows, when sending words conversion request, also can send the request that need to return to regular script Chinese character, input method server can be asked according to this, returns to the regular script formed word module information code of word.
Moreover if dot matrix number is different, the formed word module information code of word also can be different.Along with the continuous lifting of computing machine resolution, the display capabilities of Chinese character is in continuous enhancing, and the dot matrix number of Chinese character is in continuous lifting, 8*8 from early stage, develops into 12*12,16*16,24*24 etc., demonstration dot matrix that now main flow computer adopts is 48*48 normally.But a lot of low side devices, dot matrix number is lower.Therefore in order to allow these low side devices can use normally Chinese character, must there is the Chinese character base (what preserve in Chinese character base is the formed word module information code of each Chinese character) of corresponding dot matrix.Therefore input method server end is aspect Chinese character base, can store the corresponding Chinese character base of various dot matrix numbers, when hardware device sends input request to input method server, if in option be the Chinese character base that adopts input method server end larger (need demonstration character library that viewing hardware equipment self loads beyond word), need so the screen display parameter of self to issue server, that is to say, can support the Chinese character of much dot matrix numbers to show, input method server can, according to this information, be selected suitable Chinese character base.Generally, dot matrix has bit position sequential storage, so dot matrix is larger, and corresponding bit position is more, and it is just larger that storage space needs.
That is to say, at input method server end, can preserve a plurality of formed word module information codes storehouse, for example, can respectively preserve a formed word module information code storehouse for different monitor resolutions, can also respectively preserve a formed word module information code storehouse for different fonts, or, for different dot matrix numbers, respectively preserve a formed word module information code storehouse, etc.When specific implementation, can select corresponding formed word module information code storehouse according to the configuration information of hardware device, then, according to this formed word module information code storehouse, the formed word module information code of word is returned to described hardware device.
It should be noted that, when to hardware device, return be the formed word module information code of word time, need in hardware device, not preserve these formed word module information codes, that is to say, after completing once input, while no longer needing to show these words, or, when user deletes the word of originally having inputted, just formed word module information code corresponding to these words can be deleted.
Certainly, in actual applications, also above-mentioned two situations can be combined, for example, when the demonstration character library loading in hardware device is GB2312-80 character library, user may also wish to obtain the word outside this demonstration character library.Now, can in hardware device, add an option and send this request, now, when input method server receives after this request, just the transformation result relevant information of all acquisitions all can be returned to hardware device.Wherein, if the word in GB2312-80 character library, by this word, the numbering in GB2312-80 character library returns to hardware device, meanwhile, if the word beyond GB2312-80 character library can return to hardware device by the formed word module information code of this word.
Certainly, except above-mentioned demonstration character library information, the configuration information of hardware device can also comprise the type of hardware device, according to the type of hardware device, can screen or the operation such as sequence candidate item, to improve the hit rate of preference.For example, for the hardware device of certain type, what user need to input conventionally is certain address, therefore, and after receiving the content to be converted of this hardware device transmission, can also be according to the type of this hardware device, only return to the candidate item that place name is relevant, or only use ground thesaurus to carry out the conversion of candidate item, or increase the weight of place name correlation candidate item, make it be arranged in other non-place name candidate item and represent before, etc.
It should be noted that, when hardware device is shown to candidate item after user, user just can select required candidate item, and after user selects, in the candidate item that hardware device can directly be selected user, screen display is shown.Or, also described user's selection information can be sent to described input method server, so that described input method server sends to corresponding candidate item the receiving device of appointment.For latter event, in actual applications, there is following a kind of application scenarios: user A need to send Chinese SMS to user B, and Chinese input method is not installed on the mobile phone of user A, now, user A can input the phonetic of Chinese character in short message text, selects " being converted to Chinese character " option simultaneously, and clicks transmission button (addressee people is user B); Because user has selected " being converted to Chinese character ", therefore, this information can be sent to input method server, and the phonetic that input method server sends according to user carries out words conversion, and the candidate item obtaining after conversion is returned to user A; User A is after having selected certain candidate item, because user A need to send note to user B, need on the mobile phone of user A, not show the concrete information content, only the information content need to be shown to user B, therefore, the mobile phone of user A can directly send to input method server by the selection information of user A, and now, the Chinese character that input method server just can directly be selected user A sends on the mobile phone of user B.
It should be noted that, for example, if a hardware device that there is no a Presentation Function (, certain hardware device may not have display screen), candidate item can be offered to a display device being connected with this hardware device shows, such as, postulated mechanism top box does not have Presentation Function, candidate item can be offered to corresponding televisor and show.
It should be noted that in addition, in embodiments of the present invention, no matter be the display screen of hardware device self, or the display screen of the display device of other appointments, the display mode that display screen is used does not limit, and for example, can use LED (light emitting diode) display, or LCD (liquid crystal) display, or the very high high-clear display of resolution etc.
The method providing with the embodiment of the present invention is corresponding, and the embodiment of the present invention also provides a kind of hardware device, and referring to Fig. 2, this hardware device comprises:
Peripheral interactive module 201, for receiving content to be converted; The candidate item information of returning according to input method server, provides the candidate item of available input;
Communication module 202, for described content to be converted is sent to input method server according to preset network transmission format, and receives the candidate item information that described input method server returns.
Wherein, described input method server, according to the configuration information of described hardware device, returns to the candidate item information adapting with described hardware device configuration to described hardware device; The candidate item information that described peripheral interactive module is directly returned according to described input method server, provides the candidate item of available input.
Concrete, when candidate item information that described input method server returns is when showing the numbering in character library, described peripheral interactive module, specifically for according to the numbering in described demonstration character library, is searched and is shown word corresponding in character library, and shows the word of described correspondence.
During formed word module information code that the candidate item information of returning when described input method server is word, described peripheral interactive module, specifically for according to described formed word module information code, shows corresponding word.
Or described input method server also can return to candidate item information to hardware device with identical candidate item form, corresponding, this hardware device also comprises:
Adjusting module, for according to the configuration information of described hardware device, carries out to described candidate item information the adjustment that the configuration with described hardware device adapts.
Wherein, described hardware device can include but not limited to: Set Top Box, mobile communication terminal or controlling intelligent household appliances.
Described communication module sends to input method server by multiple communication network by described content to be converted, wherein, communication network can include but not limited to: internet, cordless communication network, cable TV network, PSTN or satellite communication network.
In addition, described hardware device can also comprise:
Upper screen display module, for the candidate item of available input is provided, and receives after the selection information of selecting described candidate item, and the candidate item of described selection screen display on the display device of described hardware device or appointment is shown;
Or,
Select information sending module, for providing, can select for user the candidate item of input, and select after the selection information of described candidate item receiving user, the selection information of the described candidate item of described selection is sent to described input method server, so that described input method server sends to the candidate item of described selection the receiving device of appointment.
That is to say, when hardware device has display screen, the candidate item that upper screen display module can directly be selected user is presented on the display screen of this hardware device; When if hardware device does not have display screen, can specify in advance candidate item screen display on the display screen of certain display device that user is selected to show.Certainly, no matter be finally presented on hardware device, or on other display device, be all the candidate item information being got by peripheral interactive module.
Described peripheral interactive module adopts the mode of hardware keyboards, button, knob, touch-screen, telepilot or audio frequency typing to receive the content to be converted of user's typing.
Method and the hardware device in the hardware device providing with the embodiment of the present invention, inputted are corresponding, and the embodiment of the present invention also provides the system of inputting in a kind of hardware device, and referring to Fig. 3, this system comprises hardware device 301 and input method server 302.
Wherein, hardware device 301, for sending to described input method server by content to be converted; Receive after the candidate item information that described input method server returns, according to described candidate item information, provide the candidate item of available input;
Input method server 302, for carrying out words conversion according to described content to be converted, obtains candidate item, and returns to candidate item information to described hardware device.
During specific implementation, referring to Fig. 4, can comprise following functions module at hardware device: peripheral interactive module 3011, communication module 3012 and display module 3013; Meanwhile, in order to realize corresponding method in the embodiment of the present invention, can configure as follows at input method server 302: interactive module 3021 and computing module 3022, be introduced respectively below.
First, in order to provide user and hardware device to carry out mutual entrance, need on hardware device, provide peripheral interactive module 3011, this periphery interactive module 3011 is for receiving content to be converted; The candidate item information of returning according to described input method server, provides the candidate item of available input.Wherein, for the ease of user, carry out the typing that pinyin string is waited for converted contents, referring to Fig. 5, the schematic diagram of hardware device client in its system providing for the embodiment of the present invention, wherein, peripheral interactive module can comprise key input device 30111 or audio frequency input device 30112 etc.The key input device that user can provide by hardware device or audio frequency input device etc., to hardware device typing content to be converted.
Wherein, key input device 30111 can be the physical keyboard (keyboard on similar mobile phone of push button, can input alphabet or strokes sequence), also can (for example realize by touch-screen, on touch-screen, demonstrate alphabetic keypad, or, user also can carry out handwriting input on touch-screen), user can be by key input device 30111 input content to be converted, key input device 30111 can be according to default rule, the content to be converted of user's input is converted to corresponding strokes sequence or alphabetical sequence, then sends to input method server.Input method server will be changed according to user's typing content, obtains transformation result.
Audio frequency input device 30112 can receive user's voice messaging, if hardware device provides audio frequency input device 30112, user can directly read the pronunciation of required words, audio frequency input device 30112 can pass through a DAB conversion equipment, and corresponding digital signal is sent to input method server.Input method server provides corresponding candidate item according to the sound signal of receiving.
Certainly, in actual applications, peripheral interactive module for user's typing content to be converted in the embodiment of the present invention can be not limited to keyboard (hardware keyboards, button, knob etc.), audio frequency input, can be also the input equipment widely such as touch-screen, gesture.
From the above, in embodiments of the present invention, can carry out the conversion of phonetic code to the conversion of word, stroke code to word and phonetic code to the conversion of word, for example, can be on hardware device input Pinyin, pass through input method server, obtain the candidate item of corresponding Chinese character, can also, by the audio frequency input device on hardware device, read the pronunciation of certain English word, then by input method server, obtain corresponding English word, etc.Also, in the method for the embodiment of the present invention, input conversion can be not limited to Chinese phonetic and phonitic entry method, can be a series of Chinese character coding input methods such as stroke, five, natural code, can be also the input method of other words.
Certainly, if the candidate item that input method server need to be returned is shown to user, peripheral interactive module 3011 can also comprise display 30113, after display 30113 shows candidate item, user just can by select transformation result wherein realize word on shielded.For example, that user inputs by key input device is " nihao ", the transformation result that input method server returns may be " 1, you 2, draw up 3, you ", if now user selects " 1 ", " hello " will be presented at current cursor position in display screen.
; display 30113 provides for the candidate item that can show input method server and return; this module is when representing candidate item; specifically the performance on user's display interface can adopt the mode that is similar to local input method; a simple list also can be provided, show therein the candidate item that input method system returns.
Communication module 3012, for described content to be converted is sent to input method server according to preset network transmission format, and receives the candidate item information that described input method server returns; That is, the effect of communication module 3012 is exactly that user's typing content is sent to input method server directly or indirectly, and receives the candidate item information that input method server returns, and is given display 3013 and represents to user.Communication module specifically can receiver 30121, compression transmitter 30122, decompression machine 30123.
Wherein, receiver 30121 arranges from the query string of hardware device input, as phonetic code, five codes, phonetic code etc.; It is combined with corresponding decoding option, send to compression transmitter 30122; Compression transmitter 30122 Query Information that receiver is sent is according to format compression, the packing of hardware net transmission, and sends it to server end and wait for next inquiry request; Decompression machine 30123 reception server ends return to response packet, the character candidates information that is consolidation form by its decompress(ion), and result is further pushed to display 30113, completes a communication operation.
Meanwhile, the interactive module 3021 in input method server 302, for receiving and resolve the described content to be converted sending according to preset network transmission format, is obtained concrete transform instances.Concrete, interactive module 2021 is resolved and is obtained concrete request string, fractionation obtains No. ID and concrete transform instances (as " zainachifan ") of hardware device, be sent to the computing module 3022 of input method, wait for the result of calculation of computing module 3022, after obtaining result of calculation (as " having a meal where "), be encapsulated as the form that communication network can be identified, by communication network, be back on hardware device.
Computing module 3022, for described transform instances is carried out to words conversion, obtains candidate item, so that described interactive module is returned to candidate item information to described hardware device.Concrete, computing module 3022 can be selected spelling input method, five-stroke input method or phonitic entry method according to the option of account form, according to complicated mathematical model, obtains last candidate item; And be back to interactive module 3021 No. D together with the I of hardware device, so that interactive module 3021 returns to hardware device according to hardware device No. ID by transformation result relevant information.
Below by a concrete example, and in conjunction with above-mentioned each module, idiographic flow corresponding to method that the embodiment of the present invention is provided at length introduced.
The method that the embodiment of the present invention provides comprises the following steps:
Step 1: start input pattern, selected input pattern, suppose that user has selected Pinyin Input pattern, key input device 30111 enters armed state;
Step 2: suppose that user knocks in " shurufa " whole alphabetical sequence, carry out character code interval accurately by the delay judgement logic of key input device 30111 and judge, " shurufa " whole string encoding can be sent to receiver; Certainly, if user's selection is stroke input pattern, corresponding strokes sequence coding is sent to receiver 30121, as sequences such as " Shu Pie, Yin ";
Step 3: receiver 30121 receives the request of key input device 30111, is sent to compression transmitter 30122 in the lump by the selection code of " shurufa " and key input coding;
Step 4: compression transmitter 30122 receives after request bag, and the ID of hardware device is together packaged as to the transmission form that communication network is corresponding, pushes on the network equipment, and trigger decoder 30123 is waited for reception word conversion result;
Step 5: the mutual device 3021 of input method server receives network request, disassembled as corresponding input request order, for this example, successively be split as " id ", " text request ", " Pinyin Input ", " shurufa ", and " shurufa " is sent to computing module 302 according to configuration;
Step 6: computing module 3022 calculates rapidly marquis's option list of " 1: input method 2: input " under huge dictionary and language model support, and is back to mutual device 3021;
Step 7: mutual device 3021 waits for that computing module returns after candidate list, the form that is packaged as Internet Transmission for No. ID by marquis's option list together with hardware device;
Step 8: the decompression machine 30123 of hardware device communication unit receives after communications packets, disassembles the marquis's option list into consolidation form by communications packets, sends on peripherals;
Step 9: display 30113 receives marquis's option list according to the output format of the output format adjustment candidate item of hardware device, color etc., finally provides candidate item on viewing hardware.By user, select upper screen, whole flow process finishes.
Wherein, can determine the candidate item information adapting with described hardware device configuration by input method server according to the configuration information of described hardware device, input method server also comprises:
Candidate item information determination module, for according to the configuration information of described hardware device, determines the candidate item information adapting with described hardware device configuration; So that described interactive module returns to described hardware device by configuring with described hardware device the candidate item information adapting.
Wherein, can collect in advance the configuration information of hardware device, be kept at input method server end, when need to, according to the configuration information of hardware device, while returning to candidate item information to described hardware device, directly searching from the configuration information of preserving.Now, input method server 302 can also comprise memory module, for preserving the configuration information of hardware device; Accordingly, the described candidate item information determination module of input method server 302, specifically for according to the configuration information of the described hardware device of preserving in described memory module, is determined the candidate item information adapting with described hardware device configuration;
Or, also can by hardware device, when sending information to be converted, be carried the configuration information of hardware device, now, hardware device client 301 also comprises: configuration information transmitting element, for when sending described content to be converted, send the configuration information of described hardware device; Accordingly, the described candidate item information determination module of input method server 302, specifically for according to the configuration information of the described hardware device of described hardware device transmission, is determined the candidate item information adapting with described hardware device configuration.
Wherein, described configuration information comprises the demonstration character library information of described hardware device, accordingly, the described candidate item information determination module of input method server 302, specifically for according to the demonstration character library information of described hardware device, is determined the candidate item information adapting with described hardware device configuration.
Concrete, the interactive module 3021 of input method server 302 can comprise:
First determines submodule, when possessing demonstration character library when described hardware device, if comprise the word outside described demonstration character library in candidate item, by this candidate item filtering, or this candidate item is replaced with to the word within described demonstration character library; Otherwise the numbering by the word in candidate item in described demonstration character library is defined as the candidate item information adapting with described hardware device configuration, so that described hardware device provides the candidate item of available input according to described numbering.
Or,
Second determines submodule, be used for when described hardware device possesses the character library of demonstration, if need to show the candidate item outside described demonstration character library, the formed word module information code that is not included in the word in described demonstration character library in candidate item is defined as to the candidate item information adapting with described hardware device configuration, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code;
Or,
The 3rd determines submodule, be used for when described hardware device does not possess the character library of demonstration, the formed word module information code of the word in described candidate item is defined as to the candidate item information adapting with described hardware device configuration, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code.
In the time the formed word module information code of word need to being returned to described hardware device, described configuration information can also comprise the resolution of described hardware device display, so that the display of hardware device can demonstrate the word in candidate item better, accordingly, described candidate item information determination module can also comprise:
The 4th determines submodule, for the candidate item information that the formed word module information code of the word of the described candidate item corresponding with described resolution is defined as adapt with described hardware device configuration.
Or described configuration information can also comprise the font that can show on described hardware device, corresponding, described candidate item information determination module comprises:
The 5th determines submodule, for the candidate item information that the formed word module information code of the word of the described candidate item corresponding with the described font that can show is defined as adapt with described hardware device configuration.
In addition, input method server can also return to candidate item information to hardware device with identical candidate item form, and now, described hardware device also comprises:
Adjusting module, for according to the configuration information of described hardware device, carries out to described candidate item information the adjustment that the configuration with described hardware device adapts.
Concrete, described configuration information can also comprise the type of described hardware device;
Now, described interactive module also, for according to the type of described hardware device, is screened or resequences described candidate item;
Or,
Described computing module is only used the dictionary relevant to the type of described hardware device to generate candidate item.
Described hardware device can also comprise:
Upper screen display module, for the candidate item of available input is provided, and receives after the selection information of selecting described candidate item, and corresponding candidate item screen display on the display device of described hardware device or appointment is shown;
Or,
Select information sending module, for the candidate item of available input is provided, and receive after the selection information of selecting described candidate item, described selection information is sent to described input method server; Described input method server also comprises: transmitting element, and for the candidate item of described selection being sent to the receiving device of appointment.
Below by the example in several practical application scenes, the method that the embodiment of the present invention is provided is introduced in further detail.
The example Yi,Mou navigating instrument B of manufacturer, intends to realize a service for input place name fast in input panel, but be limited to hardware device, has no idea to store a large amount of dictionaries, can not bear complicated intelligent computation; Along with the increase of buildings, ground thesaurus is almost all increasing every day on the other hand, and resource is solidificated in client also cannot accomplish real-time update.
Now, the B of manufacturer just can directly pre-install the client that the embodiment of the present invention provides in bottom rom, and under the condition of flower minimum cost, for user provides the input method of organizing word function, user inputs xjbsc, directly returns to the address result of " Xinjiang agency ".Allow user obtains more rapidly, input method service accurately.How quickly and accurately the B of manufacturer can be absorbed in the positional information of located sites and map like this, and need to not worry how complicated input method has realized accurately and rapidly.
For example, the input string of user A input " XJBSC ", client obtains pinyin string, by this device id number and input string packing, according to the transmission mode of GPS, be sent to the manufacturer of navigating instrument, and then be sent to input method server, by server parses device id number, obtain corresponding configuration information, send input string to computing module and obtain candidate list; Can also preferentially be written into corresponding high frequency entry (as navigating instrument is preferentially written into the entry of address style) according to the preference of device type on the other hand,, can according to device type, meet the distinctiveness demand of entry, finally on navigating instrument, provide the address name of " Xinjiang agency ".
Example two, present digital television station get more and more, even reach several thousand platforms, certain C of Set Top Box manufacturer, want to realize the service of a geographic search channel, such as input " orange platform " is just directly targeted to HNTV, but be no matter these entries of storage, or realize the algorithm with simplicity characteristic and all undertake to do what is apparently beyond one's ability for Set Top Box.
Now, the C of manufacturer and input method server agree to purchase this service, and integrated client chip as shown in figure mono-, is used special-purpose Cable service to communicate, and the interface that only need to give transmission of input method server, receives can be realized powerful intelligent input method.Manufacturer is absorbed in fetches group word result and navigates to concrete television channel.
For example, the input string of user A input " hnws ", client obtains pinyin string, and itself and device id are together packed, and according to the transmission mode of Cable, packs by wired TV network transmission to input method server.Input method has been written into channel list in advance according to the customization with Set Top Box service provider, preferentially provide the entry of " HNTV ", according to the demonstration demand of searching corresponding set-top box device No. ID, configuration candidate result shows information, finally, again by result packing, by Cable, be transferred to client computer.
If the demonstration configuration file that the C of ,Ze manufacturer only need provide relevant device need to be upgraded or change to client host equipment, need to input method module, not upgrade specially in client.
System described in the present invention, apparatus and method are applicable in diverse network or client environment, it for example can be realized in the computer equipment such as PC device, or can realize in other electronic equipments such as mobile phone, mobile communication equipment, personal digital assistant (PDA).
Above to method, system and the hardware device inputted in a kind of hardware device provided by the present invention, be described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (31)

1. a method of inputting in hardware device, is characterized in that, comprising:
Hardware device sends to input method server by content to be converted;
Input method server carries out words conversion according to described content to be converted, obtains candidate item;
Described input method server is according to the configuration information of described hardware device, described configuration information comprises the type of described hardware device and/or the demonstration character library information of described hardware device, to described hardware device, provides with described hardware device type and/or shows the candidate item information that character library information adapts;
Described hardware device, according to the described candidate item information receiving, provides the candidate item of available input.
2. method according to claim 1, it is characterized in that, described according to the configuration information of described hardware device, provide with described hardware device type and/or show that the candidate item information that character library information adapts comprises: according to the type of described hardware device, described candidate item screened or resequenced;
Or,
Describedly according to described content to be converted, carry out words conversion, obtain candidate item and comprise: only use the dictionary generation candidate item relevant with the type of described hardware device.
3. method according to claim 1, is characterized in that, described hardware device comprises Set Top Box, mobile communication terminal or controlling intelligent household appliances.
4. method according to claim 1, is characterized in that, described hardware device sends to input method server by internet, cordless communication network, cable TV network, PSTN or satellite communication network by described content to be converted.
5. method according to claim 1, is characterized in that, described in the candidate item of available input is provided after, receive to select the selection information of described candidate item, described method also comprises:
The candidate item of described selection screen display on the display device of described hardware device or appointment is shown;
Or,
Described selection information is sent to described input method server, and described input method server sends to the candidate item of described selection the receiving device of appointment.
6. method according to claim 1, is characterized in that, described according to the configuration information of described hardware device, provides with described hardware device type and/or shows that the candidate item information that character library information adapts comprises:
Described input method server, according to the configuration information of described hardware device, returns with described hardware device type and/or shows the candidate item information that character library information adapts to described hardware device.
7. method according to claim 6, is characterized in that, described according to the configuration information of described hardware device, to described hardware device, returns with described hardware device type and/or shows that the candidate item information that character library information adapts comprises:
According to the configuration information of the described hardware device of preserving in advance, to described hardware device, return with described hardware device type and/or show the candidate item information that character library information adapts;
Or,
The configuration information of the described hardware device sending when sending described content to be converted according to described hardware device, returns with described hardware device type and/or shows the candidate item information that character library information adapts to described hardware device.
8. method according to claim 1, is characterized in that, described according to the demonstration character library information of described hardware device, to described hardware device, returns with described hardware device and shows that the candidate item information that character library information adapts comprises:
When described hardware device possesses the character library of demonstration, if comprise the word outside described demonstration character library in candidate item, by this candidate item filtering, or this candidate item is replaced with to the word within described demonstration character library; If candidate item comprises the word in described demonstration character library, by the word in candidate item, the numbering in described demonstration character library returns to described hardware device, so that described hardware device provides and can select for user the candidate item of input to user according to described numbering.
9. method according to claim 1, is characterized in that, described according to the demonstration character library information of described hardware device, to described hardware device, returns with described hardware device and shows that the candidate item information that character library information adapts comprises:
When described hardware device possesses the character library of demonstration, if need to show the candidate item outside described demonstration character library, the formed word module information code that is not included in the word in described demonstration character library in candidate item is returned to described hardware device, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code;
Or,
When described hardware device does not possess the character library of demonstration, the formed word module information code of the word in described candidate item is returned to described hardware device, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code.
10. method according to claim 9, is characterized in that, described configuration information also comprises the resolution of described hardware device display, and the described formed word module information code by the word in described candidate item returns to described hardware device and comprises:
The formed word module information code of the word in the described candidate item corresponding with described resolution is returned to described hardware device.
11. methods according to claim 9, is characterized in that, described configuration information also comprises the font that can show on described hardware device, and the described formed word module information code by the word in described candidate item returns to described hardware device and comprises:
The formed word module information code of the word in the described candidate item corresponding with the described font that can show is returned to described hardware device.
12. 1 kinds of hardware devices, is characterized in that, comprising:
Peripheral interactive module, for receiving content to be converted; The candidate item information of returning according to input method server, provides the candidate item of available input;
Communication module, for described content to be converted is sent to input method server according to preset network transmission format, and receiving the candidate item information that described input method server returns according to the configuration information of described hardware device, described configuration information comprises the type of described hardware device and/or the demonstration character library information of described hardware device.
13. hardware devices according to claim 12, it is characterized in that, described input method server, according to the configuration information of described hardware device, returns to the candidate item information adapting with the type of described hardware device and/or the demonstration character library information of described hardware device to described hardware device; The candidate item information that described peripheral interactive module is directly returned according to described input method server, provides the candidate item of available input.
14. hardware devices according to claim 13, it is characterized in that, when candidate item information that described input method server returns is when showing the numbering in character library, described peripheral interactive module is specifically for according to the numbering in described demonstration character library, search and show word corresponding in character library, and show the word of described correspondence.
15. hardware devices according to claim 13, is characterized in that, during formed word module information code that the candidate item information of returning when described input method server is word, described peripheral interactive module, specifically for according to described formed word module information code, shows corresponding word.
16. hardware devices according to claim 12, is characterized in that, described input method server returns to candidate item information in unified mode to hardware device, and described hardware device also comprises:
Adjusting module, for according to the configuration information of described hardware device, carries out with the type of described hardware device and/or shows the adjustment that character library information adapts described candidate item information.
17. according to claim 12 to the hardware device described in 16 any one, it is characterized in that, described hardware device comprises: Set Top Box, mobile communication terminal or controlling intelligent household appliances.
18. according to claim 12 to the hardware device described in 16 any one, it is characterized in that, described communication module sends to input method server by internet, cordless communication network, cable TV network, PSTN or satellite communication network by described content to be converted.
19. according to claim 12 to the hardware device described in 16 any one, it is characterized in that, described hardware device also comprises:
Upper screen display module, for the candidate item of available input is provided, and receives after the selection information of selecting described candidate item, and the candidate item of described selection screen display on the display device of described hardware device or appointment is shown;
Or,
Select information sending module, for providing, can select for user the candidate item of input, and select after the selection information of described candidate item receiving user, the selection information of the described candidate item of described selection is sent to described input method server, so that described input method server sends to the candidate item of described selection the receiving device of appointment.
20. according to claim 12 to the hardware device described in 16 any one, it is characterized in that, described peripheral interactive module adopts the mode of hardware keyboards, button, knob, touch-screen, telepilot or audio frequency typing to receive the content to be converted of user's typing.
The system of inputting in 21. 1 kinds of hardware devices, is characterized in that, comprises hardware device and input method server, wherein,
Described hardware device, for sending to described input method server by content to be converted; Receive after the candidate item information that described input method server returns, according to described candidate item information, provide the candidate item of available input;
Described input method server, for carrying out words conversion according to described content to be converted, obtain candidate item, and according to the configuration information of described hardware device, described configuration information comprises the type of described hardware device and/or the demonstration character library information of described hardware device, to described hardware device, returns with described hardware device type and/or shows the candidate item information that character library information adapts.
22. systems according to claim 21, is characterized in that:
Described hardware device comprises:
Peripheral interactive module, for receiving content to be converted; The candidate item information of returning according to described input method server, provides the candidate item of available input;
Communication module, for described content to be converted is sent to input method server according to preset network transmission format, and receives the candidate item information that described input method server returns;
Described input method server comprises:
Interactive module, for receiving and resolve the described content to be converted sending according to preset network transmission format, obtains concrete transform instances;
Computing module, for described transform instances is carried out to words conversion, obtains candidate item, so that described interactive module is returned to candidate item information to described hardware device.
23. systems according to claim 21, is characterized in that, described hardware device also comprises:
Upper screen display module, for the candidate item of available input is provided, and receives after the selection information of selecting described candidate item, and the candidate item of described selection screen display on the display device of described hardware device or appointment is shown;
Or,
Select information sending module, for the candidate item of available input is provided, and receive after the selection information of selecting described candidate item, described selection information is sent to described input method server; Described input method server also comprises: transmitting element, and for the candidate item of described selection being sent to the receiving device of appointment.
24. according to the system described in claim 21 or 22, it is characterized in that, described input method server also comprises:
Candidate item information determination module, for according to the configuration information of described hardware device, determines with described hardware device type and/or shows the candidate item information that character library information adapts; So that described interactive module is by with described hardware device type and/or show that the candidate item information that character library information adapts returns to described hardware device.
25. systems according to claim 24, is characterized in that, described configuration information comprises the type of described hardware device;
Described interactive module also, for according to the type of described hardware device, is screened or resequences described candidate item;
Or,
Described computing module is only used the dictionary relevant to the type of described hardware device to generate candidate item.
26. systems according to claim 24, is characterized in that,
Described input method server also comprises memory module, for preserving the configuration information of hardware device; Described candidate item information determination module, specifically for according to the configuration information of the described hardware device of preserving in described memory module, is determined with described hardware device type and/or shows the candidate item information that character library information adapts;
Or,
Described hardware device also comprises configuration information transmitting element, for when sending described content to be converted, sends the configuration information of described hardware device; Described candidate item information determination module, specifically for according to the configuration information of the described hardware device of described hardware device transmission, is determined with described hardware device type and/or shows the candidate item information that character library information adapts.
27. systems according to claim 21, is characterized in that, described candidate item information determination module comprises:
First determines submodule, when possessing demonstration character library when described hardware device, if comprise the word outside described demonstration character library in candidate item, by this candidate item filtering, or this candidate item is replaced with to the word within described demonstration character library; Otherwise the numbering by the word in candidate item in described demonstration character library is defined as the candidate item information adapting with described hardware device configuration, so that described hardware device provides the candidate item of available input according to described numbering.
28. systems according to claim 21, is characterized in that, described candidate item information determination module comprises:
Second determines submodule, be used for when described hardware device possesses the character library of demonstration, if need to show the candidate item outside described demonstration character library, the formed word module information code that is not included in the word in described demonstration character library in candidate item is defined as to the candidate item information adapting with described hardware device configuration, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code;
Or,
The 3rd determines submodule, be used for when described hardware device does not possess the character library of demonstration, the formed word module information code of the word in described candidate item is defined as to the candidate item information adapting with described hardware device configuration, so that described hardware device demonstrates the word in described candidate item according to described formed word module information code.
29. systems according to claim 28, is characterized in that, described configuration information also comprises the resolution of described hardware device display, and described candidate item information determination module also comprises:
The 4th determines submodule, for the formed word module information code of the word of the described candidate item corresponding with described resolution being defined as with described hardware device type and/or showing the candidate item information that character library information adapts.
30. systems according to claim 28, is characterized in that, described configuration information also comprises the font that can show on described hardware device, and described candidate item information determination module comprises:
The 5th determines submodule, for the candidate item information that the formed word module information code of the word of the described candidate item corresponding with the described font that can show is defined as adapt with described hardware device configuration.
31. according to the system described in claim 21 or 22, it is characterized in that, described input method server returns to candidate item information with identical candidate item form to hardware device, and described hardware device also comprises:
Adjusting module, for according to the configuration information of described hardware device, carries out with the type of described hardware device and/or shows the adjustment that character library information adapts described candidate item information.
CN200910241768.7A 2009-12-07 2009-12-07 Hardware equipment as well as method and system for inputting therein Active CN102087550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910241768.7A CN102087550B (en) 2009-12-07 2009-12-07 Hardware equipment as well as method and system for inputting therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910241768.7A CN102087550B (en) 2009-12-07 2009-12-07 Hardware equipment as well as method and system for inputting therein

Publications (2)

Publication Number Publication Date
CN102087550A CN102087550A (en) 2011-06-08
CN102087550B true CN102087550B (en) 2014-03-05

Family

ID=44099388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910241768.7A Active CN102087550B (en) 2009-12-07 2009-12-07 Hardware equipment as well as method and system for inputting therein

Country Status (1)

Country Link
CN (1) CN102087550B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306052B (en) * 2011-08-10 2013-11-20 山东泰信电子股份有限公司 Intelligent input method for automatically identifying input equipment
CN104461649B (en) * 2014-12-19 2018-01-16 广东欧珀移动通信有限公司 chip compatible method and device
CN111522448B (en) * 2019-02-02 2024-04-30 北京搜狗科技发展有限公司 Method, device and equipment for providing input candidate items
CN110471537A (en) * 2019-08-22 2019-11-19 广东创能科技股份有限公司 A kind of WEB cloud input method based on B/S framework

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920752A (en) * 2005-08-25 2007-02-28 郑有志 Chinese character subsequent character input method
CN101183351A (en) * 2007-12-07 2008-05-21 腾讯科技(深圳)有限公司 Literal input method and system thereof
CN101493727A (en) * 2008-01-22 2009-07-29 刘啸旻 Natural participle and mixing input by statement input method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920752A (en) * 2005-08-25 2007-02-28 郑有志 Chinese character subsequent character input method
CN101183351A (en) * 2007-12-07 2008-05-21 腾讯科技(深圳)有限公司 Literal input method and system thereof
CN101493727A (en) * 2008-01-22 2009-07-29 刘啸旻 Natural participle and mixing input by statement input method

Also Published As

Publication number Publication date
CN102087550A (en) 2011-06-08

Similar Documents

Publication Publication Date Title
KR100735554B1 (en) Character input method and apparatus for the same
CN101720457A (en) Decoding method utilizing temporally ambiguous code an apparatus using the same
CN108322807A (en) A kind of barrage methods of exhibiting and device
CN102087550B (en) Hardware equipment as well as method and system for inputting therein
CN109656510B (en) Method and terminal for voice input in webpage
CN101431625A (en) Remote controller with words input function and method for implementing words input
CN101303628B (en) Method and device for performing character word input by digital keyboard
JP2003015806A (en) Character input system and communication terminal
CN1322401C (en) Communications terminal apparatus, reception apparatus, and method therefor
US20050251745A1 (en) Input switching method and electronic device therefor
CN101661335A (en) Chinese character input method applicable to embedded type platform and system
CN101359257B (en) Method and apparatus for inputting words by numeric keyboard
CN102760351A (en) Method for implementing remote letter symbol input between intelligent terminals through wireless network
CN101621611A (en) Method and system for inputting characters in digital television system
JPH10207908A (en) Network service access managing device
KR100362589B1 (en) Searching Method of Character Information Service Using an Initial Sound Consonant in Mobile Phone
KR100386944B1 (en) A letter input system, a mobile telephone having that and a input control method thereof
KR100946666B1 (en) Method and apparatus for external input by using user device
CN102779064A (en) Method and server for providing application calling
KR20080095823A (en) Device and method for multilingual mailing capable of selecting text input mode
CN100385375C (en) Character inputting system and method
US20020057291A1 (en) Method and system for providing service information on a server for a user device
KR100588461B1 (en) Method and System for displaying Hangul in a mobile communication terminal
US20070168945A1 (en) Inserting objects using a text editor that supports scalable fonts
US20040127236A1 (en) Method and apparatus for text entry for electronic messaging

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant