CN105929980B - Method and apparatus for information input - Google Patents
Method and apparatus for information input Download PDFInfo
- Publication number
- CN105929980B CN105929980B CN201610548066.3A CN201610548066A CN105929980B CN 105929980 B CN105929980 B CN 105929980B CN 201610548066 A CN201610548066 A CN 201610548066A CN 105929980 B CN105929980 B CN 105929980B
- Authority
- CN
- China
- Prior art keywords
- input
- scene
- application
- control information
- mark
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application discloses the method and apparatus for information input.One specific embodiment of this method comprises determining that the type of the application of the corresponding candidate result of character for receiving user's input;It determines the corresponding input scene mark of the type of application, and obtains input scene and identify corresponding input control information, input control information is used to indicate when being inputted under input scene identifies corresponding input scene, needs enabled or disabled predetermined registration operation;Based on input control information, candidate result is input in application.On the one hand, input scene is identified, automatically turns on or closing function is to be suitable for being inputted under input scene, promotes the convenience of input method.On the other hand, the word for being suitable for current input field scape is obtained as candidate result, to meet the input demand of user in different applications, promotes the accuracy of input.
Description
Technical field
This application involves computer fields, and in particular to input method field, the more particularly, to method of information input and
Device.
Background technique
During user is using application, when needing to input information in the application, usually completed by input method.It is defeated
Enter method receive user input character, find out candidate character corresponding with character or word, from record user input the frequency compared with
Candidate character corresponding with character or word are found out in the user thesaurus of more words or the system dictionary of input method, by user
The candidate character or word of selection are inputted.
However, when being inputted using aforesaid way, on the one hand, when can not determine input information in the application, Ying Kai
The function for the input method for opening and closing, and then the function of occurring such as opening causes to input slack problem.User needs to match
It when setting the opening and closing of each function, needs to be configured manually, causes the cumbersome of operation.On the other hand, can not
Meet the demand that such as different input scenes needs to input different types of word.
Summary of the invention
This application provides the method and apparatus for information input, for solving skill existing for above-mentioned background technology part
Art problem.
In a first aspect, this application provides the method for information input, this method comprises: determination is defeated for receiving user
The type of the application of the corresponding candidate result of the character entered;It determines the corresponding input scene mark of the type of application, and obtains
Input scene identifies corresponding input control information, and input control information, which is used to indicate, identifies corresponding input field in input scene
When being inputted under scape, enabled or disabled predetermined registration operation is needed;Based on input control information, candidate result is input to application
In.
Second aspect, this application provides the device for information input, which includes: type determining units, configuration
For determining the type of the application of the corresponding candidate result of character for receiving user's input;Acquiring unit is configured to really
Surely the corresponding input scene mark of the type applied, and obtain input scene and identify corresponding input control information, input control
Information processed is used to indicate when being inputted under input scene identifies corresponding input scene, needs enabled or disabled default behaviour
Make;Input unit is configured to that candidate result is input in application based on input control information.
Method and apparatus provided by the present application for information input, by determining the character pair for receiving user's input
The type of the application for the candidate result answered;It determines the corresponding input scene mark of the type of application, and obtains input scene mark
Know corresponding input control information, input control information be used to indicate carried out in the case where input scene identifies corresponding input scene it is defeated
It is fashionable, need enabled or disabled predetermined registration operation;Based on input control information, candidate result is input in application.On the one hand,
Automatic identification is carried out to input scene, automatically turns on or closing function is to be suitable for being inputted under input scene, promoted defeated
Enter the convenience of method.On the other hand, the word for being suitable for current input field scape is obtained as candidate result, is existed to meet user
Input demand in different applications, promotes the accuracy of input.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is the exemplary system frame that can be applied to the embodiment of the method or apparatus for information input of the application
Composition;
Fig. 2 shows the flow charts according to one embodiment of the method for information input of the application;
Fig. 3 shows the flow chart of another embodiment of the method for information input according to the application;
Fig. 4 show application, input scene, input pattern corresponding relationship an effect diagram;
Fig. 5 A shows an effect diagram of display input pattern;
Fig. 5 B shows another effect diagram of display input pattern;
Fig. 6 shows an exemplary process diagram of the method for information input according to the application;
Fig. 7 shows the structural schematic diagram of one embodiment of the device for information input according to the application;
Fig. 8 is adapted for showing for the structure for the computer system for realizing the device for information input of the embodiment of the present application
It is intended to.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the exemplary system that can be applied to the embodiment of the method or apparatus for information input of the application
System framework 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 to provide the medium of transmission link.Network 104 can be with
Including various connection types, such as wired, wireless transmission link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out
Send message etc..Various communication applications, such as the application of input method class, browser can be installed on terminal device 101,102,103
Class application, searching class application, the application of word processing class etc..
Terminal device 101,102,103 can be with display screen and support the various electronic equipments of network communication, packet
Include but be not limited to smart phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable
Computer and desktop computer etc..
The scene lexicon suitable for different input scenes can be stored in advance in server 105, when terminal utilizes input method
When class application carries out input information, the scene lexicon that be suitable for current input field scape can be pushed to terminal device 101,102,
103。
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
Referring to FIG. 2, it illustrates the processes according to one embodiment of the method for information input of the application
200.It should be noted that the method provided by the embodiment of the present application for information input can be by the terminal device in Fig. 1
101, it 102,103 executes, correspondingly, the device for information input can be set in terminal device 101,102,103.The party
Method the following steps are included:
Step 201, the type of the application of the corresponding candidate result of character for receiving user's input is determined.
In the present embodiment, when needing to enter information into application, the defeated of application can be positioned a cursor over first
Enter in region, receives the character of user's input.Then, the corresponding candidate result of character is found out, candidate result is input to and is answered
In.The character of user's input may be constructed phonetic, may be and be bound in advance to be input to the information in application
Character.For example, user inputs a character, emoticon is showed as candidate result.
In the present embodiment, in order to determine different input scenes to control information according to the difference of the type of application
It is input to the process of application, can determine the class of the application of the corresponding candidate result of character for receiving user's input first
Type.
Step 202, determine that the corresponding input scene of the type of application identifies, and acquisition input scene mark is corresponding defeated
Enter to control information.
It in the present embodiment, can be corresponding with input scene by the type of application in advance.For example, by the type of application
Email type with office scene it is corresponding.In another example the instant messaging type in the type of application is opposite with chat scenario
It answers.Correspondingly, the type of application can correspond to the input scene mark an of input scene in advance.
In the present embodiment, the corresponding candidate result of character for receiving user's input is being determined by step 201
After the type of application, the corresponding input scene mark of current input scene can be determined according to the type of application.For example,
When user inputs in mail, then current input field can be determined according to type, that is, mail applications type of application
Scape is office scene, and input scene is identified as the mark of office scene.In another example user inputs in instant communication applications
When, then it can determine that current input scene is chat scenario, input scene is identified as the mark of chat scenario.
In the present embodiment, it after the corresponding input scene mark of type for determining application, can further obtain defeated
Enter the corresponding input control information of scene identity.In the present embodiment, input control information is used to indicate identifies in input scene
When being inputted under corresponding input scene, enabled or disabled predetermined registration operation is needed.
It is above-mentioned default for the corresponding input scene of game application is scene of game using the type of application as game application
Operation can be user when inputting character i, and pop-up includes the interface of emoticon.When user inputs character under scene of game
When i, the predetermined registration operation can be executed, pop-up includes the interface of emoticon, at this point, the Caton for causing game application to run.Therefore,
The predetermined registration operation is disabled when can be inputted under scene of game for the scene of game.In the input scene of scene of game
It identifies mark and instruction in corresponding input control information comprising the predetermined registration operation and disables predetermined registration operation instruction information.
In the present embodiment, the input scene of different input scenes can be identified into deposit corresponding with input control information in advance
Storage.To can further obtain input scene mark and correspond to after the corresponding input scene mark of type for determining application
Input control information.
Step 203, it is based on input control information, candidate result is input in application.
In the present embodiment, it in the corresponding input scene mark of type for determining application by step 202, and obtains defeated
After entering the corresponding input control information of scene identity, corresponding input control information can be identified according to input scene, determined
Enabled or disabled predetermined registration operation is needed, so that candidate result is input to the input process in application by control.
By taking user inputs the corresponding candidate result of character in game application as an example, the corresponding input scene of game application is
Scene of game.The corresponding input control information of scene of game mark may include user and input character, such as when character i, bullet
The mark of the predetermined registration operation at the interface comprising emoticon and instruction disable the instruction information of the predetermined registration operation out.It can be according to defeated
Enter the mark for controlling the predetermined registration operation in information and instruction information, determines under current game scene, disable the predetermined registration operation.From
It and when user inputs character under scene of game, such as when character i, not will pop up the interface comprising emoticon, will not influence
The speed of service of game application.
Referring to FIG. 3, it illustrates the processes according to another embodiment of the method for information input of the application
300.It should be noted that the method provided by the embodiment of the present application for information input can be by the terminal device in Fig. 1
101, it 102,103 executes.Method includes the following steps:
Step 301, the type of the application of the corresponding candidate result of character for receiving user's input is determined.
In the present embodiment, in the present embodiment, in order to determine different input scenes according to the difference of the type of application
The process for entering information into application is controlled, can determine the corresponding candidate result of character for receiving user's input first
Application type.
In the present embodiment, the type of application can be determined in the following ways: can obtain the mark letter of application first
Breath.The identification information of application can include but is not limited to: using the window ID of the window of process name, application at runtime.
For example, the identification information of board application may include: the mark of the window of board process name at runtime and board.
It is then possible to which the identification informations such as the window ID of window based on application process name at runtime, application, determine application
Type.
Step 302, determine that the corresponding input scene of the type of application identifies, and acquisition input scene mark is corresponding defeated
Enter to control information.
It in the present embodiment, can be corresponding with input scene by the type of application in advance.For example, by the type of application
Email type with office scene it is corresponding.In another example the instant messaging type in the type of application is opposite with chat scenario
It answers.Correspondingly, the type of application can correspond to a scene identity in advance.
In the present embodiment, it after the corresponding input scene mark of type for determining application, can further obtain defeated
Enter the corresponding input control information of scene identity.It in the present embodiment, can be in advance by the input scene mark of different input scenes
When knowing with indicating to be inputted under the corresponding input scene of default input scene mark, enabled or disabled predetermined registration operation is needed
The corresponding storage of input control information.Thus after the corresponding input scene mark of type for determining application, it can be further
It obtains input scene and identifies corresponding input control information.
In the present embodiment, it can be directed to different input scenes, input scene is pre-configured with and corresponds to scene lexicon.From
And the corresponding candidate result of character that user's input is obtained in scene lexicon can be corresponded to from input scene.Belonged to user
In mail applications in scene of handling official business for input content associated with labour and capital problem, as input Pinyin " lao zi ", by
Comprising the colloquial word such as " I " in the candidate result in head screen, cause user greatly may mistake choose the word into
Shield the word in row input i.e..
It in the present embodiment, can be for office scene, the corresponding scene lexicon of configuration office scene.In the scene lexicon
In, colloquial word can be removed.So as to find out time from the corresponding scene lexicon of office scene in input process
Choosing is as a result, user chooses the problem of word mistake caused by avoiding colloquial word from appearing in first screen.
Step 303, it is based on input control information, candidate result is input in application.
In the present embodiment, it in the corresponding input scene mark of type for determining application by step 302, and obtains defeated
Enter the corresponding input control information of scene identity, corresponding input control information can be identified according to input scene, need to enable
Or the predetermined registration operation of disabling, so that candidate result is input to the input process in application by control.
In the present embodiment, enabled or disabled predetermined registration operation is needed to can include but is not limited in input scene: i expression
Mode, candidate expression displaying, status bar displaying, news push, long sentence association.It can enable or close according to input control information
Close the predetermined registration operations such as i expression mode, candidate expression displaying, status bar displaying, news push, long sentence association.For example, working as input field
When scape is identified as scene of game corresponding input scene mark, then the input scene of scene of game identifies corresponding input control letter
Breath can then indicate to disable the operation such as candidate expression displaying, news push.Thus, will not when being inputted under scene of game
The functions such as candidate expression displaying, news push are opened, will not influence the speed of service of game application.
Step 304, determine that input scene identifies corresponding input pattern.
In the present embodiment, the corresponding relationship based on input scene mark and input pattern determines input scene mark pair
The input pattern answered.
In the present embodiment, input pattern can be preset, input pattern can include but is not limited to: life pattern,
Operating mode.One input scene can correspond to an input pattern, can establish input scene mark and input pattern
Corresponding relationship.Since various applications can correspond to different application scenarios, it is thus possible to establish application, input scene, input
Corresponding relationship between mode.
For example, can be corresponding with office scene by the email type in the type of application, office scene belongs to Working mould
Formula.In another example can be corresponding with chat scenario by the instant messaging type in the type of application, chat scenario belongs to life mould
Formula.
Referring to FIG. 4, it illustrates application, input scene, input pattern corresponding relationship an effect diagram.
In fig. 4 it is shown that process title, the input scene, input pattern of application at runtime for identifying application.
It is being directed to the corresponding application of process title, after identifying input scene, input pattern can be being determined, open under input pattern
Functional switch enables the corresponding predetermined registration operation of input scene under input pattern.
In the present embodiment, input pattern can be changed by user during inputting information.For example, being mentioned to user
For the button for switching the input patterns such as life pattern, operating mode, user can be clicked the button, switching life pattern,
The input patterns such as operating mode.
In the present embodiment, after the input pattern conversion instruction for receiving user's input, input pattern can be turned
It is changed to other input patterns.Meanwhile the available input scene to other input patterns identifies corresponding input control information.
It can be based on the input control information, enable or close predetermined registration operation.
For example, the input scene of instant messaging application is chat scenario, current input mode is life pattern.When user's phase
When hoping using instant messaging application carry out business communication, life pattern can be converted into operating mode.At this point it is possible to obtain pair
It should be in the input scene mark of work input pattern, such as the corresponding input control information of mark of office scene.It is then possible to
Based on the input control information, i expression mode is enabled or closed, candidate expression is shown, status bar displaying, news push, long sentence
The predetermined registration operations such as association.
In the present embodiment, after current input mode is switched to other input patterns, other inputs be can store
Mode, thus, when candidate result being input in application next time, the corresponding input control of other input patterns can be based on
Information enables or closes the predetermined registration operations such as i expression mode, candidate expression displaying, status bar displaying, news push, long sentence association,
Control the process of information input.
It in the present embodiment, can be by needing predetermined registration operation that is enabled and closing in user configuration input pattern.For example, can
To provide a user configuration interface.The configuration-direct of user's input is received, configuration-direct includes: the operation mark of predetermined registration operation,
The corresponding predetermined registration operation that is used to indicate of operation mark needs enabled or disabled instruction information.It is then possible to generate comprising operation
The input control information of mark and instruction information being configured.Thus, can when candidate result being input in application next time
Based on the input control information through user configuration, to enable or close i expression mode, candidate expression is shown, status bar is shown, new
Hear the predetermined registration operations such as push, long sentence association.
Fig. 5 A is please referred to, it illustrates an effect diagrams of display input pattern.
In fig. 5, display control 501, the display control for showing the title of function associated with inputting are shown
Button 5011 on 501.The content that button 5011 is currently shown is the icon for indicating life pattern.User can be pressed by clicking
Input pattern is switched to operating mode from life pattern by button 5011.
Fig. 5 B is please referred to, it illustrates another effect diagrams of display input pattern.
In figure 5B, the display control 502 for showing the title of function associated with inputting is shown, shows control
Button 5021 on 502.The content that button 5021 is currently shown is the icon for indicating operating mode.User can be pressed by clicking
Input pattern is switched to life pattern from operating mode by button 5021.
In the present embodiment, each input pattern can be corresponding with multiple input scenes, each input scene can be with
When being corresponding with scene lexicon and indicating to be inputted in input scene, it is used to indicate needs and enables or close i expression mode, candidate
The input control information of the predetermined registration operations such as expression displaying, status bar displaying, news push, long sentence association
It in this application, can be by the operation and information input in the prior art in each step in above-described embodiment
Mode combines, so as to constitute the input method that can carry out identifying and switch over to input pattern to input scene.?
When being inputted using the input method, automatic identification can be carried out to input scene, automatically turn on or closing function is to be suitable for
It is inputted under input scene, promotes the convenience of input method.The word for being suitable for current input field scape is obtained as candidate
As a result, promoting the accuracy of input to meet the input demand of user in different applications.
Referring to FIG. 6, it illustrates an exemplary process diagrams according to the method for information input of the application.
For the input method of the operation in each step in above-described embodiment can be performed, the status bar of input method can be with
Button comprising that can show input pattern, user can click the button, and switch input pattern.
When user is inputted in the application using input method, the input scene being presently in and choosing can be first determined whether
Select input pattern.
When entering other input scenes, for example, by cursor from current reception input using after navigating to another application
When being inputted, it can be determined that other input scenes and previous input scene, such as the above-mentioned input scene being presently in is
No is same input pattern.
When other input scenes and previous input scene are same input pattern, the corresponding button of status bar input pattern
The corresponding text of text, that is, input pattern of upper display is constant, opens or closes other input scenes under the input pattern selected
Under function, i.e., it is enabled or close i expression mode, that candidate expression displayings, status bar displaying, news push, long sentence are associated etc. is pre-
If operation is to be adapted to other input scenes.When other input scenes and previous input scene are not same input patterns,
The text shown on the corresponding button of status bar input pattern changes and pops up prompt, prompts input pattern variation.Meanwhile it can be with
Open or close the function under other input scenes under other input patterns belonging to other scenes.
When user's manual switching input pattern, the text shown on the corresponding button of input pattern on status bar changes
And prompt is popped up, it prompts to switch to other input patterns by selected input pattern.It can first turn on or close and is selected defeated
Enter the function under other input scenes under mode or other input patterns.It is then possible to judge whether current input field scape belongs to
Under other input patterns.When current input field scape belongs to other input patterns, using right under other input patterns
The switch of scene is answered, that is, opens the function under other input patterns under the current input scene.When current input field scape does not belong to
When other input patterns, using the switch of other scenes under other input patterns, that is, open under other input patterns
Function under other input scenes.
It after user's manual switching input pattern, can be its after switching by the input pattern of user's manual configuration
He is recorded in local profile input pattern.
Referring to FIG. 7, as the realization to method shown in above-mentioned each figure, this application provides a kind of for information input
One embodiment of device, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to
In various electronic equipments.
As shown in fig. 7, the device 700 for information input of the present embodiment includes: type determining units 701, obtain single
Member 702, input unit 703.Wherein, type determining units 701 are configured to determine that the character for receiving user's input is corresponding
Candidate result application type;Acquiring unit 702 is configured to determine the corresponding input scene mark of the type of application, with
And obtain input scene and identify corresponding input control information, input control information is used to indicate corresponding in input scene mark
When being inputted under input scene, enabled or disabled predetermined registration operation is needed;Input unit 703 is configured to based on input control
Candidate result is input in application by information.
In some optional implementations of the present embodiment, type determining units include 701: mark obtains subelement
(not shown) is configured to obtain the identification information of application, and identification information includes: using process name at runtime, application
The window ID of window;Application type determines subelement (not shown), is configured to determine the class of application based on identification information
Type.
In some optional implementations of the present embodiment, device 700 further include: candidate result acquiring unit (is not shown
Out), it is configured to identify in corresponding scene lexicon from input scene and finds out candidate result.
In some optional implementations of the present embodiment, predetermined registration operation includes: candidate expression displaying, status bar exhibition
Show, the association of news push, long sentence.
In some optional implementations of the present embodiment, device 700 further include: input pattern determination unit (is not shown
Out), it is configured to identify the corresponding relationship with input pattern based on input scene, determines that input scene identifies corresponding input mould
Formula.
In some optional implementations of the present embodiment, device 700 further include: instruction receiving unit (not shown),
It is configured to receive the input pattern conversion instruction of user's input;Converting unit (not shown) is configured to turn input pattern
It is changed to other input patterns;Input control information acquisition unit (not shown) is configured to obtain corresponding to other input patterns
Input scene identify corresponding input control information;Control unit (not shown) is configured to make based on input control information
It can or close predetermined registration operation.
In some optional implementations of the present embodiment, device 700 further include: storage unit (not shown), configuration
For storing other input patterns, to input mould based on other are corresponded to when candidate result being input in application next time
The input scene of formula identifies corresponding input control information and is inputted.
In some optional implementations of the present embodiment, device 700 further include: configuration-direct receiving unit (does not show
Out), it is configured to receive the configuration-direct of user's input, configuration-direct includes: the operation mark of predetermined registration operation, operation mark pair
The predetermined registration operation that is used to indicate answered needs enabled or disabled instruction information;Input control information generating unit (not shown), matches
Setting for generating includes operation mark and the input control information being configured for indicating information, with next time that candidate result is defeated
When entering into application, based on the enabled or disabled predetermined registration operation of input control information being configured
Fig. 8 shows the knot for being suitable for the computer system for the device for information input for being used to realize the embodiment of the present application
Structure schematic diagram.
As shown in figure 8, computer system 800 includes central processing unit (CPU) 801, it can be read-only according to being stored in
Program in memory (ROM) 802 or be loaded into the program in random access storage device (RAM) 803 from storage section 808 and
Execute various movements appropriate and processing.In RAM803, also it is stored with system 800 and operates required various programs and data.
CPU801, ROM 802 and RAM 803 is connected with each other by bus 804.Input/output (I/O) interface 805 is also connected to always
Line 804.
I/O interface 805 is connected to lower component: the importation 806 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 807 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 808 including hard disk etc.;
And the communications portion 809 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net executes communication process.Driver 810 is also connected to I/O interface 805 as needed.Detachable media 811, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 810, in order to read from thereon
Computer program be mounted into storage section 808 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed from network by communications portion 809, and/or from removable
Medium 811 is unloaded to be mounted.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong
The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer
The combination of order is realized.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating
Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;It is also possible to
Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited
One or more program is contained, when one or more of programs are executed by an equipment, so that the equipment: determining
For receiving the type of the application of the corresponding candidate result of character of user's input;Determine the corresponding input of the type of the application
Scene identity, and obtain the input scene and identify corresponding input control information, the input control information is used to indicate
When being inputted under the input scene identifies corresponding input scene, enabled or disabled predetermined registration operation is needed;Based on defeated
Enter to control information, the candidate result is input in the application.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (12)
1. a kind of method for information input, which is characterized in that the described method includes:
Determine the type of the application of the corresponding candidate result of character for receiving user's input;
It determines the corresponding input scene mark of the type of the application, and obtains the input scene and identify corresponding input control
Information processed, the input control information are used to indicate when being inputted under the input scene identifies corresponding input scene,
Need enabled or disabled predetermined registration operation;
Based on input control information, the candidate result is input in the application;
The method also includes:
Based on the corresponding relationship of input scene mark and input pattern, determine that the input scene identifies corresponding input pattern;
Receive the input pattern conversion instruction of user's input;
The input pattern is converted into other input patterns;
Obtain the corresponding input control information of input scene mark for corresponding to other input patterns;
Based on the input control information, the predetermined registration operation is enabled or closed.
2. the method according to claim 1, wherein determining the corresponding candidate of character for receiving user's input
As a result the type of application includes:
The identification information of the application is obtained, the identification information includes: the process name applied at runtime, the application
Window window ID;
Based on the identification information, the type of application is determined.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
It is identified in corresponding scene lexicon from the input scene and finds out the candidate result.
4. according to the method described in claim 3, it is characterized in that, the predetermined registration operation includes: candidate expression displaying, status bar
Displaying, news push, long sentence association.
5. the method according to claim 1, wherein the method also includes:
Other described input patterns are stored, when the candidate result being input in the application next time, to be based on corresponding to
The corresponding input control information is identified in the input scene of other input patterns to be inputted.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The configuration-direct of user's input is received, the configuration-direct includes: the operation mark of the predetermined registration operation, operation mark
Know and corresponding be used to indicate the predetermined registration operation and need enabled or disabled instruction information;
The input control information being configured for generating comprising the operation mark and indicating information, next time by the candidate
When being as a result input in the application, based on the enabled or disabled predetermined registration operation of the input control information being configured.
7. a kind of device for information input, which is characterized in that described device includes:
Type determining units are configured to determine the class of the application of the corresponding candidate result of character for receiving user's input
Type;
Acquiring unit is configured to determine the corresponding input scene mark of the type of the application, and obtains the input field
Scape identifies corresponding input control information, and the input control information, which is used to indicate, identifies corresponding input in the input scene
When being inputted under scene, enabled or disabled predetermined registration operation is needed;
Input unit is configured to that the candidate result is input in the application based on input control information;
Described device further include:
Input pattern determination unit is configured to be identified the corresponding relationship with input pattern based on input scene, be determined described defeated
Enter the corresponding input pattern of scene identity;
Instruction receiving unit is configured to receive the input pattern conversion instruction of user's input;
Converting unit is configured to the input pattern being converted to other input patterns;
Input control information acquisition unit is configured to obtain the input scene mark correspondence for corresponding to other input patterns
The input control information;
Control unit is configured to enable or close the predetermined registration operation based on the input control information.
8. device according to claim 7, which is characterized in that type determining units include:
Mark obtains subelement, is configured to obtain the identification information of the application, the identification information includes: described applies
The window ID of the window of process name, the application when operation;
Application type determines subelement, is configured to determine the type of application based on the identification information.
9. device according to claim 8, which is characterized in that described device further include:
Candidate result acquiring unit is configured to find out the candidate from the corresponding scene lexicon of input scene mark
As a result.
10. device according to claim 9, which is characterized in that the predetermined registration operation includes: candidate expression displaying, state
Column displaying, news push, long sentence association.
11. device according to claim 7, which is characterized in that described device further include:
Storage unit is configured to store other described input patterns, described to be input to the candidate result next time
When in, carried out based on the corresponding input control information of input scene mark for corresponding to other input patterns defeated
Enter.
12. device according to claim 11, which is characterized in that described device further include:
Configuration-direct receiving unit is configured to receive the configuration-direct of user's input, and the configuration-direct includes: described default
The operation mark of operation, the operation mark be corresponding to be used to indicate the predetermined registration operation enabled or disabled instruction is needed to believe
Breath;
Input control information generating unit is configured to generate comprising the operation mark and indicate the input of information being configured
Information is controlled, with when the candidate result being input in the application next time, based on the input control being configured
The enabled or disabled predetermined registration operation of information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610548066.3A CN105929980B (en) | 2016-07-12 | 2016-07-12 | Method and apparatus for information input |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610548066.3A CN105929980B (en) | 2016-07-12 | 2016-07-12 | Method and apparatus for information input |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105929980A CN105929980A (en) | 2016-09-07 |
CN105929980B true CN105929980B (en) | 2019-06-28 |
Family
ID=56827207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610548066.3A Active CN105929980B (en) | 2016-07-12 | 2016-07-12 | Method and apparatus for information input |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105929980B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371625A (en) * | 2016-09-29 | 2017-02-01 | 北京小米移动软件有限公司 | Associated word display method and device |
CN107291703B (en) * | 2017-05-17 | 2021-06-08 | 百度在线网络技术(北京)有限公司 | Pronunciation method and device in translation service application |
CN108536480B (en) * | 2017-12-28 | 2021-05-28 | Oppo广东移动通信有限公司 | Input method configuration method and related product |
CN108227953B (en) * | 2017-12-28 | 2022-01-11 | Oppo广东移动通信有限公司 | Character input method and related product |
CN108037839B (en) * | 2017-12-28 | 2022-01-11 | Oppo广东移动通信有限公司 | Character input method and related product |
CN111736711A (en) * | 2020-05-22 | 2020-10-02 | 北京百度网讯科技有限公司 | Message input method, device, equipment and computer storage medium |
CN112000766A (en) * | 2020-07-15 | 2020-11-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
CN112801239B (en) * | 2021-01-28 | 2023-11-21 | 科大讯飞股份有限公司 | Input recognition method, input recognition device, electronic equipment and storage medium |
CN116025580B (en) * | 2022-05-16 | 2023-10-20 | 荣耀终端有限公司 | Method for adjusting rotation speed of fan and electronic equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101149757B (en) * | 2007-11-09 | 2010-12-08 | 腾讯科技(深圳)有限公司 | Method for accomplishing scene style word input |
CN101419531B (en) * | 2008-12-12 | 2011-10-05 | 腾讯科技(深圳)有限公司 | Character input method and device in computer |
CN102147665B (en) * | 2010-02-05 | 2014-04-23 | 北京搜狗科技发展有限公司 | Method and device for displaying information in input process and input method system |
CN102789317B (en) * | 2011-05-20 | 2016-05-25 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus of accelerating text input |
CN102830924B (en) * | 2012-08-08 | 2015-08-12 | 小米科技有限责任公司 | A kind of method and device adjusting entering method keyboard |
CN104765526A (en) * | 2015-03-18 | 2015-07-08 | 百度在线网络技术(北京)有限公司 | Method and device for filtering candidate entries |
-
2016
- 2016-07-12 CN CN201610548066.3A patent/CN105929980B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105929980A (en) | 2016-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105929980B (en) | Method and apparatus for information input | |
CN106372059B (en) | Data inputting method and device | |
US11487503B2 (en) | Interactive control method and device for voice and video communications | |
US10846475B2 (en) | Emoji input method and device thereof | |
CN106020504B (en) | Information output method and device | |
CN105786207B (en) | Data inputting method and device | |
CN108804158A (en) | Application call method, the control method of terminal device, terminal device and computer readable storage medium | |
CN110471733A (en) | Information processing method and device | |
CN107203372A (en) | Control shows method and device | |
CN109862100A (en) | Method and apparatus for pushed information | |
CN113378583A (en) | Dialogue reply method and device, dialogue model training method and device, and storage medium | |
CN106201010B (en) | Method for adding word bank and device | |
CN109271083B (en) | Data processing method and device, computing equipment and storage medium | |
CN110970011A (en) | Picture processing method, device and equipment and computer readable storage medium | |
CN114244896A (en) | Message pushing method and device, electronic equipment and storage medium | |
CN109068010A (en) | voice content recording method and device | |
CN110347454A (en) | Application program theme setting method, terminal equipment control method and device, terminal device and computer readable storage medium | |
CN108984260B (en) | Method and apparatus for handling information | |
CN109683726B (en) | Character input method, character input device, electronic equipment and storage medium | |
CN109408647A (en) | Method and apparatus for handling information | |
CN115291759A (en) | Information processing method and device and electronic equipment | |
CN115061580A (en) | Input method, input device, electronic equipment and readable storage medium | |
CN114579700A (en) | Text data processing method and device, electronic equipment and storage medium | |
CN107544685A (en) | Information-pushing method and device | |
CN113055529A (en) | Recording control method and recording control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |