CN109189243A - Input method switching method, device and user terminal - Google Patents
Input method switching method, device and user terminal Download PDFInfo
- Publication number
- CN109189243A CN109189243A CN201811378936.2A CN201811378936A CN109189243A CN 109189243 A CN109189243 A CN 109189243A CN 201811378936 A CN201811378936 A CN 201811378936A CN 109189243 A CN109189243 A CN 109189243A
- Authority
- CN
- China
- Prior art keywords
- voice messaging
- input method
- user
- default
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application provides a kind of input method switching method, device and user terminal, through terminal after detecting speech recognition operation, the voice messaging of user is obtained into speech recognition state, and the voice messaging of user is matched with every default voice messaging, in the voice messaging and any one default voice messaging successful match for detecting user, generate input method switching command corresponding with matched default voice messaging, to which current input method is switched to the corresponding input type that matched default voice messaging corresponds to input method according to input method switching command.In this way, the voice messaging of the application combination user automatically switches to the corresponding input type of corresponding input method, it is easy to user's operation, it is practical, while being also avoided that other users arbitrarily switch using input method, to protect privacy of user.
Description
Technical field
This application involves field of computer technology, whole in particular to a kind of input method switching method, device and user
End.
Background technique
Currently, user terminal carries out the switching of input method generally there are two types of method before editing text.One is: enter
System setting selection language and input method, then select corresponding input method in dummy keyboard, return again to editor text interface.
Another kind is: at the cursor flashing at editor text interface, clicking the prompting frame that will appear an input method, uses after clicking to enter
Family can change keyboard, select other input methods.
However, present inventor the study found that both switching input methods modes recall corresponding input method after, still
There are inconveniences.For example, user select search dog input method after, it is specifically used it is any (phonetic, stroke, five, it is hand-written) etc.,
It also needs to carry out second selecting, increases user's operation process, influence user experience.Also, many input methods will record user's
Use habit, each input method that any user can be carried out installing on selection user terminal are carried out using easy leakage is used
The privacy at family.
Summary of the invention
In order to overcome above-mentioned deficiency in the prior art, the application be designed to provide a kind of input method switching method,
Device and user terminal, to solve or improve the above problem.
To achieve the goals above, the embodiment of the present application the technical solution adopted is as follows:
In a first aspect, the embodiment of the present application provides a kind of input method switching method, it is applied to user terminal, the user is whole
The corresponding input type of a plurality of default voice messaging and the corresponding input method of every default voice messaging is stored in end, it is described
Method includes:
After detecting speech recognition operation, the voice messaging of user is obtained into speech recognition state;
The voice messaging of the user is matched with every default voice messaging;
In the voice messaging and any one default voice messaging successful match for detecting the user, generates and match
The corresponding input method switching command of default voice messaging;
Current input method the matched default voice messaging is switched to according to the input method switching command to correspond to
The corresponding input type of input method.
Optionally, described after detecting speech recognition operation, the voice letter of user is obtained into speech recognition state
Before the step of breath, the method also includes:
The a plurality of default voice messaging of user's typing is received, and every default voice messaging is stored;
Respond the setting instruction of user, the corresponding input type of the corresponding input method of the default voice messaging of setting every.
Optionally, the speech recognition operation includes one of following operation:
Speech recognition button in current display interface is triggered;
Programmable button on the user terminal is triggered with predetermined manner;
The user terminal generates default shake;
The distance between the user and the user terminal are less than pre-determined distance;
Any input method in the user terminal is called.
Optionally, the step of voice messaging into speech recognition state to obtain user, comprising:
A speech recognition prompting frame is generated in current display page to prompt user's input voice information;
Continuously display speech recognition prompting frame during user's input voice information, and detecting user's stopping
Stop showing the speech recognition prompting frame when input voice information.
Optionally, the step of voice messaging by the user is matched with every default voice messaging, comprising:
Extract the phonetic feature of the voice messaging of the user;
The phonetic feature of extraction is matched with the phonetic feature of described every default voice messaging.
Optionally, the step of voice messaging by the user is matched with every default voice messaging, comprising:
The voice messaging of the user is converted into corresponding text information;
The text information of conversion is matched with the text information of described every default voice messaging.
Optionally, described in the voice messaging for detecting the user and any one default voice messaging successful match
When, the step of generating input method switching command corresponding with matched default voice messaging, comprising:
In the voice messaging and any one default voice messaging successful match for detecting the user, obtain matched
The starting of the input type of the default corresponding input method of voice messaging controls information, and the starting control information includes that this is corresponding
The class name and parameter of the input type of the packet name of input method and the corresponding input method;
Information, which is controlled, according to the starting generates corresponding input method switching command.
Optionally, described that current input method is switched to by the matched default language according to the input method switching command
Message ceases the step of corresponding input type of corresponding input method, comprising:
The starting control information is obtained from the input method switching command;
The matched default voice letter is switched to according to the current input method of packet star in the starting control information
Cease corresponding input method, and according in the starting control information class name and parameter by the input class of the input method after switching
Type is switched to corresponding input type.
Second aspect, the embodiment of the present application also provide a kind of input method switching device, are applied to user terminal, the user
The corresponding input type of a plurality of default voice messaging and the corresponding input method of every default voice messaging, institute are stored in terminal
Stating device includes:
Voice messaging obtains module, for after detecting speech recognition operation, into speech recognition state to obtain use
The voice messaging at family;
Information matches module, for matching the voice messaging of the user with every default voice messaging;
Directive generation module, for being matched in the voice messaging for detecting the user with any one default voice messaging
When success, input method switching command corresponding with matched default voice messaging is generated;
Switching module, it is described matched default for being switched to current input method according to the input method switching command
Voice messaging corresponds to the corresponding input type of input method.
The third aspect, the embodiment of the present application also provide a kind of user terminal, and the user terminal includes:
Storage medium;
Processor;And
Above-mentioned input method switching device, the input method switching device are stored in the storage medium and including by described
The computer instruction that processor executes.
Fourth aspect, the embodiment of the present application also provide a kind of readable storage medium storing program for executing, are stored thereon with computer program, described
Computer program, which is performed, realizes above-mentioned input method switching method.
In terms of existing technologies, the application has the advantages that
The embodiment of the present application provides a kind of input method switching method, device and user terminal, is detecting language by terminal
After sound identification operation, the voice messaging of user is obtained into speech recognition state, and the voice messaging of user is pre- with every
It is raw in the voice messaging and any one default voice messaging successful match for detecting user if voice messaging is matched
At input method switching command corresponding with matched default voice messaging, thus according to input method switching command by current input
Method is switched to the corresponding input type that matched default voice messaging corresponds to input method.In this way, the language of the application combination user
Message ceases the corresponding input type for automatically switching to corresponding input method, is easy to user's operation, practical, while being also avoided that
Other users arbitrarily switch using input method, to protect privacy of user.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the structural block diagram of user terminal provided by the embodiments of the present application;
Fig. 2 is the flow diagram of input method switching method provided by the embodiments of the present application;
Page schematic diagram when Fig. 3 is the state provided by the embodiments of the present application into speech recognition;
Fig. 4 is the functional block diagram of input method switching device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Usually herein
The component of the embodiment of the present application described and illustrated in place's attached drawing can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed
Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common
Technical staff's all other embodiment obtained without creative labor belongs to the application protection
Range.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Referring to Fig. 1, being the structural schematic block diagram of user terminal 100 provided by the embodiments of the present application, the user terminal
100 can for example including smart phone, touch PDA perhaps tablet computer or with touch screen function computer, so
And, it should be understood that user terminal 100 can also optionally include other one or more physical user-interface devices, such as object
Manage keyboard, mouse and/or control stick etc..
The user terminal 100 is usually supported various applications (such as software of the certain functions of the completion such as APP), such as following
One or more of: notepad production application, drawing application, application, text processing application, website is presented in input method application
Create application, disk editor application, spreadsheet application, game application, phone application, video conference application, e-mail applications,
Instant message application, body-building support application, photo management application, digital camera applications, digital video camcorder application, webpage clear
Look at application, digital music player application and/or video frequency player application.
The various applications executed on user terminal 100 optionally use at least one common physical user interface facilities,
Such as touch screen.The corresponding informance for touching one or more functions of screen and being shown in equipment is optionally answered from one kind
With adjusting and/or be changed to a kind of lower application and/or in respective application be adjusted and/or change.In this way, user terminal 100
Shared physical structure (such as touch screen) supported optionally with intuitive for a user and clear user interface
Various application programs.
The user terminal 100 includes that (it optionally includes one or more computer-readable storage mediums to storage medium 102
Matter), Memory Controller 104, one or more processors (CPU) 106, peripheral device interface 108, radio circuit 110, audio
Circuit 112, loudspeaker 1121, microphone 1122, input/output (I/O) subsystem 114 and outside port 116, range sensor
118 and acceleration transducer 120, it further include the electricity for supporting each electronic component work operating in the entire user terminal 100
Force system 132.
The various functions such as operating system, communication module, figure module, text input are stored in the storage medium 102
Module and various application programs, processor 106 utilize being stored in storage medium 102 under the control of storage control 104
Data complete the user terminal 100 such as text-processing, communicate, take pictures various functions.
The I/O subsystem 114 further comprises display controller 1141, and optical sensor controller 1142, tactile is anti-
Controller 1143 is presented, other input controllers 1144 are used to control the corresponding component of the user terminal 100.The user terminal
100 also optionally include touch display system 122, for receiving the touch input of user on the display screen.The user is whole
End 100 also optionally includes one or more optical sensors 124, for incuding light intensity.Equipment 100 also optionally includes
For generate on the appliance 100 tactile output one or more tactile output generators 126 (such as touch screen such as set
Tactile output is generated by motor on standby 100 touch display system 122).It is defeated that the user terminal 100 also optionally includes other
Enter or control equipment 128.These components are communicated optionally by one or more communication bus or signal wire 130.
Referring to Fig. 2, being a kind of flow diagram of input method switching method provided by the embodiments of the present application, the input
Method switching method can the user terminal 100 as shown in Fig. 1 execute.It should be noted that provided by the embodiments of the present application defeated
Entering method switching method not is limitation with Fig. 2 and specific order below.The detailed process of this method is as follows:
Step S210 obtains the voice messaging of user into speech recognition state after detecting speech recognition operation.
Optionally, which can be designed according to actual needs, such as may include in following operation
One kind: the speech recognition button in current display interface is triggered, the programmable button on the user terminal 100 is with default side
Formula is triggered, the user terminal 100 generate it is default shake, the distance between the user and the user terminal 100 are less than
Any input method in pre-determined distance, the user terminal 100 is called.
Wherein, the speech recognition button in current display interface is triggered and can refer to, any position of current display interface
The settable speech recognition button in place is set, can trigger speech recognition operation when user pins the speech recognition button.
Programmable button on the user terminal 100 is triggered with predetermined manner and can be referred to, the quilt on user terminal 100
User's programmable button predetermined, such as volume key, HOME key etc. are triggered with predetermined manner, such as pressing volume key two
Secondary, HOME key two is inferior can trigger speech recognition operation for pressing.
The user terminal 100, which generates default shake, can refer to that user shakes the user terminal according to predetermined manner
100, so that the acceleration transducer 120 in the user terminal 100 senses the default shaking and generates corresponding acceleration
Signal is sent to the processor 106, and the processor 106 can trigger speech recognition behaviour after receiving the acceleration signal
Make.
The distance between the user and the user terminal 100 are less than pre-determined distance and can refer to, the user terminal
Range sensor 118 in 100 detects the distance between user, and the distance is sent to the processor 106, institute
Stating processor can trigger speech recognition operation when detecting that the distance is less than pre-determined distance (such as 5CM).
Any input method in the user terminal 100 is called and can refer to, any defeated in the user terminal 100
Enter method and be currently at use state, such as the input method is in pop-up state in current display interface, is in pop-up state
When speech recognition operation trigger in real time.
It is readily appreciated that, the triggering mode of the above speech recognition operation is merely illustrative, and those skilled in the art can be according to reality
Border design requirement is defined the speech recognition operation, and the embodiment of the present application is not intended to be limited in any this.
As an implementation, it is touched by the speech recognition button in current display interface of the speech recognition operation
For hair, Fig. 3 is please referred to, the microphone button b above input method regional frame a shown in fig. 3 is speech recognition
Button then generates a speech recognition prompting frame c in current display page after microphone button b is triggered to prompt user
Input voice information.Continuously display speech recognition prompting frame c during user's input voice information, and detecting use
Family stops stopping the display speech recognition prompting frame c when input voice information.Meanwhile passing through voicefrequency circuit in the whole process
112 obtain the voice messaging of user's input in real time.
Step S220 matches the voice messaging of the user with every default voice messaging.
In the present embodiment, a plurality of default voice messaging and every default voice messaging are stored in the user terminal 100
The corresponding input type of corresponding input method, in detail, before step S210, the method also includes following steps:
Firstly, receiving a plurality of default voice messaging of user's typing, and every default voice messaging is stored.Example
Such as, user can according to need typing voice A, voice B, voice C, voice D, voice E etc. respectively.
Then, the setting instruction of user, the corresponding input of the corresponding input method of the default voice messaging of setting every are responded
Type.For example, it is corresponding defeated that voice A can be set after the above-mentioned voice A of typing, voice B, voice C, voice D, voice E in user
The corresponding input type for entering method is the Pinyin Input type of search dog input method, the corresponding input of the corresponding input method of voice B
Type is the stroke input type of search dog input method, and the corresponding input type of the corresponding input method of voice C is to interrogate to fly input method
Handwriting input type, the corresponding input type of the corresponding input method of voice D be interrogate Google's spelling input method five pen types,
The corresponding input type of the corresponding input method of voice E is the alphabetical input type of Baidu's input method.
On the basis of foregoing description, in a kind of interchangeable embodiment, by the voice messaging of the user and often
Item is preset the matched mode of voice messaging progress and be can be, and extracts the phonetic feature of the voice messaging of the user, and will extract
Phonetic feature matched with the phonetic feature of described every default voice messaging.Alternatively, can also be by the language of the user
Message breath is converted to corresponding text information, and by the text information of the text information of conversion and described every default voice messaging
It is matched.
Step S230, in the voice messaging and any one default voice messaging successful match for detecting the user,
Generate input method switching command corresponding with matched default voice messaging.
In the present embodiment, in the voice messaging and any one default voice messaging successful match for detecting the user
When, the starting for obtaining the input type of the corresponding input method of matched default voice messaging controls information, the starting control letter
Class name and parameter including the packet name of the corresponding input method and the input type of the corresponding input method are ceased, then basis
The starting control information generates corresponding input method switching command.
In detail, the starting control information can be understood as the input type for starting the corresponding input method, when
When the input type of certain specific input method of user setting, can automatic identification can star the input class of this input method
The method and instruction of type, for example, information can be controlled as the starting by way of am start-n packet name/class name parameter
To start the corresponding input type of corresponding input method.Wherein: the type of packet name expression input method.
For example, the packet name of search dog input method is: com.sohu.inputmethod.sogou;Interrogate the packet name for flying input method
It is: com.iflytek.inputmethod.
Based on this, the starting control information for starting the Pinyin Input type of search dog input method can be am start-n
com.sohu.inputmethod.sogou/A-es inputtype 1.Wherein, com.sohu.inputmethod.sogou is
The packet name of search dog input method, A-es inputtype 1 are the class name and parameter of the Pinyin Input type of search dog input method.
The starting control information for starting the stroke input type of search dog input method can be am start-n
com.sohu.inputmethod.sogou/A-es inputtype 2.Wherein, com.soh u.inputmethod.sogou
For the packet name of search dog input method, A-es inputtype 2 is the class name and parameter of the stroke input type of search dog input method.
The starting control information that winged input method handwriting input type is interrogated in starting can be am start-n
com.iflytek.inputmethod/A-es inputtype 1.Wherein, com.iflytek.input method is that news fly
The packet name of input method, A-es inputtype 1 are the class name and parameter for interrogating the handwriting input type for flying input method.
On the basis of foregoing description, if detect the voice messaging and voice messaging A successful match of the user,
Then obtain the starting control information namely search dog input method of the input type of the corresponding input method of matched default voice messaging A
Pinyin Input type starting control information: am start-n com.sohu.inputmethod.sogou/A-es
Inputtype 1, thus raw according to am start-n com.sohu.inputmethod.sogou/A-es inputtype 1
At corresponding input method switching command.
Current input method is switched to the matched default voice according to the input method switching command by step S240
Information corresponds to the corresponding input type of input method.
In the present embodiment, the starting control information can be obtained from the input method switching command, then according to institute
It states the current input method of packet star in starting control information and is switched to the corresponding input method of the matched default voice messaging,
And according in the starting control information class name and parameter the input type of the input method after switching is switched to it is corresponding
Input type.
It, can be from the input still by taking the voice messaging and voice messaging A successful match that detect the user as an example
The Pinyin Input type of starting control information namely search dog input method that the voice messaging A is obtained in method switching command opens
Dynamic control information: am start-n com.sohu.inputmethod.sogou/A-es inputtype 1, then according to institute
Current input method is switched to search dog input by the packet name com.sohu.inputmethod.sogou stated in starting control information
Method, and according in the starting control information class name and parameter A-es inputtype 1 by the search dog input method after switching
Input type be switched to Pinyin Input type.
Based on above-mentioned design, the voice messaging of the present embodiment combination user automatically switches to the corresponding defeated of corresponding input method
Enter type, is easy to user's operation, it is practical, while being also avoided that other users arbitrarily switch using input method, to protect
Privacy of user.
Further, referring to Fig. 4, the embodiment of the present application also provides a kind of input method switching device 200, input method switching
Device 200 can store in the storage medium 102 shown in Fig. 1, and the processor 106 is for executing the input method switching dress
Set 200.The input method switching device 200 may include:
Voice messaging obtains module 210, for after detecting speech recognition operation, into speech recognition state to obtain
The voice messaging of user;
Information matches module 220, for matching the voice messaging of the user with every default voice messaging;
Directive generation module 230, in the voice messaging and any one default voice messaging for detecting the user
When successful match, input method switching command corresponding with matched default voice messaging is generated;
Switching module 240, it is described matched for being switched to current input method according to the input method switching command
Default voice messaging corresponds to the corresponding input type of input method.
Optionally, the speech recognition operation includes one of following operation:
Speech recognition button in current display interface is triggered;
Programmable button on the user terminal 100 is triggered;
The user terminal 100 generates default shake;
The distance between the user and the user terminal 100 are less than pre-determined distance;
Any input method in the user terminal 100 is called.
It is understood that the concrete operation method of each functional module in the present embodiment can refer to above method embodiment
The detailed description of middle corresponding steps, it is no longer repeated herein.
Further, the embodiment of the present application also provides a kind of nonvolatile computer storage media, the computer is deposited
Storage media is stored with computer executable instructions, which can be performed defeated in above-mentioned any means embodiment
Enter method switching method.
In conclusion the embodiment of the present application provides a kind of input method switching method, device and user terminal, existed by terminal
After detecting speech recognition operation, the voice messaging of user is obtained into speech recognition state, and by the voice messaging of user
It is matched with every default voice messaging, is matched into the voice messaging for detecting user with any one default voice messaging
When function, input method switching command corresponding with matched default voice messaging is generated, to will work as according to input method switching command
Preceding input method is switched to the corresponding input type that matched default voice messaging corresponds to input method.In this way, the application combines
The voice messaging of user automatically switches to the corresponding input type of corresponding input method, is easy to user's operation, practical, simultaneously
Also it is avoided that other users arbitrarily switch using input method, to protect privacy of user.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other
Mode realize.Device and method embodiment described above is only schematical, for example, flow chart and frame in attached drawing
Figure shows the system frame in the cards of the system of multiple embodiments according to the application, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, a part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that function marked in the box can also be with not in some implementations as replacement
It is same as the sequence marked in attached drawing generation.For example, two continuous boxes can actually be basically executed in parallel, they have
When can also execute in the opposite order, this depends on the function involved.It is also noted that in block diagram and or flow chart
Each box and the box in block diagram and or flow chart combination, can function or movement as defined in executing it is dedicated
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It can replace, can be realized wholly or partly by software, hardware, firmware or any combination thereof.When
When using software realization, can entirely or partly it realize in the form of a computer program product.The computer program product
Including one or more computer instructions.It is all or part of when loading on computers and executing the computer program instructions
Ground is generated according to process or function described in the embodiment of the present application.The computer can be general purpose computer, special purpose computer,
Computer network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or
Person is transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction
Wired (such as coaxial cable, optical fiber, digital subscriber can be passed through from a web-site, computer, server or data center
Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or data
It is transmitted at center.The computer readable storage medium can be any usable medium that computer can access and either wrap
The data storage devices such as electronic equipment, server, the data center integrated containing one or more usable mediums.The usable medium
It can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid-state
Hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, term " including ", " including " or its any other variant are intended to non-row
Its property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and
And further include the other elements being not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including institute
State in the process, method, article or equipment of element that there is also other identical elements.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.
Claims (10)
1. a kind of input method switching method, which is characterized in that be applied to user terminal, stored in the user terminal a plurality of default
The corresponding input type of voice messaging and the corresponding input method of every default voice messaging, which comprises
After detecting speech recognition operation, the voice messaging of user is obtained into speech recognition state;
The voice messaging of the user is matched with every default voice messaging;
In the voice messaging that detects the user and any one default voice messaging successful match, generate with it is matched pre-
If the corresponding input method switching command of voice messaging;
Current input method is switched to the corresponding input of matched default voice messaging according to the input method switching command
The corresponding input type of method.
2. input method switching method according to claim 1, which is characterized in that described to detect speech recognition operation
Afterwards, before the step of voice messaging into speech recognition state to obtain user, the method also includes:
The a plurality of default voice messaging of user's typing is received, and every default voice messaging is stored;
Respond the setting instruction of user, the corresponding input type of the corresponding input method of the default voice messaging of setting every.
3. input method switching method according to claim 1, which is characterized in that the speech recognition operation includes following behaviour
One of make:
Speech recognition button in current display interface is triggered;
Programmable button on the user terminal is triggered with predetermined manner;
The user terminal generates default shake;
The distance between the user and the user terminal are less than pre-determined distance;
Any input method in the user terminal is called.
4. input method switching method according to claim 1, which is characterized in that the speech recognition state that enters is to obtain
The step of voice messaging of user, comprising:
A speech recognition prompting frame is generated in current display page to prompt user's input voice information;
Continuously display speech recognition prompting frame during user's input voice information, and detecting user's stopping input
Stop showing the speech recognition prompting frame when voice messaging.
5. input method switching method according to claim 1, which is characterized in that the voice messaging by the user with
The step of every default voice messaging is matched, comprising:
Extract the phonetic feature of the voice messaging of the user;
The phonetic feature of extraction is matched with the phonetic feature of described every default voice messaging.
6. input method switching method according to claim 1, which is characterized in that the voice messaging by the user with
The step of every default voice messaging is matched, comprising:
The voice messaging of the user is converted into corresponding text information;
The text information of conversion is matched with the text information of described every default voice messaging.
7. input method switching method according to claim 1, which is characterized in that described in the voice for detecting the user
Information and when any one default voice messaging successful match generates input method switching corresponding with matched default voice messaging
The step of instruction, comprising:
In the voice messaging and any one default voice messaging successful match for detecting the user, obtain matched default
The starting of the input type of the corresponding input method of voice messaging controls information, and the starting control information includes the corresponding input
The class name and parameter of the input type of the packet name of method and the corresponding input method;
Information, which is controlled, according to the starting generates corresponding input method switching command.
8. input method switching method according to claim 7, which is characterized in that described according to the input method switching command
Current input method is switched to the step of matched default voice messaging corresponds to the corresponding input type of input method, is wrapped
It includes:
The starting control information is obtained from the input method switching command;
The matched default voice messaging pair is switched to according to the current input method of packet star in the starting control information
The input method answered, and cut the input type of the input method after switching according to the class name started in control information and parameter
It is changed to corresponding input type.
9. a kind of input method switching device, which is characterized in that be applied to user terminal, stored in the user terminal a plurality of default
The corresponding input type of voice messaging and the corresponding input method of every default voice messaging, described device include:
Voice messaging obtains module, for after detecting speech recognition operation, into speech recognition state to obtain user's
Voice messaging;
Information matches module, for matching the voice messaging of the user with every default voice messaging;
Directive generation module, in the voice messaging and any one default voice messaging successful match for detecting the user
When, generate input method switching command corresponding with matched default voice messaging;
Switching module, for current input method to be switched to the matched default voice according to the input method switching command
Information corresponds to the corresponding input type of input method.
10. a kind of user terminal, which is characterized in that the user terminal includes:
Storage medium;
Processor;And
Input method switching device as claimed in claim 9, the input method switching device are stored in the storage medium and wrap
Include the computer instruction executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811378936.2A CN109189243B (en) | 2018-11-19 | 2018-11-19 | Input method switching method and device and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811378936.2A CN109189243B (en) | 2018-11-19 | 2018-11-19 | Input method switching method and device and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109189243A true CN109189243A (en) | 2019-01-11 |
CN109189243B CN109189243B (en) | 2022-08-26 |
Family
ID=64940021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811378936.2A Active CN109189243B (en) | 2018-11-19 | 2018-11-19 | Input method switching method and device and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189243B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110010131A (en) * | 2019-04-04 | 2019-07-12 | 深圳市语芯维电子有限公司 | A kind of method and apparatus of speech signal analysis |
CN112087671A (en) * | 2020-09-04 | 2020-12-15 | 海信视像科技股份有限公司 | Display method and display equipment for control prompt information of input method control |
CN116974386A (en) * | 2023-09-20 | 2023-10-31 | 深圳市英菲克电子有限公司 | Keyboard input method switching circuit and control method thereof |
Citations (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030077360A (en) * | 2002-03-26 | 2003-10-01 | 엘지전자 주식회사 | Control method for mobile communication device using input mode change |
US20040085370A1 (en) * | 2002-10-31 | 2004-05-06 | Microsoft Corporation | Input mode selector on a mobile device |
CN1696878A (en) * | 2004-05-11 | 2005-11-16 | 华硕电脑股份有限公司 | Switching input method, and electronic equipment of switching input method |
JP2006235836A (en) * | 2005-02-23 | 2006-09-07 | Adc Technology Kk | Character input method, character input device and portable communication terminal |
CN200956148Y (en) * | 2006-09-14 | 2007-10-03 | 陈重行 | Word input method or keyboard lauguage configuration switching device |
JP2007272415A (en) * | 2006-03-30 | 2007-10-18 | Fujitsu Ltd | Character input system and character input method |
US20090273566A1 (en) * | 2008-05-02 | 2009-11-05 | Hon Hai Precision Industry Co., Ltd. | Electronic device system utilizing a character input method |
CN102063190A (en) * | 2009-11-18 | 2011-05-18 | 致伸科技股份有限公司 | Switching method and switching device for character input modes |
JP2012063921A (en) * | 2010-09-15 | 2012-03-29 | Ntt Docomo Inc | Character input device, character input method and character input program |
CN103246437A (en) * | 2012-02-03 | 2013-08-14 | 宇龙计算机通信科技(深圳)有限公司 | Approach for switching input methods and terminal |
CN103595852A (en) * | 2012-08-14 | 2014-02-19 | 中兴通讯股份有限公司 | A voice auxiliary input method and a voice auxiliary input apparatus |
CN103853443A (en) * | 2012-12-03 | 2014-06-11 | 联想(北京)有限公司 | Input interface switching method, input interface switching device and electronic equipment |
CN104346127A (en) * | 2013-08-02 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Realization method, realization device and terminal for voice input |
CN104750378A (en) * | 2013-12-30 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Automatic input mode switching method and device for input method |
CN104932711A (en) * | 2015-06-24 | 2015-09-23 | 努比亚技术有限公司 | Method and device for realizing input mode switching |
CN105094371A (en) * | 2015-08-28 | 2015-11-25 | 努比亚技术有限公司 | Text input mode switching apparatus and method for mobile terminal |
CN105589642A (en) * | 2014-10-29 | 2016-05-18 | 深圳富泰宏精密工业有限公司 | Input method automatic switching system and method of handheld electronic device |
CN105824567A (en) * | 2016-01-25 | 2016-08-03 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for switching input method and terminal |
CN106354269A (en) * | 2016-11-11 | 2017-01-25 | 北京云知声信息技术有限公司 | Voice input method and device |
CN106598269A (en) * | 2016-12-15 | 2017-04-26 | 北京小米移动软件有限公司 | Input method switching method and apparatus |
CN106648437A (en) * | 2016-12-30 | 2017-05-10 | 珠海市魅族科技有限公司 | Keyboard switching method and device |
CN106774984A (en) * | 2016-12-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method and device for realizing input method switching |
CN106774976A (en) * | 2016-12-01 | 2017-05-31 | 北京小米移动软件有限公司 | input method switching method and device |
CN107193393A (en) * | 2017-04-28 | 2017-09-22 | 北京小米移动软件有限公司 | Input method switching method and device |
CN107300986A (en) * | 2017-06-30 | 2017-10-27 | 联想(北京)有限公司 | Input method switching method and device |
CN108595020A (en) * | 2018-04-28 | 2018-09-28 | 程爱云 | A kind of intelligent switch method of input method, device and its readable storage medium storing program for executing machine terminal equipment |
-
2018
- 2018-11-19 CN CN201811378936.2A patent/CN109189243B/en active Active
Patent Citations (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030077360A (en) * | 2002-03-26 | 2003-10-01 | 엘지전자 주식회사 | Control method for mobile communication device using input mode change |
US20040085370A1 (en) * | 2002-10-31 | 2004-05-06 | Microsoft Corporation | Input mode selector on a mobile device |
CN1696878A (en) * | 2004-05-11 | 2005-11-16 | 华硕电脑股份有限公司 | Switching input method, and electronic equipment of switching input method |
JP2006235836A (en) * | 2005-02-23 | 2006-09-07 | Adc Technology Kk | Character input method, character input device and portable communication terminal |
JP2007272415A (en) * | 2006-03-30 | 2007-10-18 | Fujitsu Ltd | Character input system and character input method |
CN200956148Y (en) * | 2006-09-14 | 2007-10-03 | 陈重行 | Word input method or keyboard lauguage configuration switching device |
US20090273566A1 (en) * | 2008-05-02 | 2009-11-05 | Hon Hai Precision Industry Co., Ltd. | Electronic device system utilizing a character input method |
CN102063190A (en) * | 2009-11-18 | 2011-05-18 | 致伸科技股份有限公司 | Switching method and switching device for character input modes |
JP2012063921A (en) * | 2010-09-15 | 2012-03-29 | Ntt Docomo Inc | Character input device, character input method and character input program |
CN103246437A (en) * | 2012-02-03 | 2013-08-14 | 宇龙计算机通信科技(深圳)有限公司 | Approach for switching input methods and terminal |
CN103595852A (en) * | 2012-08-14 | 2014-02-19 | 中兴通讯股份有限公司 | A voice auxiliary input method and a voice auxiliary input apparatus |
CN103853443A (en) * | 2012-12-03 | 2014-06-11 | 联想(北京)有限公司 | Input interface switching method, input interface switching device and electronic equipment |
CN108536370A (en) * | 2012-12-03 | 2018-09-14 | 联想(北京)有限公司 | A kind of input interface switching method and device, electronic equipment |
CN104346127A (en) * | 2013-08-02 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Realization method, realization device and terminal for voice input |
CN104750378A (en) * | 2013-12-30 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Automatic input mode switching method and device for input method |
CN105589642A (en) * | 2014-10-29 | 2016-05-18 | 深圳富泰宏精密工业有限公司 | Input method automatic switching system and method of handheld electronic device |
CN104932711A (en) * | 2015-06-24 | 2015-09-23 | 努比亚技术有限公司 | Method and device for realizing input mode switching |
CN105094371A (en) * | 2015-08-28 | 2015-11-25 | 努比亚技术有限公司 | Text input mode switching apparatus and method for mobile terminal |
CN105824567A (en) * | 2016-01-25 | 2016-08-03 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for switching input method and terminal |
CN106354269A (en) * | 2016-11-11 | 2017-01-25 | 北京云知声信息技术有限公司 | Voice input method and device |
CN106774976A (en) * | 2016-12-01 | 2017-05-31 | 北京小米移动软件有限公司 | input method switching method and device |
CN106598269A (en) * | 2016-12-15 | 2017-04-26 | 北京小米移动软件有限公司 | Input method switching method and apparatus |
CN106648437A (en) * | 2016-12-30 | 2017-05-10 | 珠海市魅族科技有限公司 | Keyboard switching method and device |
CN106774984A (en) * | 2016-12-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of method and device for realizing input method switching |
CN107193393A (en) * | 2017-04-28 | 2017-09-22 | 北京小米移动软件有限公司 | Input method switching method and device |
CN107300986A (en) * | 2017-06-30 | 2017-10-27 | 联想(北京)有限公司 | Input method switching method and device |
CN108595020A (en) * | 2018-04-28 | 2018-09-28 | 程爱云 | A kind of intelligent switch method of input method, device and its readable storage medium storing program for executing machine terminal equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110010131A (en) * | 2019-04-04 | 2019-07-12 | 深圳市语芯维电子有限公司 | A kind of method and apparatus of speech signal analysis |
CN110010131B (en) * | 2019-04-04 | 2022-01-04 | 深圳市语芯维电子有限公司 | Voice information processing method and device |
CN112087671A (en) * | 2020-09-04 | 2020-12-15 | 海信视像科技股份有限公司 | Display method and display equipment for control prompt information of input method control |
CN112087671B (en) * | 2020-09-04 | 2022-06-14 | 海信视像科技股份有限公司 | Display method and display equipment for control prompt information of input method control |
CN116974386A (en) * | 2023-09-20 | 2023-10-31 | 深圳市英菲克电子有限公司 | Keyboard input method switching circuit and control method thereof |
CN116974386B (en) * | 2023-09-20 | 2023-12-15 | 深圳市英菲克电子有限公司 | Keyboard input method switching circuit and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN109189243B (en) | 2022-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102490421B1 (en) | Systems, devices, and methods for dynamically providing user interface controls at a touch-sensitive secondary display | |
US9632595B2 (en) | Method for operation of pen function and electronic device supporting the same | |
KR102144553B1 (en) | Multiple-display method, machine-readable storage medium and electronic device | |
EP3093755B1 (en) | Mobile terminal and control method thereof | |
JP5956725B2 (en) | Method, device, and computer program product for providing context-aware help content | |
US8893054B2 (en) | Devices, systems, and methods for conveying gesture commands | |
RU2706951C2 (en) | Method and device for providing a graphical user interface | |
CN105630327B (en) | The method of the display of portable electronic device and control optional element | |
EP2811400B1 (en) | Method for executing program and electronic device thereof | |
US20120289290A1 (en) | Transferring objects between application windows displayed on mobile terminal | |
CN103649892A (en) | Method and apparatus for providing quick access to media functions from a locked screen | |
JP6828150B2 (en) | Screen display method and terminal | |
CN107967055A (en) | A kind of man-machine interaction method, terminal and computer-readable medium | |
CN105659194A (en) | Quick tasks for on-screen keyboards | |
WO2018000626A1 (en) | Television-based webpage browsing control method and related device | |
JP6434640B2 (en) | Message display method, message display device, and message display device | |
CN109189243A (en) | Input method switching method, device and user terminal | |
CN105159548B (en) | A kind of list interface operating method and electric terminal | |
CN106249999A (en) | Terminal operation method and device | |
CN108664286B (en) | Application program preloading method and device, storage medium and mobile terminal | |
CN104184890A (en) | Information processing method and electronic device | |
CN111512278A (en) | Method for processing application of terminal equipment and terminal equipment | |
CN114205447B (en) | Shortcut setting method and device of electronic equipment, storage medium and electronic equipment | |
CN107943359A (en) | A kind of method, terminal and the computer-readable medium of the control of application program | |
CN108604331A (en) | A kind of information prompting method and mobile device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |