CN105929980A - Method and device for inputting information - Google Patents

Method and device for inputting information Download PDF

Info

Publication number
CN105929980A
CN105929980A CN201610548066.3A CN201610548066A CN105929980A CN 105929980 A CN105929980 A CN 105929980A CN 201610548066 A CN201610548066 A CN 201610548066A CN 105929980 A CN105929980 A CN 105929980A
Authority
CN
China
Prior art keywords
input
application
scene
information
control information
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.)
Granted
Application number
CN201610548066.3A
Other languages
Chinese (zh)
Other versions
CN105929980B (en
Inventor
潘梓清
谭凤影
符气康
林道正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610548066.3A priority Critical patent/CN105929980B/en
Publication of CN105929980A publication Critical patent/CN105929980A/en
Application granted granted Critical
Publication of CN105929980B publication Critical patent/CN105929980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for inputting information. One specific embodiment of the method comprises the following steps: determining a type of an application for receiving a candidate result corresponding to a character input by a user; determining an input scene identifier corresponding the type of the application, and acquiring input control information corresponding to the input scene identifier, wherein the input control information is used for indicating preset operation needing enabling or disabling during inputting under an input scene corresponding to the input scene identifier; inputting the candidate result into the application based on the input control information. On one hand, the input scene is identified, and a function is automatically enabled or disabled to input under the input scene, so that greater convenience is brought to an input method. On the other hand, words suitable for a current input scene are acquired to serve as the candidate result, so that the input demands of a user in different applications is met, and the input accuracy is increased.

Description

Method and apparatus for information input
Technical field
The application relates to computer realm, is specifically related to input method field, particularly for letter The method and apparatus of breath input.
Background technology
During user uses application, when needs input information in the application, the most logical Cross input method to complete.Input method receives the character of user's input, finds out the time corresponding with character Selection word or word, input user thesaurus or the input method of the more word of the frequency from record user System dictionary in find out the candidate character corresponding with character or word, the time that user is chosen Selection word or word input.
But, when using aforesaid way to input, on the one hand, cannot determine in the application During input information, the function of the input method that should open and close, and then the merit such as opened occurs The slack problem of input can be caused.When user needs the opening and closing configuring each function, Need to configure manually, cause the loaded down with trivial details of operation.On the other hand, it is impossible to meet all As different input scenes needs to input the demand of different types of word.
Summary of the invention
This application provides the method and apparatus for information input, be used for solving above-mentioned background skill The technical problem that art part exists.
First aspect, this application provides the method for information input, and the method includes: really The type of the application of the fixed candidate result corresponding for the character receiving user's input;Determine application Input scene identity corresponding to type, and the input obtaining input scene identity corresponding controls Information, input control information is carried out under the input scene that input scene identity is corresponding for instruction During input, need to enable or the predetermined registration operation of disabling;Based on input control information, candidate is tied Fruit is input in application.
Second aspect, this application provides the device for information input, and this device includes: class Type determines unit, is configured to determine the candidate result that the character for receiving user's input is corresponding The type of application;Acquiring unit, is configured to determine the input scene that the type of application is corresponding Mark, and obtain the input control information that input scene identity is corresponding, input control information is used When instruction inputs under inputting the input scene that scene identity is corresponding, need to enable or prohibit Predetermined registration operation;Input block, is configured to based on input control information, by candidate result It is input in application.
The method and apparatus for information input that the application provides, is determined by for receiving use The type of the application of the candidate result corresponding to character of family input;Determine that the type of application is corresponding Input scene identity, and obtain the input control information that input scene identity is corresponding, input control Information processed, when instruction inputs under inputting the input scene that scene identity is corresponding, needs Enable or the predetermined registration operation of disabling;Based on input control information, candidate result is input to application In.On the one hand, input scene is identified automatically, automatically turn on or closing function is to be suitable for In inputting under input scene, promote the convenience of input method.On the other hand, acquisition is suitable For being currently entered the word of scene as candidate result, thus meet user in different application In input demand, promote input accuracy.
Accompanying drawing explanation
By reading retouching in detail with reference to made non-limiting example is made of the following drawings Stating, other features, purpose and advantage will become more apparent upon:
Fig. 1 is the embodiment of the method or apparatus for information input that can apply to the application Exemplary system architecture figure;
Fig. 2 shows the stream of an embodiment of the method for information input according to the application Cheng Tu;
Fig. 3 shows another embodiment of the method for information input according to the application Flow chart;
Fig. 4 shows that an effect of the corresponding relation of application, input scene, input pattern is shown It is intended to;
Fig. 5 A shows an effect schematic diagram of display input pattern;
Fig. 5 B shows another effect schematic diagram of display input pattern;
Fig. 6 shows an exemplary flow of the method for information input according to the application Figure;
Fig. 7 shows the knot of an embodiment of the device for information input according to the application Structure schematic diagram;
Fig. 8 is adapted for the calculating of the device for information input for realizing the embodiment of the present application The structural representation of machine system.
Detailed description of the invention
With embodiment, the application is described in further detail below in conjunction with the accompanying drawings.It is appreciated that , specific embodiment described herein is used only for explaining related invention, rather than to this Bright restriction.It also should be noted that, for the ease of describe, accompanying drawing illustrate only with About the part that invention is relevant.
It should be noted that in the case of not conflicting, the embodiment in the application and embodiment In feature can be mutually combined.Describe this below with reference to the accompanying drawings and in conjunction with the embodiments in detail Application.
Fig. 1 shows the reality of the method or apparatus for information input that can apply to the application Execute the exemplary system architecture 100 of example.
As it is shown in figure 1, system architecture 100 can include terminal unit 101,102,103, Network 104 and server 105.Network 104 is in order at terminal unit 101,102,103 and The medium of transmission link is provided between server 105.Network 104 can include various connection class Type, the most wired, wireless transmission link or fiber optic cables etc..
User can use terminal unit 101,102,103 by network 104 and server 105 Alternately, to receive or to send message etc..Can be provided with on terminal unit 101,102,103 Various communication applications, such as, input method class application, browser class application, searching class application, Word processing class application etc..
Terminal unit 101,102,103 can have display screen and support network service Various electronic equipments, include but not limited to smart mobile phone, panel computer, E-book reader, (Moving Picture Experts Group Audio Layer III, dynamic image is special for MP3 player Family compression standard audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio frequency aspect 4) player, portable meter on knee Calculation machine and desk computer etc..
Server 105 can prestore the scene lexicon being applicable to different input scenes, when When terminal utilizes the application of input method class to carry out input information, scene can be currently entered by being applicable to Scene lexicon be pushed to terminal unit 101,102,103.
It should be understood that the number of terminal unit, network and the server in Fig. 1 is only signal Property.According to realizing needs, can have any number of terminal unit, network and server.
Refer to Fig. 2, it illustrates of the method for information input according to the application The flow process 200 of embodiment.It should be noted that the embodiment of the present application provided for information The method of input can be performed by the terminal unit 101,102,103 in Fig. 1, correspondingly, Device for information input can be arranged in terminal unit 101,102,103.The method Comprise the following steps:
Step 201, determines the application of the candidate result that the character for receiving user's input is corresponding Type.
In the present embodiment, when needs enter information in application, can be first by cursor It is positioned in the input area of application, receives the character of user's input.Then, character is found out Corresponding candidate result, is input to candidate result in application.The character of user's input can be with structure Become phonetic, can also be and the character carrying out in advance binding to be input to the information in application.Example As, user inputs a character, presents emoticon as candidate result.
In the present embodiment, for the difference of the type according to application, different input fields is determined Scape controls to enter information into the process of application, can first determine for receiving user's input The type of application of candidate result corresponding to character.
Step 202, determines the input scene identity that the type of application is corresponding, and obtains input The input control information that scene identity is corresponding.
In the present embodiment, can be corresponding with input scene by the type of application in advance.Such as, Email type in the type of application is corresponding with office scene.The most such as, by the class of application Instant messaging type in type is corresponding with chat scenario.Correspondingly, the type of application can be pre- The input scene identity of the most corresponding input scene.
In the present embodiment, the character pair for receiving user's input is being determined by step 201 After the type of the application of the candidate result answered, can determine current according to the type of application The input scene identity that input scene is corresponding.Such as, when user inputs in mail, Then can determine that current input scene is for office according to the type i.e. mail applications type of application Scene, input scene is designated the mark of office scene.The most such as, user should in instant messaging Use when inputting, then may determine that current input scene is chat scenario, input scene It is designated the mark of chat scenario.
In the present embodiment, after the input scene identity that the type determining application is corresponding, can Information is controlled with the further input obtaining input scene identity corresponding.In the present embodiment, defeated Enter control information when instruction inputs under inputting input scene corresponding to scene identity, Need to enable or the predetermined registration operation of disabling.
With the type of application for game application, game applies corresponding input scene to be scene of game As a example by, above-mentioned predetermined registration operation can be user when inputting character i, ejects and comprises emoticon Interface.When inputting character i under user is at scene of game, this predetermined registration operation, bullet can be performed Going out to comprise the interface of emoticon, now, the card causing game application to run pauses.Therefore, pin To this scene of game, when can input under scene of game, disable this predetermined registration operation.? The input control information that the input scene identity of scene of game is corresponding comprises the mark of this predetermined registration operation Know and instruction disables this predetermined registration operation instruction information.
In the present embodiment, can in advance difference be inputted input scene identity and the input of scene Control information correspondence stores.Thus, input scene identity corresponding to the type determining application it After, the input that can obtain input scene identity further corresponding controls information.
Step 203, based on input control information, is input to candidate result in application.
In the present embodiment, in the input scene that the type being determined application by step 202 is corresponding Mark, and after obtaining input input control information corresponding to scene identity, can be according to defeated Enter input corresponding to scene identity and control information, determine and need to enable or the predetermined registration operation of disabling, Thus control input process candidate result being input in application.
As a example by user inputs, in game application, the candidate result that character is corresponding, game application is right The input scene answered is scene of game.The input of scene of game mark correspondence controls information and can wrap Containing user at input character, such as during character i, ejection comprises presetting of the interface of emoticon The mark of operation and instruction disable the instruction information of this predetermined registration operation.Letter can be controlled according to input The mark of the predetermined registration operation in breath and instruction information, determine under current game scene, and disabling should Predetermined registration operation.Thus, under user is at scene of game, input character, such as during character i, no The interface comprising emoticon can be ejected, do not interfere with the speed of service of game application.
Refer to Fig. 3, it illustrates the method for information input according to the application another The flow process 300 of individual embodiment.It should be noted that the embodiment of the present application provided for believing The method of breath input can be performed by the terminal unit 101,102,103 in Fig. 1.The method Comprise the following steps:
Step 301, determines the application of the candidate result that the character for receiving user's input is corresponding Type.
In the present embodiment, in the present embodiment, for the difference of the type according to application, really Fixed different input scene controls to enter information into the process of application, can first determine use Type in the application of candidate result corresponding to character receiving user's input.
In the present embodiment, the type of application can be determined in the following ways: can first obtain Take the identification information of application.The identification information of application can include but not limited to: applies and is running Time process name, the window ID of window of application.Such as, the identification information of board application May include that the mark of the window of board process name operationally and board.Then, Can based on application process name operationally, the identification information such as window ID of the window of application, Determine the type of application.
Step 302, determines the input scene identity that the type of application is corresponding, and obtains input The input control information that scene identity is corresponding.
In the present embodiment, can be corresponding with input scene by the type of application in advance.Such as, Email type in the type of application is corresponding with office scene.The most such as, by the class of application Instant messaging type in type is corresponding with chat scenario.Correspondingly, the type of application can be pre- The most corresponding scene identity.
In the present embodiment, after the input scene identity that the type determining application is corresponding, can Information is controlled with the further input obtaining input scene identity corresponding.In the present embodiment, may be used In advance difference is inputted the input scene identity of scene and indicates in default input scene identity pair When inputting under the input scene answered, the input of the predetermined registration operation enabling or disabling is needed to control Information correspondence stores.Thus, after the input scene identity that the type determining application is corresponding, The input that can obtain input scene identity further corresponding controls information.
In the present embodiment, input scene pair can be pre-configured with for different input scenes Answer scene lexicon.It is thus possible to obtain user's input from input scene corresponding fields scape dictionary The candidate result that character is corresponding.With user belong to office scene in mail applications in input with As a example by the content that labour and capital problem is associated, as input Pinyin " lao zi ", due at head screen Candidate result comprises colloquial words such as " we ", causes user greatly may mistake to select Take this word and carry out inputting i.e. upper this word of screen.
In the present embodiment, can be for office scene, the scene word that configuration office scene is corresponding Storehouse.In this scene lexicon, colloquial word can be removed.Such that it is able in input process In, the scene lexicon corresponding from office scene finds out candidate result, it is to avoid colloquial word The problem that the user occurring in first screen and cause chooses word mistake.
Step 303, based on input control information, is input to candidate result in application.
In the present embodiment, in the input scene that the type being determined application by step 302 is corresponding Mark, and obtain the input control information that input scene identity is corresponding, can be according to input field The input control information that scape mark is corresponding, needs to enable or the predetermined registration operation of disabling, thus controls Candidate result is input to the input process in application.
In the present embodiment, in input scene, need to enable or disable predetermined registration operation can include But be not limited to: i expression pattern, candidate express one's feelings displayings, status bar show, news propelling movement, long sentence Association.Can enable or close i expression pattern, candidate express one's feelings exhibition according to input control information Show, status bar displaying, news propelling movement, the predetermined registration operation such as long sentence association.Such as, input field is worked as When scape is designated input scene identity corresponding to scene of game, then the input scene mark of scene of game Know corresponding input to control information and then may indicate that express one's feelings displayings, news propelling movement etc. of disabling candidate is grasped Make.Thus, when inputting under scene of game, candidate will not be opened and express one's feelings displaying, news The functions such as propelling movement, do not interfere with the speed of service of game application.
Step 304, determines the input pattern that input scene identity is corresponding.
In the present embodiment, based on input scene identity and the corresponding relation of input pattern, determine The input pattern that input scene identity is corresponding.
In the present embodiment, input pattern can be pre-set, input pattern can include but not It is limited to: life pattern, mode of operation.One input scene can correspond to an input pattern, The corresponding relation of input scene identity and input pattern can be set up.Owing to various application can be right Should in different application scenarios, it is thus possible to set up application, input scene, input pattern it Between corresponding relation.
For example, it is possible to the email type in the type of application is corresponding with office scene, office Scene belongs to mode of operation.Again for example, it is possible to will application type in instant messaging type with Chat scenario is corresponding, and chat scenario belongs to life pattern.
Refer to Fig. 4, it illustrates the corresponding relation of application, input scene, input pattern One effect schematic diagram.
In fig. 4 it is shown that for identifying the application of application process title operationally, defeated Enter scene, input pattern.In the application corresponding for process title, identify input scene it After, it may be determined that input pattern, open the functional switch under input pattern, i.e. enable input pattern The predetermined registration operation that lower input scene is corresponding.
In the present embodiment, during input information, input pattern can be changed by user. Such as, provide a user with the button for switching the input pattern such as life pattern, mode of operation, User can click on, and switches the input pattern such as life pattern, mode of operation.
In the present embodiment, after receiving the input pattern conversion instruction of user's input, can Input pattern to be converted to other input patterns.Meanwhile, other input patterns can be got Input corresponding to input scene identity control information.Information can be controlled based on this input, make Or predetermined registration operation can be closed.
Such as, the input scene of instant messaging application is chat scenario, and current input mode is made a living The pattern of living.When user's expectation utilizes instant messaging application to carry out business communication, can will live Patten transformation is mode of operation.At this point it is possible to obtain the input field corresponding to the input pattern that works Scape identifies, and the input that such as mark of office scene is corresponding controls information.It is then possible to based on This input controls information, enables or closes i expression pattern, candidate and express one's feelings displaying, status bar exhibition Show, news propelling movement, the predetermined registration operation such as long sentence association.
In the present embodiment, after current input mode is switched to other input patterns, can To store other input patterns, thus, when upper once candidate result being input in application, Information can be controlled based on input corresponding to other input patterns, enable or close i expression pattern, Candidate expresses one's feelings the predetermined registration operation such as displaying, status bar displaying, news propelling movement, long sentence association, controls The process of information input.
In the present embodiment, can be configured by user input pattern needs enable and close pre- If operation.For example, it is possible to provide a user with configuration interface.Receive the configuration-direct of user's input, Configuration-direct includes: the operation mark of predetermined registration operation, what operation mark was corresponding be used for indicate default Operation needs to enable or the instruction information of disabling.Comprise operation mark it is then possible to generate and refer to Show that the input being configured of information controls information.Thus, once candidate result is input to upper Time in application, can enable or close i expression based on through user configured input control information Pattern, candidate express one's feelings the predetermined registration operation such as displaying, status bar displaying, news propelling movement, long sentence association.
Refer to Fig. 5 A, it illustrates an effect schematic diagram of display input pattern.
In fig. 5, it is shown that for the display of display with the title inputting the function being associated Button 5011 on control 501, display control 501.The currently displaying content of button 5011 is Represent the icon of life pattern.User can be by clicking on button 5011, by input pattern from life The pattern of living switches to mode of operation.
Refer to Fig. 5 B, it illustrates another effect schematic diagram of display input pattern.
In figure 5b, it is shown that for the display of display with the title inputting the function being associated Control 502, the button 5021 on display control 502.The currently displaying content of button 5021 is Represent the icon of mode of operation.User can be by clicking on button 5021, by input pattern from work Operation mode switches to life pattern.
In the present embodiment, each input pattern can be each to there being multiple input scene Individual input scene can to should have scene lexicon and instruction input scene in input time, be used for Instruction needs to enable or close i expression pattern, candidate expresses one's feelings displaying, status bar is shown, news The input of the predetermined registration operation such as propelling movement, long sentence association controls information
In this application, can be by the operation in each step in above-described embodiment and existing skill Information input mode in art combines, and can be identified input scene such that it is able to constitute With the input method that input pattern is switched over.When utilizing this input method to input, permissible Input scene is identified automatically, automatically turns on or closing function is to be applicable in input scene Under input, promote input method convenience.Obtain and be applicable to be currently entered the word of scene As candidate result, thus meet user's input demand in different applications, promote input Accuracy.
Refer to Fig. 6, it illustrates of the method for information input according to the application Exemplary process diagram.
As a example by the input method that can perform the operation in each step in above-described embodiment, input The status bar of method can comprise the button that can show input pattern, and user can click on, Switching input pattern.
When user utilizes input method to input in the application, can first determine whether to be presently in Input scene and select input pattern.
When entering other input scenes, such as, cursor is fixed from the application of current reception input Position is to when inputting after Another Application, it can be determined that these other input scene and previous input field Scape, whether the most above-mentioned input scene being presently in is same input pattern.
When other input scenes are same input pattern with previous input scene, status bar inputs The word that on the button that pattern is corresponding, the word i.e. input pattern of display is corresponding is constant, opens or closes Close the function under other input scenes under the input pattern selected, i.e. enable or close i expression Pattern, candidate express one's feelings the predetermined registration operation such as displaying, status bar displaying, news propelling movement, long sentence association Be adapted to these other input scene.It not same when other input scenes with previous input scene During input pattern, on the button that status bar input pattern is corresponding, the word of display changes and ejects and carries Show, prompting input pattern change.Meanwhile, can be turned on and off belonging to these other scenes its Under his input pattern these other input scene under function.
When user's manual switching input pattern, on the button that input pattern on status bar is corresponding The word of display changes and ejects prompting, points out and is switched to other inputs by the input pattern selected Pattern.Can first turn on or close under selected input pattern or other input patterns other Function under input scene.It is then possible to judge be currently entered scene whether belong to these other defeated Enter under pattern.When being currently entered scene and belonging to these other input patterns, use these other input The switch of corresponding scene under pattern, i.e. opens under these other input patterns under this current input field scape Function.When being currently entered scene and being not belonging to these other input patterns, use these other input The switch of other scenes under pattern, i.e. opens under these other input patterns under other input scenes Function.
After user's manual switching input pattern, can be by the input mould of user's manual configuration Other input patterns after formula i.e. switches recorded in local profile.
Refer to Fig. 7, as to the realization of method shown in above-mentioned each figure, this application provides one Plant an embodiment of the device inputted for information, this device embodiment and the side shown in Fig. 2 Method embodiment is corresponding, and this device specifically can apply in various electronic equipment.
As it is shown in fig. 7, the device 700 for information input of the present embodiment includes: type is true Cell 701, acquiring unit 702, input block 703.Wherein, type determining units 701 It is configured to the class of the application of the candidate result determining that the character for receiving user's input is corresponding Type;Acquiring unit 702 is configured to determine the input scene identity that the type of application is corresponding, with And the input obtaining input scene identity corresponding controls information, input control information and exist for instruction When inputting under the input scene that input scene identity is corresponding, need enable or disable to preset Operation;Input block 703 is configured to, based on input control information, candidate result be input to In application.
In some optional implementations of the present embodiment, type determining units includes 701: Mark obtains subelement (not shown), is configured to obtain the identification information of application, identification information Including: apply the window ID of the window of process name operationally, application;Application type is true Stator unit (not shown), is configured to, based on identification information, determine the type of application.
In some optional implementations of the present embodiment, device 700 also includes: Hou Xuanjie Really acquiring unit (not shown), is configured to look into from the scene lexicon that input scene identity is corresponding Find out candidate result.
In some optional implementations of the present embodiment, predetermined registration operation includes: candidate expresses one's feelings Show, status bar is shown, news pushes, long sentence association.
In some optional implementations of the present embodiment, device 700 also includes: input mould Formula determines unit (not shown), is configured to based on input scene identity corresponding with input pattern Relation, determines the input pattern that input scene identity is corresponding.
In some optional implementations of the present embodiment, device 700 also includes: instruction connects Receive unit (not shown), be configured to receive the input pattern conversion instruction of user's input;Conversion Unit (not shown), is configured to be converted to input pattern other input patterns;Input controls Information acquisition unit (not shown), is configured to obtain the input field corresponding to other input patterns The input control information that scape mark is corresponding;Control unit (not shown), is configured to based on input Control information, enables or closes predetermined registration operation.
In some optional implementations of the present embodiment, device 700 also includes: storage is single Unit's (not shown), is configured to store other input patterns, with upper once that candidate result is defeated When entering in application, based on the input that the input scene identity corresponding to other input patterns is corresponding Control information inputs.
In some optional implementations of the present embodiment, device 700 also includes: configuration refers to Order receives unit (not shown), is configured to receive the configuration-direct of user's input, configuration-direct Including: what the operation mark of predetermined registration operation, operation mark were corresponding is used for indicating predetermined registration operation needs Enable or the instruction information of disabling;Input controls information generating unit (not shown), is configured to Generate comprise operation mark and instruction information the input being configured control information, with upper once When candidate result being input in application, control information based on the input being configured and enable or disabling Predetermined registration operation
Fig. 8 shows the device for information input be suitable to for realizing the embodiment of the present application The structural representation of computer system.
As shown in Figure 8, computer system 800 includes CPU (CPU) 801, its Can be according to the program being stored in read only memory (ROM) 802 or from storage part 808 It is loaded into the program in random access storage device (RAM) 803 and performs various suitable action And process.In RAM803, also storage has system 800 to operate required various program sums According to.CPU801, ROM 802 and RAM 803 is connected with each other by bus 804.Input / output (I/O) interface 805 is also connected to bus 804.
It is connected to I/O interface 805: include the importation 806 of keyboard, mouse etc. with lower component; Including such as cathode ray tube (CRT), liquid crystal display (LCD) etc. and speaker etc. Output part 807;Storage part 808 including hard disk etc.;And include such as LAN card, The communications portion 809 of the NIC of modem etc..Communications portion 709 is via such as The network of the Internet performs communication process.Driver 810 is connected to I/O interface also according to needs 805.Detachable media 811, such as disk, CD, magneto-optic disk, semiconductor memory etc., Be arranged on as required in driver 810, in order to the computer program read from it according to Needs are mounted into storage part 808.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart is permissible It is implemented as computer software programs.Such as, embodiment of the disclosure and include a kind of computer journey Sequence product, it includes the computer program being tangibly embodied on machine readable media, described meter Calculation machine program comprises the program code for performing the method shown in flow chart.In such enforcement In example, this computer program can be downloaded and installed from network by communications portion 809, And/or be mounted from detachable media 811.
Flow chart in accompanying drawing and block diagram, it is illustrated that according to the various embodiment of the application system, Architectural framework in the cards, function and the operation of method and computer program product.This point On, each square frame in flow chart or block diagram can represent a module, program segment or code A part, a part for described module, program segment or code comprise one or more for Realize the executable instruction of the logic function of regulation.It should also be noted that at some as replacement In realization, the function marked in square frame can also be sent out to be different from the order marked in accompanying drawing Raw.Such as, two square frames succeedingly represented can essentially perform substantially in parallel, they Sometimes can also perform in the opposite order, this is depending on involved function.It is also noted that It is, the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chart Combination, can realize by the special hardware based system of the function or operation that perform regulation, Or can realize with the combination of specialized hardware with computer instruction.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, This nonvolatile computer storage media can be described in above-described embodiment included in device Nonvolatile computer storage media;Can also be individualism, be unkitted allocate in terminal non- Volatile computer storage medium.Above-mentioned nonvolatile computer storage media storage have one or The multiple program of person, when one or more program is performed by an equipment so that described Equipment: determine the type of the application of the candidate result that the character for receiving user's input is corresponding; Determine the input scene identity that the type of described application is corresponding, and obtain described input scene mark Knowing corresponding input and control information, described input controls information for instruction in described input scene When inputting under the input scene that mark is corresponding, need to enable or the predetermined registration operation of disabling;Base In input control information, described candidate result is input in described application.
Above description is only the preferred embodiment of the application and saying institute's application technology principle Bright.It will be appreciated by those skilled in the art that invention scope involved in the application, do not limit In the technical scheme of the particular combination of above-mentioned technical characteristic, also should contain simultaneously without departing from In the case of described inventive concept, above-mentioned technical characteristic or its equivalent feature carry out combination in any And other technical scheme formed.Such as features described above and (but not limited to) disclosed herein The technical characteristic with similar functions is replaced mutually and the technical scheme that formed.

Claims (16)

1. the method for information input, it is characterised in that described method includes:
Determine the type of the application of the candidate result that the character for receiving user's input is corresponding;
Determine the input scene identity that the type of described application is corresponding, and obtain described input field The input control information that scape mark is corresponding, described input controls information for instruction in described input When inputting under the input scene that scene identity is corresponding, need to enable or the predetermined registration operation of disabling;
Based on input control information, described candidate result is input in described application.
Method the most according to claim 1, it is characterised in that determine for receiving user The type of the application of the candidate result corresponding to character of input includes:
Obtaining the identification information of described application, described identification information includes: described application is being run Time process name, the window ID of window of described application;
Based on described identification information, determine the type of application.
Method the most according to claim 2, it is characterised in that described method also includes:
Described candidate result is found out from the scene lexicon that described input scene identity is corresponding.
Method the most according to claim 3, it is characterised in that described predetermined registration operation includes: Candidate express one's feelings displaying, status bar show, news push, long sentence association.
5. according to the method one of claim 1-4 Suo Shu, it is characterised in that described method is also Including:
Based on input scene identity and the corresponding relation of input pattern, determine described input scene mark Know corresponding input pattern.
Method the most according to claim 5, it is characterised in that described method also includes:
Receive the input pattern conversion instruction of user's input;
Described input pattern is converted to other input patterns;
Obtain the described input control that the input scene identity corresponding to other input patterns described is corresponding Information processed;
Based on described input control information, enable or close described predetermined registration operation.
Method the most according to claim 6, it is characterised in that described method also includes:
Storage other input patterns described, with upper once described candidate result is input to described Time in application, based on corresponding to the input scene identity of other input patterns described corresponding described in Input control information inputs.
Method the most according to claim 7, it is characterised in that described method also includes:
Receiving the configuration-direct of user's input, described configuration-direct includes: described predetermined registration operation What operation mark, described operation mark were corresponding is used for indicating described predetermined registration operation to need to enable or prohibit Instruction information;
Generate the input being configured comprising described operation mark and instruction information and control information, with Upper once described candidate result is input in described application time, based on described be configured defeated Enter control information enable or disable described predetermined registration operation.
9. the device for information input, it is characterised in that described device includes:
Type determining units, is configured to determine the time that the character for receiving user's input is corresponding Select the type of the application of result;
Acquiring unit, is configured to determine the input scene identity that the type of described application is corresponding, And obtaining the input control information that described input scene identity is corresponding, described input controls information When instruction inputs under the input scene that described input scene identity is corresponding, need to make The predetermined registration operation that can or disable;
Input block, is configured to, based on input control information, described candidate result be input to In described application.
Device the most according to claim 9, it is characterised in that type determining units bag Include:
Mark obtains subelement, is configured to obtain the identification information of described application, described mark Information includes: described application process name operationally, the window ID of window of described application;
Application type determines subelement, is configured to, based on described identification information, determine application Type.
11. devices according to claim 10, it is characterised in that described device also includes:
Candidate result acquiring unit, is configured to from scene word corresponding to described input scene identity Storehouse finds out described candidate result.
12. devices according to claim 11, it is characterised in that described predetermined registration operation bag Include: candidate express one's feelings displaying, status bar show, news push, long sentence association.
13. devices according to claim 12, it is characterised in that described device also wraps Include:
Input pattern determines unit, and it is based on input scene identity and input pattern right to be configured to Should be related to, determine the input pattern that described input scene identity is corresponding.
14. devices according to claim 13, it is characterised in that described device also includes:
Instruction reception unit, is configured to receive the input pattern conversion instruction of user's input;
Converting unit, is configured to described input pattern is converted to other input patterns;
Input controls information acquisition unit, is configured to obtain corresponding to other input patterns described Described input control information corresponding to input scene identity;
Control unit, is configured to, based on described input control information, enable or close described pre- If operation.
15. devices according to claim 14, it is characterised in that described device also includes:
Memory element, is configured to storage other input patterns described, with upper once by described When candidate result is input in described application, based on the input corresponding to other input patterns described Described input control information corresponding to scene identity inputs.
16. devices according to claim 15, it is characterised in that described device also includes:
Configuration-direct receive unit, be configured to receive user input configuration-direct, described in join Put instruction to include: what the operation mark of described predetermined registration operation, described operation mark were corresponding is used for referring to Show that described predetermined registration operation needs enable or the instruction information of disabling;
Input controls information generating unit, is configured to generation and comprises described operation mark and instruction The input being configured of information controls information, once described candidate result is input to institute upper When stating in application, control information based on the described input being configured and enable or disable described default behaviour Make.
CN201610548066.3A 2016-07-12 2016-07-12 Method and apparatus for information input Active CN105929980B (en)

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 true CN105929980A (en) 2016-09-07
CN105929980B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371625A (en) * 2016-09-29 2017-02-01 北京小米移动软件有限公司 Associated word display method and device
CN107291703A (en) * 2017-05-17 2017-10-24 百度在线网络技术(北京)有限公司 Manner of articulation and device in translation service application
CN108037839A (en) * 2017-12-28 2018-05-15 广东欧珀移动通信有限公司 Character input method and related product
CN108227953A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Character input method and related product
CN108536480A (en) * 2017-12-28 2018-09-14 广东欧珀移动通信有限公司 Input method configuration 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
CN112801239A (en) * 2021-01-28 2021-05-14 科大讯飞股份有限公司 Input recognition method and device, electronic equipment and storage medium
CN116025580A (en) * 2022-05-16 2023-04-28 荣耀终端有限公司 Method for adjusting rotation speed of fan and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149757A (en) * 2007-11-09 2008-03-26 腾讯科技(深圳)有限公司 Method for accomplishing scene style word input
CN101419531A (en) * 2008-12-12 2009-04-29 腾讯科技(深圳)有限公司 Character input method and device in computer
CN102147665A (en) * 2010-02-05 2011-08-10 北京搜狗科技发展有限公司 Method and device for displaying information in input process and input method system
CN102789317A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Method and device for accelerating text input
CN102830924A (en) * 2012-08-08 2012-12-19 北京小米科技有限责任公司 Method and device for adjusting input method keyboards
CN104765526A (en) * 2015-03-18 2015-07-08 百度在线网络技术(北京)有限公司 Method and device for filtering candidate entries

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149757A (en) * 2007-11-09 2008-03-26 腾讯科技(深圳)有限公司 Method for accomplishing scene style word input
CN101419531A (en) * 2008-12-12 2009-04-29 腾讯科技(深圳)有限公司 Character input method and device in computer
CN102147665A (en) * 2010-02-05 2011-08-10 北京搜狗科技发展有限公司 Method and device for displaying information in input process and input method system
CN102789317A (en) * 2011-05-20 2012-11-21 腾讯科技(深圳)有限公司 Method and device for accelerating text input
CN102830924A (en) * 2012-08-08 2012-12-19 北京小米科技有限责任公司 Method and device for adjusting input method keyboards
CN104765526A (en) * 2015-03-18 2015-07-08 百度在线网络技术(北京)有限公司 Method and device for filtering candidate entries

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371625A (en) * 2016-09-29 2017-02-01 北京小米移动软件有限公司 Associated word display method and device
CN107291703A (en) * 2017-05-17 2017-10-24 百度在线网络技术(北京)有限公司 Manner of articulation and device in translation service application
CN107291703B (en) * 2017-05-17 2021-06-08 百度在线网络技术(北京)有限公司 Pronunciation method and device in translation service application
CN108227953A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Character input method and related product
CN108536480A (en) * 2017-12-28 2018-09-14 广东欧珀移动通信有限公司 Input method configuration method and related product
WO2019128782A1 (en) * 2017-12-28 2019-07-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for configuring input method and terminal device
CN108037839A (en) * 2017-12-28 2018-05-15 广东欧珀移动通信有限公司 Character input 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
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
CN116025580A (en) * 2022-05-16 2023-04-28 荣耀终端有限公司 Method for adjusting rotation speed of fan and electronic equipment
CN116025580B (en) * 2022-05-16 2023-10-20 荣耀终端有限公司 Method for adjusting rotation speed of fan and electronic equipment

Also Published As

Publication number Publication date
CN105929980B (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN105929980A (en) Method and device for inputting information
CN105933783B (en) A kind of playback method of barrage, device and terminal device
JP2018036621A (en) Information input method and device
CN109274999A (en) A kind of video playing control method, device, equipment and medium
CN104102409A (en) Scenario adaptation device and method for user interface
CN104540108B (en) According to the method and device of user's dialing numbers recommendation information
CN106792250A (en) Barrage information interacting method and device
CN108573306B (en) Method for outputting reply information, and training method and device for deep learning model
CN105069013A (en) Control method and device for providing input interface in search interface
CN108038243A (en) Music recommends method, apparatus, storage medium and electronic equipment
CN109144285A (en) A kind of input method and device
CN107592255A (en) Information displaying method and equipment
CN108170785A (en) Bootstrap technique, device and the computer readable storage medium of terminal searching operation
CN109068010A (en) voice content recording method and device
CN110830845A (en) Video generation method and device and terminal equipment
CN106775249A (en) A kind of method and electronic equipment that communication shortcut is set
CN103324627A (en) Terminal and input processing method
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN109145284A (en) Information processing method and device
CN107577664A (en) Method and apparatus for display information
CN108733436A (en) system setting method and terminal
CN109241381A (en) Information matching method and device
CN107273398A (en) Man-machine interface system and the method for operating it
CN112684912A (en) Candidate information display method and device and electronic equipment
CN105930525A (en) Content search method and apparatus

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