CN106598269A - Input method switching method and apparatus - Google Patents

Input method switching method and apparatus Download PDF

Info

Publication number
CN106598269A
CN106598269A CN201611162038.4A CN201611162038A CN106598269A CN 106598269 A CN106598269 A CN 106598269A CN 201611162038 A CN201611162038 A CN 201611162038A CN 106598269 A CN106598269 A CN 106598269A
Authority
CN
China
Prior art keywords
input method
intended application
input
language
target
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
Application number
CN201611162038.4A
Other languages
Chinese (zh)
Inventor
曲雯雯
董俊杰
王舒捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611162038.4A priority Critical patent/CN106598269A/en
Publication of CN106598269A publication Critical patent/CN106598269A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements 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/0233Character 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 invention relates to an input method switching method and apparatus. The method comprises the steps of obtaining an input method usage record of a target application when the target application is triggered to be started up, wherein the target application is any application in an electronic device; determining a corresponding target input language type during current startup of the target application according to the input method usage record; and when a language type corresponding to a default input method during current startup of the target application is not matched with the target input language type, switching an input method of the target application to an input method corresponding to the target input language type from the default input method. According to the method and the apparatus, the problem that a user needs to manually switch input methods during use of different applications is solved, so that the interaction becomes simple and the user experience is improved.

Description

Input method switching method and device
Technical field
It relates to information input technology, more particularly to a kind of input method switching method and device.
Background technology
Input method is tool software indispensable on smart machine, is also one of usage frequency highest software.User is in intelligence On energy equipment during input information, input method can be called as a kind of input tool.But input method both can be propped up Hold a kind of category of language input, it is also possible to support the polyglot species input such as Chinese, English, Japanese or Korean.
With the fast development of economic globalization and the network information, the APP applications installed on smart machine are also increasingly It is many.User may be input into Chinese when with some App, and some other App may be input into other language and (such as learn a foreign language App), i.e., user using difference APP when, need the corresponding input method of manual switching.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of input method switching method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of input method switching method, including:
When intended application startup is triggered, the input method usage record of the intended application is obtained, wherein, the target should With for the arbitrary application on electronic equipment;
According to the input method usage record, non-target input language corresponding during this startup of the intended application is determined Type;
The language form corresponding to acquiescence input method in this startup of the intended application is input into language with the target When speech type is mismatched, the input method of the intended application is switched to into the non-target input language class from the acquiescence input method Input method corresponding to type.
Using above-mentioned input method switching method, when user opens intended application, by obtaining the defeated of the intended application Enter method usage record, determine non-target input language type corresponding during this startup of the intended application, and in intended application When the language form corresponding to acquiescence input method when this starts is mismatched with the non-target input language type, by the mesh The input method of mark application switches to the input method corresponding to the non-target input language type from the acquiescence input method, solves User needs the problem of manual switching input method when using different application, makes interaction become simple, improves Consumer's Experience.
It is described to determine the intended application with reference in a first aspect, in the first possible implementation of first aspect This non-target input language type corresponding when starting, including:By the record, target in the input method usage record The language form corresponding to the input method used before upper once closing is applied to be determined as the non-target input language class Type.That is, user it is upper once close intended application when be recorded in using the language form corresponding to input method In usage record, by obtaining the usage record, user can be accurately determined and want what is used in this intended application operation Input method.
It is described to determine the intended application with reference in a first aspect, in second possible implementation of first aspect This non-target input language type corresponding when starting, including:By the record, target in the input method usage record The non-target input language type is determined as using the language form corresponding to the most input method of access times.Namely Say, user may use the access times of input methods, every kind of input method to be recorded to using note in intended application In record, by inquiring about usage record, the language form corresponding to the most input method of access times is determined as into the target Input language type, can relatively accurately determine that user wants the input method for using in this intended application operation.
With reference in a first aspect, in the third possible implementation of first aspect, the input method usage record bag Include the language form corresponding to input method of the intended application used in history use;It is described to obtain the intended application Input method usage record, including:Obtain the history page of the intended application;Recognize the word in the control of the history page The corresponding language form of symbol string;Language form corresponding to the character string is determined as into the intended application makes in history The language form corresponding to input method with used in.In above-mentioned possible implementation, by the control to history page The language form corresponding to character string in part is identified, to determine input method of the intended application used in history use Corresponding language form, and the language form recorded in input method usage record, and then realize input method use note The acquisition of record.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, the input method usage record bag Include the language form corresponding to input method of the intended application used in history use;It is described to obtain the intended application Input method usage record, including:The attribute information of the intended application is obtained, the attribute information includes the intended application Apply Names and applicating category;The target keywords related to language form are retrieved in the attribute information;According to retrieval The target keywords for arriving, determine the language form corresponding to input method of the intended application used in history use. In above-mentioned possible implementation, by retrieving the target critical related to language form in the attribute information of intended application Word, to determine the language form corresponding to input method of the intended application used in history use, and then realizes input method The acquisition of usage record.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of input method switching device, including:
Acquisition module, the input method for being configured to be obtained when intended application startup is triggered the intended application uses note Record, wherein, the intended application is the arbitrary application on electronic equipment;
Determining module, is configured to according to the input method usage record, and this starts when institute to determine the intended application Corresponding non-target input language type;
First handover module, the language being configured to corresponding to the acquiescence input method in this startup of the intended application When type is mismatched with the non-target input language type, by the input method of the intended application from the acquiescence input method switching To the input method corresponding to the non-target input language type.
With reference to second aspect, in the first possible implementation of second aspect, the determining module is configured to Corresponding to the input method that record in the input method usage record, intended application was used before upper once closing Language form be determined as the non-target input language type.
With reference to second aspect, in second possible implementation of second aspect, the determining module is configured to By the language form corresponding to record in the input method usage record, input method that the intended application access times are most It is determined as the non-target input language type.
With reference to second aspect, in the third possible implementation of second aspect, the input method usage record bag Include the language form corresponding to input method of the intended application used in history use;
The acquisition module includes:
First acquisition submodule, is configured to obtain the history page of the intended application;
Identification submodule, is configured to recognize the language form corresponding to the character string in the control of the history page;
First determination sub-module, be configured to by the language form corresponding to the character string be determined as the target should The language form corresponding to input method used in history use.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, the input method usage record bag Include the language form corresponding to input method of the intended application used in history use;
The acquisition module includes:
Second acquisition submodule, is configured to obtain the attribute information of the intended application, and the attribute information includes institute State the Apply Names and applicating category of intended application;
Retrieval submodule, is configured to retrieve the target keywords related to language form in the attribute information;
Second determination sub-module, is configured to, according to the target keywords for retrieving, determine intended application in history The language form corresponding to input method used in use.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of input method switching device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
When intended application startup is triggered, the input method usage record of the intended application is obtained, wherein, the target should With for the arbitrary application on electronic equipment;
According to the input method usage record, non-target input language corresponding during this startup of the intended application is determined Type;
The language form corresponding to acquiescence input method in this startup of the intended application is input into language with the target When speech type is mismatched, the input method of the intended application is switched to into the non-target input language class from the acquiescence input method Input method corresponding to type.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable medium, for storing computer program, The computer program is included for the instruction of the method in the arbitrary possible implementation for performing first aspect or first aspect.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the disclosure Example, and be used to explain the principle of the disclosure together with description.
Figure 1A is a surface chart of the electronic equipment according to an exemplary embodiment.
Figure 1B is another surface chart of the electronic equipment according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the input method switching method according to an exemplary embodiment.
Fig. 3 is a kind of schematic flow sheet of input method switching method that the disclosure is implemented to exemplify according to another exemplary.
Fig. 4 is a kind of schematic flow sheet of input method switching method of the disclosure according to further example embodiment.
Fig. 5 be target is obtained in the step of a kind of input method switching method according to an exemplary embodiment includes should The flow chart of input method usage record.
Fig. 6 be target is obtained in the step of a kind of input method switching method according to an exemplary embodiment includes should Another flow chart of input method usage record.
Fig. 7 is a kind of block diagram of the input method switching device according to an exemplary embodiment.
Fig. 8 is a kind of another block diagram of the input method switching device according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of the acquisition module of the input method switching device according to an exemplary embodiment.
Figure 10 is a kind of another block diagram of the acquisition module of the input method switching device according to an exemplary embodiment.
Figure 11 is a kind of block diagram of the device according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Figure 1A is a surface chart of the electronic equipment according to an exemplary embodiment, and Figure 1B is exemplary according to one Another surface chart for the electronic equipment that enforcement is exemplified.As shown in FIG. 1A and 1B, the input method switching method of the disclosure should For in electronic equipment, the electronic equipment can be the user equipmenies such as smart mobile phone, panel computer, notebook computer.Figure 1A and Figure 1B is smart mobile phone illustrating with electronic equipment.
Specifically, electronic equipment can be provided with various application programs, when user uses on an electronic device application program When, it is possible to need by input method input information, in different application programs, the input method for using is possible to different.Its In, Figure 1A and Figure 1B shows the schematic diagram of smart mobile phone automatic switchover input method when conversation applications are opened.
Fig. 2 is a kind of flow chart of the input method switching method according to an exemplary embodiment, to solve related skill User needs the technical problem of manual switching input method when using different application in art.As shown in Fig. 2 the input method switching Method is used in electronic equipment, comprises the following steps.
In step s 201, when intended application startup is triggered, the input method usage record of the intended application is obtained, its In, the intended application is the arbitrary application on electronic equipment.
In step S202, according to the input method usage record, determine corresponding during this startup of the intended application Non-target input language type.
The language form corresponding to acquiescence input method and institute in step S203, in this startup of the intended application When stating non-target input language type mismatch, the input method of the intended application is switched to into the mesh from the acquiescence input method Input method corresponding to mark input language type.
First, in step S201, when user opens intended application, the input method for obtaining the intended application uses note Record, input method usage record can be obtained by transferring the input information storehouse of input method, and the input information storehouse includes electronics Arbitrary application on equipment uses the history input information of input method.Then execution step S202.
In step S202, by the input method usage record for inquiring about intended application, such as, make during history use Input method corresponding to which kind of language form, such as, only used the input method of English during history use, Corresponding non-target input language type is English when then determining this startup of the intended application.Then, execution step S203.
In execution step S203, there is individual judge process, that is, judge acquiescence input method institute during this startup of intended application Whether corresponding language form matches with the non-target input language type, in the language form corresponding to acquiescence input method and institute When stating non-target input language type matching, then need not change current input method.It should be noted that the intended application is being opened When dynamic, need to call acquiescence input method, the language form corresponding to the acquiescence input method and the mesh only after calling When mark input language type is mismatched, just need the acquiescence input method to be switched to corresponding to the non-target input language type Input method.
Input method corresponding to the non-target input language type can be the built-in input method of electronic apparatus system, also may be used Be on electronic equipment install input method application program.When the input method corresponding to the non-target input language type is electronics The built-in input method of device systems, and the language form corresponding to the acquiescence input method after calling is input into language with the target When speech type is mismatched, call the input method corresponding to the non-target input language type defeated to complete by electronic apparatus system Enter the switching of method.When the input method corresponding to the non-target input language type is certain input method application program, and after calling The acquiescence input method corresponding to language form when mismatching with the non-target input language type, by calling the mesh Mark the input method application program corresponding to input language type to complete the switching of input method.
For example, as shown in Figure 1A, user open smart mobile phone on wechat when, first call wechat this startup when Acquiescence input method, the language form corresponding to acquiescence input method during this startup is Chinese, when user uses wechat in the past When, all it is English input method, and then by inquiring about the input method usage record of wechat, when drawing this startup of determination wechat Corresponding non-target input language type is English.Then, as shown in Figure 1B, the Chinese character coding input method of acquiescence is automatically switched to into English Literary input method.Wherein, when English input method is the input method that cell phone system is carried, then the English is called by cell phone system Input method is completing the switching of input method;When English input method is input method APP (such as search dog input method APP), then pass through Call search dog input method APP to complete the switching of input method.
Using above-mentioned input method switching method, when user opens intended application, by obtaining the defeated of the intended application Enter method usage record, determine non-target input language type corresponding during this startup of the intended application, and in intended application When the language form corresponding to acquiescence input method when this starts is mismatched with the non-target input language type, by the mesh The input method of mark application switches to the input method corresponding to the non-target input language type from the acquiescence input method, solves User needs the problem of manual switching input method when using different application, makes interaction become simple, improves Consumer's Experience.
Fig. 3 is a kind of schematic flow sheet of input method switching method that the disclosure is implemented to exemplify according to another exemplary. The input method switching method shown in the present embodiment can apply to electronic equipment as shown in FIG. 1A and 1B, as shown in figure 3, The method includes:
In step S301, when intended application startup is triggered, the input method usage record of the intended application is obtained, its In, the intended application is the arbitrary application on electronic equipment.
In step s 302, record in the input method usage record, intended application is once closed into it upper Language form corresponding to front used input method is determined as the non-target input language type.
The language form corresponding to acquiescence input method and institute in step S303, in this startup of the intended application When stating non-target input language type mismatch, the input method of the intended application is switched to into the mesh from the acquiescence input method Input method corresponding to mark input language type.
That is, input method usage record have recorded each applies the input method institute used before upper once closing Corresponding language form.Further, in this startup of the intended application, intended application was used before upper once closing Input method corresponding to language form be determined as the non-target input language type.
For example, as shown in Figure 1A, user it is upper once chatted using wechat when, use English input method, when User in this opening wechat application, wechat interface display it is last close before the history chat interface that is located, from this History chat interface to can be seen that and use English input method before the closing of wechat last time, is used by the input method of wechat Record, by English the non-target input language type is determined as.The language corresponding to acquiescence input method during this startup of wechat Speech type is Chinese, mismatches with non-target input language type English, therefore, as shown in Figure 1B, by the Chinese character coding input method of acquiescence Automatically switch to English input method.
Using above-mentioned input method switching method, user it is upper once close intended application when use corresponding to input method Language form be recorded in usage record, by obtaining the usage record, user can be accurately determined in this target Using the input method for wanting to use in operation.
Fig. 4 is a kind of schematic flow sheet of input method switching method of the disclosure according to further example embodiment. The input method switching method shown in the present embodiment can apply to electronic equipment as shown in FIG. 1A and 1B, as shown in figure 4, The method includes:
In step S401, when intended application startup is triggered, the input method usage record of the intended application is obtained, its In, the intended application is the arbitrary application on electronic equipment.
It is in step S402, record in the input method usage record, the intended application access times are most Language form corresponding to input method is determined as the non-target input language type.
The language form corresponding to acquiescence input method and institute in step S403, in this startup of the intended application When stating non-target input language type mismatch, the input method of the intended application is switched to into the mesh from the acquiescence input method Input method corresponding to mark input language type.
That is, user is during using same application program, it is possible to input methods can be used, than Such as, user uses Chinese character coding input method when wechat is used with domestic contact person, and is using wechat with external contact person When, use English input method.It is defeated by inquiring about because the access times of every kind of input method can be recorded in usage record Enter method usage record, access times of the various input methods in intended application can be found.For example, user is in the mistake using wechat Cheng Zhong, and the number of times that external contact person links up is very more, and and the number of times linked up of domestic contact person it is considerably less, it is micro- by inquiry The input method usage record of letter, by English the non-target input language type is determined as.Using above-mentioned input method switching method, Can relatively accurately determine that user wants the input method for using in this intended application operation.
Alternatively, when the intended application is closed, by the input method of the intended application from the non-target input language Input method corresponding to type switches back to the acquiescence input method.In above-mentioned possible implementation, when user exits mesh When mark is applied, the input method of intended application is switched back to into the acquiescence input method so that user's on an electronic device other When interface is using acquiescence input method, without manual switching input method, Consumer's Experience is improve.
Alternatively, during the intended application is run, the input method handover event of the intended application is recorded, with Update the input method usage record.That is, during intended application each run, the input method usage record Will be updated, be that the follow-up accurate non-target input language type for determining that intended application is corresponding when starting is laid a good foundation, And then can relatively accurately determine that user wants the input method for using in intended application operation.
Fig. 5 be target is obtained in the step of a kind of input method switching method according to an exemplary embodiment includes should The flow chart of input method usage record.The input method usage record is made in history including the intended application using middle Language form corresponding to input method.
As shown in figure 5, the input method usage record for obtaining the intended application, comprises the following steps.
In step S2011, the history page of the intended application is obtained.
In step S2012, the language form corresponding to the character string in the control of the history page is recognized.
In step S2013, the language form corresponding to the character string is determined as into the intended application in history The language form corresponding to input method used in use.
Also just say, input method usage record not only can be obtained by transferring the input information storehouse of input method, it is also possible to By the language form corresponding to the character string in the control for recognizing history page.Wherein, history page can be intended application It is last close before the page that is located, or user the page of input information is needed in history use.History page Face can include one or more controls, can there is multiple character strings in each control.In recognizing the control of the history page Character string corresponding to language form after, according to recognition result, such as, the language form corresponding to character string for identifying is German, then be determined as the language form corresponding to input method of the intended application used in history use by German.
It is possible to include the character string of polyglot in the control of the history page that electronic equipment shows, for example, some use Family is liked when the information of Chinese is sent out during chat, is mingled with English word;Or, foreigner is learning Chinese During, Chinese vocabulary can be mingled with the information for sending out English.When in control including the character string of polyglot type, The each shared ratio in the control of the character string of the every kind of category of language of statistics can be passed through, according to statistical result, will be compared Example exceed desired value character string corresponding to language form as the language form corresponding to the character string in the control.Institute It can be 50%, or 40% to state desired value, in this regard, the disclosure is not specifically limited.
For example, Figure 1A be user it is upper once close wechat before and friend chat history page,.User opens During wechat on smart mobile phone, the history page shown in Figure 1A is obtained.As shown in Figure 1A, the character string in the control of history page For " What does have a meal mean ".Assume that desired value is 50%, wherein, character string sum is five, and Chinese character string is two Individual, proportion is 40%, is not above 50%;English character string has three, and proportion is 60%, more than 50%.According to Statistical result, using the language form corresponding to input method of the English as wechat used in history is used.Further, determine micro- Corresponding non-target input language type is English when believing this startup.Because the acquiescence input method shown in Figure 1A is Chinese, with The non-target input language type is mismatched, and Chinese character coding input method is switched to into English input method, after switching as shown in Figure 1B.
In above-mentioned possible implementation, by the language form corresponding to the character string in the control to history page It is identified, to determine the language form corresponding to input method of the intended application used in history use, and by the language Class record realizes the acquisition of input method usage record in input method usage record.
Fig. 6 be target is obtained in the step of a kind of input method switching method according to an exemplary embodiment includes should Another flow chart of input method usage record.The input method usage record includes the intended application in history use The language form corresponding to input method for being used.
As shown in fig. 6, the input method usage record for obtaining the intended application, comprises the following steps.
In step S2011a, the attribute information of the intended application is obtained, the attribute information should including the target Apply Names and applicating category.
In step S2012a, the target keywords related to language form are retrieved in the attribute information.
In step S2013a, according to the target keywords for retrieving, intended application institute in history use is determined The language form corresponding to input method for using.
For example, intended application entitled " App of XX English learnings ", applicating category is English study class.By retrieval Apply Names and applicating category, retrieve the target keywords related to language form for English, it is determined that intended application is being gone through The language form corresponding to input method used in history use is English.
It is related to language form by retrieving in the attribute information of intended application in above-mentioned possible implementation Target keywords, to determine the language form corresponding to input method of the intended application used in history use, and then realize The acquisition of input method usage record.
Fig. 7 is a kind of block diagram of the input method switching device according to an exemplary embodiment.With reference to Fig. 7, the input Method switching device 700 includes acquisition module 710, the handover module 730 of determining module 720 and first.
The acquisition module 710 is configured to when intended application startup is triggered, and is obtained the input method of the intended application and is made With record, wherein, the intended application is the arbitrary application on electronic equipment.
The determining module 720 is configured to according to the input method usage record, and this starts to determine the intended application When corresponding non-target input language type..
First handover module 730 is configured to corresponding to the acquiescence input method in this startup of the intended application When language form is mismatched with the non-target input language type, by the input method of the intended application from the acquiescence input method Switch to the input method corresponding to the non-target input language type.
Alternatively, the determining module is configured to the record, intended application in the input method usage record The language form corresponding to input method used before upper once closing is determined as the non-target input language type.
Alternatively, the determining module is configured to the record, intended application in the input method usage record Language form corresponding to the most input method of access times is determined as the non-target input language type.
Alternatively, as shown in figure 8, the input method switching device 700 also includes:
Second handover module 740, be configured to close the intended application when, by the input method of the intended application from Input method corresponding to the non-target input language type switches back to the acquiescence input method.
Alternatively, as shown in figure 8, the input method switching device 700 also includes:
Logging modle 750, is configured to during the intended application is run, record the input of the intended application Method handover event, to update the input method usage record.
Alternatively, the input method usage record includes input method institute of the intended application used in history use Corresponding language form.As shown in figure 9, the acquisition module 710 includes:
First acquisition submodule 7101, is configured to obtain the history page of the intended application;
Identification submodule 7102, is configured to recognize the class of languages corresponding to the character string in the control of the history page Type;
First determination sub-module 7103, is configured to for the language form corresponding to the character string to be determined as the mesh Mark applies the language form corresponding to the input method used in history use.
Alternatively, the input method usage record includes input method institute of the intended application used in history use Corresponding language form.As shown in Figure 10, the acquisition module 710 includes:
Second acquisition submodule 7101a, is configured to obtain the attribute information of the intended application, the attribute information bag Include the Apply Names and applicating category of the intended application;
Retrieval submodule 7102a, is configured to retrieve the target critical related to language form in the attribute information Word;
Second determination sub-module 7103a, is configured to, according to the target keywords for retrieving, determine that intended application exists The language form corresponding to input method used in history use.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 11 is a kind of block diagram of the device 800 for input method switching according to an exemplary embodiment.For example, Device 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, tablet device is cured Treatment equipment, body-building equipment, personal digital assistant etc..
With reference to Figure 11, device 800 can include following one or more assemblies:Process assembly 802, memorizer 804, electric power Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of process assembly 802, such as with display, call, data communication, phase Machine operates and records the associated operation of operation.Process assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned input method switching method.Additionally, process assembly 802 can include one or many Individual module, the interaction being easy between process assembly 802 and other assemblies.For example, process assembly 802 can include multimedia mould Block, to facilitate the interaction between multimedia groupware 808 and process assembly 802.
Memorizer 804 is configured to store various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program for operating on device 800 or method, and contact data, telephone book data disappears Breath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and the touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body component 808 includes a front-facing camera and/or post-positioned pick-up head.When device 800 be in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for exports audio signal.
, to provide interface between process assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect the opening/closed mode of device 800, and the relative localization of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, user is presence or absence of with what device 800 was contacted, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to be detected when without any physical contact The presence of object nearby.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access based on the wireless network of communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 816 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing above-mentioned input method switching method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 804 of instruction, above-mentioned instruction can be performed to complete above-mentioned input method switching by the processor 820 of device 800 Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, Tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to other embodiment party of the disclosure after considering description and putting into practice the disclosure Case.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or adaptability Change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or usual skill Art means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by claim below Point out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a kind of input method switching method, it is characterised in that include:
When intended application startup is triggered, the input method usage record of the intended application is obtained, wherein, the intended application is Arbitrary application on electronic equipment;
According to the input method usage record, non-target input language class corresponding during this startup of the intended application is determined Type;
The language form corresponding to acquiescence input method and the non-target input language class in this startup of the intended application When type is mismatched, the input method of the intended application is switched to into the non-target input language type institute from the acquiescence input method Corresponding input method.
2. input method switching method according to claim 1, it is characterised in that the determination intended application this open Non-target input language type corresponding when dynamic, including:
The input method institute that record in the input method usage record, intended application was used before upper once closing Corresponding language form is determined as the non-target input language type.
3. input method switching method according to claim 1, it is characterised in that the determination intended application this open Non-target input language type corresponding when dynamic, including:
By the language corresponding to record in the input method usage record, input method that the intended application access times are most Type is determined as the non-target input language type.
4. input method switching method according to claim 1, it is characterised in that the input method usage record includes described Language form corresponding to input method of the intended application used in history use;
The input method usage record for obtaining the intended application, including:
Obtain the history page of the intended application;
Recognize the language form corresponding to the character string in the control of the history page;
Language form corresponding to the character string is determined as into input of the intended application used in history use Language form corresponding to method.
5. input method switching method according to claim 1, it is characterised in that the input method usage record includes described Language form corresponding to input method of the intended application used in history use;
The input method usage record for obtaining the intended application, including:
The attribute information of the intended application is obtained, the attribute information includes the Apply Names of the intended application and applies class Not;
The target keywords related to language form are retrieved in the attribute information;
According to the target keywords for retrieving, determine corresponding to input method of the intended application used in history use Language form.
6. a kind of input method switching device, it is characterised in that include:
Acquisition module, is configured to, when intended application startup is triggered, obtain the input method usage record of the intended application, its In, the intended application is the arbitrary application on electronic equipment;
Determining module, is configured to according to the input method usage record, determines corresponding during this startup of the intended application Non-target input language type;
First handover module, the language form being configured to corresponding to the acquiescence input method in this startup of the intended application When mismatching with the non-target input language type, the input method of the intended application is switched to into institute from the acquiescence input method State the input method corresponding to non-target input language type.
7. input method switching device according to claim 6, it is characterised in that the determining module is configured to will be described The language corresponding to input method that record in the input method usage record, intended application was used before upper once closing Type is determined as the non-target input language type.
8. input method switching device according to claim 6, it is characterised in that the determining module is configured to will be described Language form corresponding to record in the input method usage record, input method that the intended application access times are most is defined as It is the non-target input language type.
9. input method switching device according to claim 6, it is characterised in that the input method usage record includes described Language form corresponding to input method of the intended application used in history use;
The acquisition module includes:
First acquisition submodule, is configured to obtain the history page of the intended application;
Identification submodule, is configured to recognize the language form corresponding to the character string in the control of the history page;
First determination sub-module, is configured to for the language form corresponding to the character string to be determined as the intended application to exist The language form corresponding to input method used in history use.
10. input method switching device according to claim 6, it is characterised in that the input method usage record includes institute State the language form corresponding to input method of the intended application used in history use;
The acquisition module includes:
Second acquisition submodule, is configured to obtain the attribute information of the intended application, and the attribute information includes the mesh The Apply Names and applicating category of mark application;
Retrieval submodule, is configured to retrieve the target keywords related to language form in the attribute information;
Second determination sub-module, is configured to, according to the target keywords for retrieving, determine that intended application is used in history Used in input method corresponding to language form.
11. a kind of input method switching devices, it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
When intended application startup is triggered, the input method usage record of the intended application is obtained, wherein, the intended application is Arbitrary application on electronic equipment;
According to the input method usage record, non-target input language class corresponding during this startup of the intended application is determined Type;
The language form corresponding to acquiescence input method and the non-target input language class in this startup of the intended application When type is mismatched, the input method of the intended application is switched to into the non-target input language type institute from the acquiescence input method Corresponding input method.
CN201611162038.4A 2016-12-15 2016-12-15 Input method switching method and apparatus Pending CN106598269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611162038.4A CN106598269A (en) 2016-12-15 2016-12-15 Input method switching method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611162038.4A CN106598269A (en) 2016-12-15 2016-12-15 Input method switching method and apparatus

Publications (1)

Publication Number Publication Date
CN106598269A true CN106598269A (en) 2017-04-26

Family

ID=58801658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611162038.4A Pending CN106598269A (en) 2016-12-15 2016-12-15 Input method switching method and apparatus

Country Status (1)

Country Link
CN (1) CN106598269A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107300986A (en) * 2017-06-30 2017-10-27 联想(北京)有限公司 Input method switching method and device
CN107797678A (en) * 2017-09-06 2018-03-13 深圳天珑无线科技有限公司 Method, terminal and the device with store function of terminal input method switching
CN107894852A (en) * 2017-11-13 2018-04-10 珠海市魅族科技有限公司 A kind of keyboard shift method and electronic equipment
CN107943321A (en) * 2017-12-18 2018-04-20 何治通 A kind of input method and system to match with address list
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
CN109189243A (en) * 2018-11-19 2019-01-11 深圳美图创新科技有限公司 Input method switching method, device and user terminal
CN110830642A (en) * 2018-08-09 2020-02-21 北京搜狗科技发展有限公司 Message reply method and device
CN112764552A (en) * 2021-01-26 2021-05-07 北京小米移动软件有限公司 Input method switching method and device, intelligent equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339199A (en) * 2010-07-23 2012-02-01 腾讯科技(深圳)有限公司 Method and device for switching input methods
CN102436454A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Input method switching method and system for browser
CN103488307A (en) * 2013-09-23 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Input method adjusting method and system and mobile terminal
CN104750378A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Automatic input mode switching method and device for input method
CN104765750A (en) * 2014-01-07 2015-07-08 腾讯科技(深圳)有限公司 Input language switch method and device for input method application
CN105183439A (en) * 2014-06-11 2015-12-23 联想(新加坡)私人有限公司 Real-time Modification Of Input Method Based On Language Context
CN105282318A (en) * 2015-05-21 2016-01-27 维沃移动通信有限公司 Input method switch method and mobile terminal thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339199A (en) * 2010-07-23 2012-02-01 腾讯科技(深圳)有限公司 Method and device for switching input methods
CN102436454A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Input method switching method and system for browser
CN103488307A (en) * 2013-09-23 2014-01-01 宇龙计算机通信科技(深圳)有限公司 Input method adjusting method and system and mobile terminal
CN104750378A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Automatic input mode switching method and device for input method
CN104765750A (en) * 2014-01-07 2015-07-08 腾讯科技(深圳)有限公司 Input language switch method and device for input method application
CN105183439A (en) * 2014-06-11 2015-12-23 联想(新加坡)私人有限公司 Real-time Modification Of Input Method Based On Language Context
CN105282318A (en) * 2015-05-21 2016-01-27 维沃移动通信有限公司 Input method switch method and mobile terminal thereof

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107300986A (en) * 2017-06-30 2017-10-27 联想(北京)有限公司 Input method switching method and device
CN107300986B (en) * 2017-06-30 2022-01-18 联想(北京)有限公司 Input method switching method and device
CN107797678A (en) * 2017-09-06 2018-03-13 深圳天珑无线科技有限公司 Method, terminal and the device with store function of terminal input method switching
CN107894852A (en) * 2017-11-13 2018-04-10 珠海市魅族科技有限公司 A kind of keyboard shift method and electronic equipment
CN107943321A (en) * 2017-12-18 2018-04-20 何治通 A kind of input method and system to match with address list
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
CN110830642A (en) * 2018-08-09 2020-02-21 北京搜狗科技发展有限公司 Message reply method and device
CN109189243A (en) * 2018-11-19 2019-01-11 深圳美图创新科技有限公司 Input method switching method, device and user terminal
CN109189243B (en) * 2018-11-19 2022-08-26 深圳美图创新科技有限公司 Input method switching method and device and user terminal
CN112764552A (en) * 2021-01-26 2021-05-07 北京小米移动软件有限公司 Input method switching method and device, intelligent equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106598269A (en) Input method switching method and apparatus
CN104105169B (en) From method and the device of the WLAN (wireless local area network) that is dynamically connected
CN105511857A (en) System language setting method and device
CN105549849A (en) Method and device for processing misoperation instruction
CN104869569A (en) Network permission control method and apparatus of application program
CN105389304A (en) Event extraction method and apparatus
CN105975301A (en) Memory cleaning method and device, and electronic equipment
CN104834559A (en) Notification message display method and device
CN104731880A (en) Image ordering method and device
CN104268129A (en) Message reply method and message reply device
CN103914148A (en) Function interface display method and device and terminal equipment
CN105355195A (en) Audio frequency recognition method and audio frequency recognition device
CN105516944A (en) Short message canceling method and device
CN105550235A (en) Information acquisition method and information acquisition apparatuses
CN104978113A (en) Dockbar processing method and apparatus
CN106843592A (en) Touch control method and device and mobile terminal
CN104615663A (en) File sorting method and device and terminal
CN104461236A (en) Method and device for displaying application icons
CN105511777A (en) Session display method and device of touch display screen
CN107273013A (en) Text handling method, device and electronic equipment
CN106775377A (en) The control method of gesture identifying device, equipment and gesture identifying device
CN105630749A (en) Extraction method and device of digital information
CN105160236A (en) Method and device for inputting verification code
CN105187671A (en) Recording method and device
CN105487798A (en) Method and apparatus for operating communication application in touch screen 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: 20170426

RJ01 Rejection of invention patent application after publication