CN107894852A - A kind of keyboard shift method and electronic equipment - Google Patents
A kind of keyboard shift method and electronic equipment Download PDFInfo
- Publication number
- CN107894852A CN107894852A CN201711113911.5A CN201711113911A CN107894852A CN 107894852 A CN107894852 A CN 107894852A CN 201711113911 A CN201711113911 A CN 201711113911A CN 107894852 A CN107894852 A CN 107894852A
- Authority
- CN
- China
- Prior art keywords
- keyboard
- application
- type
- electronic equipment
- 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.)
- 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
-
- 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/0238—Programmable keyboards
-
- 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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0489—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
Abstract
The invention discloses a kind of keyboard shift method and electronic equipment, for simplifying the operation of keyboard shift, improves Consumer's Experience.Keyboard shift method therein, applied to an electronic equipment, the electronic equipment includes keyboard, and the keyboard shift method includes:Obtain the type for the application that the electronic equipment is currently run;The corresponding relation of type and keyboard mode based on the application prestored, it is determined that the first keyboard mode corresponding with the type of the application;It is first keyboard mode by the current pattern switching of the keyboard.
Description
Technical field
The present invention relates to keyboard technique field, more particularly to a kind of keyboard shift method and electronic equipment.
Background technology
As electric terminal is increasingly popularized, the application program installed in electric terminal is also more and more, so causing
Electric terminal is when running different applications, it usually needs the keyboard mode of keyboard is switched over.For example, the application of operation is such as
Fruit is office class application, then may need to use each button included by keyboard, in this case, the mode of operation of keyboard
Can be ordinary keyboard mode, it is more common.And if the application of operation is game class application, and generally user's object for appreciation game, one
As be exactly that fixed several actions are for example advanced, retreat, moved left and right, and be user-friendly, each action generally corresponds to key
Some button on disk, it can also prevent other buttons of user's false touch from causing object for appreciation game to cause to slip up.Therefore, usually common keyboard
On the several buttons of fixation be correspondingly arranged play game several actions, the mode of operation for being exactly keyboard is gamepad pattern.Cause
This, when the application of operation is game class application, user can be operated to keyboard, and the mode of operation of keyboard is switched into game
Keyboard mode.
It can be seen that being all that user operates to keyboard manually at present, the switching of keyboard mode is realized, it is cumbersome and inconvenient,
Consumer's Experience is poor.
The content of the invention
The embodiment of the present invention provides a kind of keyboard shift method and electronic equipment, for simplifying the operation of keyboard shift, carries
High Consumer's Experience.
First aspect, there is provided a kind of keyboard shift method, applied to an electronic equipment, the electronic equipment includes keyboard,
The keyboard shift method includes:
Obtain the type for the application that the electronic equipment is currently run;
The corresponding relation of type and keyboard mode based on the application prestored, it is determined that corresponding with the type of the application
The first keyboard mode;
It is first keyboard mode by the current pattern switching of the keyboard.
Optionally, after by the current pattern switching of the keyboard for first keyboard mode, in addition to:
According to the type of the application, and the application type and the corresponding relation of input method prestored, it is determined that with it is described
First input method corresponding to the type of application;
The current input method of the keyboard is switched into first input method.
Optionally, in addition to:
Obtain user using the application currently run use information, the use information including the use of the date and/
Or the input information of user;
It is defeated according to the application type and the use information when carrying out text input by first input method
Go out corresponding with the text input to recommend vocabulary.
Optionally, when carrying out text input by first input method, according to the application type and the use
Information, recommendation vocabulary corresponding with the text input is exported, including:
If the use date is the class date in red-letter day, and the application type is chat-type, according to default red-letter day with
Recommend the corresponding relation of lexicon, it is determined that corresponding with the use date and the application type first recommends lexicon;
Export the vocabulary in the first recommendation lexicon.
Optionally, when carrying out text input by first input method, according to the application type and the use
Information, recommendation vocabulary corresponding with the text input is exported, including:
Extract the keyword in the input information for the user that the use information carries;
If the keyword is present in the dictionary prestored, and the application type is chat-type, based on institute's predicate
Corresponding relation of each keyword with recommending lexicon in storehouse, it is determined that corresponding with the keyword second recommends lexicon;
Export the vocabulary in the second recommendation lexicon.
Second aspect, there is provided a kind of electronic equipment, including keyboard, the electronic equipment also include:
Acquiring unit, the type of the application currently run for obtaining the electronic equipment;
Determining unit, for type and the corresponding relation of keyboard mode based on the application prestored, it is determined that with it is described
First keyboard mode corresponding to the type of application;
Switch unit, for being first keyboard mode by the current pattern switching of the keyboard.
Optionally,
The determining unit is additionally operable to:After by the current pattern switching of the keyboard for first keyboard mode,
According to the type of the application, and the application type and the corresponding relation of input method prestored, it is determined that the class with the application
First input method corresponding to type;
The switch unit is additionally operable to:The current input method of the keyboard is switched into first input method.
Optionally, in addition to output unit,
The acquiring unit is additionally operable to:Obtain user and use the use information of the application currently run, the use
Information includes use date and/or the input information of user;
The output unit is used for:When carrying out text input by first input method, according to the application type
And the use information, export recommendation vocabulary corresponding with the text input.
The third aspect, a kind of electronic equipment is additionally provided, the electronic equipment includes:
At least one processor, and
The memory being connected with least one processor;
Wherein, have can be by the instruction of at least one computing device, at least one place for the memory storage
The method as described in any one of first aspect is realized in instruction of the reason device by performing the memory storage.
Fourth aspect, there is provided a kind of computer-readable storage medium, be stored thereon with computer program, the computer program
The method as described in any one of first aspect is realized when being executed by processor.
Electronic equipment in the embodiment of the present invention can obtain the type for the application that electronic equipment is currently run, it is determined that with answering
The first keyboard mode being adapted with type, it is the first keyboard mode by the current pattern switching of the keyboard of electronic equipment.I.e. originally
The pattern of type automatic switchover keyboard of the electronic equipment based on application in inventive embodiments, without user's manual switching,
Consumer's Experience is good.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to carrying
The accompanying drawing of confession obtains other accompanying drawings.
Fig. 1 is the flow chart of keyboard shift method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of electronic equipment provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of electronic equipment provided in an embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
It is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In the case of not conflicting, the feature in embodiment and embodiment in the present invention can be mutually combined.Although also, flowing
Logical order is shown in journey figure, but in some cases, can be with different from shown or described by order execution herein
The step of.
At present, user is when using computer, when using different applications, it usually needs to the input tool as computer
The input method of keyboard switch over.All it is at present that user operates to keyboard manually, realizes the switching of input method, operates
Cumbersome and inconvenient, Consumer's Experience is poor.
In consideration of it, the embodiment of the present invention provides a kind of keyboard shift method, the application based on electronic equipment operation is cut automatically
The pattern of keyboard is changed, without user's manual switching, better user experience.
Technical scheme provided in an embodiment of the present invention is introduced below in conjunction with the accompanying drawings.
Fig. 1 is referred to, the embodiment of the present invention provides a kind of keyboard shift method, and the keyboard shift method can apply to one
Electronic equipment, the electronic equipment include keyboard.The flow of the keyboard shift method is described as follows:
S101:Obtain the type for the application that electronic equipment is currently run;
S102:The corresponding relation of type and keyboard mode based on the application prestored, it is determined that the type pair with application
The first keyboard mode answered;
S103:It is the first keyboard mode by the current pattern switching of keyboard.
Electronic equipment can run various types of applications, such as social class using QQ, wechat etc. is included, and office class should
With, including Word, PhotoShop software etc., amusement class, which is applied, includes game etc..For entertaining class application, such as play, user
Play play when, the operational order that commonly enters be for forward-reverse or be moved to the left, the fixed instruction such as move right,
The several buttons for namely typically using keyboard fixation correspondingly realize the input of operational order.User's for convenience makes
With can typically redefine the function of the button of keyboard, the several buttons of fixation for example, in common keyboard are correspondingly arranged object for appreciation trip
Several actions of play, remaining button can be invalid, so can also prevent other buttons of user's false touch from causing object for appreciation game to be made
Into error, this keyboard can is considered dedicated for game class application.The mode of operation of namely keyboard is game key
Disk pattern.
Electronic equipment in the embodiment of the present invention can redefine the mode of operation of keyboard.Such as keyboard is in common mould
Under formula, the usage of keyboard is as common usage, and keyboard is under game mode, and the input of keyboard is to be directed to game settings
, such as the button " A " of keyboard can be defined as to operation forward, button " B " is defined as operation backward, and button " C " is fixed
Justice is operation to the left, and button " D " is defined as operation to the right etc., naturally it is also possible to is other possible corresponded manners, here
Only it is citing, the embodiment of the present invention is not restricted for how to reset the function of keyboard.So user plays game class application
When, can a Cao Zuoanjian " A ", " B ", " C " or " D ", and without according to existing common keyboard button realize, the finger of user
The amplitude of action is also not too large, is more convenient the use of user.
Used in order to facilitate user, the electronic equipment in the embodiment of the present invention can be cut automatically according to the application currently run
Change the mode of operation of keyboard.Electronic equipment can obtain the type of the application currently run, and in possible embodiment, electronics is set
It is standby to know the application currently run, the type of the application, such as office class, amusement class etc. are determined according to the application of acquisition.
If the application that electronic equipment determines currently to run is game class application, then after electronic equipment determines the type of application,
The corresponding relation of type that can be based on the application prestored and keyboard mode, it is determined that the first key corresponding with the type of application
Disk pattern, can be game mode, so as to by the current pattern switching of keyboard be gamepad pattern, with the trip currently run
Play application is adapted, and is more convenient user and is played game, and does not need user's manual switching, simplifies operation, better user experience.
Even if due to same type of application, it is more that some applications receive input in Chinese, such as Word, if now keyboard
Input method supports English, then just needs user to operate keyboard, input method is switched into Chinese.Some applications receive English
Text input is more, such as PhotoShop, is generally all the shortcut input operation by keyboard, and the now input method branch of keyboard
Hold Chinese, then just need user to operate keyboard, input method is switched into English, be easy to user to realize quickly fast
The input of key.And generally user using electronic equipment can simultaneously the multiple applications of running background, cut between multiple applications
Change, this just needs user to carry out more multiple operation to keyboard, more numerous to switch the input method being adapted with the application used
It is trivial.
In consideration of it, electronic equipment in the embodiment of the present invention by the current pattern switching of keyboard be the first keyboard mode it
Afterwards, can also be according to the type of application, and the application type and the corresponding relation of input method prestored, it is determined that the class with application
First input method corresponding to type, the current input method of keyboard is switched into the first input method.Electronic equipment can obtain current fortune
The type of capable application, such as office class etc..If the application that electronic equipment determines currently to run is office class application, such as
Word, then after electronic equipment determines the type of application, type that can be based on the application prestored and input method
Corresponding relation, it is determined that the first input method corresponding with the type of application, can be Chinese character coding input method, so as to by current defeated of keyboard
Enter method and switch to Chinese character coding input method, to be adapted with the Word currently run, without user's manual switching, simplify operation,
Better user experience.For another example now, user switches to PhotoShop from Word, then electronic equipment can be according to depositing in advance
The type of the application of storage and the corresponding relation of input method, it is determined that the first input corresponding with the type for the application that electronic equipment obtains
Method, can be English input method, so that the current input method of keyboard is switched into English input method, with currently running
PhotoShop is adapted to, it is not required that user is manually operated, better user experience.
In addition, the electronic equipment in the embodiment of the present invention can also be made according to user using the application currently run
Vocabulary during with information to recommend text input to be carried out.The use information of user can include the use date of user, such as
May Day, National Day, working day or holiday.
The use information of other user can also include the input information of user, such as user passes through the society on electronic equipment
Class is handed over to apply the information inputted when being chatted with other users, such as the keyword of input, the keyword can serve to indicate that
One event, such as get married etc..
Electronic equipment can obtain use information of the user using the application currently run, when user passes through the first input method
When carrying out text input on an electronic device, electronic equipment can export defeated with text according to the type and use information of application
Recommend vocabulary corresponding to entering.
In possible embodiment, if the use information that electronic equipment obtains is use date, if the use obtained
Date is the class date in red-letter day, for example, user uses the application of electronic equipment on May Day or National Day.Electronic equipment can
With the corresponding relation according to default red-letter day and recommendation lexicon, it is determined that corresponding with use date first recommends lexicon.Electricity
After sub- equipment determines the first recommendation dictionary, the vocabulary in the first recommendation lexicon can be exported.
Wherein, electronic equipment can prestore red-letter day with recommending the corresponding relation of lexicon, for example, May Day, corresponding
Recommendation lexicon in the vocabulary that may include have " work is most glorious ", " the first " " lovely working people " of work etc..National Day
Section, the corresponding vocabulary for recommending to include in lexicon have " great motherland ", " whole nation celebrates joyously " etc..Certainly lexicon is recommended
Expression, such as May Day can also be included, the expression that recommending lexicon may include has head portrait of signal " rural migrant worker " etc..National Day
Section, the expression that recommending lexicon may include have national flag of signal " country " etc., this embodiment of the present invention are not restricted.
Electronic equipment in the embodiment of the present invention can be made when user carries out text input according to user using application
With the date, recommendation vocabulary corresponding with text input is exported.Such as output recommendation vocabulary corresponding with red-letter day so that user can
Experience the atmosphere in red-letter day at that time, improve the usage experience of user.However, when user is using class application of handling official business, such as Word
When, user may focus more on work, it is desirable to and vocabulary corresponding to the text of input is related to work, if now, electronic equipment
The use date for determining user is red-letter day, and recommends the vocabulary relevant with red-letter day, and puzzlement may be will result in for user.
In consideration of it, the electronic equipment in the embodiment of the present invention further can be current with reference to the use date of user and user
The type of the application used, corresponding with text input recommend vocabulary to export.If electronic equipment determines that user's uses day
Phase is red-letter day, and the application that user uses is office class application, then now electronic equipment can export push away corresponding with handling official business
Vocabulary is recommended, the puzzlement without causing user.And if it is red-letter day that electronic equipment, which determines the use date of user, and user uses
Application be social class application, such as QQ, wechat etc., then now electronic equipment, which can export, corresponding with red-letter day recommends vocabulary
Vocabulary in storehouse, can so increase recreational, lift the experience of user.
In possible embodiment, if the use information that electronic equipment obtains is the input information of user, such as user
The information inputted when applying and chatted with other users by the social class on electronic equipment, such as get married.Electronic equipment can
To extract the keyword in the input information of the user of use information carrying:Get married.If the keyword of extraction is present in advance
The dictionary of storage, then can based on each keyword in dictionary with recommend lexicon corresponding relation, it is determined that with keyword pair
Second answered recommends lexicon, and then exports the vocabulary in the second recommendation lexicon.
Wherein, electronic equipment can prestore keyword with recommending the corresponding relation of lexicon, for example, get married, it is corresponding
Recommendation lexicon in the vocabulary that may include have " give you joy ", " getting married happy " " loving each other dearly " etc..Beravements, it is corresponding to push away
The vocabulary that recommending may include in lexicon has " restraiing one's grief and according with inevitable changes " etc..Certainly recommend lexicon to include expression, such as extract
Keyword be to get married, recommend the expression that may include of lexicon to have phoenix coronet head portrait of signal " marriage " etc..Beravements, recommend vocabulary
The expression that storehouse may include has image of signal " embracing " etc., and this embodiment of the present invention is not restricted.
Electronic equipment in the embodiment of the present invention when user carries out text input, can according to the input information of user,
The keyword in input information is obtained, recommends vocabulary according to keyword output is corresponding with text input.Such as output and key
Recommend vocabulary corresponding to word " marriage " so that user can experience the celebrating atmosphere of marriage, improve the usage experience of user.
To sum up, the electronic equipment in the embodiment of the present invention can obtain the type for the application that electronic equipment is currently run, really
Fixed the first keyboard mode being adapted with application type, is the first keyboard mould by the current pattern switching of the keyboard of electronic equipment
Formula.The pattern of type automatic switchover keyboard of the electronic equipment based on application i.e. in the embodiment of the present invention, without user's hand
Dynamic switching, better user experience.
Electronic equipment in the embodiment of the present invention can also obtain use information of the user using the application currently run, when
When user carries out text input by the first input method on an electronic device, type and use that electronic equipment can be according to application
Information, recommendation vocabulary corresponding with text input is exported, further improves Consumer's Experience.
Equipment provided in an embodiment of the present invention is introduced below in conjunction with the accompanying drawings.
Fig. 2 is referred to, based on same inventive concept, one embodiment of the invention provides a kind of electronic equipment, the electronic equipment
Including keyboard, in addition to:
Acquiring unit 201, the type of the application currently run for obtaining electronic equipment;
Determining unit 202, for type and the corresponding relation of keyboard mode based on the application prestored, it is determined that with answering
First keyboard mode corresponding to type;
Switch unit 203, for being the first keyboard mode by the current pattern switching of keyboard.
Optionally,
Determining unit 202 is additionally operable to:After the pattern switching that keyboard is current is the first keyboard mode, according to application
Type, and the application type and the corresponding relation of input method prestored, it is determined that the first input method corresponding with the type of application;
Switch unit 203 is additionally operable to:The current input method of keyboard is switched into the first input method.
Optionally, in addition to output unit,
Acquiring unit 201 is additionally operable to:Use information of the user using the application currently run is obtained, use information includes making
With date and/or the input information of user;
Output unit is used for:It is defeated according to application type and use information when carrying out text input by the first input method
Go out corresponding with text input to recommend vocabulary.
Optionally, output unit is specifically used for:
If use date is the class date in red-letter day, and application type is chat-type, according to default red-letter day with recommending vocabulary
The corresponding relation in storehouse, it is determined that corresponding with use date and application type first recommends lexicon;
The vocabulary in lexicon is recommended in output first.
Optionally, output unit is specifically used for:
Extract the keyword in the input information for the user that use information carries;
If keyword is present in the dictionary prestored, and application type is chat-type, based on each key in dictionary
Word and the corresponding relation for recommending lexicon, it is determined that corresponding with keyword second recommends lexicon;
The vocabulary in lexicon is recommended in output second.
Fig. 3 is referred to, based on same inventive concept, one embodiment of the invention provides a kind of electronic equipment, the electronic equipment
Including:Keyboard, at least one processor 301, processor 301 realize this when being used to perform the computer program stored in memory
The step of keyboard shift method as shown in Figure 1 that inventive embodiments provide.
Optionally, processor 301 can be specifically central processing unit, ASIC (English:
Application Specific Integrated Circuit, referred to as:ASIC), can be that one or more is used to control journey
The integrated circuit that sequence performs.
Optionally, the generation equipment also includes the memory 302 that is connected with least one processor, and memory 302 can be with
Including read-only storage (English:Read Only Memory, referred to as:ROM), random access memory (English:Random
Access Memory, referred to as:) and magnetic disk storage RAM.Memory 302 is used to store number required when processor 301 is run
According to being stored with the instruction that can be performed by least one processor 301, at least one processor 301 is by performing memory 302
The instruction of storage, perform method as shown in Figure 1.Wherein, the quantity of memory 302 is one or more.Wherein, memory
302 show in the lump in figure 3, but it is understood that memory 302 is not essential functional module, therefore in figure 3 with void
Line is shown.
Wherein, acquiring unit 201, determining unit 202 and switch unit 203, before corresponding entity device may each be
The processor 301 stated.The electronic equipment can be used for performing the method that the embodiment shown in Fig. 1 is provided.Therefore set on this
The function that each functional module can be realized in standby, refers to the corresponding description in the embodiment shown in Fig. 1, seldom repeats.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, computer-readable storage medium is stored with computer
Instruction, when computer instruction is run on computers so that computer performs as the method for figure 1.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, it may be referred to corresponding in preceding method embodiment
Journey, it will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the module or unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the application
The all or part of step of embodiment methods described.And foregoing storage medium includes:General serial bus USB
(Universal Serial Bus flash disk), mobile hard disk, read-only storage (Read-Only Memory, ROM),
Random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with store program codes
Medium.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of keyboard shift method, applied to an electronic equipment, the electronic equipment includes keyboard, it is characterised in that including:
Obtain the type for the application that the electronic equipment is currently run;
The corresponding relation of type and keyboard mode based on the application prestored, it is determined that corresponding with the type of the application
One keyboard mode;
It is first keyboard mode by the current pattern switching of the keyboard.
2. the method as described in claim 1, it is characterised in that be first key by the current pattern switching of the keyboard
After disk pattern, in addition to:
According to the type of the application, and the application type and the corresponding relation of input method prestored, it is determined that with the application
Type corresponding to the first input method;
The current input method of the keyboard is switched into first input method.
3. method as claimed in claim 2, it is characterised in that also include:
User is obtained using the use information of the application currently run, the use information is including the use of date and/or use
The input information at family;
When carrying out text input by first input method, according to the application type and the use information, output with
Recommend vocabulary corresponding to the text input.
4. method as claimed in claim 3, it is characterised in that when carrying out text input by first input method, root
According to the application type and the use information, recommendation vocabulary corresponding with the text input is exported, including:
If the use date is the class date in red-letter day, and the application type is chat-type, according to default red-letter day with recommending
The corresponding relation of lexicon, it is determined that corresponding with the use date and the application type first recommends lexicon;
Export the vocabulary in the first recommendation lexicon.
5. method as claimed in claim 3, it is characterised in that when carrying out text input by first input method, root
According to the application type and the use information, recommendation vocabulary corresponding with the text input is exported, including:
Extract the keyword in the input information for the user that the use information carries;
If the keyword is present in the dictionary prestored, and the application type is chat-type, based in the dictionary
Each keyword with recommend lexicon corresponding relation, it is determined that it is corresponding with the keyword second recommend lexicon;
Export the vocabulary in the second recommendation lexicon.
6. a kind of electronic equipment, including keyboard, it is characterised in that including:
Acquiring unit, the type of the application currently run for obtaining the electronic equipment;
Determining unit, for type and the corresponding relation of keyboard mode based on the application prestored, it is determined that with the application
Type corresponding to the first keyboard mode;
Switch unit, for being first keyboard mode by the current pattern switching of the keyboard.
7. electronic equipment as claimed in claim 6, it is characterised in that
The determining unit is additionally operable to:After by the current pattern switching of the keyboard for first keyboard mode, according to
The type of the application, and the application type and the corresponding relation of input method prestored, it is determined that the type pair with the application
The first input method answered;
The switch unit is additionally operable to:The current input method of the keyboard is switched into first input method.
8. electronic equipment as claimed in claim 7, it is characterised in that also including output unit,
The acquiring unit is additionally operable to:Obtain user and use the use information of the application currently run, the use information
Including the use of date and/or the input information of user;
The output unit is used for:When carrying out text input by first input method, according to the application type and institute
Use information is stated, exports recommendation vocabulary corresponding with the text input.
9. a kind of electronic equipment, it is characterised in that including:
At least one processor, and
The memory being connected with least one processor;
Wherein, have can be by the instruction of at least one computing device, at least one processor for the memory storage
The method as described in claim any one of 1-5 is realized in instruction by performing the memory storage.
10. a kind of computer-readable storage medium, is stored thereon with computer program, it is characterised in that the computer program is located
Manage the method realized when device performs as described in claim any one of 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711113911.5A CN107894852A (en) | 2017-11-13 | 2017-11-13 | A kind of keyboard shift method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711113911.5A CN107894852A (en) | 2017-11-13 | 2017-11-13 | A kind of keyboard shift method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107894852A true CN107894852A (en) | 2018-04-10 |
Family
ID=61805232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711113911.5A Pending CN107894852A (en) | 2017-11-13 | 2017-11-13 | A kind of keyboard shift method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107894852A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108932067A (en) * | 2018-06-26 | 2018-12-04 | 珠海市魅族科技有限公司 | A kind of input method application method and device |
CN109871133A (en) * | 2019-02-21 | 2019-06-11 | 深圳市志海和科技有限公司 | A kind of control method of keyboard, device, keyboard, computer readable storage medium |
CN110109557A (en) * | 2019-05-06 | 2019-08-09 | 原点显示(深圳)科技有限公司 | The method that switching keyboard mode is adapted to mobile terminal |
CN110401774A (en) * | 2019-07-26 | 2019-11-01 | 苏州蜗牛数字科技股份有限公司 | A kind of method and device of game mode switching |
CN112748973A (en) * | 2019-10-29 | 2021-05-04 | 宏碁股份有限公司 | Keyboard mode switching system and method |
CN112925571A (en) * | 2021-03-01 | 2021-06-08 | 联想(北京)有限公司 | Control method and device |
CN113663324A (en) * | 2021-08-20 | 2021-11-19 | 西安万像电子科技有限公司 | Control method and device of terminal application and computer readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040260536A1 (en) * | 2003-06-16 | 2004-12-23 | Samsung Electronics Co., Ltd. | Method and apparatus for recognizing language input mode and method and apparatus for automatically switching language input modes using the same |
CN1896940A (en) * | 2006-06-21 | 2007-01-17 | 宇龙计算机通信科技(深圳)有限公司 | Inputting method of touch screen |
CN2893781Y (en) * | 2006-01-27 | 2007-04-25 | 昆盈企业股份有限公司 | Inputting device with game preset operating function shifting key |
CN102375746A (en) * | 2010-08-11 | 2012-03-14 | 腾讯科技(深圳)有限公司 | Method and device for enabling input method to self-adapt to application program |
CN105117030A (en) * | 2015-07-31 | 2015-12-02 | Tcl海外电子(惠州)有限公司 | Recommendation method and terminal for associative vocabularies in input method |
CN105159472A (en) * | 2015-06-30 | 2015-12-16 | 小米科技有限责任公司 | Input method switching method and device |
CN105607756A (en) * | 2015-12-24 | 2016-05-25 | 百度在线网络技术(北京)有限公司 | Information recommendation method and device |
CN105718071A (en) * | 2016-01-19 | 2016-06-29 | 努比亚技术有限公司 | Terminal and method for recommending associational words in input method |
CN106598269A (en) * | 2016-12-15 | 2017-04-26 | 北京小米移动软件有限公司 | Input method switching method and apparatus |
-
2017
- 2017-11-13 CN CN201711113911.5A patent/CN107894852A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040260536A1 (en) * | 2003-06-16 | 2004-12-23 | Samsung Electronics Co., Ltd. | Method and apparatus for recognizing language input mode and method and apparatus for automatically switching language input modes using the same |
CN2893781Y (en) * | 2006-01-27 | 2007-04-25 | 昆盈企业股份有限公司 | Inputting device with game preset operating function shifting key |
CN1896940A (en) * | 2006-06-21 | 2007-01-17 | 宇龙计算机通信科技(深圳)有限公司 | Inputting method of touch screen |
CN102375746A (en) * | 2010-08-11 | 2012-03-14 | 腾讯科技(深圳)有限公司 | Method and device for enabling input method to self-adapt to application program |
CN105159472A (en) * | 2015-06-30 | 2015-12-16 | 小米科技有限责任公司 | Input method switching method and device |
CN105117030A (en) * | 2015-07-31 | 2015-12-02 | Tcl海外电子(惠州)有限公司 | Recommendation method and terminal for associative vocabularies in input method |
CN105607756A (en) * | 2015-12-24 | 2016-05-25 | 百度在线网络技术(北京)有限公司 | Information recommendation method and device |
CN105718071A (en) * | 2016-01-19 | 2016-06-29 | 努比亚技术有限公司 | Terminal and method for recommending associational words in input method |
CN106598269A (en) * | 2016-12-15 | 2017-04-26 | 北京小米移动软件有限公司 | Input method switching method and apparatus |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108932067A (en) * | 2018-06-26 | 2018-12-04 | 珠海市魅族科技有限公司 | A kind of input method application method and device |
CN109871133A (en) * | 2019-02-21 | 2019-06-11 | 深圳市志海和科技有限公司 | A kind of control method of keyboard, device, keyboard, computer readable storage medium |
CN110109557A (en) * | 2019-05-06 | 2019-08-09 | 原点显示(深圳)科技有限公司 | The method that switching keyboard mode is adapted to mobile terminal |
CN110401774A (en) * | 2019-07-26 | 2019-11-01 | 苏州蜗牛数字科技股份有限公司 | A kind of method and device of game mode switching |
CN112748973A (en) * | 2019-10-29 | 2021-05-04 | 宏碁股份有限公司 | Keyboard mode switching system and method |
CN112748973B (en) * | 2019-10-29 | 2023-06-06 | 宏碁股份有限公司 | Keyboard mode switching system and method |
CN112925571A (en) * | 2021-03-01 | 2021-06-08 | 联想(北京)有限公司 | Control method and device |
CN113663324A (en) * | 2021-08-20 | 2021-11-19 | 西安万像电子科技有限公司 | Control method and device of terminal application and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107894852A (en) | A kind of keyboard shift method and electronic equipment | |
CN101261545B (en) | Terminal equipment input method and device | |
CN103853703A (en) | Information processing method and electronic equipment | |
CN109088995A (en) | Support the method and mobile phone of global languages translation | |
CN103257796A (en) | Mobile communication equipment and switching method of theme colors of same | |
CN106257390A (en) | A kind of three-dimensional widget icon exchange method, device and touch terminal | |
CN107948412A (en) | A kind of display methods and terminal device | |
CN102722395A (en) | Mobile terminal and starting method for application programs of mobile terminal | |
CN106998357A (en) | The method and cloud desktop system of a kind of use cloud desktop | |
CN108762654A (en) | Method, apparatus, terminal and the computer readable storage medium of text editing | |
CN109271509A (en) | Generation method, device, computer equipment and the storage medium of direct broadcasting room topic | |
CN105446489A (en) | Voice dual-mode control method and apparatus, and user terminal | |
CN110675479A (en) | Dynamic illumination processing method and device, storage medium and electronic device | |
CN106648746A (en) | Application execution method and device | |
CN101923546A (en) | Method and system for playing image files inside folder | |
CN104169854B (en) | A kind of icon arrangement method and terminal | |
CN103294223B (en) | The input method of a kind of Chinese pinyin and terminal unit | |
CN103927084A (en) | Expression input method for use in message editing | |
CN108052212A (en) | A kind of method, terminal and computer-readable medium for inputting word | |
CN102999639B (en) | A kind of lookup method based on speech recognition character index and system | |
CN102118492A (en) | Key sound prompting method and device | |
CN105677078A (en) | Mobile terminal and shortcut key customizing method thereof | |
CN106155622A (en) | A kind of audio moade setting method and device | |
CN107015718A (en) | A kind of network platform user identity one key switching method | |
CN105573596A (en) | Playing sequence regulation method of playlist, and user terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180410 |
|
RJ01 | Rejection of invention patent application after publication |