CN106774976A - input method switching method and device - Google Patents

input method switching method and device Download PDF

Info

Publication number
CN106774976A
CN106774976A CN201611099689.3A CN201611099689A CN106774976A CN 106774976 A CN106774976 A CN 106774976A CN 201611099689 A CN201611099689 A CN 201611099689A CN 106774976 A CN106774976 A CN 106774976A
Authority
CN
China
Prior art keywords
language
input
current page
input method
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
CN201611099689.3A
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 CN201611099689.3A priority Critical patent/CN106774976A/en
Publication of CN106774976A publication Critical patent/CN106774976A/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

Abstract

The disclosure is directed to a kind of input method switching method and device.Wherein, methods described includes:The language form that identification current page is used;According to the language form that the current page is used, the non-target input language type corresponding to the current page is determined;When current input method is mismatched with the non-target input language type, the current input method is switched into the input method corresponding to the non-target input language type.Using above-mentioned input method switching method, when user needs input information on smart machine, by determining the non-target input language type corresponding to current page, and when current input method is mismatched with the non-target input language type, the current input method is automatically switched into the input method corresponding to the non-target input language type, the input method that user toggles different language is avoided, interaction is become simple, improve Consumer's Experience.

Description

Input method switching method and device
Technical field
This disclosure 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 frequency of use highest software.User is in intelligence In energy equipment during input information, input method can be called as a kind of input tool.But input method can both be propped up Hold a kind of category of language input, it is also possible to support the multilingual species input such as Chinese, English, Japanese or Korean.
With the fast development of economic globalization and the network information, the interpersonal relationship of modern people constantly expands, often In multilingual environment.When user is needed with the people of country variant in communication, it is necessary to the corresponding language of user's manual switching Input method.
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, methods described includes:
The language form that identification current page is used;
According to the language form that the current page is used, the non-target input language corresponding to the current page is determined Type;
When current input method is mismatched with the non-target input language type, the current input method is switched to described Input method corresponding to non-target input language type.
It is current by determining when user needs input information on smart machine using above-mentioned input method switching method Non-target input language type corresponding to the page, and when current input method is mismatched with the non-target input language type, will The current input method automatically switches to the input method corresponding to the non-target input language type, it is to avoid user toggles The input method of different language, makes interaction become simple, improves Consumer's Experience.
With reference in a first aspect, in the first possible implementation of first aspect, the identification current page The language form for being used, including:Recognize the language form corresponding to the character string in the control of the current page, and by institute State the language form corresponding to character string and be determined as the language form that the current page is used.In above-mentioned possible realization In mode, in order to determine the non-target input language type corresponding to current page, can be by recognizing the control of the current page The language form corresponding to character string in part, such as at the short message interface of smart mobile phone, by recognizing short message text frame in Language form corresponding to character string, it may be determined that the non-target input language type corresponding to current short message interface.
With reference to the first possible implementation of first aspect, in second possible implementation of first aspect In, the language form corresponding to character string in the control of the identification current page, including:Statistics different language species The ratio each shared in the control of character string;The ratio is exceeded into the class of languages corresponding to the character string of desired value Type is used as the language form corresponding to the character string in the control.That is, can be by counting different language in control The ratio of the character string of species determines the language form that the current page is used, for example, in short message circle of smart mobile phone Face, the character string in short message text frame has Chinese, also there is English, when the ratio shared by English character string is more than 50%, then short The language form that letter interface is used is English.
With reference to the third possible implementation of first aspect, the class of languages that the identification current page is used Type, including:When the current page is Webpage, the domain name letter included in the website information according to the current page Breath, determines the language form that the current page is used.In above-mentioned possible implementation, realize in web application Jing Zhong, the language form that current web page is used is determined by domain-name information.
With reference to the 4th kind of possible implementation of first aspect, the class of languages that the identification current page is used Type, including:When the current page is the operating system page, the input attribute information of the target widget where obtaining cursor, institute Stating input attribute information includes that the target widget limits the target language type information of input;The target language type is made The language form used by the current page.In above-mentioned possible implementation, realize in the operating system page, when The input method that the target language type that target widget where cursor is used is given tacit consent to operating system is not meanwhile, it is capable to target The target language type that control is used is defined.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of input method switching device, including:
Identification module, is configured as recognizing the language form that current page is used;
Determining module, is configured as the language form used according to the current page, determines the current page institute Corresponding non-target input language type;
Handover module, is configured as when current input method is mismatched with the non-target input language type, described will work as Preceding input method switches 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 identification module is configured as Recognize the language form corresponding to the character string in the control of the current page, and by the class of languages corresponding to the character string Type is determined as the language form that the current page is used.
With reference to the first possible implementation of second aspect, in second possible implementation of first aspect In, the identification module includes:
Statistic submodule, is configured as each shared ratio in the control of the character string of statistics different language species Example;
First determination sub-module, the language form for being configured as exceeding the ratio corresponding to the character string of desired value is made Language form corresponding to the character string in the control.
With reference to the third possible implementation of second aspect, the identification module is configured as the current page During for Webpage, the domain-name information included in website information according to the current page determines the current page institute The language form for using.
With reference to the 4th kind of possible implementation of second aspect, the identification module includes:
Acquisition submodule, is configured as the current page for the operating system page, the target control where obtaining cursor The input attribute information of part, the input attribute information includes that the target widget limits the target language type information of input;
Second determination sub-module, is configured as the language that the target language type is used as the current page Type.
A kind of third aspect, there is provided input method switching device, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The language form that identification current page is used;
According to the language form that the current page is used, the non-target input language corresponding to the current page is determined Type;
When current input method is mismatched with the non-target input language type, the current input method is switched to described Input method corresponding to non-target input language 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 includes being used to perform the instruction of the method in any possible implementation of 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.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and it is used to explain the principle of the disclosure together with specification.
Figure 1A to Figure 1B is a kind of schematic diagram of implementation environment of the disclosure 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 of the disclosure according to another exemplary embodiment.
Fig. 4 is a kind of schematic flow sheet of input method switching method of the disclosure according to further example embodiment.
Fig. 5 is a kind of schematic flow sheet of input method switching method of the disclosure according to another exemplary embodiment.
Fig. 6 is a kind of schematic flow sheet of input method switching method of the disclosure according to further example embodiment.
Fig. 7 is a kind of schematic flow sheet of input method switching method of the disclosure according to further example embodiment.
Fig. 8 is a kind of block diagram of the input method switching device according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of the identification module of the input method switching device according to an exemplary embodiment.
Figure 10 is a kind of another block diagram of the identification module of the input method switching device according to an exemplary embodiment.
Figure 11 is a kind of block diagram of the input method switching device according to an exemplary embodiment
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description 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 implementation method do not represent all implementation methods 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 to Figure 1B is a kind of schematic diagram of implementation environment of the disclosure according to an exemplary embodiment.Such as Figure 1A Shown in Figure 1B, the implementation environment can include electronic equipment.The electronic equipment can be smart mobile phone, panel computer, notes The user equipmenies such as this computer.Figure 1A to Figure 1B is smart mobile phone with electronic equipment to be illustrated.
Specifically, electronic equipment can be provided with various application programs, when user uses application program on an electronic device When, it is possible to need to be input into information by input method, in different application scenarios, the input method for using is possible to different.Its In, Figure 1A to Figure 1B shows that smart mobile phone switches the schematic diagram of input method in session context.
Fig. 2 is a kind of flow chart of the input method switching method according to an exemplary embodiment, to solve related skill In art under different application scene, input method needs the technical problem for toggling.As shown in Fig. 2 the input method switching method is used In electronic equipment, comprise the following steps.
In step s 201, the non-target input language type corresponding to current page is determined.
In step S202, when current input method is mismatched with the non-target input language type, will be described current defeated Enter method and switch to input method corresponding to the non-target input language type.
In step S201, it is necessary first to determine the non-target input language type corresponding to current page.Current page is figure The page in 1A shown by electronic equipment current time, under different application scenarios, the current page that electronic equipment shows can Can differ.After confirming the non-target input language type corresponding to the current page of electronic equipment, step S202 is performed.
When step S202 is performed, there is individual deterministic process, that is, judge current input method with the non-target input language type Whether match, when current input method is with the non-target input language type matching, then need not change current input method.Only When current input method is mismatched with the non-target input language type, just need for the current input method to switch to the mesh Input method corresponding to mark input language type.
For example, as shown in Figure 1A, in session context, user opens the wechat on smart mobile phone, and current page is User is in wechat interface and the page of people's chat.Due in the Chat page shown in Figure 1A, being used in the chat record of display Language form be English, that is, determine current page corresponding to non-target input language type be English.In figure ia, intelligent hand The current input method of machine is Chinese, i.e., current input method is mismatched with the non-target input language type, and current input method is cut The input method corresponding to the non-target input language type English is changed to, after switching as shown in Figure 1B.
It is current by determining when user needs input information on smart machine using above-mentioned input method switching method Non-target input language type corresponding to the page, and when current input method is mismatched with the non-target input language type, will The current input method automatically switches to the input method corresponding to the non-target input language type, it is to avoid user toggles The input method of different language, makes interaction become simple, improves Consumer's Experience.
Fig. 3 is a kind of schematic flow sheet of input method switching method of the disclosure according to another exemplary embodiment. The input method switching method shown in the present embodiment can apply to the electronic equipment as shown in Figure 1A to Figure 1B, as shown in figure 3, The method includes:
In step 301, the language form that identification current page is used.
In step 302, the language form for being used according to the current page, determines corresponding to the current page Non-target input language type.
In step 303, when current input method is mismatched with the non-target input language type, by the current input Method switches to the input method corresponding to the non-target input language type.
That is, after the language form that identification current page is used, according to recognition result, it may be determined that the mesh The language form that mark input language type is used by current page.For example, when user discusses in English website page interrogation Wen Shi, current page is the English website page.The language form used by the English website page is English, determines the mesh Mark input language type is English.Because the input syntax language usually given tacit consent to is Chinese, therefore, current input method is switched into institute State the input method corresponding to non-target input language type English.
Using above-mentioned input method switching method, when user needs input information on smart machine, can be by identification The language form that the current page is used determines the non-target input language type corresponding to current page, and then is working as When preceding input method is mismatched with the non-target input language type, the current input method is automatically switched into the target input Input method corresponding to language form, it is to avoid user toggles the input method of different language, makes interaction become simple, improves Consumer's Experience.
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 the electronic equipment as shown in Figure 1A to Figure 1B, as shown in figure 4, The method includes:
In step 401, the language form corresponding to the character string in the control of the current page is recognized, and will be described Language form corresponding to character string is determined as the language form that the current page is used.
In step 402, the language form for being used according to the current page, determines the non-target input language class Type.
In step 403, when current input method is mismatched with the non-target input language type, by the current input Method switches to the input method corresponding to the non-target input language type.
The current page that electronic equipment shows can include one or more controls, can there is multiple characters in each control String.After recognizing the language form corresponding to the character string in the control of the current page, according to recognition result, such as, identification The language form corresponding to character string for going out is German, then German is determined as into the class of languages that the current page is used Type.Then, judge whether current input method matches with the non-target input language type German, for example, during current input method is Text, then current input method is switched to the input method corresponding to German.
Fig. 5 is a kind of schematic flow sheet of input method switching method of the disclosure according to another exemplary embodiment. The input method switching method shown in the present embodiment can apply to the electronic equipment as shown in Figure 1A to Figure 1B, as shown in figure 5, The method includes:
In step 501, each shared ratio in the control of the character string of statistics different language species.
In step 502, using the language form corresponding to the ratio exceedes the character string of desired value as the control In character string corresponding to language form.
In step 503, the language form for being used according to the current page, determines the non-target input language class Type.
In step 504, when current input method is mismatched with the non-target input language type, by the current input Method switches to the input method corresponding to the non-target input language type.
It is possible to include the character string of multilingual in the control of the current page that electronic equipment shows, for example, some are used During chat, hobby is mingled with English word when the information of Chinese is sent out at family;Or, the foreigner is learning Chinese During, Chinese vocabulary can be mingled with the information of hair English.When the character string of multilingual type is included in control, Ratio that can be each shared in the control by counting the character string of every kind of category of language, according to statistics, will compare 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, as shown in Figure 1A, in session context, user opens the wechat on smart mobile phone, and current page is In wechat interface and the page of people's chat, desired value is 50% to user, and current input method is Chinese.Control in Chat page can Think the text box of display message, as shown in Figure 1A, showing the word that shows of control of Message-text frame has that " What does eat Meal mean ".Wherein, character string sum is five, and Chinese character string is two, and proportion is 40%, is not above 50%;English Chinese character string has three, and proportion is 60%, more than 50%.According to statistics, using English as the word in the control The language form corresponding to string is accorded with, and then determines that the non-target input language type corresponding to current page is English.Due to current Input method is mismatched with the non-target input language type, and current input method is switched into the non-target input language type English Corresponding input method, after switching as shown in Figure 1B.
It is alternatively possible to be determined to recognize the side of the language form that current page is used according to different page categories Formula.Page category can be, but not limited to determine in the following manner:First, it is determined that opening the application of the current page;Then, Obtain the species of the application;Finally, according to the species of the application, the species of the current page is determined.For example, current The page is that web browser is opened, then can determine that current page is Webpage;It is that chat class APP is opened in current page , then current page is conversation page.
When the current page is conversation page, the language form that the identification current page is used, including: Recognize the language form corresponding to the message in the message box of the current page, and by the language form corresponding to the message It is determined as the language form that the current page is used.Wherein, message can be that word message, or language disappear Breath.
Or, when the current page is conversation page, the language form that the identification current page is used, Including:The language form indicated by language preference information being associated with session object is determined as the current page to be made Language form.For example, it may be by way of setting label to session object, it will words object is inclined with corresponding language Good information association is got up.As shown in Figure 1A, when user is chatted using wechat, it is assumed that the label of the object Jack chatted with user It is " Englishman ", then after obtaining the label information, it is believed that the language preference information that Jack is associated is English, and then is determined The language form that current page is used is English, therefore, non-target input language type is English.Due to current shown in Figure 1A Input method is Chinese, with non-target input language type mismatch, it is necessary to switch to English input method, after switching, as shown in Figure 1B.
In above-mentioned possible implementation, realize in conversation applications scene, by recognizing the language corresponding to message Language form indicated by speech type or the language preference information being associated with session object, determines that the current page is made Language form.
Fig. 6 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 the electronic equipment as shown in Figure 1A to Figure 1B, as shown in fig. 6, The method includes:
In step 601, when the current page is Webpage, institute in the website information according to the current page Comprising domain-name information, determine the language form that the current page is used.
In step 602, the language form for being used according to the current page, determines the non-target input language class Type.
In step 603, when current input method is mismatched with the non-target input language type, by the current input Method switches to the input method corresponding to the non-target input language type.
Electronic equipment can determine that the current page is used according to the domain-name information included in webpage website information Language form.For example, when domain name includes country code, such as .cn .uk .de and .jp, then can correspondence country be made The language form that official language is used as the current page.Such as .cn is the special TLD of China, then The language form that the current web page page containing .cn domain names is used is defined as Chinese, and determines the non-target input language Type is Chinese;Then, judge whether current input method matches with non-target input language type Chinese, for example, current defeated It is English to enter method, then current input method is switched to the input method corresponding to Chinese.For another example .uk is special top of Britain Domain name, then be defined as English, and determine that the target is defeated by the language form that the current web page page containing .uk domain names is used It is English to enter language form;Then, judge whether current input method matches with non-target input language type English, for example, Current input method is Chinese, then current input method is switched to the input method corresponding to English.For another example .de is that Germany is special TLD, then the language form that the current web page page containing .de domain names is used is defined as German, and determine described Non-target input language type is German;Then, judge whether current input method matches with the non-target input language type German, For example, current input method is Chinese, then current input method is switched to the input method corresponding to German.
In above-mentioned possible implementation, realize in web application scene, current net is determined by domain-name information The language form that page is used.
Fig. 7 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 the electronic equipment as shown in Figure 1A to Figure 1B, as shown in fig. 6, The method includes:
In step 701, when the current page is the operating system page, the input of the target widget where obtaining cursor Attribute information, the input attribute information includes that the target widget limits the target language type information of input.
In a step 702, the language form for the target language type being used as the current page.
In step 703, according to the language form that the current page is used, the non-target input language class is determined Type.
In step 704, when current input method is mismatched with the non-target input language type, by the current input Method switches to the input method corresponding to the non-target input language type.
For example, in China, the input method of the operating system page typically acquiescence is Chinese, but, in the operating system page Some of in control, can only be input into when being input into order in the instruments such as English character string, such as the dos in Windows, pass through The input attribute information of the target widget where obtaining cursor, i.e. dos toolbars can only be input into the information of English character string, according to The information, the language form that English is used as the current page, and determine that the non-target input language type is English Text;Then, judge whether current input method matches with non-target input language type English, for example, during current input method is Text, then current input method is switched to the input method corresponding to English.
In above-mentioned possible implementation, realize in the operating system page, when the target widget where cursor is made The input method that target language type is given tacit consent to operating system is not meanwhile, it is capable to the object language class used with target widget Type is defined.
Fig. 8 is a kind of input method switching device block diagram according to an exemplary embodiment.Reference picture 8, the device 600 Including identification module 610, determining module 620 and handover module 630.
The identification module 610 is configured as recognizing the language form that current page is used.
The determining module 620 is configured as the language form used according to the current page, determines the current page Non-target input language type corresponding to face.
The handover module 630 is configured as when current input method is mismatched with the non-target input language type, by institute State current input method and switch to input method corresponding to the non-target input language type.
Alternatively, the identification module 610 is configured as recognizing corresponding to the character string in the control of the current page Language form, and the language form corresponding to the character string is determined as the class of languages that the current page is used Type.
Alternatively, as shown in figure 9, the identification module 610 includes:
Statistic submodule 611, is configured as counting the character string of different language species each shared in the control Ratio;
First determination sub-module 612, is configured as that the ratio is exceeded the class of languages corresponding to the character string of desired value Type is used as the language form corresponding to the character string in the control.
Alternatively, when the identification module 610 is configured as the current page for Webpage, according to described current Domain-name information included in the website information of the page, determines the language form that the current page is used.
Alternatively, as shown in Figure 10, the identification module 610 includes:
Acquisition submodule 613, is configured as the current page for the operating system page, the target where obtaining cursor The input attribute information of control, the input attribute information includes that the target widget limits the target language type letter of input Breath;
Second determination sub-module 614, is configured as the target language type is used as the current page Language form.
On 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 for input method switching device 800 according to an exemplary embodiment.For example, dress It can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment to put 800 Equipment, body-building equipment, personal digital assistant etc..
Reference picture 11, device 800 can include following one or more assemblies:Processing assembly 802, memory 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 processing assembly 802, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing 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, processing assembly 802 can include one or many Individual module, is easy to the interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multimedia mould Block, to facilitate the interaction between multimedia groupware 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction for any application program or method operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 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 storage (EPROM), programmable read only memory (PROM), read-only storage (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 one screen of 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 detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as 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, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing 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, the relative positioning 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 neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor 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 the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives 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 radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
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 realization, for performing above-mentioned input method switching method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed by the processor 820 of device 800 and switched to complete above-mentioned input method 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 specification 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 or usual skill in the art of the disclosure Art means.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following claim 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 (10)

1. a kind of input method switching method, it is characterised in that methods described includes:
The language form that identification current page is used;
According to the language form that the current page is used, the non-target input language class corresponding to the current page is determined Type;
When current input method is mismatched with the non-target input language type, the current input method is switched into the target Input method corresponding to input language type.
2. input method switching method according to claim 1, it is characterised in that the language that the identification current page is used Speech type, including:
Recognize the language form corresponding to the character string in the control of the current page, and by the language corresponding to the character string Speech type is determined as the language form that the current page is used.
3. input method switching method according to claim 2, it is characterised in that the control of the identification current page In character string corresponding to language form, including:
Count each shared ratio in the control of the character string of different language species;
Corresponding to language form as the character string in the control corresponding to the ratio is exceeded into the character string of desired value Language form.
4. input method switching method according to claim 1, it is characterised in that the language that the identification current page is used Speech type, including:
When the current page is Webpage, the domain-name information included in website information according to the current page, Determine the language form that the current page is used.
5. input method switching method according to claim 1, it is characterised in that the language that the identification current page is used Speech type, including:
When the current page is the operating system page, the input attribute information of the target widget where obtaining cursor is described defeated Enter the target language type information that attribute information limits input including the target widget;
The language form that the target language type is used as the current page.
6. a kind of input method switching device, it is characterised in that including:
Identification module, is configured as recognizing the language form that current page is used;
Determining module, is configured as the language form used according to the current page, determines corresponding to the current page Non-target input language type;
Handover module, is configured as when current input method is mismatched with the non-target input language type, will be described current defeated Enter method and switch to input method corresponding to the non-target input language type.
7. input method switching device according to claim 6, it is characterised in that the identification module is configured as recognizing institute The language form corresponding to the character string in the control of current page is stated, and the language form corresponding to the character string is determined To be language form that the current page is used.
8. input method switching device according to claim 7, it is characterised in that the identification module includes:
Statistic submodule, is configured as each shared ratio in the control of the character string of statistics different language species;
First determination sub-module, is configured as the language form corresponding to the ratio exceedes the character string of desired value as institute State the language form corresponding to the character string in control.
9. input method switching device according to claim 6, it is characterised in that the identification module is configured as described When current page is Webpage, the domain-name information included in website information according to the current page, it is determined that described work as The language form that the preceding page is used.
10. input method switching device according to claim 6, it is characterised in that the identification module includes:
Acquisition submodule, is configured as the current page for the operating system page, the target widget where obtaining cursor Input attribute information, the input attribute information includes that the target widget limits the target language type information of input;
Second determination sub-module, is configured as the class of languages that the target language type is used as the current page Type.
CN201611099689.3A 2016-12-01 2016-12-01 input method switching method and device Pending CN106774976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611099689.3A CN106774976A (en) 2016-12-01 2016-12-01 input method switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611099689.3A CN106774976A (en) 2016-12-01 2016-12-01 input method switching method and device

Publications (1)

Publication Number Publication Date
CN106774976A true CN106774976A (en) 2017-05-31

Family

ID=58883141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611099689.3A Pending CN106774976A (en) 2016-12-01 2016-12-01 input method switching method and device

Country Status (1)

Country Link
CN (1) CN106774976A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189243A (en) * 2018-11-19 2019-01-11 深圳美图创新科技有限公司 Input method switching method, device and user terminal
CN111581362A (en) * 2020-04-29 2020-08-25 联想(北京)有限公司 Processing method and device
CN112764552A (en) * 2021-01-26 2021-05-07 北京小米移动软件有限公司 Input method switching method and device, intelligent equipment and storage medium
CN114816204A (en) * 2021-01-27 2022-07-29 北京猎户星空科技有限公司 Control method, control device, control equipment and storage medium of intelligent robot
US11681432B2 (en) 2018-05-10 2023-06-20 Honor Device Co., Ltd. Method and terminal for displaying input method virtual keyboard

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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11681432B2 (en) 2018-05-10 2023-06-20 Honor Device Co., Ltd. Method and terminal for displaying input method virtual keyboard
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
CN111581362A (en) * 2020-04-29 2020-08-25 联想(北京)有限公司 Processing method and device
CN112764552A (en) * 2021-01-26 2021-05-07 北京小米移动软件有限公司 Input method switching method and device, intelligent equipment and storage medium
CN114816204A (en) * 2021-01-27 2022-07-29 北京猎户星空科技有限公司 Control method, control device, control equipment and storage medium of intelligent robot
CN114816204B (en) * 2021-01-27 2024-01-26 北京猎户星空科技有限公司 Control method, control device, control equipment and storage medium of intelligent robot

Similar Documents

Publication Publication Date Title
CN104991789B (en) Application program open method and device
US10102361B2 (en) Method and apparatus for implementing touch key and fingerprint identification, and terminal device
CN107919123A (en) More voice assistant control method, device and computer-readable recording medium
CN106774976A (en) input method switching method and device
CN104731688B (en) Point out the method and device of reading progress
CN103995666B (en) A kind of method and apparatus of setting operating mode
KR20180122676A (en) Method and apparatus for reading messages
CN104679599A (en) Application program duplicating method and device
CN104216973B (en) A kind of method and device of data search
CN105224601B (en) A kind of method and apparatus of extracting time information
CN106202150A (en) Method for information display and device
CN107301242A (en) Method, device and the storage medium of page jump
CN106791092A (en) The searching method and device of contact person
CN105447109A (en) Key word searching method and apparatus
CN107506246A (en) Information displaying method, device and computer-readable recording medium
CN107193393A (en) Input method switching method and device
CN105095366A (en) Method and device for processing character messages
CN104571709A (en) Mobile terminal and processing method of virtual keys
CN107544802A (en) device identification method and device
CN105511777A (en) Session display method and device of touch display screen
CN108803892B (en) Method and device for calling third party application program in input method
CN107861637A (en) Character input method, device and computer-readable recording medium
CN105159472A (en) Input method switching method and device
CN105487799A (en) Content conversion method and device
CN104636320A (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531