CN105930140A - Input mode setting method and apparatus - Google Patents
Input mode setting method and apparatus Download PDFInfo
- Publication number
- CN105930140A CN105930140A CN201610202956.9A CN201610202956A CN105930140A CN 105930140 A CN105930140 A CN 105930140A CN 201610202956 A CN201610202956 A CN 201610202956A CN 105930140 A CN105930140 A CN 105930140A
- Authority
- CN
- China
- Prior art keywords
- character string
- input
- chinese
- described character
- pattern
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention provides an input mode setting method and apparatus, and relates to the field of human-machine interaction. The method comprises the steps of receiving a character sequence constituted by a plurality of input characters; monitoring whether a confirming operation is received from a user; when the confirming operation is received, identifying the character sequence, an identification result including Chinese phonetic alphabets and non-Chinese phonetic alphabets; and setting an input mode according to the identification result. The invention can improve the convenience of an input mode switching operation.
Description
Technical field
The present invention relates to field of human-computer interaction, be specifically related to a kind of input pattern method to set up and device.
Background technology
Input pattern refers to as various symbols input computer or other equipment (such as mobile phone) being used
Coded method.Comparing input method widely in China's use at present is Chinese pinyin input pattern, hands
Write input pattern, English input mode.Existing interactive software, communication software are required for passing through
Above-mentioned input pattern receives the input information of user.
Existing input method software provides multiple input pattern the most simultaneously, and such as a certain input method is soft
Part provides Chinese pinyin input pattern and English input mode simultaneously, and user can set one of which mould
Formula input pattern by default, when opening input field, input method automatically provides set before silent
Recognize input pattern, but when user needs to switch another kind of pattern, need to manually select, example
As used certain fixing switching key, or the menu that arranges entering input method software selects,
The most this input pattern switching mode is inefficient, affects the input operation fluency of user.
Summary of the invention
The present invention is to solve the existing inefficient problem of input pattern switching mode.
In view of this, the present invention provides a kind of input pattern method to set up, including: receive multiple input
The character string of character composition;
Monitor whether to receive the confirmation operation of user;
When receiving described confirmation operation, identifying described character string, recognition result includes Chinese spelling
Sound and non-Chinese pinyin;
According to recognition result, input pattern is set.
Preferably, described input pattern is set according to recognition result, including:
If described character string is Chinese pinyin, then input pattern is set to input in Chinese pattern;
If described character string is not Chinese pinyin, then input pattern is set to English input mode.
Preferably, described input pattern is set to input in Chinese pattern after, also include:
The Chinese of described character string composition is resolved under input in Chinese pattern;
Selection according to user prints the Chinese of described character string composition in input field.
Preferably, described input pattern is set to English input mode after, also include:
Described character string is printed in input field.
Preferably, the described character string of described identification, recognition result includes that Chinese pinyin and non-Chinese are spelled
Sound, including:
Judge whether in character string storehouse, to find the preset characters identical with described character string
Sequence, described character string storehouse includes multiple preset characters sequence, during described preset characters sequence is
Literary composition phonetic;
When finding the preset characters sequence identical with described character string in described character string storehouse
Time, it is determined that the content of described character string is Chinese pinyin;
When not finding the preset characters sequence identical with described character string in described character string storehouse
Time, it is determined that the content of described character string is not Chinese pinyin.
Correspondingly, the present invention also provides for a kind of input pattern and arranges device, including: character receives unit,
For receiving the character string of multiple input character composition;
Monitoring means, for monitoring whether to receive the confirmation operation of user;
Recognition unit, for when receiving described confirmation operation, identifying described character string, identifies
Result includes Chinese pinyin and non-Chinese pinyin;
Unit is set, for arranging input pattern according to recognition result.
Preferably, the described unit that arranges includes:
Input in Chinese mode setting unit, for when described character string is Chinese pinyin, will input
Pattern is set to input in Chinese pattern;
English input mode arranges unit, for when described character string is not Chinese pinyin, by defeated
Enter pattern and be set to English input mode.
Preferably, also include:
Resolution unit, for described input pattern is set to input in Chinese pattern after, at Chinese
The Chinese of described character string composition is resolved under input pattern;
Chinese output unit, for printing described character string group according to the selection of user in input field
The Chinese become.
Preferably, also include:
English output unit, described input pattern is set to English input mode after, in input
Hurdle prints described character string.
Preferably, described recognition unit includes:
Query unit, is used for judging whether to find in character string storehouse and described character string
Identical preset characters sequence, described character string storehouse includes multiple preset characters sequence, described pre-
If character string is Chinese pinyin;
First identifying unit, for when finding in described character string storehouse and described character string phase
With preset characters sequence time, it is determined that the content of described character string is Chinese pinyin;
Second identifying unit, for ought not find and described character string in described character string storehouse
During identical preset characters sequence, it is determined that the content of described character string is not Chinese pinyin.
The input pattern method to set up provided according to the present invention and device, first receive user and confirm input
A complete character string, this character string is made up of multiple characters, by identify, Ke Yichu
Step determines that this character string is Chinese pinyin or the word of a Romance of a Chinese character, really
Determine after the content of character string automatically according to curriculum offering input pattern, manually entered without user
Certain specific input pattern handover operation of row, thus can improve the facility of input pattern handover operation
Property.
Accompanying drawing explanation
In order to be illustrated more clearly that the specific embodiment of the invention or technical scheme of the prior art, under
The accompanying drawing used required in detailed description of the invention or description of the prior art will be briefly described by face,
It should be evident that the accompanying drawing in describing below is some embodiments of the present invention, general for this area
From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain according to these accompanying drawings
Obtain other accompanying drawing.
The flow chart of the input pattern method to set up that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 arranges the structural representation of device for the input pattern that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme is clearly and completely described, it is clear that
Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on this
Embodiment in bright, those of ordinary skill in the art are obtained under not making creative work premise
Every other embodiment, broadly fall into the scope of protection of the invention.
As long as additionally, technical characteristic involved in invention described below difference embodiment that
The conflict of not constituting between this just can be combined with each other.
Embodiment 1
Present embodiments providing a kind of input pattern method to set up, the method includes as shown in Figure 1:
S1, receive multiple input character composition character string, such as user input 2 characters ' w ',
' o ', to understand character string according to the input sequence of user be ' wo ', now temporary transient the most will not receive
Character print is in input field, and performs step S2;
S2, monitors whether to receive the confirmation operation of user, and whether such as user clicks on enter key or true
Recognize key, only after user confirms, just can assert that user have input a complete character string, when connecing
Perform step S3 when receiving described confirmation operation, otherwise continue monitoring;
S3, identifies described character string, identifies that whether character string is that the mode of Chinese pinyin has multiple,
Such as can prestore the combination of all of Chinese pinyin, then use the mode tabled look-up to confirm,
Or can be identified to use the machine recognition mode such as neural network model, support vector machine, identify
Result includes Chinese pinyin and non-Chinese pinyin.Such as above-mentioned character string ' wo ', it may be determined that its
For Chinese pinyin;
S4, arranges input pattern according to recognition result, i.e. automatically determines a kind of input pattern and carries out follow-up
Printing.Still as a example by the recognition result to above-mentioned character string ' wo ', thus can be by input pattern
It is set to input in Chinese pattern.
The input pattern method to set up provided according to the present invention, first receives user and confirms one of input
Complete character string, this character string is made up of multiple characters, by identifying, can primarily determine that
This character string is Chinese pinyin or the word of a Romance of a Chinese character, is determining word
Automatically according to curriculum offering input pattern after the content of symbol sequence, manually carry out certain without user
Specific input pattern handover operation, thus can improve the convenience of input pattern handover operation.
Specifically, above-mentioned steps S4 may include steps of:
S41, if described character string is Chinese pinyin, is then set to input in Chinese mould by input pattern
Formula;
S42, if described character string is not Chinese pinyin, is then set to English input by input pattern
Pattern.
Further, after step S41, also include:
S51, resolves the Chinese of described character string composition under input in Chinese pattern, i.e. parses above-mentioned
The word that character string ' wo ' may represent, such as ' I, oh, nest, hold ', selects for user;
S52, prints the Chinese of described character string composition in input field according to the selection of user, it is assumed that
User selects ' I ' then to print ' I ' in Output bar, the most then complete the input process of a Chinese character.
After step S42, also include:
S53, prints described character string in input field, owing to English is made without resolving, therefore
Directly printable character sequence.
As one preferred embodiment, described step S3 may include steps of:
S31, it may be judged whether preset identical with described character string can be found in character string storehouse
Character string, described character string storehouse includes multiple preset characters sequence, described preset characters sequence
For Chinese pinyin, such as, can be all of Chinese pinyin composite sequence, this character string storehouse can be pre-
Exist in smart machine.
S32, when finding the preset characters sequence identical with described character string in described character string storehouse
During row, such as, find in storehouse ' wo ', then judge that the content of described character string is as Chinese pinyin;
S33, when not finding the preset characters identical with described character string in described character string storehouse
During sequence, such as, fail to find ' wo ' in storehouse, it is determined that the content of described character string is not Chinese
Phonetic.
Embodiment 2
Embodiments providing a kind of input pattern and arrange device, this device includes as shown in Figure 2:
Character receives unit 21, for receiving the character string of multiple input character composition;
Monitoring means 22, for monitoring whether to receive the confirmation operation of user;
Recognition unit 23, for when receiving described confirmation operation, identifying described character string, knows
Other result includes Chinese pinyin and non-Chinese pinyin;
Unit 24 is set, for arranging input pattern according to recognition result.
Device is set according to the input pattern that the present invention provides, first receives user and confirm one of input
Complete character string, this character string is made up of multiple characters, by identifying, can primarily determine that
This character string is Chinese pinyin or the word of a Romance of a Chinese character, is determining word
Automatically according to curriculum offering input pattern after the content of symbol sequence, manually carry out certain without user
Specific input pattern handover operation, thus can improve the convenience of input pattern handover operation.
Preferably, the described unit 24 that arranges includes:
Input in Chinese mode setting unit, for when described character string is Chinese pinyin, will input
Pattern is set to input in Chinese pattern;
English input mode arranges unit, for when described character string is not Chinese pinyin, by defeated
Enter pattern and be set to English input mode.
Preferably, also include:
Resolution unit, for described input pattern is set to input in Chinese pattern after, at Chinese
The Chinese of described character string composition is resolved under input pattern;
Chinese output unit, for printing described character string group according to the selection of user in input field
The Chinese become.
Preferably, also include:
English output unit, described input pattern is set to English input mode after, in input
Hurdle prints described character string.
Preferably, described recognition unit 23 includes:
Query unit, is used for judging whether to find in character string storehouse and described character string
Identical preset characters sequence, described character string storehouse includes multiple preset characters sequence, described pre-
If character string is Chinese pinyin;
First identifying unit, for when finding in described character string storehouse and described character string phase
With preset characters sequence time, it is determined that the content of described character string is Chinese pinyin;
Second identifying unit, for ought not find and described character string in described character string storehouse
During identical preset characters sequence, it is determined that the content of described character string is not Chinese pinyin.
Obviously, above-described embodiment is only for clearly demonstrating example, and not to embodiment party
The restriction of formula.For those of ordinary skill in the field, the most also may be used
To make other changes in different forms.Here without also all of embodiment being given
With exhaustive.And the obvious change thus extended out or variation are still in the guarantor of the invention
Protect among scope.
Claims (10)
1. an input pattern method to set up, it is characterised in that including:
Receive the character string of multiple input character composition;
Monitor whether to receive the confirmation operation of user;
When receiving described confirmation operation, identifying described character string, recognition result includes Chinese
Phonetic and non-Chinese pinyin;
According to recognition result, input pattern is set.
Method the most according to claim 1, it is characterised in that described set according to recognition result
Put input pattern, including:
If described character string is Chinese pinyin, then input pattern is set to input in Chinese pattern;
If described character string is not Chinese pinyin, then input pattern is set to English input mould
Formula.
Method the most according to claim 2, it is characterised in that input pattern is set described
After being set to input in Chinese pattern, also include:
The Chinese of described character string composition is resolved under input in Chinese pattern;
Selection according to user prints the Chinese of described character string composition in input field.
Method the most according to claim 2, it is characterised in that input pattern is set described
After being set to English input mode, also include:
Described character string is printed in input field.
5. according to the method according to any one of claim 1-4, it is characterised in that described identification
Described character string, recognition result includes Chinese pinyin and non-Chinese pinyin, including:
Judge whether in character string storehouse, to find the predetermined word identical with described character string
Symbol sequence, described character string storehouse includes that multiple preset characters sequence, described preset characters sequence are
Chinese pinyin;
When finding the preset characters sequence identical with described character string in described character string storehouse
Time, it is determined that the content of described character string is Chinese pinyin;
When not finding the preset characters sequence identical with described character string in described character string storehouse
During row, it is determined that the content of described character string is not Chinese pinyin.
6. an input pattern arranges device, it is characterised in that including:
Character receives unit, for receiving the character string of multiple input character composition;
Monitoring means, for monitoring whether to receive the confirmation operation of user;
Recognition unit, for when receiving described confirmation operation, identifying described character string, knows
Other result includes Chinese pinyin and non-Chinese pinyin;
Unit is set, for arranging input pattern according to recognition result.
Device the most according to claim 6, it is characterised in that the described unit that arranges includes:
Input in Chinese mode setting unit, for when described character string is Chinese pinyin, by defeated
Enter pattern and be set to input in Chinese pattern;
English input mode arranges unit, is used for when described character string is not Chinese pinyin, will
Input pattern is set to English input mode.
Device the most according to claim 7, it is characterised in that also include:
Resolution unit, for described input pattern is set to input in Chinese pattern after, in
The Chinese of described character string composition is resolved under literary composition input pattern;
Chinese output unit, for printing described character string according to the selection of user in input field
The Chinese of composition.
Device the most according to claim 7, it is characterised in that also include:
English output unit, described input pattern is set to English input mode after, defeated
Lairage prints described character string.
10. according to the device according to any one of claim 6-9, it is characterised in that described identification
Unit includes:
Query unit, is used for judging whether to find in character string storehouse and described character sequence
Arranging identical preset characters sequence, described character string storehouse includes multiple preset characters sequence, described
Preset characters sequence is Chinese pinyin;
First identifying unit, for when finding and described character string in described character string storehouse
During identical preset characters sequence, it is determined that the content of described character string is Chinese pinyin;
Second identifying unit, for ought not find and described character sequence in described character string storehouse
When arranging identical preset characters sequence, it is determined that the content of described character string is not Chinese pinyin.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610202956.9A CN105930140A (en) | 2016-04-01 | 2016-04-01 | Input mode setting method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610202956.9A CN105930140A (en) | 2016-04-01 | 2016-04-01 | Input mode setting method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105930140A true CN105930140A (en) | 2016-09-07 |
Family
ID=56840430
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610202956.9A Pending CN105930140A (en) | 2016-04-01 | 2016-04-01 | Input mode setting method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105930140A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106557260A (en) * | 2016-11-30 | 2017-04-05 | 深圳天珑无线科技有限公司 | Hand-written inputting method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673408A (en) * | 2008-09-10 | 2010-03-17 | 汉王科技股份有限公司 | Method and device for embedding character information in shape recognition result |
CN102375655A (en) * | 2010-08-13 | 2012-03-14 | 腾讯科技(深圳)有限公司 | Alphabet input processing method and system |
CN104750378A (en) * | 2013-12-30 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Automatic input mode switching method and device for input method |
CN104765750A (en) * | 2014-01-07 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Input language switch method and device for input method application |
-
2016
- 2016-04-01 CN CN201610202956.9A patent/CN105930140A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673408A (en) * | 2008-09-10 | 2010-03-17 | 汉王科技股份有限公司 | Method and device for embedding character information in shape recognition result |
CN102375655A (en) * | 2010-08-13 | 2012-03-14 | 腾讯科技(深圳)有限公司 | Alphabet input processing method and system |
CN104750378A (en) * | 2013-12-30 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Automatic input mode switching method and device for input method |
CN104765750A (en) * | 2014-01-07 | 2015-07-08 | 腾讯科技(深圳)有限公司 | Input language switch method and device for input method application |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106557260A (en) * | 2016-11-30 | 2017-04-05 | 深圳天珑无线科技有限公司 | Hand-written inputting method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100418041C (en) | Electronic device having capability for interpreting user inputs and method therefor | |
US20170315983A1 (en) | Input method editor having a secondary language mode | |
CN102346731B (en) | File processing method and file processing device | |
US10402474B2 (en) | Keyboard input corresponding to multiple languages | |
CN101840300A (en) | Methods and systems for receiving input of text on a touch-sensitive display device | |
CN101256462A (en) | Hand-written input method and apparatus based on complete mixing association storeroom | |
CN103455165B (en) | Touchscreen keyboard with corrective word prediction | |
CN101770340A (en) | Electronic device and input method thereof | |
EP2992665A1 (en) | Phone number format suggestion | |
CN102937880B (en) | A kind of input method, input method system and mobile terminal using self-defined words and phrases | |
CN111046627B (en) | Chinese character display method and system | |
KR100566204B1 (en) | Method and apparatus for inputting hanyu pinyin having tone | |
CN103576947A (en) | Touch screen device and information processing method and device for same | |
CN112764734B (en) | Auxiliary method and device for code editing and electronic equipment | |
CN106909296A (en) | The extracting method of data, device and terminal device | |
CN103294547A (en) | Input method calling method, input method calling device and terminal | |
CN105930140A (en) | Input mode setting method and apparatus | |
KR20180131350A (en) | Muti-language keyboard system | |
CN105824554B (en) | A kind of unlocking method and a device of mobile terminal | |
CN103870008A (en) | Method and device for output and input of Braille characters on touch screen | |
CN103123572B (en) | A kind of method inputting character and electronic installation | |
CN104133631A (en) | Method and device for quickly opening application from screen locking interface | |
US10331224B2 (en) | Indian language keypad | |
KR101645674B1 (en) | Method for autocomplete candidate word and apparatus thereof | |
CN106774978A (en) | Method and device for correcting entry |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160907 |
|
WD01 | Invention patent application deemed withdrawn after publication |