CN108536653A - A kind of input method, device and the device for input - Google Patents
A kind of input method, device and the device for input Download PDFInfo
- Publication number
- CN108536653A CN108536653A CN201710125042.1A CN201710125042A CN108536653A CN 108536653 A CN108536653 A CN 108536653A CN 201710125042 A CN201710125042 A CN 201710125042A CN 108536653 A CN108536653 A CN 108536653A
- Authority
- CN
- China
- Prior art keywords
- candidate item
- region
- size
- candidate
- font size
- 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
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
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
An embodiment of the present invention provides a kind of input method, device and for the device of input, method therein specifically includes:According to input string input by user, the corresponding candidate item of the input string is obtained;Determine the corresponding size for showing region of the candidate item, and/or the corresponding font size of the candidate item;The size that first candidate item corresponding first shows region is more than the size that non-first candidate item corresponding second shows region, the size that first candidate item corresponding first shows region is adapted with current screen size, and/or, the corresponding font size of the head candidate items is based on the corresponding character quantity determination of the first candidate item, and/or the corresponding font size of candidate item is determined based on the mass fraction of the candidate item;According to the corresponding font size of the candidate item, corresponding candidate item is shown in showing region, so that user triggers corresponding candidate item by showing region.The embodiment of the present invention can reduce the misuse rate of candidate item, improve input efficiency.
Description
Technical field
The present invention relates to input method technique field more particularly to a kind of input method, device and for the device of input.
Background technology
For the users such as Chinese, Japanese, Korean, it is typically necessary and is handed over by input method procedure and computer
Mutually.For example, user can input string by a keyboard entry, then will by the input method procedure Standard Map rule preset according to its
The input string is converted to the candidate item of corresponding language and displaying, and then will shield in the candidate item of user's selection.
Referring to Fig.1, a kind of existing schematic diagram showing candidate item on intelligent terminal is shown, wherein for input
It goes here and there " NiHao ", can show " hello ", " you dare ", " you number ", " you do ", " you do ", " you in the candidate bar of input method procedure
Cry out " waiting options for user selection.As shown in Figure 1, each candidate item can be corresponding with and show region, user can pass through triggering
Required candidate item is corresponding to show region, realizes the upper screen of corresponding candidate item.
Invention content
The embodiment of the present invention provides a kind of input method, input unit and the device for input, can reduce user from
The difficulty of candidate item needed for being selected in numerous candidates, and then the misuse rate of candidate item can be reduced, improve input efficiency.
To solve the above-mentioned problems, the invention discloses a kind of input methods, including:
According to input string input by user, the corresponding candidate item of the input string is obtained;
Determine the corresponding size for showing region of the candidate item, and/or the corresponding font size of the candidate item;Its
In, the candidate item includes first candidate item and non-first candidate item, and the size that the head candidate items corresponding first show region is big
Show the size in region in non-first candidate item corresponding second, the head candidate items corresponding first show the size in region and work as
Forth screen size is adapted, and/or, the corresponding font size of the head candidate items is based on the corresponding number of characters of the first candidate item
Amount determines, and/or, the corresponding font size of the candidate item is determined based on the mass fraction of the candidate item;
According to the corresponding font size of the candidate item, it is described show show corresponding candidate item in region, to use
Family corresponding candidate item is triggered by the region that shows.
Optionally, the current screen size includes current screen width, and the region that shows is located in input interface, institute
The key area that input interface is equipped at least two types in the direction of the width is stated, the method further includes:According to described at least
The width ratio of two kinds of key area and the current screen width, determine the key area of at least two type
Width;The width for showing the corresponding key area in region according to described first determines the described first width for showing region.
Optionally, the method further includes:Show region and described second according to described first and shows the width ratio in region
Example and the current screen width, determine the described first width for showing region.
Optionally, the method further includes:It receives user and shows the moving operation on zone boundary for first;According to institute
Moving operation is stated, the size for showing region to described first is adjusted.
Optionally, the corresponding font size of the determination candidate item, including:Maximum word is obtained from font size set
Number, as the corresponding current font size of first candidate item.
Optionally, the corresponding font size of the determination candidate item further includes:If the first candidate item pair of current font size
The character quantity answered is more than the described first capacity for showing region, then is obtained from the font size set and be less than the current font size
Maximum font size, as the corresponding current font size of first candidate item.
Optionally, described according to the corresponding font size of the candidate item, it is described show show corresponding time in region
Option, including:If the corresponding character quantity of the head candidate items is more than the described first capacity for showing region, by the first time
The previous section character that option includes replaces with the first predetermined symbol;If and/or the corresponding character quantity of the first candidate item is super
It crosses described first to show the capacity in region and receive user preset operation, then the aft section for including by the first candidate item
Character replaces with the second predetermined symbol.
Optionally, the corresponding font size of the candidate item is successively decreased successively according to the sequence of mass fraction from high to low.
Optionally, the region that shows is located in input interface, and the input interface includes:First boundary layer and the second boundary
Face layer;First boundary layer shows region for carrying described first, the second interface layer for carry key area and
Described second shows region.
Another aspect, the invention discloses a kind of input units, including:
Candidate item acquisition module, for according to input string input by user, obtaining the corresponding candidate item of the input string;
Determining module, for determining that the corresponding size for showing region of the candidate item, and/or the candidate item correspond to
Font size;Wherein, the candidate item includes first candidate item and non-first candidate item, and the head candidate items corresponding first show
The size in region is more than the size that non-first candidate item corresponding second shows region, and the head candidate items corresponding first show area
The size in domain is adapted with current screen size, and/or, the corresponding font size of the head candidate items is based on the first candidate item
Corresponding character quantity determines, and/or, corresponding mass fraction of the font size based on the candidate item of the candidate item is true
It is fixed;And
Candidate item display module, for according to the corresponding font size of the candidate item, it is described show show in region
Corresponding candidate item, so that user triggers corresponding candidate item by the region that shows.
Optionally, the current screen size includes current screen width, and the region that shows is located in input interface, institute
The key area that input interface is equipped at least two types in the direction of the width is stated, described device further includes:
First width determining module, for the key area according at least two type width ratio and described work as
Forth screen width determines the width of the key area of at least two type;
Second width determining module, the width for showing the corresponding key area in region according to described first, determines institute
State the first width for showing region.
Optionally, described device further includes:
Third width determining module shows the width ratio in region for showing region and described second according to described first
With the current screen width, the described first width for showing region is determined.
Optionally, described device further includes:
Receiving module shows the moving operation on zone boundary for receiving user for first;
Module is adjusted, for according to the moving operation, the size for showing region to described first to be adjusted.
Optionally, the determining module includes:
First font size acquisition submodule is worked as obtaining maximum font size from font size set as first candidate item is corresponding
Preceding font size.
Optionally, the determining module further includes:
Second font size acquisition submodule is more than described first for the corresponding character quantity of first candidate item in current font size
When showing the capacity in region, the maximum font size less than the current font size is obtained from the font size set, as first candidate item
Corresponding current font size.
Optionally, the candidate item display module includes:
First display processing submodule, if being more than described first to show area for the corresponding character quantity of the first candidate item
The previous section character that the first candidate item includes then is replaced with the first predetermined symbol by the capacity in domain;And/or
Second display processing submodule, if being more than described first to show area for the corresponding character quantity of the first candidate item
The capacity in domain and user preset operation is received, then it is pre- the aft section character that the first candidate item includes to be replaced with second
If symbol.
Optionally, the corresponding font size of the candidate item is successively decreased successively according to the sequence of mass fraction from high to low.
Optionally, the region that shows is located in input interface, and the input interface includes:First boundary layer and the second boundary
Face layer;First boundary layer shows region for carrying described first, the second interface layer for carry key area and
Described second shows region.
Include memory and one or one in another aspect, the invention discloses a kind of device for input
Above program, one of them either more than one program be stored in memory and be configured to by one or one with
It includes the instruction for being operated below that upper processor, which executes the one or more programs,:
According to input string input by user, the corresponding candidate item of the input string is obtained;
Determine the corresponding size for showing region of the candidate item, and/or the corresponding font size of the candidate item;Its
In, the candidate item includes first candidate item and non-first candidate item, and the size that the head candidate items corresponding first show region is big
Show the size in region in non-first candidate item corresponding second, the head candidate items corresponding first show the size in region and work as
Forth screen size is adapted, and/or, the corresponding font size of the head candidate items is based on the corresponding number of characters of the first candidate item
Amount determines, and/or, the corresponding font size of the candidate item is determined based on the mass fraction of the candidate item;
According to the corresponding font size of the candidate item, it is described show show corresponding candidate item in region, to use
Family corresponding candidate item is triggered by the region that shows.
The embodiment of the present invention includes following advantages:
In the embodiment of the present invention, the size that first candidate item corresponding first shows region can be more than non-first candidate item correspondence
The second size for showing region, and the size that the first candidate item corresponding first shows region can be with current screen size
It is adapted;And/or can be based on the corresponding character quantity of the first candidate item true for the corresponding font size of the first candidate item
It is fixed;
Firstly, since what the sorting position of candidate item was determined usually in accordance with the mass fraction of candidate item, and first candidate item
Quality be often higher than the quality of non-preferred item, therefore the embodiment of the present invention makes first candidate item corresponding first show the size in region
More than the size that non-first candidate item corresponding second shows region, capable of making quality, more preferably first candidate item is easier to be grasped by user
Make, therefore user can be reduced and select the difficulty of required candidate item from numerous candidates, and then the mistake behaviour of candidate item can be reduced
Make rate, improve input efficiency, and promotes the input experience of user.
Also, with the continuous development of electronic technology, various types of intelligent terminals are more and more, are typically different intelligent end
The hardware parameter (such as size, resolution ratio) of the screen at end is different, and first will be caused to show region in different sizes in this way
Screen on different display effects is presented;And above-mentioned head candidate items corresponding first show the ruler in region in the embodiment of the present invention
It is very little to be adapted with current screen size, in this way, the embodiment of the present invention can make first to show region is on different screen
Existing good display effect, enhancing first show the collocation degree between region and its place input interface and screen.
In addition, in the embodiment of the present invention, the corresponding font size of above-mentioned head candidate items can be based on above-mentioned first candidate item pair
The character quantity answered determines, in this way, can be dynamically determined above-mentioned first candidate according to the corresponding character quantity of above-mentioned head candidate items
The corresponding font size of item, therefore the identification of first candidate item can be improved while improving the readability of first candidate item, from
And further decrease user and select the difficulty of required candidate item from numerous candidates, and then the maloperation of candidate item can be reduced
Rate.
In addition, in the embodiment of the present invention, the corresponding font size of above-mentioned candidate item can be based on the quality of the candidate item
Score determines, in this way, the embodiment of the present invention can improve the identification of the higher candidate item of mass fraction, and then makes mass fraction
Higher candidate item is easier to be easily selected by a user, and reduces misuse rate and promotes the input experience of user.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of existing schematic diagram showing candidate item on intelligent terminal;
Fig. 2 is a kind of step flow chart of input method embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of input interface of the embodiment of the present invention;
Fig. 4 is the schematic diagram of another input interface of the embodiment of the present invention;
Fig. 5 is the schematic diagram of another input interface of the embodiment of the present invention;
Fig. 6 (a), Fig. 6 (b) are a kind of schematic diagram of input interface of the embodiment of the present invention respectively;
Fig. 7 is a kind of schematic diagram of input interface of the embodiment of the present invention;
Fig. 8 is the schematic diagram of another input interface of the embodiment of the present invention;
Fig. 9 is the schematic diagram of another input interface of the embodiment of the present invention;
Figure 10 is a kind of schematic diagram of input interface of the embodiment of the present invention;
Figure 11 is the schematic diagram of another input interface of the embodiment of the present invention;
Figure 12 is a kind of structure diagram of input unit embodiment of the present invention;
Figure 13 is a kind of block diagram of device 800 for input of the present invention;And
Figure 14 is the structural schematic diagram of server in some embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, existing scheme uses the word for showing region and unified size of uniform sizes for all candidate items
Body in this way, will increase user selects the difficulty of required candidate item from numerous candidates, and then leads to the increase for the rate of falsely dropping.
An embodiment of the present invention provides a kind of input scheme, the program can obtain institute according to input string input by user
The corresponding candidate item of input string is stated, and determines the corresponding size for showing region of candidate item, and/or the candidate item pair
The font size answered, and then according to the corresponding font size of the candidate item, it is described show show corresponding candidate in region
, so that user triggers corresponding candidate item by the region that shows;Wherein, above-mentioned candidate item may include first candidate item
(candidate item to rank the first) and non-first candidate item (candidate item for coming non-first place), the head candidate items corresponding first show
The size in region can be more than the size that non-first candidate item corresponding second shows region, and the first candidate item corresponding first
Showing the size in region can be adapted with current screen size;And/or the corresponding font size of the first candidate item can be with base
It is determined in the corresponding character quantity of the head candidate items.
Firstly, since what the sorting position of candidate item was determined usually in accordance with the mass fraction of candidate item, and first candidate item
Quality be often higher than the quality of non-preferred item, therefore the embodiment of the present invention makes first candidate item corresponding first show the size in region
More than the size that non-first candidate item corresponding second shows region, capable of making quality, more preferably first candidate item is easier to be grasped by user
Make, therefore user can be reduced and select the difficulty of required candidate item from numerous candidates, and then the mistake behaviour of candidate item can be reduced
Make rate, improves input efficiency.
Also, with the continuous development of electronic technology, various types of intelligent terminals are more and more, are typically different intelligent end
The hardware parameter (such as size, resolution ratio) of the screen at end is different, and first will be caused to show on the different screen of region in this way
Different display effects is presented;And in the embodiment of the present invention above-mentioned head candidate items corresponding first show the size in region can be with
Current screen size is adapted, and is presented on various sizes of screen in this way, the embodiment of the present invention can make first to show region
Good display effect, enhancing first show the collocation degree between region and its place input interface and screen.
In addition, in the embodiment of the present invention, the corresponding font size of above-mentioned head candidate items can be based on above-mentioned first candidate item pair
The character quantity answered determines, in this way, can be dynamically determined above-mentioned first candidate according to the corresponding character quantity of above-mentioned head candidate items
The corresponding font size of item, therefore the identification of first candidate item can be improved while improving the readability of first candidate item, from
And further decrease user and select the difficulty of required candidate item from numerous candidates, and then the maloperation of candidate item can be reduced
Rate.
Embodiment of the method
With reference to Fig. 2, shows a kind of step flow chart of input method embodiment of the present invention, can specifically include:
Step 201, according to input string input by user, obtain the corresponding candidate item of the input string;
Step 202 determines the corresponding size for showing region of the candidate item, and/or the corresponding font of the candidate item
Size;Wherein, the candidate item includes first candidate item and non-first candidate item, and the head candidate items corresponding first show region
Size can be more than the size that non-first candidate item corresponding second shows region, and the head candidate items corresponding first show region
Size can be adapted with current screen size, and/or, the corresponding font size of the head candidate items can be based on the head
The corresponding character quantity of candidate item determines, and/or, the corresponding font size of the candidate item can be based on the matter of the candidate item
Score is measured to determine;
Step 203, according to the corresponding font size of the candidate item, it is described show show corresponding candidate in region
, so that user triggers corresponding candidate item by the region that shows.
The embodiment of the present invention can be applied to the input method procedure of the various input modes such as keyboard symbol, voice, hand-written, that is, use
Family can carry out word input by coded string (namely input string in the embodiment of the present invention).It is right in input method field
In the input method procedure of such as Chinese, Japanese, Korean or other Languages, input string input by user can be converted into
The candidate item of corresponding language.It is mainly illustrated by taking Chinese as an example below, other Languages is cross-referenced.It is appreciated that institute
State Chinese character coding input method can include but is not limited to spelling, simplicity, stroke, five etc., the embodiment of the present invention is for certain language pair
The specific input method procedure answered does not limit.
Wherein, input method procedure may operate on intelligent terminal, and above-mentioned intelligent terminal specifically includes but unlimited:Intelligent hand
Machine, tablet computer, E-book reader, MP3 (dynamic image expert's compression standard audio level 3, Moving Picture
Experts Group Audio Layer III) player, MP4 (dynamic image expert's compression standard audio levels 4, Moving
Picture Experts Group Audio Layer IV) player, pocket computer on knee, vehicle-mounted computer, desk-top meter
Calculation machine, set-top box, intelligent TV set, wearable device etc..
In practical applications, for keyboard symbol input method mode, user can pass through physical keyboard or dummy keyboard
Deng the above-mentioned input string of input.For example, for the intelligent terminal with touch screen, virtual key can be set in input interface
Disk, so that the used input for carrying out input string by triggering the virtual key that above-mentioned dummy keyboard includes.Optionally, above-mentioned virtual
The example of keyboard may include:9 key boards and 26 key boards etc..Also, it is to be understood that in addition to being provided in above-mentioned input interface
Except the corresponding virtual key of letter, be also provided with symbol keys, digital keys, for example Sino-British switching key function by
Key, alternatively, being also provided with toolbar button etc., it will be understood that the tool that the embodiment of the present invention is included for input interface
Body button does not limit.
According to some embodiments, above-mentioned input string can include but is not limited to:User is pressed by one that button is inputted
The combination of keysym or multiple key symbols.The key symbols can specifically include:Phonetic, stroke, assumed name etc..
In the embodiment of the present invention, candidate item can be used for indicating one or more to be easily selected by a user corresponding with input string
A character.Candidate item can be the character of the language such as Chinese character, English character, Japanese character, and candidate entry may be face
The symbol combination of the forms such as word, picture.Wherein, the face word includes but not limited to the figure that lines, symbol, word are formed
It draws, for example, the example of the face word may include:“:P”、“:-o”、“:) " etc..
In practical applications, it can be searched in dictionary according to above-mentioned input string, to obtain corresponding candidate
.For example, above-mentioned dictionary may include:System dictionary, user thesaurus, cell dictionary, cloud dictionary etc., the embodiment of the present invention for
The specific acquisition modes of candidate item do not limit.
In the embodiment of the present invention, it can be operable and for showing the region of candidate item to show region, herein can
Operation can refer to, and user can be operated by modes such as touch-control, mouses in this shows region, show region to trigger this
Corresponding candidate item.
The size that the embodiment of the present invention makes first candidate item corresponding first show region is more than non-first candidate item corresponding the
Two show the size in region, and capable of making quality, more preferably first candidate item is easier to be user-operably, thus can reduce user from
The difficulty of candidate item needed for being selected in numerous candidates, and then the misuse rate of candidate item can be reduced.Also, the embodiment of the present invention
In the size that shows region of above-mentioned first candidate item corresponding first can be adapted with current screen size, in this way, the present invention is real
Apply example first can be made to show region and be presented good display effect on various sizes of screen, enhancing first show region and
Collocation degree where it between input interface and screen.
According to some embodiments, the embodiment of the present invention can provide a user input interface, so that user passes through the input
Interface inputs input string and/or selects the corresponding candidate item of the input string.According to some embodiments, when there are input string and/or
In the case of there is no input string, above-mentioned first, which shows region, can reside in the input interface.For example, the input interface
May include:Superposed toolbar area and key zone positioned at lower part, above-mentioned first shows region can be with toolbar area
First area coincidence, that is, above-mentioned first show region can corresponding identical region with the first region of toolbar area.Cause
This, the embodiment of the present invention can obtain the above-mentioned first size for showing region in advance there is no input string.Together
Reason, above-mentioned second show region and toolbar area non-first region can corresponding identical region, in this way, can be there is no defeated
In the case of entering string, show region and described second according to described first and show the width ratio in region, obtains above-mentioned in advance
Two show the size in region.In this way, the process of the corresponding size for showing region of the above-mentioned determination candidate item may include:It builds
Option and the corresponding association for showing region are waited, to obtain the corresponding size for showing region of the candidate item.It is appreciated that this
The size corresponding acquisition opportunity that inventive embodiments show acquisition in region does not limit.
The embodiment of the present invention can provide the following technical solution for obtaining the size for showing region:
Technical solution 1
In technical solution 1, the current screen size may include current screen width, and the region that shows can be located at
In input interface, the input interface can be equipped with the key area of at least two types in the direction of the width, then obtain and show
The process of the size in region may include:The width ratio of key area according at least two type and the current screen
Curtain width, determines the width of the key area of at least two type;Show the corresponding key zone in region according to described first
The width in domain determines the described first width for showing region.
With reference to Fig. 3, a kind of schematic diagram of input interface of the embodiment of the present invention is shown, wherein the input interface can be with
Display is amplified to the first region 301 of toolbar area, after the input string for obtaining user, which can be used as the first exhibition
Existing region 301 carries out the display of first candidate item;The input interface can be equipped with the button of at least two types in the direction of the width
Region:Key area 302, key area 303 and key area 304, wherein key area 303 can be used for showing alphabet key,
The quantity of key area 303 can be 3.As can be seen that the first left upper apex for showing region 301 can be a left side for input interface
Upper vertex, the first bottom right vertex for showing region 301 can be the right vertices of " GHI " button.Also, in Fig. 3 " in/English " press
The switching that key can be used between realization Chinese input mode and English input mode, the corresponding width for showing region is larger,
Difficulty of the user from selection " in/English " button in numerous buttons can be reduced.
The embodiment of the present invention can be according to the key area of at least two type width ratio and the current screen
Curtain width, determines the width of the key area of at least two type.Assuming that key area 302, key area 303 and button
The width in region 304 is respectively A, B, C, and current screen width is W, between adjacent key region between be divided into D, then can obtain
A+3B+C+4D=W, it is assumed that the width ratio of the key area of at least two type is:A=C, B=1.35A, then can be with
According to current screen width W, width A, B and C of the key area of at least two type is calculated.It is appreciated that D,
The width ratio of the key area of at least two type can determine by those skilled in the art according to practical application request,
It can be set by the user.
Further, it is possible to which the width for showing the corresponding key area in region according to described first, determines that described first shows
The width in region.By taking Fig. 3 as an example, first shows the width X in region 3011It can be expressed as:X1=A+B+D.
It is appreciated that determining the process of the corresponding size for showing region of the candidate item based on input interface shown in Fig. 3
It is intended only as example, those skilled in the art can be according to practical application request, for arbitrary input interface, according to described defeated
Enter the width ratio of the key area at least two types that interface includes and the current screen width, determines the candidate item
The corresponding size for showing region.
Technical solution 2
In technical solution 2, the current screen size includes current screen width, obtains the process for the size for showing region
May include:Show region and described second according to described first and show the width ratio in region and the current screen width,
Determine the described first width for showing region.
With reference to Fig. 4, the schematic diagram of another input interface of the embodiment of the present invention is shown, wherein the input interface
Candidate bar, which can be provided with first and show region 401 and second, shows region 402, then can be by those skilled in the art or user
It sets described first and shows region and described second and show the width ratio in region, and show region and described according to described first
Second shows the width ratio in region and the current screen width, determines the described first width for showing region.Assuming that described
First width for showing region is X2, the second width for showing region is Y, and current screen width is W, and second shows the number in region
Mesh is M, then can have X2+ Y*M=W, it is hereby achieved that the first width for showing region is X2。
It is appreciated that input interface determines the process of the corresponding size for showing region of the candidate item based on shown in Fig. 4
It is intended only as example, those skilled in the art can be according to practical application request, for arbitrary input interface, according to described
One, which shows region and described second, shows the width ratio in region and the current screen width, determines that the candidate item is corresponding
Show the size in region.
Technical solution 3
In technical solution 3, the process for obtaining the size for showing region may include:It receives user and shows region for first
Borderline moving operation;According to the moving operation, the size for showing region to described first is adjusted.This optional implementation
In example, zone boundary can be showed by first to adjust the first size for showing region, can be adapted for all intelligence
Terminal, and user can realize above-mentioned moving operation by a finger, therefore described first can be greatly reduced and show region
Size adjusting operation difficulty and operation amplitude.
With reference to Fig. 5, the schematic diagram of another input interface of the embodiment of the present invention is shown, wherein the input interface can
To include:First shows region 501, and first, which shows region 501, may include:First boundary in equal directions is (in figure up and down
Be not shown), and/or vertex correspondence the second boundary, then user can show region 501 for first by first boundary
Carry out the extension or contraction in certain direction, and/or, user can the second boundary for first show region 501 carry out it is whole
Scaling.
It should be noted that according to some embodiments, those skilled in the art or user can also be according to practical applications
Demand setting first shows the depth-width ratio example in region, in this way, the width that can show region according to first, utilizes the Aspect Ratio
The first height for showing region is calculated, it is possible thereby to be directed to arbitrary current screen, obtains compatible with current screen
First shows region, so as to improve the first display effect for showing region and its corresponding first candidate item.
In some embodiments of the present invention, the corresponding font size of above-mentioned head candidate items can be based on above-mentioned first candidate item pair
The character quantity answered determines, in this way, can be dynamically determined above-mentioned first candidate according to the corresponding character quantity of above-mentioned head candidate items
The corresponding font size of item, therefore the identification of first candidate item can be improved while improving the readability of first candidate item, from
And further decrease user and select the difficulty of required candidate item from numerous candidates, and then the maloperation of candidate item can be reduced
Rate.
In a kind of alternative embodiment of the present invention, the process of the corresponding font size of the determination candidate item can be with
Including:Maximum font size is obtained from font size set, as the corresponding current font size of first candidate item.Wherein, which can be by
Those skilled in the art or user's setting, for example, the font size in the font size set may include:No. 30 fonts, No. 20 fonts,
No. 10 fonts, No. 5 fonts, No. 4 fonts etc. can be from font size set then in the case where for example obtaining first candidate item for the first time
Maximum font size (such as No. 30 fonts) is obtained, as the corresponding current font size of first candidate item, it is possible thereby to increase distinguishing for first candidate item
Knowledge and magnanimity.
In another alternative embodiment of the present invention, the process of the corresponding font size of the determination candidate item is also
May include:If the corresponding character quantity of first candidate item of current font size is more than the described first capacity for showing region, from institute
The maximum font size obtained in font size set less than the current font size is stated, as the corresponding current font size of first candidate item.
According to some embodiments, the first capacity for showing region can show the number of characters that region can carry for first
Amount.For example, the first capacity for showing region can be expressed as:The number of characters Q of line number threshold value P* often row displays.Wherein, line number threshold
Value P can be determined by those skilled in the art according to practical application request, for example, P can be the positive integer more than 1;Often row display
The monocase area S2 of number of characters Q effective area S1, the line number threshold value P and current font size that can show region by first determine,
For example, the first effective area for showing region can show region for first and cut the final area after the inset spacing of left and right, Q=
S1/ (P*S2), it will be understood that the embodiment of the present invention does not limit the specific calculation for the number of characters Q that every row is shown.
The embodiment of the present invention is more than described first to show region in the corresponding character quantity of first candidate item of current font size
In the case of capacity, the maximum font size less than the current font size can be obtained from the font size set, as first candidate item
Corresponding current font size can be such that the corresponding current font size of first candidate item character quantity corresponding with first candidate item is adapted, because
This can realize the optimal of the capacity that the corresponding font size of first candidate item shows region with described first.Assuming that the font size set
In font size may include:No. 30 fonts, No. 20 fonts, No. 10 fonts, No. 5 fonts, No. 4 fonts etc. are then in current font size
No. 30 fonts, No. 30 fonts the corresponding character quantity of first candidate item be more than the described first capacity for showing region in the case of,
No. 20 fonts can be obtained from the font size set as the corresponding current font size of first candidate item;Further, it is in current font size
No. 20 fonts, No. 20 fonts the corresponding character quantity of first candidate item be more than the described first capacity for showing region in the case of,
No. 10 fonts can be obtained from the font size set as the corresponding current font size of first candidate item, and so on, until current word
Number for the minimum font size in the font size set.
In another alternative embodiment of the present invention, the corresponding font size of the candidate item can be based on the candidate
The mass fraction of item determines.Wherein, above-mentioned mass fraction can be used for characterizing the quality of candidate item.
According to some embodiments, the font size of first candidate item can be more than the font size of non-first candidate item, Ke Yiti
The identification of high head candidate items.As shown in figure 3, the font size of first candidate item " hello " is more than non-first candidate item " your meeting ", " you
Also ", the font size of " you and " etc..
According to some embodiments, the corresponding font size of the candidate item can be according to the sequence of mass fraction from high to low
Successively decrease successively;In this way, the embodiment of the present invention can improve the identification of the higher candidate item of mass fraction, and then make mass fraction
Higher candidate item is easier to be easily selected by a user, and reduces misuse rate and promotes the input experience of user.With reference to Fig. 6 (a), Fig. 6
(b) a kind of schematic diagram of input interface of the embodiment of the present invention is respectively illustrated, wherein first candidate item " hello ", two candidate items
" your meeting ", three candidate items " you also ", the font size of four candidate items " you and " are successively decreased.For example, first candidate item, two candidate items, three
Candidate item, the font of four candidate items can be respectively:No. 30 fonts, No. 20 fonts, No. 10 fonts and No. 5 fonts.
According to some embodiments, above-mentioned mass fraction can be corresponded to word frequency, language model scores and the word of entry by candidate item
At least one of features such as library source determine that for example, the word frequency that candidate item corresponds to entry is bigger, then corresponding mass fraction is got over
It is high;For another example, candidate item correspond to entry language model scores it is higher, then corresponding mass fraction is higher;For another example, user thesaurus
The corresponding mass fraction of entry is higher than the corresponding mass fraction of entry etc. of system dictionary, it will be understood that the embodiment of the present invention pair
It is not limited in the specific determination process of mass fraction.
According to some embodiments, the embodiment of the present invention can support user to set the font size of first candidate item.For example, with
Family can trigger the font size adjustment interface of first candidate item by modes such as preset shortcut key, toolbars, and pass through the font
Size adjusts the adjustment that interface carries out the font size of first candidate item, and the embodiment of the present invention adjusts boundary for specific font size
Face and its corresponding triggering mode do not limit.
It is described according to the corresponding font size of the candidate item in a kind of alternative embodiment of the present invention, in the exhibition
Display mode used by corresponding candidate item is shown in existing region, may include:
If display mode 1, the corresponding character quantity of the head candidate items are more than the described first capacity for showing region, will
The previous section character that the head candidate items include replaces with the first predetermined symbol;And/or
If display mode 2, the corresponding character quantity of the first candidate item are more than described first to show the capacity in region and connect
User preset operation is received, then the aft section character that the first candidate item includes is replaced with into the second predetermined symbol.
It is longer or comprising the more situation of character that display mode 1 and display mode 2 can be adapted for first candidate item.
Wherein, display mode 1 can be more than described first to show region in the corresponding character quantity of the first candidate item
In the case of capacity, the previous section character that the first candidate item includes is replaced with into the first predetermined symbol, wherein above-mentioned first
Predetermined symbol can be ellipsis etc., can be determined according to practical application request by those skilled in the art.According to some implementations
Example, display mode 1 may include:If the corresponding character quantity of the head candidate items be more than described first show region capacity,
And the corresponding current font size of the first candidate item is preset minimum font size, then the previous section character for including by the first candidate item
Replace with the first predetermined symbol.In practical applications, when the corresponding character quantity of the first candidate item is more than described first to show
When the capacity in region, the corresponding current font size of the head candidate items can be reduced first, until the first candidate item is corresponding
Current font size is that preset minimum font size is promoted with providing a user the character as much as possible of first candidate item to a certain extent
User experience.And it is more than the described first capacity for showing region and the first time in the corresponding character quantity of the head candidate items
When the corresponding current font size of option is preset minimum font size, the previous section character that the first candidate item includes can be replaced with
First predetermined symbol.
Display mode 2 can the corresponding character quantity of the first candidate item be more than described first show region capacity,
And in the case of receiving user preset operation, the aft section character that the first candidate item includes is replaced with into the second default symbol
Number;Wherein, user preset operates the variation for the previous section character that the first candidate item may be caused to include, therefore, display side
The aft section character that the first candidate item includes can be replaced with the second predetermined symbol by formula 2, and normally show the first time
The previous section character that option includes, wherein above-mentioned second predetermined symbol can be ellipsis etc., can be by people in the art
Member determines according to practical application request.
Above-mentioned user preset operates:Screening operation, input string for the input string Corresponding matching sequence
The browsing edit operation of Corresponding matching sequence or first candidate item is (such as by being moved left and right in corresponding candidate region to check first time
More multicharacter operation or the edit operation (such as delete, re-enter) of editor's input string Corresponding matching sequence in option)
Deng.These trigger actions may cause the variation for the previous section character that the first candidate item includes, it will be understood that the present invention is real
Example is applied not limit the operation of specific user preset.
In the embodiment of the present invention, input string Corresponding matching sequence may include:Syllable sequence, shape code sequence, Serial No.,
At least one of symbol sebolic addressing.Specifically, shape code sequence may include Chinese five-stroke input method list entries, Korean input method
List entries etc.;Syllable sequence may include Chinese pinyin input method list entries, Japanese inputting method list entries;Digital sequence
Row can correspond to number language character;Symbol sebolic addressing can correspond to symbolic language character.According to some embodiments, most of phonetics
In input method, pinyin string is resolvable to pinyin syllable first.There is a syllable (not considering tone) about more than 400 in Chinese.Phonetic
String is parsed according to certain rule, obtains possible pinyin syllable sequence.Such as user inputs " fangan ", can be resolved
For two different syllable sequences:[fan] [gan] and [fang] [an].But the only unique parsing of many spelling input strings
Mode.Such as " buguo " can be resolved to [bu] [guo].Further, most number input method also supports simplicity to input, therefore uses
Family can also use input string " bug ", parsing to obtain syllable sequence [bu] [guo], [bu] [gou], [bu] [gan] etc..It is more complicated
The case where can also include fuzzy phoneme, Two bors d's oeuveres etc., principle is similar, and details are not described herein.
A kind of schematic diagram of input interface of the embodiment of the present invention is respectively illustrated with reference to Fig. 7, Fig. 8, as shown in fig. 7, long
The display rule of first candidate item can be:Gradually font size is reduced according to character quantity, and folds is supported to show (longest 2
Row), the previous section character exceeded is then hidden beyond two rows, and ellipsis is beaten beyond part;As shown in figure 8, if input long sentence
Afterwards, it carries out (screening " jin " in the sidebar of left side in such as Fig. 8) when syllable screening one by one, then normally before display long sentence character string
Face partial character, behind show ellipsis.
In a kind of alternative embodiment of the present invention, the region that shows can be located in input interface, input circle
Face may include:First boundary layer and second interface layer;Wherein, first boundary layer can be used for carrying described first and show area
Domain, the second interface layer can be used for carrying key area and described second and show region.Show region due to being directed to first to set
Independent boundary layer is set, therefore can realize that first shows the characteristics such as the depth-width ratio example in region, at the same time it can also realize key area
The characteristic for showing region with described second.
In another alternative embodiment of the present invention, above-mentioned input interface can also include:Third boundary layer, described
Three boundary layers can be used for carrying setting area.It, can be with for example, when receiving for trizonal trigger action in Fig. 2
Input interface shown in Fig. 9 is jumped to, input interface shown in Fig. 9 may include:Setting area, so that user carries out input circle
The setting in face.
It should be noted that the first of the embodiment of the present invention show region can be located at the left side of input interface, right side or
Person intermediate region, to improve the operation ease of the user of right hand-held set, left hand-held set or held by both hands machine.
Referring to Fig.1 0, Figure 11, respectively illustrates a kind of schematic diagram of input interface of the embodiment of the present invention, wherein in English
Under literary input pattern, the intermediate region that region is placed in input interface (candidate bar) can be showed by first;It, can also, in Figure 10
The font of first candidate item to be expanded;In Figure 11, relative to the font of first candidate item, two candidate items, the font of three candidate items subtract
Small and four candidate items, five candidate items fonts further decrease.Candidate bar, which can be arranged, in user can show the number of candidate item
Amount.
In some embodiments of the invention, when receiving first preset trigger action of the user for alphabet key,
It can show the corresponding alternative characters of the alphabet key, wherein the first preset trigger action can be pressing dynamics default
Trigger action in pressure limit, such as long press operation.For example, receiving the first preset triggering for " wxyz " in Fig. 2
After operation, corresponding alternative button " w ", " x ", " y ", " z ", " W ", " X ", " Y ", " Z " etc. can be shown, selected for user.
In some embodiments of the invention, if name of contact person can be obtained from the address list of intelligent terminal, as
The corresponding first candidate item of input string.For example, input string is " zhangsan ", if then there is " San " from address list, with
In the case that family inputs or do not inputted " San ", " San " can be used as first candidate item by the embodiment of the present invention, thus
Rarely used word " San " may be implemented rapidly inputs demand.
It further, can be in such a way that association be candidate after receiving user for the upper screen operation of name of contact person
Show the corresponding contact details of name of contact person, including but not limited to:The information such as telephone number, mailbox, with realize user for
Contact details are rapidly input.Alternatively, after receiving user for the second preset trigger action of name of contact person, Ke Yixian
Show name of contact person as the corresponding search result of search term and its corresponding operate interface (such as sharing interface, comment interface
Deng), it is possible thereby to realize the fast operating of the search result.
To sum up, the input method of the embodiment of the present invention, the size that first candidate item corresponding first shows region can be more than
Non- head candidate items corresponding second show the size in region, and the first candidate item corresponding first show the size in region can be with
It is adapted with current screen size;And/or the corresponding font size of the first candidate item can be based on the first candidate item and correspond to
Character quantity determine.
Firstly, since what the sorting position of candidate item was determined usually in accordance with the mass fraction of candidate item, and first candidate item
Quality be often higher than the quality of non-preferred item, therefore the embodiment of the present invention makes first candidate item corresponding first show the size in region
More than the size that non-first candidate item corresponding second shows region, capable of making quality, more preferably first candidate item is easier to be grasped by user
Make, therefore user can be reduced and select the difficulty of required candidate item from numerous candidates, and then the mistake behaviour of candidate item can be reduced
Make rate, improves input efficiency.
Also, with the continuous development of electronic technology, various types of intelligent terminals are more and more, are typically different intelligent end
The hardware parameter (such as size, resolution ratio) of the screen at end is different, and first will be caused to show on the different screen of region in this way
Different display effects is presented;And in the embodiment of the present invention above-mentioned head candidate items corresponding first show the size in region can be with
Current screen size is adapted, in this way, the embodiment of the present invention, which can make first to show, is presented good show on the different screen of region
Show that effect, enhancing first show the collocation degree between region and its place input interface and screen.
In addition, in the embodiment of the present invention, the corresponding font size of above-mentioned head candidate items can be based on above-mentioned first candidate item pair
The character quantity answered determines, in this way, can be dynamically determined above-mentioned first candidate according to the corresponding character quantity of above-mentioned head candidate items
The corresponding font size of item, therefore the identification of first candidate item can be improved while improving the readability of first candidate item, from
And further decrease user and select the difficulty of required candidate item from numerous candidates, and then the maloperation of candidate item can be reduced
Rate.
In addition, in the embodiment of the present invention, the corresponding font size of above-mentioned candidate item can be based on the quality of the candidate item
Score determines, in this way, the embodiment of the present invention can improve the identification of the higher candidate item of mass fraction, and then makes mass fraction
Higher candidate item is easier to be easily selected by a user, and reduces misuse rate and promotes the input experience of user.
Using example
To make those skilled in the art more fully understand the embodiment of the present invention, the one kind for providing the embodiment of the present invention herein is defeated
Enter the example of method, which is related to being inputted on the intelligent terminal with touch screen, and corresponding input process can wrap
It includes:
Step S1, in response to the first trigger action of user, input interface is shown;The input interface may include:The
One shows region, which is adapted with current screen size;
For example, first trigger action can be the operation for clicking input frame, the input interface that step S1 is shown can be
Such as the input interface of Fig. 2.Wherein it is possible to before receiving first trigger action, simultaneously or after, calculate and first show
The size in region, it will be understood that the embodiment of the present invention does not limit the calculating opportunity of first size for showing region.
Step S2, it receives user and shows the moving operation on zone boundary for first;According to the moving operation, to institute
The size that first shows region is stated to be adjusted;
Step S3, according to input string input by user, the corresponding candidate item of the input string is obtained;The candidate item can be with
Including first candidate item and non-first candidate item;
Step S4, the corresponding size for showing region of the candidate item, and/or the corresponding font of the candidate item are determined
Size;Wherein, the corresponding font size of the first candidate item can be determined based on the corresponding character quantity of the head candidate items,
And/or the corresponding font size of the candidate item can be determined based on the mass fraction of the candidate item;
Wherein, the above-mentioned region that shows may include:First, which shows region and second, shows region, can be before step S3
First show region and second show region size obtain and complete, step S4 can establish each candidate item and show between region
Association.
Step S5, according to the corresponding font size of the candidate item, it is described show show corresponding candidate item in region,
So that user triggers corresponding candidate item by the region that shows.
To sum up, the input method of the embodiment of the present invention, the size that above-mentioned head candidate items corresponding first show region can be with
Be adapted with current screen size, in this way, the embodiment of the present invention can make first show presented on the different screen of region it is good
Display effect, enhancing first show the collocation degree between region and its place input interface and screen.
Also, in the embodiment of the present invention, the corresponding font size of above-mentioned head candidate items can be based on above-mentioned first candidate item pair
The character quantity answered determines, in this way, can be dynamically determined above-mentioned first candidate according to the corresponding character quantity of above-mentioned head candidate items
The corresponding font size of item, therefore the identification of first candidate item can be improved while improving the readability of first candidate item.
In addition, in the embodiment of the present invention, the corresponding font size of above-mentioned candidate item can be based on the quality of the candidate item
Score determines, in this way, the embodiment of the present invention can improve the identification of the higher candidate item of mass fraction, and then makes mass fraction
Higher candidate item is easier to be easily selected by a user, and reduces misuse rate and promotes the input experience of user.
Device embodiment
Referring to Fig.1 2, it shows a kind of structure diagram of input unit embodiment of the present invention, can specifically include:
Candidate item acquisition module 1201, for according to input string input by user, obtaining the corresponding candidate of the input string
;
Determining module 1202, for determining the corresponding size for showing region of the candidate item, and/or the candidate item
Corresponding font size;Wherein, the candidate item may include first candidate item and non-first candidate item, and the head candidate items are corresponding
First size for showing region can be more than the size that non-first candidate item corresponding second shows region, and the head candidate items correspond to
The first size for showing region be adapted with current screen size, and/or, the corresponding font size of the head candidate items can be with
It is determined based on the corresponding character quantity of the first candidate item, and/or, the corresponding font size of the candidate item can be based on described
The mass fraction of candidate item determines;And
Candidate item display module 1203 shows region for according to the corresponding font size of the candidate item described
Corresponding candidate item is shown, so that user triggers corresponding candidate item by the region that shows.
Optionally, the current screen size may include current screen width, and the region that shows is located at input interface
In, the input interface is equipped with the key area of at least two types in the direction of the width, and described device can also include:
First width determining module, for the key area according at least two type width ratio and described work as
Forth screen width determines the width of the key area of at least two type;
Second width determining module, the width for showing the corresponding key area in region according to described first, determines institute
State the first width for showing region.
Optionally, described device can also include:
Third width determining module shows the width ratio in region for showing region and described second according to described first
With the current screen width, the described first width for showing region is determined.
Optionally, described device can also include:
Receiving module shows the moving operation on zone boundary for receiving user for first;
Module is adjusted, for according to the moving operation, the size for showing region to described first to be adjusted.
Optionally, the determining module 1202 may include:
First font size acquisition submodule is worked as obtaining maximum font size from font size set as first candidate item is corresponding
Preceding font size.
Optionally, the determining module 1202 can also include:
Second font size acquisition submodule is more than described first for the corresponding character quantity of first candidate item in current font size
When showing the capacity in region, the maximum font size less than the current font size is obtained from the font size set, as first candidate item
Corresponding current font size.
Optionally, the candidate item display module 1203 may include:
First display processing submodule, if being more than described first to show area for the corresponding character quantity of the first candidate item
The previous section character that the first candidate item may include then is replaced with the first predetermined symbol by the capacity in domain;And/or
Second display processing submodule, if being more than described first to show area for the corresponding character quantity of the first candidate item
The capacity in domain and user preset operation is received, then the aft section character that the first candidate item may include is replaced with the
Two predetermined symbols.
Optionally, the corresponding font size of the candidate item is determined based on the mass fraction of the candidate item.
Optionally, the corresponding font size of the candidate item is successively decreased successively according to the sequence of mass fraction from high to low.
Optionally, the region that shows is located in input interface, and the input interface may include:First boundary layer and
Second interface layer;First boundary layer shows region for carrying described first, and the second interface layer is for carrying key zone
Domain and described second shows region.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 13 is a kind of block diagram of device 800 for input shown according to an exemplary embodiment, which can
Think intelligent terminal or server.For example, device 800 can be mobile phone, and computer, digital broadcast terminal, message receipts
Send out equipment, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 3, device 800 may include following one or more components:Processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and
Communication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing element 802 may include that one or more processors 820 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown
Example includes instruction for any application program or method that are operated on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system
System, one or more power supplys and other generated with for device 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detect the state that opens/closes of equipment 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Figure 14 is the structural schematic diagram of server in some embodiments of the present invention.The server 1900 can be because of configuration or property
Energy is different and generates bigger difference, may include one or more central processing units (central processing
Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications
The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory
1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one
A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into
One step, central processing unit 1922 could be provided as communicating with storage medium 1930, and storage medium is executed on server 1900
Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by device (intelligent terminal
Or server) processor execute when so that device is able to carry out a kind of input method, the method includes:According to user
The input string of input obtains the corresponding candidate item of the input string;Determine the corresponding size for showing region of the candidate item,
And/or the corresponding font size of the candidate item;Wherein, the candidate item includes first candidate item and non-first candidate item, the head
The size that candidate item corresponding first shows region is more than the size that non-first candidate item corresponding second shows region, the first time
The size that option corresponding first shows region is adapted with current screen size, and/or, the corresponding font of the head candidate items
Size is determined based on the corresponding character quantity of the head candidate items;According to the corresponding font size of the candidate item, in the exhibition
Corresponding candidate item is shown in existing region, so that user triggers corresponding candidate item by the region that shows.
Optionally, the current screen size includes current screen width, and the region that shows is located in input interface, institute
The key area that input interface is equipped at least two types in the direction of the width is stated, the method further includes:According to described at least
The width ratio of two kinds of key area and the current screen width, determine the key area of at least two type
Width;The width for showing the corresponding key area in region according to described first determines the described first width for showing region.
Optionally, the method further includes:Show region and described second according to described first and shows the width ratio in region
Example and the current screen width, determine the described first width for showing region.
Optionally, the method further includes:It receives user and shows the moving operation on zone boundary for first;According to institute
Moving operation is stated, the size for showing region to described first is adjusted.
Optionally, the corresponding font size of the determination candidate item, including:Maximum word is obtained from font size set
Number, as the corresponding current font size of first candidate item.
Optionally, the corresponding font size of the determination candidate item further includes:If the first candidate item pair of current font size
The character quantity answered is more than the described first capacity for showing region, then is obtained from the font size set and be less than the current font size
Maximum font size, as the corresponding current font size of first candidate item.
Optionally, described according to the corresponding font size of the candidate item, it is described show show corresponding time in region
Option, including:If the corresponding character quantity of the head candidate items is more than the described first capacity for showing region, by the first time
The previous section character that option includes replaces with the first predetermined symbol;If and/or the corresponding character quantity of the first candidate item is super
It crosses described first to show the capacity in region and receive user preset operation, then the aft section for including by the first candidate item
Character replaces with the second predetermined symbol.
Optionally, the corresponding font size of the candidate item is successively decreased successively according to the sequence of mass fraction from high to low.
Optionally, the region that shows is located in input interface, and the input interface includes:First boundary layer and the second boundary
Face layer;First boundary layer shows region for carrying described first, the second interface layer for carry key area and
Described second shows region.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention
Its embodiment.The present invention is directed to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Above to a kind of input method provided by the present invention, a kind of input unit and a kind of device for input, with
And device and a kind of device for updating dictionary of a kind of method of update dictionary, a kind of update dictionary, carry out detailed Jie
It continues, principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only
It is the method and its core concept for being used to help understand the present invention;Meanwhile for those of ordinary skill in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (11)
1. a kind of input method, which is characterized in that the method includes:
According to input string input by user, the corresponding candidate item of the input string is obtained;
Determine the corresponding size for showing region of the candidate item, and/or the corresponding font size of the candidate item;Wherein, institute
It includes first candidate item and non-first candidate item to state candidate item, and the size that the head candidate items corresponding first show region is more than non-head
Candidate item corresponding second shows the size in region, and the head candidate items corresponding first show the size and current screen in region
Size is adapted, and/or, it is true that the corresponding font size of the head candidate items is based on the corresponding character quantity of the first candidate item
It is fixed, and/or, the corresponding font size of the candidate item is determined based on the mass fraction of the candidate item;
According to the corresponding font size of the candidate item, it is described show show corresponding candidate item in region so that user is logical
It crosses the region that shows and triggers corresponding candidate item.
2. according to the method described in claim 1, it is characterized in that, the current screen size includes current screen width, institute
It states and shows region and be located in input interface, the input interface is equipped with the key area of at least two types in the direction of the width,
The method further includes:
The width ratio of key area according at least two type and the current screen width, determine described at least two
The width of the key area of type;
The width for showing the corresponding key area in region according to described first determines the described first width for showing region.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
Show region and described second according to described first and show the width ratio in region and the current screen width, determines institute
State the first width for showing region.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
It receives user and shows the moving operation on zone boundary for first;
According to the moving operation, the size for showing region to described first is adjusted.
5. according to the method described in claim 1, it is characterized in that, the corresponding font size of the determination candidate item, packet
It includes:
Maximum font size is obtained from font size set, as the corresponding current font size of first candidate item.
6. according to the method described in claim 5, it is characterized in that, the corresponding font size of the determination candidate item, goes back
Including:
If the corresponding character quantity of first candidate item of current font size is more than the described first capacity for showing region, from the font size
The maximum font size less than the current font size is obtained in set, as the corresponding current font size of first candidate item.
7. according to any method in claim 1 to 6, which is characterized in that described according to the corresponding word of the candidate item
Body size, it is described show show corresponding candidate item in region, including:
If the corresponding character quantity of the head candidate items is more than the described first capacity for showing region, by the head candidate item packets
The previous section character included replaces with the first predetermined symbol;And/or
If the corresponding character quantity of the head candidate items is more than described first to show the capacity in region and receive user preset and grasp
Make, then by the first candidate item include before and/or aft section character replace with the second predetermined symbol.
8. according to any method in claim 1 to 6, which is characterized in that the corresponding font size of the candidate item is pressed
Successively decrease successively according to the sequence of mass fraction from high to low.
9. according to any method in claim 1 to 6, which is characterized in that the region that shows is located in input interface,
The input interface includes:First boundary layer and second interface layer;First boundary layer shows area for carrying described first
Domain, the second interface layer show region for carrying key area and described second.
10. a kind of input unit, which is characterized in that described device includes:
Candidate item acquisition module, for according to input string input by user, obtaining the corresponding candidate item of the input string;
Determining module, for determining the corresponding size for showing region of the candidate item, and/or the corresponding word of the candidate item
Body size;Wherein, the candidate item includes first candidate item and non-first candidate item, and the head candidate items corresponding first show region
Size be more than the size that non-first candidate item corresponding second shows region, the head candidate items corresponding first show region
Size is adapted with current screen size, and/or, the corresponding font size of the head candidate items is based on the first candidate item and corresponds to
Character quantity determine;And
Candidate item display module, for according to the corresponding font size of the candidate item, it is described show show correspondence in region
Candidate item so that user triggers corresponding candidate item by the region that shows.
11. a kind of device for input, which is characterized in that include memory and one or more than one program,
Either more than one program is stored in memory and is configured to be executed by one or more than one processor for one of them
The one or more programs include the instruction for being operated below:
According to input string input by user, the corresponding candidate item of the input string is obtained;
Determine the corresponding size for showing region of the candidate item, and/or the corresponding font size of the candidate item;Wherein, institute
It includes first candidate item and non-first candidate item to state candidate item, and the size that the head candidate items corresponding first show region is more than non-head
Candidate item corresponding second shows the size in region, and the head candidate items corresponding first show the size and current screen in region
Size is adapted, and/or, it is true that the corresponding font size of the head candidate items is based on the corresponding character quantity of the first candidate item
It is fixed, and/or, the corresponding font size of the candidate item is determined based on the mass fraction of the candidate item;
According to the corresponding font size of the candidate item, it is described show show corresponding candidate item in region so that user is logical
It crosses the region that shows and triggers corresponding candidate item.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710125042.1A CN108536653B (en) | 2017-03-03 | 2017-03-03 | Input method, input device and input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710125042.1A CN108536653B (en) | 2017-03-03 | 2017-03-03 | Input method, input device and input device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108536653A true CN108536653A (en) | 2018-09-14 |
CN108536653B CN108536653B (en) | 2022-09-30 |
Family
ID=63488491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710125042.1A Active CN108536653B (en) | 2017-03-03 | 2017-03-03 | Input method, input device and input device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108536653B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111258691A (en) * | 2020-01-10 | 2020-06-09 | 北京搜狗科技发展有限公司 | Input method interface processing method, device and medium |
CN111459300A (en) * | 2020-03-31 | 2020-07-28 | 维沃移动通信有限公司 | Character display method and electronic equipment |
CN114546192A (en) * | 2021-12-31 | 2022-05-27 | 北京达佳互联信息技术有限公司 | Content display processing method and device and content display method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102314284A (en) * | 2010-06-30 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method for user to freely adjust input interface and equipment |
CN103425424A (en) * | 2012-05-22 | 2013-12-04 | 北京蒙恬科技有限公司 | Handwriting input word selecting system and method |
CN104424359A (en) * | 2013-08-30 | 2015-03-18 | 三星电子株式会社 | Electronic device and method for providing content according to field attribute |
EP2940557A1 (en) * | 2012-12-31 | 2015-11-04 | Baidu Online Network Technology (Beijing) Co., Ltd | Method and device used for providing input candidate item corresponding to input character string |
CN105446495A (en) * | 2015-12-08 | 2016-03-30 | 北京搜狗科技发展有限公司 | Candidate sorting method and apparatus |
-
2017
- 2017-03-03 CN CN201710125042.1A patent/CN108536653B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102314284A (en) * | 2010-06-30 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method for user to freely adjust input interface and equipment |
CN103425424A (en) * | 2012-05-22 | 2013-12-04 | 北京蒙恬科技有限公司 | Handwriting input word selecting system and method |
EP2940557A1 (en) * | 2012-12-31 | 2015-11-04 | Baidu Online Network Technology (Beijing) Co., Ltd | Method and device used for providing input candidate item corresponding to input character string |
CN104424359A (en) * | 2013-08-30 | 2015-03-18 | 三星电子株式会社 | Electronic device and method for providing content according to field attribute |
CN105446495A (en) * | 2015-12-08 | 2016-03-30 | 北京搜狗科技发展有限公司 | Candidate sorting method and apparatus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111258691A (en) * | 2020-01-10 | 2020-06-09 | 北京搜狗科技发展有限公司 | Input method interface processing method, device and medium |
CN111459300A (en) * | 2020-03-31 | 2020-07-28 | 维沃移动通信有限公司 | Character display method and electronic equipment |
CN114546192A (en) * | 2021-12-31 | 2022-05-27 | 北京达佳互联信息技术有限公司 | Content display processing method and device and content display method and device |
CN114546192B (en) * | 2021-12-31 | 2023-11-28 | 北京达佳互联信息技术有限公司 | Content display processing method and device and content display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108536653B (en) | 2022-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105830422B (en) | Foldable electronic and its interface alternation method | |
US8244284B2 (en) | Mobile communication device and the operating method thereof | |
CN104216973B (en) | A kind of method and device of data search | |
CN107247519A (en) | A kind of input method and device | |
CN108958503A (en) | input method and device | |
CN104461348B (en) | Information choosing method and device | |
CN108008832A (en) | A kind of input method and device, a kind of device for being used to input | |
CN109388810A (en) | A kind of data processing method, device and the device for data processing | |
CN104978045B (en) | A kind of Chinese character input method and device | |
CN107621886A (en) | Method, apparatus and electronic equipment are recommended in one kind input | |
CN107918496A (en) | It is a kind of to input error correction method and device, a kind of device for being used to input error correction | |
CN109144285A (en) | A kind of input method and device | |
CN108345608A (en) | A kind of searching method, device and equipment | |
CN108536653A (en) | A kind of input method, device and the device for input | |
CN107179835A (en) | A kind of input method and device, a kind of device for being used to input | |
CN104424324B (en) | The method and device of locating list item in list element | |
CN109388249A (en) | Input processing method, device, terminal and the readable storage medium storing program for executing of information | |
CN107422921A (en) | A kind of input method, device, electronic equipment and storage medium | |
CN108628461A (en) | A kind of input method and device, a kind of method and apparatus of update dictionary | |
CN108073293A (en) | A kind of definite method and apparatus of target phrase | |
CN109542244B (en) | Input method, device and medium | |
CN110096163A (en) | A kind of expression input method and device | |
JP2011186994A (en) | Character input device and character input method | |
CN109901726A (en) | A kind of candidate word generation method, device and the device generated for candidate word | |
CN110244859A (en) | A kind of method and device of customized candidates of input method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |