CN108762876A - A kind of input method switching method, mobile terminal and computer storage media - Google Patents

A kind of input method switching method, mobile terminal and computer storage media Download PDF

Info

Publication number
CN108762876A
CN108762876A CN201810547003.5A CN201810547003A CN108762876A CN 108762876 A CN108762876 A CN 108762876A CN 201810547003 A CN201810547003 A CN 201810547003A CN 108762876 A CN108762876 A CN 108762876A
Authority
CN
China
Prior art keywords
input
input method
scene
mobile terminal
image
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
CN201810547003.5A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810547003.5A priority Critical patent/CN108762876A/en
Publication of CN108762876A publication Critical patent/CN108762876A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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 embodiment of the invention discloses a kind of input method switching method, mobile terminal and computer storage media, which includes:Detect the click event of input frame in the mobile terminal display interface;If the click event makes the input frame obtain focus, current interface image is intercepted;The interface image for parsing the interception determines the corresponding input scene of the input frame;Corresponding input method is matched from target database according to the input scene;It calls and shows the input method.The embodiment of the present invention can choose matched input method according to input scene, to the input demand of the matching user of intelligence, be not necessarily to user's manual switching input method, promote user experience.

Description

A kind of input method switching method, mobile terminal and computer storage media
Technical field
The present invention relates to a kind of electronic technology field more particularly to input method switching method, mobile terminal and computers Storage medium.
Background technology
At this stage, the function of mobile terminal becomes increasingly abundant, and input method is also essential program on mobile terminal.
By installing a variety of different input method application programs, mobile terminal, which can take many forms, carries out the defeated of text Enter, such as English, number, phonetic, stroke etc., can also be that voice inputs.
In current techniques, when needing to input different characters, it is sometimes desirable to which the switching for carrying out input method generally requires to use Family is clicked manually, not smart enough, and user experience is poor.
Invention content
A kind of input method switching method of offer of the embodiment of the present invention, mobile terminal and computer storage media, Neng Gougeng Good automatic switchover input method promotes user experience.
First aspect of the embodiment of the present invention provides a kind of input method switching method, is applied to mobile terminal, including:
Detect the click event of input frame in the mobile terminal display interface;
If the click event makes the input frame obtain focus, current interface image is intercepted;
The interface image for parsing the interception determines the corresponding input scene of the input frame;
Corresponding input method is matched from target database according to the input scene;
It calls and shows the input method.
Optionally, further include before the click event of input frame in the detecting mobile terminal display interface:
Count the input method use information in preset time period;
Target database is generated according to the input method use information.
Optionally, the input method use information in the statistics preset time period, including:
When detecting the input state in the first input method, the first current interface image is obtained;
According to first interface image, the corresponding input scene of first interface image is identified, wherein the input Scene includes application program and language environment;
When detecting first input method and being changed to the second input method, current second contact surface image is obtained, and know The corresponding input scene of not described second contact surface image;
First input method and the corresponding use information of the second input method are recorded respectively, wherein the use information Including usage time and switching frequency.
Optionally, the click event for detecting input frame in the mobile terminal display interface, including:
The coordinate information for obtaining click event, judges coordinate information location information whether corresponding with input frame Match, and judges that the click event makes the input frame obtain focus in matching.
Optionally, the interface image of the parsing interception, determines the corresponding input scene of the input frame, including:
Image recognition is carried out to the interface image of the interception, the interface image for obtaining the interception is corresponding using journey Sequence, input type and language environment, wherein the input type includes text and voice;
Corresponding input scene is determined according to the application program, input type and language environment.
Optionally, the interface image of the parsing interception, determines the corresponding input scene of the input frame, including:
Fuzzy Processing is carried out to the interface image of the interception;
Image after the Fuzzy Processing is uploaded to preset server, so that the preset server is to described Image carries out dissection process;
The analysis result for receiving the preset server feedback determines that the input frame is corresponding defeated according to analysis result Enter scene.
Optionally, described that corresponding input method is matched from target database according to the input scene, including:
Judge that the input scene whether there is in the target database, and if it exists, then obtain and the input field The corresponding input method of scape;
If being not present, the corresponding language environment of the input scene is obtained;
Corresponding input method is chosen according to the language environment.
Optionally, described to call and show the input method, including:
Judge whether the input method has been started up;
If having been started up, calls the input method and show the input interface of the input method;
If the input method is not actuated, starts the input method and show the input interface of the input method, and by institute It states input method and replaces the input method currently having been turned on.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes processor and storage Device;
The memory is for storing executable program;
The processor is for executing the executable program to realize input method switching method described above.
The third aspect of the embodiment of the present invention provides a kind of computer storage media, is stored on the computer storage media There is executable program, input method switching method described above is realized when the executable program is performed.
Implement the embodiment of the present invention, has the advantages that:
Input method switching method, mobile terminal in the embodiment of the present invention and computer storage media, are detecting end When end carries out input operation, by obtaining current interface image, current input scene is parsed, is selected according to input scene Matched input method is taken, to the input demand of the matching user of intelligence, user's manual switching input method is not necessarily to, promotes user's body It tests.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the wireless communication system of mobile terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of method flow diagram of input method switching method first embodiment provided in an embodiment of the present invention.
Fig. 4 is a kind of method flow diagram of input method switching method second embodiment provided in an embodiment of the present invention.
Fig. 5 is a kind of method flow diagram of input method switching method 3rd embodiment provided in an embodiment of the present invention.
Fig. 6 is a kind of method flow diagram of input method switching method fourth embodiment provided in an embodiment of the present invention.
Fig. 7 show a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention. In subsequent description, using the suffix of such as " module ", " component " or " unit " for indicating element only for being conducive to The explanation of the present invention, itself does not have specific meaning.Therefore, " module ", " component " or " unit " can be used mixedly.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as dynamic terminal, and number TV, desktop computer.It will be said by taking mobile terminal as an example in subsequent descriptions It is bright, it will be appreciated by those skilled in the art that other than being used in particular for the element of mobile purpose, embodiment party according to the present invention The construction of formula can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc. It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 is with can providing the IP of UE201 Location is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Fig. 3 is a kind of method flow diagram of input method switching method first embodiment provided in an embodiment of the present invention.This is defeated Enter method switching method applied in mobile terminal shown in Fig. 1 or 2.It is understood that the mobile terminal may be other Equipment, such as e-book, tablet computer etc..In the present embodiment, which includes the following steps S301-S305.
In step S301, the click event of input frame in the mobile terminal display interface is detected.
Specifically, it can be touch screen that the mobile terminal, which has display screen, the display screen, user can pass through click The touch screen is inputted.By detecting the click event of input frame in display interface, it is defeated to judge whether user wants to carry out Enter operation.
In step s 302, if the click event makes the input frame obtain focus, current surface chart is intercepted Picture.
Specifically, when the corresponding region of click event is located just in input frame, input frame can obtain focus, at this time may be used To think that user wants to carry out input operation, current interface image is intercepted at this time.
Optionally, when detecting click event, by obtaining the coordinate information of click event, judge the coordinate information Whether location information corresponding with input frame matches, and judges that the click event makes the input frame obtain coke in matching Point.
In step S303, the interface image of the interception is parsed, determines the corresponding input scene of the input frame.
Specifically, being parsed to the interface image being truncated to.Optionally, the parsing can be in mobile terminal local End carries out.In other embodiments, the parsing can also be to be carried out on preset server.After having parsed, root The corresponding input scene of input frame is determined according to the result of parsing.In the present embodiment, input scene includes current application program, language Say environment etc..
In step s 304, corresponding input method is matched from target database according to the input scene.
Specifically, after having identified input scene, matched input method is chosen from preset target database.Institute It is to pre-set to state target database, and by detecting the input condition of a period of time user, number of targets is generated according to statistical information According to library.User under different input scenes is saved in target database corresponds to the input method used.
Optionally, when carrying out input method selection, first determine whether the input scene in the target database whether In the presence of, and if it exists, then obtain input method corresponding with the input scene;
If being not present, the corresponding language environment of the input scene is obtained;
Corresponding input method is chosen according to the language environment.If for example, by parsing, judge the language environment for English Text then chooses corresponding English input method;If language environment is Chinese, Chinese character coding input method is chosen;If language environment is number, Then choose digital inputting method.
In step S305, calls and show the input method.
Specifically, according to the input method chosen in step S304, it is called the input interface of simultaneously display input method, so that Obtain the input that user can use the input method to carry out text.
Optionally, judge whether the input method has been started up when calling;
If having been started up, calls the input method and show the input interface of the input method;
If the input method is not actuated, starts the input method and show the input interface of the input method, and by institute It states input method and replaces the input method currently having been turned on.
It is above-mentioned it is found that input method switching method in the embodiment of the present invention, needs to carry out input operation detecting terminal When, by the current interface image of acquisition, current input scene is parsed, matched input method is chosen according to input scene, from And the input demand of the matching user of intelligence, it is not necessarily to user's manual switching input method, promotes user experience.
Fig. 4 is a kind of method flow diagram of input method switching method second embodiment provided in an embodiment of the present invention.Comparison First embodiment shown in Fig. 3 in the present embodiment, further comprises the step of generating target database, input method switching Method includes the following steps S401-S407.
In step S401, the input method use information in preset time period is counted.
Specifically, the input method use information of counting user within a preset period of time.The preset time period can by with Family is voluntarily arranged, for example can be one month or two weeks, and the time is longer, then use information is abundanter, target database It is more perfect.Counting user within the period using when not having to application program for input method, input type, usage time etc. Information.For example, user in class application program social using wechat etc. usually using A input methods, using the applications such as browser Usually using B input methods when program, usually using C input methods when using video classes application programs such as trills.
In the input method use information of counting user, it can not only be obtained and be inputted by the input method progress information of terminal The type of method.In other embodiments, the type of input method can also be obtained by intercepting the form of current interface.
Optionally, when detecting the input state in the first input method, the first current interface image is obtained;According to First interface image identifies the corresponding input scene of first interface image, wherein the input scene includes application Program and language environment;When detecting first input method and being changed to the second input method, current second contact surface is obtained Image, and identify the corresponding input scene of the second contact surface image;First input method and the second input are recorded respectively The corresponding use information of method, wherein the use information includes usage time and switching frequency.It is understood that described Input method can also include third input method or more input methods.By intercepting corresponding interface under different input method status Image can obtain the corresponding input scene of different input methods.
In step S402, target database is generated according to the input method use information.
Specifically, generating corresponding target database according to the use information of statistics.
In step S403, the click event of input frame in the mobile terminal display interface is detected.
In step s 404, if the click event makes the input frame obtain focus, current surface chart is intercepted Picture.
In step S405, the interface image of the interception is parsed, determines the corresponding input scene of the input frame.
In step S406, corresponding input method is matched from target database according to the input scene.
In step S 407, it calls and shows the input method.
It is above-mentioned it is found that the input method switching method in the embodiment of the present invention is being detectd by pre-setting corresponding database When measuring terminal and carrying out input operation, by obtaining current interface image, current input scene is parsed, according to input Scene chooses matched input method from pre-set database, to the input demand of the matching user of intelligence, without using Manual switching input method in family promotes user experience.
Fig. 5 is a kind of method flow diagram of input method switching method 3rd embodiment provided in an embodiment of the present invention.Comparison First embodiment shown in Fig. 3, in the present embodiment, the step of further comprising the interface image for how parsing interception, this is defeated Enter method switching method and includes the following steps S501-S506.
In step S501, the click event of input frame in the mobile terminal display interface is detected.
In step S502, if the click event makes the input frame obtain focus, current surface chart is intercepted Picture.
In step S503, image recognition is carried out to the interface image of the interception, obtains the interface image of the interception Corresponding application program, input type and language environment.
Specifically, in the present embodiment, it is that image recognition is carried out to truncated picture by terminal local section, obtains image letter Breath.Some existing recognizers may be used in image recognition, and the present embodiment is not limited thereto.Wherein, the input type Including text and voice.
Corresponding input scene is determined according to the application program, input type and language environment in step S504.
Specifically, determining current input scene according to recognition result, wherein the input scene includes:English input, Input in Chinese and voice input etc..According to the difference of input scene, different input methods can be subsequently matched.
In step S505, corresponding input method is matched from target database according to the input scene.
In step S506, calls and show the input method.
It is above-mentioned it is found that input method switching method in the embodiment of the present invention, needs to carry out input operation detecting terminal When, by the current interface image of acquisition, current input scene is parsed, matched input method is chosen according to input scene, from And the input demand of the matching user of intelligence, it is not necessarily to user's manual switching input method, promotes user experience.
Fig. 6 is a kind of method flow diagram of input method switching method fourth embodiment provided in an embodiment of the present invention.Comparison First embodiment shown in Fig. 3, in the present embodiment, the step of further comprising the interface image for how parsing interception, this is defeated Enter method switching method and includes the following steps S601-S607.
In step s 601, the click event of input frame in the mobile terminal display interface is detected.
In step S602, if the click event makes the input frame obtain focus, current surface chart is intercepted Picture.
In step S603, Fuzzy Processing is carried out to the interface image of the interception.
Specifically, in the present embodiment, the action for parsing the interface image of interception is completed by server, in order to protect user's Privacy needs to carry out certain Fuzzy Processing to the interface image of interception, to avoid corresponding information before upload server Leakage.
In step s 604, the image after the Fuzzy Processing is uploaded to preset server, so that described default Server to described image carry out dissection process.
Specifically, will treated image upload server, server carries out dissection process to the image.Compared to Fig. 5 In dissection process is carried out by this location of mobile terminal, dissection process is carried out by server in the present embodiment, without terminal into Row, can ensure handling result at the problems such as avoiding the processing delay brought due to terminal capabilities difference in time.Optionally, by It also needs to consider network factors in upload server, and hence it is also possible to judge whether network environment meets preset condition in advance, Only when meeting preset condition, just enables server end and carry out picture dissection process.
In step s 605, the analysis result for receiving the preset server feedback, determined according to analysis result described in The corresponding input scene of input frame.
In step S606, corresponding input method is matched from target database according to the input scene.
In step S607, calls and show the input method.
It is above-mentioned it is found that input method switching method in the embodiment of the present invention, needs to carry out input operation detecting terminal When, by the current interface image of acquisition, current input scene is parsed, matched input method is chosen according to input scene, from And the input demand of the matching user of intelligence, it is not necessarily to user's manual switching input method, promotes user experience.
Fig. 7 show a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.As shown in fig. 7, mobile whole End include processor 701 (quantity of the processor 701 in terminal can one or more, Fig. 7 is by taking a processor as an example) with And memory 702.In an embodiment of the present invention, processor 701, memory 702 can be connected by bus or other means, In, in Fig. 7 for being connected by bus.It is understood that mobile terminal in the present embodiment can also be applied to Fig. 1 or In embodiment shown in Fig. 2.
Wherein, executable program is stored in memory 702, processor 701 executes the executable program to realize such as Lower step:
Detect the click event of input frame in the mobile terminal display interface;
If the click event makes the input frame obtain focus, current interface image is intercepted;
The interface image for parsing the interception determines the corresponding input scene of the input frame;
Corresponding input method is matched from target database according to the input scene;
It calls and shows the input method.
Optionally, the processor 701 is detected in the mobile terminal display interface before the click event of input frame, also Including:
Count the input method use information in preset time period;
Target database is generated according to the input method use information.
Optionally, the processor 701 counts the input method use information in preset time period, including:
When detecting the input state in the first input method, the first current interface image is obtained;
According to first interface image, the corresponding input scene of first interface image is identified, wherein the input Scene includes application program and language environment;
When detecting first input method and being changed to the second input method, current second contact surface image is obtained, and know The corresponding input scene of not described second contact surface image;
First input method and the corresponding use information of the second input method are recorded respectively, wherein the use information Including usage time and switching frequency.
Optionally, the processor 701 detects the click event of input frame in the mobile terminal display interface, including:
The coordinate information for obtaining click event, judges coordinate information location information whether corresponding with input frame Match, and judges that the click event makes the input frame obtain focus in matching.
Optionally, the processor 701 parses the interface image of the interception, determines the corresponding input field of the input frame Scape, including:
Image recognition is carried out to the interface image of the interception, the interface image for obtaining the interception is corresponding using journey Sequence, input type and language environment, wherein the input type includes text and voice;
Corresponding input scene is determined according to the application program, input type and language environment.
Optionally, the processor 701 parses the interface image of the interception, determines the corresponding input field of the input frame Scape, including:
Fuzzy Processing is carried out to the interface image of the interception;
Image after the Fuzzy Processing is uploaded to preset server, so that the preset server is to described Image carries out dissection process;
The analysis result for receiving the preset server feedback determines that the input frame is corresponding defeated according to analysis result Enter scene.
Optionally, the processor 701 matches corresponding input method according to the input scene from target database, packet It includes:
Judge that the input scene whether there is in the target database, and if it exists, then obtain and the input field The corresponding input method of scape;
If being not present, the corresponding language environment of the input scene is obtained;
Corresponding input method is chosen according to the language environment.
Optionally, the processor 701 calls and shows the input method, including:
Judge whether the input method has been started up;
If having been started up, calls the input method and show the input interface of the input method;
If the input method is not actuated, starts the input method and show the input interface of the input method, and by institute It states input method and replaces the input method currently having been turned on.
It is above-mentioned it is found that mobile terminal in the embodiment of the present invention, when detecting terminal and carrying out input operation, pass through Current interface image is obtained, current input scene is parsed, matched input method is chosen according to input scene, to intelligence The input demand of user is matched, user's manual switching input method is not necessarily to, promotes user experience.
The embodiment of the present invention additionally provides a kind of computer storage media, and the computer storage media is stored with executable Program, the executable program realize following steps when being performed:
Detect the click event of input frame in the mobile terminal display interface;
If the click event makes the input frame obtain focus, current interface image is intercepted;
The interface image for parsing the interception determines the corresponding input scene of the input frame;
Corresponding input method is matched from target database according to the input scene;
It calls and shows the input method.
Optionally, the executable program can also be used to execute to realize input method switching method as shown in figures 3 to 6, This will not be repeated here.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of input method switching method is applied to mobile terminal, which is characterized in that including:
Detect the click event of input frame in the mobile terminal display interface;
If the click event makes the input frame obtain focus, current interface image is intercepted;
The interface image for parsing the interception determines the corresponding input scene of the input frame;
Corresponding input method is matched from target database according to the input scene;
It calls and shows the input method.
2. input method switching method as described in claim 1, which is characterized in that the detecting mobile terminal display interface Before the click event of middle input frame, further include:
Count the input method use information in preset time period;
Target database is generated according to the input method use information.
3. input method switching method as claimed in claim 2, which is characterized in that the input method in the statistics preset time period Use information, including:
When detecting the input state in the first input method, the first current interface image is obtained;
According to first interface image, the corresponding input scene of first interface image is identified, wherein the input scene Including application program and language environment;
When detecting first input method and being changed to the second input method, current second contact surface image is obtained, and identify institute State the corresponding input scene of second contact surface image;
First input method and the corresponding use information of the second input method are recorded respectively, wherein the use information includes Usage time and switching frequency.
4. input method switching method as described in claim 1, which is characterized in that the detecting mobile terminal display interface The click event of middle input frame, including:
The coordinate information for obtaining click event judges coordinate information location information matching whether corresponding with input frame, and Judge that the click event makes the input frame obtain focus in matching.
5. input method switching method as claimed in claim 4, which is characterized in that the interface image of the parsing interception, Determine the corresponding input scene of the input frame, including:
Image recognition is carried out to the interface image of the interception, obtains the corresponding application program of interface image, defeated of the interception Enter type and language environment, wherein the input type includes text and voice;
Corresponding input scene is determined according to the application program, input type and language environment.
6. input method switching method as claimed in claim 4, which is characterized in that the interface image of the parsing interception, Determine the corresponding input scene of the input frame, including:
Fuzzy Processing is carried out to the interface image of the interception;
Image after the Fuzzy Processing is uploaded to preset server, so that the preset server is to described image Carry out dissection process;
The analysis result for receiving the preset server feedback determines the corresponding input field of the input frame according to analysis result Scape.
7. such as input method switching method described in claim 5 or 6, which is characterized in that it is described according to the input scene from mesh Corresponding input method is matched in mark database, including:
Judge that the input scene whether there is in the target database, and if it exists, then obtain and the input scene pair The input method answered;
If being not present, the corresponding language environment of the input scene is obtained;
Corresponding input method is chosen according to the language environment.
8. the input method switching method as described in right will go 7, which is characterized in that the calling simultaneously shows the input method, wraps It includes:
Judge whether the input method has been started up;
If having been started up, calls the input method and show the input interface of the input method;
If the input method is not actuated, starts the input method and show the input interface of the input method, and will be described defeated Enter method and replaces the input method currently having been turned on.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes processor and memory;
The memory is for storing executable program;
The processor is for executing the executable program to realize that claim 1-8 any one of them input methods such as switch Method.
10. a kind of computer storage media, which is characterized in that be stored with executable program, institute on the computer storage media It states when executable program is performed to realize such as claim 1-8 any one of them input method switching methods.
CN201810547003.5A 2018-05-31 2018-05-31 A kind of input method switching method, mobile terminal and computer storage media Pending CN108762876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810547003.5A CN108762876A (en) 2018-05-31 2018-05-31 A kind of input method switching method, mobile terminal and computer storage media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810547003.5A CN108762876A (en) 2018-05-31 2018-05-31 A kind of input method switching method, mobile terminal and computer storage media

Publications (1)

Publication Number Publication Date
CN108762876A true CN108762876A (en) 2018-11-06

Family

ID=64001199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810547003.5A Pending CN108762876A (en) 2018-05-31 2018-05-31 A kind of input method switching method, mobile terminal and computer storage media

Country Status (1)

Country Link
CN (1) CN108762876A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947517A (en) * 2019-03-22 2019-06-28 青岛海信电器股份有限公司 A kind of method that the input method of UI is called in Web application in display equipment
CN110046009A (en) * 2019-02-19 2019-07-23 阿里巴巴集团控股有限公司 Method for recording, device, server and readable storage medium storing program for executing
CN110308800A (en) * 2019-06-24 2019-10-08 北京百度网讯科技有限公司 Switching method, device, system and the storage medium of input mode
CN111565328A (en) * 2020-04-30 2020-08-21 北京盛世辉科技有限公司 Method and device for inputting intelligent equipment and remote controller
CN111610863A (en) * 2020-05-12 2020-09-01 Oppo广东移动通信有限公司 Information input method, device, terminal equipment and storage medium
CN112083841A (en) * 2020-08-19 2020-12-15 北京小米移动软件有限公司 Information input method, device and storage medium
CN112764552A (en) * 2021-01-26 2021-05-07 北京小米移动软件有限公司 Input method switching method and device, intelligent equipment and storage medium
CN112801239A (en) * 2021-01-28 2021-05-14 科大讯飞股份有限公司 Input recognition method and device, electronic equipment and storage medium
CN112997149A (en) * 2018-12-29 2021-06-18 深圳市欢太科技有限公司 Application program management method and device, storage medium and electronic equipment
WO2021253425A1 (en) * 2020-06-19 2021-12-23 深圳传音控股股份有限公司 Input method calling method, apparatus, and device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706690A (en) * 2009-12-07 2010-05-12 北京搜狗科技发展有限公司 Adaptive input method and adaptive input system
CN102436454A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Input method switching method and system for browser
CN104408686A (en) * 2014-10-31 2015-03-11 宇龙计算机通信科技(深圳)有限公司 Method, system and terminal for screen capturing
CN105117122A (en) * 2015-07-30 2015-12-02 深圳市金立通信设备有限公司 Terminal screenshot method and terminal
CN105930142A (en) * 2016-04-06 2016-09-07 广东欧珀移动通信有限公司 Screen shot processing method and device, and intelligent terminal
CN106375810A (en) * 2016-08-31 2017-02-01 深圳Tcl数字技术有限公司 Input method automatic switching method and system for smart television
US20170300227A1 (en) * 2014-09-17 2017-10-19 Beijing Sogou Technology Development Co., Ltd. Method for adjusting input virtual keyboard and input apparatus
CN107300986A (en) * 2017-06-30 2017-10-27 联想(北京)有限公司 Input method switching method and device
CN107831994A (en) * 2017-11-28 2018-03-23 珠海市魅族科技有限公司 Input method enables method and device, computer installation and readable storage medium storing program for executing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706690A (en) * 2009-12-07 2010-05-12 北京搜狗科技发展有限公司 Adaptive input method and adaptive input system
CN102436454A (en) * 2010-09-29 2012-05-02 腾讯科技(深圳)有限公司 Input method switching method and system for browser
US20170300227A1 (en) * 2014-09-17 2017-10-19 Beijing Sogou Technology Development Co., Ltd. Method for adjusting input virtual keyboard and input apparatus
CN104408686A (en) * 2014-10-31 2015-03-11 宇龙计算机通信科技(深圳)有限公司 Method, system and terminal for screen capturing
CN105117122A (en) * 2015-07-30 2015-12-02 深圳市金立通信设备有限公司 Terminal screenshot method and terminal
CN105930142A (en) * 2016-04-06 2016-09-07 广东欧珀移动通信有限公司 Screen shot processing method and device, and intelligent terminal
CN106375810A (en) * 2016-08-31 2017-02-01 深圳Tcl数字技术有限公司 Input method automatic switching method and system for smart television
CN107300986A (en) * 2017-06-30 2017-10-27 联想(北京)有限公司 Input method switching method and device
CN107831994A (en) * 2017-11-28 2018-03-23 珠海市魅族科技有限公司 Input method enables method and device, computer installation and readable storage medium storing program for executing

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112997149A (en) * 2018-12-29 2021-06-18 深圳市欢太科技有限公司 Application program management method and device, storage medium and electronic equipment
CN110046009B (en) * 2019-02-19 2022-08-23 创新先进技术有限公司 Recording method, recording device, server and readable storage medium
CN110046009A (en) * 2019-02-19 2019-07-23 阿里巴巴集团控股有限公司 Method for recording, device, server and readable storage medium storing program for executing
CN109947517B (en) * 2019-03-22 2022-06-24 海信视像科技股份有限公司 Method for Web application to call UI input method in display equipment
CN109947517A (en) * 2019-03-22 2019-06-28 青岛海信电器股份有限公司 A kind of method that the input method of UI is called in Web application in display equipment
CN110308800B (en) * 2019-06-24 2023-11-10 北京百度网讯科技有限公司 Input mode switching method, device, system and storage medium
CN110308800A (en) * 2019-06-24 2019-10-08 北京百度网讯科技有限公司 Switching method, device, system and the storage medium of input mode
CN111565328A (en) * 2020-04-30 2020-08-21 北京盛世辉科技有限公司 Method and device for inputting intelligent equipment and remote controller
CN111610863A (en) * 2020-05-12 2020-09-01 Oppo广东移动通信有限公司 Information input method, device, terminal equipment and storage medium
CN111610863B (en) * 2020-05-12 2023-08-22 Oppo广东移动通信有限公司 Information input method, device, terminal equipment and storage medium
WO2021253425A1 (en) * 2020-06-19 2021-12-23 深圳传音控股股份有限公司 Input method calling method, apparatus, and device, and storage medium
CN112083841B (en) * 2020-08-19 2022-03-01 北京小米移动软件有限公司 Information input method, device and storage medium
CN112083841A (en) * 2020-08-19 2020-12-15 北京小米移动软件有限公司 Information input method, device and storage medium
CN112764552A (en) * 2021-01-26 2021-05-07 北京小米移动软件有限公司 Input method switching method and device, intelligent equipment and storage medium
CN112801239A (en) * 2021-01-28 2021-05-14 科大讯飞股份有限公司 Input recognition method and device, electronic equipment and storage medium
CN112801239B (en) * 2021-01-28 2023-11-21 科大讯飞股份有限公司 Input recognition method, input recognition device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108762876A (en) A kind of input method switching method, mobile terminal and computer storage media
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN108537021A (en) Unlocked by fingerprint method, terminal and computer readable storage medium based on double-sided screen
CN109697008A (en) A kind of content share method, terminal and computer readable storage medium
CN108307043A (en) Speech message conversion method, mobile terminal and computer readable storage medium
CN110180181A (en) Screenshot method, device and the computer readable storage medium of Wonderful time video
CN109901980A (en) Serial ports log grabs circuit, method, terminal and computer readable storage medium
CN109299039A (en) A kind of file management method, equipment and computer readable storage medium
CN108762631A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN108600513A (en) A kind of record screen control method, equipment and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108536383A (en) A kind of game control method, equipment and computer readable storage medium
CN110086925A (en) A kind of application processing method and mobile terminal
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN108771870A (en) Voice transmission method, terminal based on game and computer readable storage medium
CN108769534A (en) A kind of focalization method and terminal
CN110188249A (en) A kind of global search method, equipment and computer readable storage medium
CN109684020A (en) A kind of method for switching theme, equipment and computer readable storage medium
CN109683741A (en) Function triggering method, device and computer readable storage medium
CN109740121A (en) A kind of searching method of mobile terminal, mobile terminal and storage medium
CN109639898A (en) A kind of multi-display method, equipment and computer readable storage medium
CN108768831A (en) Sharing method, mobile terminal and the computer readable storage medium of chat record
CN109683796A (en) A kind of interaction control method, equipment and computer readable storage medium

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