CN106020505B - A kind of sort method and mobile terminal of candidates of input method - Google Patents
A kind of sort method and mobile terminal of candidates of input method Download PDFInfo
- Publication number
- CN106020505B CN106020505B CN201610369761.3A CN201610369761A CN106020505B CN 106020505 B CN106020505 B CN 106020505B CN 201610369761 A CN201610369761 A CN 201610369761A CN 106020505 B CN106020505 B CN 106020505B
- Authority
- CN
- China
- Prior art keywords
- weather
- reference value
- time
- candidate item
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0236—Character input methods using selection techniques to select from displayed items
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of sort method and mobile terminal of candidates of input method, is related to the communications field, and the input efficiency to solve the problems, such as existing input method is relatively low.The sort method of candidates of input method of the present invention includes:Receive coded string input by user;Candidate item corresponding with the coded string of the input is determined, wherein the candidate item includes at least two candidate items;Determine the association in time parameter value and weather relevant parameter value of the candidate item;The display parameters sortnig value of the candidate item is determined according to the default sort parameter value of the association in time parameter value of the candidate item, the weather relevant parameter value and the candidate item;Corresponding candidate item is shown according to the display parameters sortnig value.Present invention is mainly used in mobile terminal.
Description
Technical field
The present embodiments relate to the communications fields, and more particularly, to a kind of sort method of candidates of input method
And mobile terminal and mobile terminal.
Background technology
Input method is one of the main tool on mobile terminal.After user has input entry using some input method, that
, the multiple and relevant candidate item of the entry can be displayed for a user.In practical applications, mobile device can pass through application program
Relevant data of largely living with user are obtained, but there is no reasonably used in input method these data.Therefore,
The input efficiency of user is relatively low when being inputted using existing input method.
Invention content
The embodiment of the present invention provides the sort method and mobile terminal and mobile terminal of a kind of candidates of input method, to solve
The relatively low problem of the input efficiency of existing input method.
In a first aspect, providing a kind of sort method of candidates of input method, the method is applied to mobile terminal, described
Method includes:
Receive coded string input by user;
Candidate item corresponding with the coded string of the input is determined, wherein the candidate item includes at least two candidate
;
Determine the association in time parameter value and weather relevant parameter value of the candidate item;
According to the association in time parameter value of the candidate item, the acquiescence of the weather relevant parameter value and the candidate item
Parameters sortnig value determines the display parameters sortnig value of the candidate item;
Corresponding candidate item is shown according to the display parameters sortnig value.
Second aspect, the present invention provides a kind of mobile terminals, including:
Information acquisition unit, for obtaining coded string input by user;
First determination unit, for determining candidate item corresponding with the coded string of the input, wherein the candidate
Item includes at least two candidate items;
Second determination unit, the association in time parameter value for determining the candidate item and weather relevant parameter value;
Third determination unit, for according to the association in time parameter value of the candidate item, the weather relevant parameter value with
And the default sort parameter value of the candidate item determines the display parameters sortnig value of the candidate item;
Prompt unit, for showing corresponding candidate item according to the display parameters sortnig value.
In this way, in the embodiment of the present invention, after user has input coded string, the coded string with input is determined
Corresponding candidate item.Meanwhile determining the association in time parameter value and weather relevant parameter value of the candidate item, and according to described
The acquiescence row of the association in time parameter value of candidate item, the weather relevant parameter value and the candidate item in the input method
Order parameter value determines the display parameters sortnig value of the candidate item, and corresponding candidate is prompted further according to the display parameters sortnig value
.Due in embodiments of the present invention on the basis of it is in each candidate item default sort to be ranked up to candidate item, it is contemplated that
Therefore the association in time parameter value and weather relevant parameter value of each candidate item may make the sequence of each candidate item more to meet
The demand of user, to improve input efficiency of the user using input method when.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art
Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the present invention
Example is applied, it for those of ordinary skill in the art, without having to pay creative labor, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is the flow chart of the sort method of the candidates of input method of first embodiment of the invention;
Fig. 2 is one of the flow chart of step 13 in first embodiment of the invention;
Fig. 3 is two of the flow chart of step 13 in first embodiment of the invention;
Fig. 4 is the flow chart of the sort method of the candidates of input method of second embodiment of the invention;
Fig. 5 is the schematic diagram of the mobile terminal of third embodiment of the invention;
Fig. 6 is the schematic diagram of the mobile terminal of fourth embodiment of the 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.
First embodiment
As shown in Figure 1, the sort method of the candidates of input method of first embodiment of the invention, is applied to mobile terminal, packet
It includes:
Step 11 receives coded string input by user.
In a particular application, when user triggers the input method of mobile terminal, using the input frame of input method offer
Input information.Here, the information that user inputs in input frame is known as coded string.For example, user can input in input frame
Huayuan etc..Alternatively, when user is inputted using voice, voice input by user also can be used as coded string in this.
Step 12 determines candidate item corresponding with the coded string of input, and wherein candidate item includes at least two candidate
.
Under normal conditions, according to the input information of user, the candidate item prompting frame of input method can prompt the user with 1 with
On candidate item.By taking the huayuan in step 11 as an example, it can show that " garden, Flower Garden, Hua Yuan " etc. are more in candidate item prompting frame
A candidate item.User can select the word finally to be inputted from the candidate item of display.
When being ranked up to each candidate item, typically according to each candidate item and information input by user the degree of correlation into
Row sequence.The degree of correlation is higher, and the sequence of candidate item is more forward.In embodiments of the present invention, by each candidate item in input method
The sequence of acquiescence is known as default sort, and in default sort, the degree of correlation of the information of each candidate item and input is known as giving tacit consent to row
Order parameter value.
Step 13, the association in time parameter value for determining candidate item and weather relevant parameter value.
In practical applications, various types of application software, such as weather, music etc. can be installed in mobile terminal.Phase
It answers, can get a large amount of data by these application software mobile terminals of installation.Wherein, time and weather are lived with user
Relationship it is more close.So, in embodiments of the present invention, in order to enable the candidate item prompted the user with more meets the need of user
It asks, on the basis of input method default sort, regard the degree of correlation of each candidate item and time, weather etc. as each time simultaneously
The ordering factor of option.It wherein, will be for indicating that the parameter of the degree of correlation of each candidate item and time is known as association in time ginseng
Numerical value, will be for indicating that the parameter of the degree of correlation of each candidate item and weather is known as weather relevant parameter value.
After multiple candidate items corresponding with the information of input are determined, it can be determined and the time by following two modes
Select the corresponding association in time parameter value of alternate item and weather relevant parameter value.Certainly, it can also be not limited to this in a particular application
Two ways described in inventive embodiments.
Mode one, as shown in Fig. 2, which includes the following steps:
Step 131 searches at least one time-sequencing ginseng corresponding with candidate item in preset first mapping table
Value is examined, at least one weather sequence reference value corresponding with candidate item is searched in preset second mapping table.
In embodiments of the present invention, the time may include:Spring, summer, autumn, winter, early, middle and late, night, the Spring Festival, the Lantern Festival ...;
Weather may include:Fine, cloudy, cloudy, rain, snow, mist, wind ....By dividing having each candidate item in dictionary in mobile terminal
Analysis, can be arranged above-mentioned two mapping table.
The above-mentioned mapping table can store in the terminal, can also store beyond the clouds.Certainly, two kinds of correspondences
Relationship can be also simultaneously arranged in a mapping table.
Step 132 chooses maximum time-sequencing reference value from least one time-sequencing reference value, and from least
Maximum weather sequence reference value is chosen in one weather sequence reference value.
For each candidate alternate item, can be obtained by searching for the first and second mapping tables one or more corresponding
Time-sequencing reference value and weather sort reference value.In the manner, from the multiple time-sequencing reference values and weather of acquisition
Maximum time-sequencing reference value is chosen in sequence reference value and weather sequence reference value is used for the calculating of subsequent step.
Step 133 is obtained preset first time weights, and is referred to using first time weights and maximum time-sequencing
Value determines association in time parameter value.
Specifically, in this step, using the product of first time weights and maximum time-sequencing reference value as the time
Relevant parameter value.
Step 134 obtains preset first weather weights, and utilizes the first weather weights and the sequence reference of maximum weather
Value determines weather relevant parameter value.
Specifically, in this step, using the product of the first weather weights and maximum weather sequence reference value as weather
Relevant parameter value.
Wherein in above-mentioned steps 133 and 134, first time weights and the first weather weights are pre-set, can be divided
The influence that time factor and weather conditions sort to candidate item Yong Yu not be indicated.Wherein, first time weights and the first weather power
Be worth value in [0,1], and the two and be equal to 1.
Mode two, as shown in figure 3, which includes the following steps:
Step 135 searches at least one time-sequencing ginseng corresponding with candidate item in preset first mapping table
Value is examined, at least one weather sequence reference value corresponding with candidate item is searched in preset second mapping table, wherein
It is stored with the correspondence of candidate item, time-sequencing reference value in first mapping table, is stored in the second mapping table
There is the correspondence of candidate item, weather sequence reference value.
Step 136 obtains corresponding second time weight of each time-sequencing reference value respectively, and obtains respectively each
The corresponding second weather weights of weather sequence reference value.
Unlike mode one, in the manner, for the time-sequencing reference value corresponding to each candidate item, weather
The reference value that sorts all is used as Consideration.Wherein, the second time weight corresponding to each time-sequencing reference value and second day
Gas weights are pre-set.
Step 137 determines that sequence is joined at the first time using each time-sequencing reference value and corresponding second time weight
Examine value.
Specifically, in this step, each time-sequencing reference value is weighted using corresponding second time weight
Summation, using the result of summation as first time sequence reference value.
It is assumed that each time-sequencing reference value is respectively i1,i2,…,in, corresponding second time weight is respectively m1,
m2,…,mn, then sequence reference value=i at the first time1×m1+i2×m2+…+in×mn.N is of time-sequencing reference value
Number, value is natural number.
Step 138, the reference value that sorted using each weather and corresponding second weather weights determine the first weather sequence ginseng
Examine value.
Specifically, in this step, each weather sequence reference value is weighted using corresponding second weather weights
Summation, using the result of summation as the first weather sequence reference value.
It is assumed that each weather sequence reference value is respectively k1,k2,…,kn, corresponding second weather weights are respectively n1,
n2,…,nn, reference value=k then the first weather sorts1×n1+k2×n2+…+kn×nn.N is of weather sequence reference value
Number, value is natural number.
Step 139 obtains preset first time weights, true using first time weights and first time sequence reference value
It fixes time relevant parameter value.
Step 140 obtains preset first weather weights, true using the first weather weights and the first weather sequence reference value
Determine weather relevant parameter value.
Wherein in above-mentioned steps 137 and 138, the second time weight and the second weather weights are pre-set, can be divided
The influence that time factor and weather conditions sort to each candidate item Yong Yu not be indicated.Wherein in above-mentioned steps 139 and 140,
First time weights and the first weather weights are pre-set, wherein first time weights and the first weather weights value in
[0,1], and the two and be equal to 1.And each second time weight and be equal to first time weights, each second weather power
Value and be equal to the first weather weights.
Step 14, according to the association in time parameter value of candidate item, weather relevant parameter value and candidate item in input method
Default sort parameter value determine the display parameters sortnig value of candidate item.
Here, by the association in time parameter value of candidate item, weather relevant parameter value and default sort parameter value and conduct
Show parameters sortnig value.
Step 15 shows corresponding candidate item according to display parameters sortnig value.
In order to further increase user experience, corresponded to here, being shown according to the descending sequence of display parameters sortnig value
Candidate item.
Due in embodiments of the present invention when being ranked up to candidate item on the basis of each candidate item default sort, examining
Therefore the association in time parameter value and weather relevant parameter value for having considered each candidate item may make the sequence of each candidate item more
The demand for meeting user, to improve input efficiency of the user using input method when.
Second embodiment
As shown in figure 4, the sort method of the candidates of input method of second embodiment of the invention, is applied to mobile terminal, packet
It includes:
Step 21 obtains the information that user utilizes input method input.
In this, it is assumed that information input by user is " huad ".
Step 22 determines candidate item corresponding with the information of input.
According to existing dictionary in the input method, candidate item corresponding with " huad " is searched, including:Sliding, festive lantern, cunning
It arrives, flower, colourfully decorated lantern etc..
Step 23, the association in time parameter value for determining candidate item and weather relevant parameter value.
In embodiments of the present invention, the first mapping table is as shown in table 1 below, and the second mapping table following 2 is as follows:
Table 1
Table 2
It is fine | It is cloudy | It is cloudy | Rain | Snow | … | |
Sliding | 2% | 2% | 2% | 8% | 16% | … |
Festive lantern | 5% | 2% | 2% | 2% | 2% | … |
It slips | 2% | 2% | 2% | 15% | 35% | … |
Flower | 7% | 2% | 2% | 2% | 2% | … |
Colourfully decorated lantern | 4% | 2% | 2% | 2% | 3% | … |
By taking candidate item " sliding " as an example, its corresponding time-sequencing reference value is respectively under scene in different times:
5%, 10%, 2%, 8%, 2%;Its corresponding weather sequence reference value is respectively under different weather scenes:2%, 2%,
2%, 8%, 16%.
By taking candidate item " sliding " as an example, here, the default sort parameter value in input method is E, wherein E is more than 0
Constant.
The association in time parameter value and weather relevant parameter value of " sliding " can be calculated as follows.
Mode one calculates separately association in time parameter value and weather relevant parameter value by following formula (1) and formula (2).
A=tmax×a1 (1)
Wherein, A indicates association in time parameter value, tmaxIndicate maximum time-sequencing reference value, a1It indicates to weigh at the first time
Value.Through looking into upper table 1, tmaxIt is 10%.
B=wmax×a2 (2)
Wherein, B indicates association in time parameter value, wmaxIndicate maximum time-sequencing reference value, a2It indicates to weigh at the first time
Value.Through looking into upper table 1, wmaxIt is 16%.Wherein a1+a2=1 and the equal value of the two in [0,1].
Mode two calculates separately sequence reference value at the first time and the sequence of the first weather by following formula (3) and formula (4)
Reference value.
C=t1×a11+t2×a12+…+tn×a1n (3)
Wherein, C indicates sequence reference value at the first time, t1…tnIndicate the corresponding each time-sequencing reference value of the candidate item,
a11…a1nIndicate corresponding second time weight of each time-sequencing reference value.
D=w1×a21+w2×a22+…+wn×a2n (4)
Wherein, D indicates the first weather sequence reference value, w1…wnIndicate the corresponding each weather sequence reference value of the candidate item,
a21…a2nIndicate the corresponding second weather weights of each weather sequence reference value.
Then, (5) and (6) calculate association in time parameter value and weather relevant parameter value according to the following equation:
A=C × a1 (5)
B=D × a2 (6)
In this manner, the first time sequence reference value of candidate item " sliding " calculates as follows:
C=t1×a11+t2×a12+…tn×a1n=5% × a11+ 10% × a12+ ... 2% × a1n, wherein a11+…+a1n
=a1。
In this manner, the first weather sequence reference value of candidate item " sliding " calculates as follows:
D=w1×a21+w2×a22+…+wn×a2n=2% × a21+ ...+16% × a2n, wherein a21+…+a2n=a2。
Step 24, according to the association in time parameter value of candidate item, weather relevant parameter value and candidate item in input method
Default sort parameter value determine the display parameters sortnig value of candidate item.
In this step, the display parameters sortnig value of candidate item is determined according to formula (7):
P=A+B+E (7)
P indicates to show that parameters sortnig value, A indicate that association in time parameter value, B indicate that association in time parameter value, E indicate acquiescence
Parameters sortnig value.
Step 25 prompts corresponding candidate item according to the descending sequence of display parameters sortnig value.
Due in embodiments of the present invention when being ranked up to candidate item on the basis of each candidate item default sort, examining
Therefore the association in time parameter value and weather relevant parameter value for having considered each candidate item may make the sequence of each candidate item more
The demand for meeting user to improve input efficiency of the user using input method when, and also improves the operating body of user
It tests and to the usage experience of mobile terminal.
3rd embodiment
As shown in figure 5, the mobile terminal of third embodiment of the invention, including:
Information acquisition unit 31, for obtaining coded string input by user;First determination unit 32, for determine with
The corresponding candidate item of coded string of input, wherein candidate item include at least two candidate items;Second determination unit 33, is used for
Determine the association in time parameter value and weather relevant parameter value of candidate item;Third determination unit 34, for according to candidate item when
Between the default sort parameter value of relevant parameter value, weather relevant parameter value and candidate item in input method determine the aobvious of candidate item
Show parameters sortnig value;Prompt unit 35, for showing corresponding candidate item according to display parameters sortnig value.
Wherein, the first determination unit 32 includes:
First searches subelement, corresponding with candidate item at least one for being searched in preset first mapping table
Time-sequencing reference value is stored with the correspondence of candidate item, time-sequencing reference value in the first mapping table;
Second searches subelement, corresponding with candidate item at least one for being searched in preset second mapping table
Weather sequence reference value is stored with the correspondence of candidate item, weather sequence reference value in the second mapping table;
First determination subelement, for determining sequence reference value at the first time according at least one time-sequencing reference value;
Second determination subelement, for determining the first weather sequence reference value according at least one weather sequence reference value;
First obtains subelement, for obtaining preset first time weights, and when utilization first time weights and first
Between sequence reference value determine association in time parameter value;
Second obtains subelement, for obtaining preset first weather weights, and utilizes the first weather weights and first day
Gas sequence reference value determines weather relevant parameter value.
In a particular application, the first determination subelement is specifically used for:It is chosen most from least one time-sequencing reference value
Big time-sequencing reference value, using maximum time-sequencing reference value as first time sequence reference value;Second determines that son is single
Member is specifically used for:Maximum weather sequence reference value is chosen in sorting reference value from least one weather, and maximum weather is arranged
Sequence reference value is as the first weather sequence reference value.
Alternatively, the first determination subelement is specifically used for:Each time-sequencing reference value corresponding second time is obtained respectively
Each time-sequencing reference value is weighted summation by weights using corresponding second time weight, using the result of summation as
Sequence reference value at the first time;Second determination subelement is specifically used for:Each weather sequence reference value corresponding the is obtained respectively
Each weather sequence reference value is weighted summation, by the knot of summation by two weather weights using corresponding second weather weights
Fruit is as the first weather sequence reference value.
At this point, the first acquisition subelement is specifically used for:The product for reference value that first time weights and first time are sorted
As association in time parameter value;Second acquisition subelement is specifically used for:By the first weather weights and the first weather sequence reference value
Product as weather relevant parameter value.
In a particular application, third determination unit 34 is specifically used for:The association in time parameter value of candidate item, weather are associated with
Parameter value and default sort parameter value and as display parameters sortnig value.Prompt unit 35 is specifically used for:It sorts according to display
Parameter value shows corresponding candidate item.
Third embodiment of the invention mobile terminal can realize that mobile terminal in the embodiment of the method for Fig. 1 to Fig. 4 is realized
Each process, to avoid repeating, which is not described herein again.
Due in embodiments of the present invention when being ranked up to candidate item on the basis of each candidate item default sort, examining
Therefore the association in time parameter value and weather relevant parameter value for having considered each candidate item may make the sequence of each candidate item more
The demand for meeting user to improve input efficiency of the user using input method when, and also improves the operating body of user
It tests and to the usage experience of mobile terminal.
Fourth embodiment
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 400 shown in fig. 6 includes:At least
One processor 401, memory 402, at least one network interface 404 and user interface 403.It is each in mobile terminal 400
Component is coupled by bus system 405.It is understood that bus system 405 is logical for realizing the connection between these components
Letter.Bus system 405 further includes power bus, controlling bus and status signal bus in addition in addition to including data/address bus.But it is
For the sake of clear explanation, in figure 6 various buses are all designated as bus system 405.
Wherein, user interface 403 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 402 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Both or may include volatile and non-volatile memory.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 402 of system and method described herein be intended to including but not limited to these and it is arbitrary its
It is suitble to the memory of type.
In some embodiments, memory 402 stores following element, executable modules or data structures, or
Their subset of person or their superset:Operating system 4021 and application program 4022.
Wherein, operating system 4021, including various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 4022, including various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 4022.
In embodiments of the present invention, by the program for calling memory 402 to store or instruction, specifically, can be application
The program stored in program 4022 or instruction, processor 401 are used for:
Receive coded string input by user;
Determine candidate item corresponding with the coded string of input, wherein candidate item includes at least two candidate items;
Determine the association in time parameter value and weather relevant parameter value of candidate item;
Default sort parameter value according to the association in time parameter value of candidate item, weather relevant parameter value and candidate item is true
Determine the display parameters sortnig value of candidate item;
Corresponding candidate item is shown according to display parameters sortnig value.
The method that the embodiments of the present invention disclose can be applied in processor 401, or be realized by processor 401.
Processor 401 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 401 or the instruction of software form.Above-mentioned processing
Device 401 can be general processor, digital signal processor (Digi tal Signal Processor, DSP), special integrated
Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 402, processor 401 reads the information in memory 402, the above method is completed in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
It combines to realize.For hardware realization, processing unit may be implemented in one or more application-specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digi tal Signal Process
Ing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, the skill of this paper can be realized by executing the module (such as process, function etc.) of this paper functions
Art.Software code is storable in memory and is executed by processor.Memory can in the processor or outside the processor
It realizes in portion.
Optionally, processor 401 is additionally operable to:Lookup is corresponding with candidate item at least in preset first mapping table
One time-sequencing reference value searches at least one weather sequence corresponding with candidate item in preset second mapping table
Reference value corresponds to wherein being stored with the correspondence of candidate item, time-sequencing reference value in the first mapping table second
The correspondence of candidate item, weather sequence reference value is stored in relation table;It is determined according at least one time-sequencing reference value
Sequence reference value at the first time, and the first weather sequence reference value is determined according at least one weather sequence reference value;It obtains
Preset first time weights, and determine association in time parameter value using first time weights and first time sequence reference value;
Preset first weather weights are obtained, and weather relevant parameter is determined using the first weather weights and the first weather sequence reference value
Value.
Optionally, processor 401 is additionally operable to:Maximum time-sequencing ginseng is chosen from least one time-sequencing reference value
Value is examined, using maximum time-sequencing reference value as first time sequence reference value.
Optionally, processor 401 is additionally operable to:Maximum weather sequence ginseng is chosen in sorting reference value from least one weather
Value is examined, using maximum weather sequence reference value as the first weather sequence reference value.
Optionally, processor 401 is additionally operable to:Corresponding second time weight of each time-sequencing reference value is obtained respectively,
Each time-sequencing reference value is weighted summation using corresponding second time weight, when using the result of summation as first
Between sort reference value.
Optionally, processor 401 is additionally operable to:The corresponding second weather weights of each weather sequence reference value are obtained respectively,
Each weather sequence reference value is weighted summation using corresponding second weather weights, using the result of summation as first day
Gas sequence reference value.
Optionally, processor 401 is additionally operable to:Using first time weights and at the first time sequence reference value product as when
Between relevant parameter value.
Optionally, processor 401 is additionally operable to:Using the product of the first weather weights and the first weather sequence reference value as day
Air to close joins parameter value.
Optionally, processor 401 is additionally operable to:By the association in time parameter value of candidate item, weather relevant parameter value and acquiescence
Parameters sortnig value and as display parameters sortnig value.
Optionally, processor 401 is additionally operable to:Corresponding candidate is shown according to the descending sequence of display parameters sortnig value
.
Mobile terminal 400 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
Due in embodiments of the present invention when being ranked up to candidate item on the basis of each candidate item default sort, examining
Therefore the association in time parameter value and weather relevant parameter value for having considered each candidate item may make the sequence of each candidate item more
The demand for meeting user to improve input efficiency of the user using input method when, and also improves the operating body of user
It tests and to the usage experience of mobile terminal.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit, only a kind of
Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, and be shown as unit
Component may or may not be physical unit, you can be located at a place, or may be distributed over multiple networks
On unit.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store
In a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words to existing
There is the part for the part or the technical solution that technology contributes that can be expressed in the form of software products, the computer
Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter
Calculation machine, server or network equipment etc.) execute all or part of step of each embodiment method of the present invention.And it is above-mentioned
Storage medium includes:The various media that can store program code such as USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD.
More than, specific implementation mode only of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover
Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (12)
1. a kind of sort method of candidates of input method is applied to mobile terminal, which is characterized in that including:
Receive coded string input by user;
Candidate item corresponding with the coded string of the input is determined, wherein the candidate item includes at least two candidate items;
Determine the association in time parameter value and weather relevant parameter value of the candidate item;
According to the association in time parameter value of the candidate item, the default sort of the weather relevant parameter value and the candidate item
Parameter value determines the display parameters sortnig value of the candidate item;
Corresponding candidate item is shown according to the display parameters sortnig value;
Wherein, the association in time parameter value of the determination candidate item and weather relevant parameter value, including:
At least one time-sequencing reference value corresponding with the candidate item is searched in preset first mapping table, pre-
If the second mapping table in search at least one weather sequence reference value corresponding with the candidate item, wherein described the
It is stored with the correspondence of candidate item and time-sequencing reference value in one mapping table, is deposited in second mapping table
Contain the correspondence of candidate item and weather sequence reference value;
Sequence reference value at the first time is determined according at least one time-sequencing reference value, and according to described at least one
Weather sequence reference value determines the first weather sequence reference value;
Preset first time weights are obtained, and are determined using the first time weights and first time sequence reference value
The association in time parameter value;
Preset first weather weights are obtained, and are determined using the first weather weights and first weather sequence reference value
The weather relevant parameter value.
2. according to the method described in claim 1, it is characterized in that, described true according at least one time-sequencing reference value
Fixed sequence reference value at the first time, including:
Maximum time-sequencing reference value is chosen from least one time-sequencing reference value, the maximum time is arranged
Sequence reference value is as first time sequence reference value;
It is described that first weather sequence reference value is determined according at least one weather sequence reference value, including:
Maximum weather sequence reference value is chosen from least one weather sequence reference value, the maximum weather is arranged
Sequence reference value is as first weather sequence reference value.
3. according to the method described in claim 1, it is characterized in that, described true according at least one time-sequencing reference value
Fixed sequence reference value at the first time, including:
Corresponding second time weight of each time-sequencing reference value is obtained respectively, and each time-sequencing reference value is utilized
Corresponding second time weight is weighted summation, using the result of summation as first time sequence reference value;
It is described that first weather sequence reference value is determined according at least one weather sequence reference value, including:
The corresponding second weather weights of each weather sequence reference value are obtained respectively, and each weather sequence reference value is utilized
Corresponding second weather weights are weighted summation, using the result of summation as first weather sequence reference value.
4. according to the method described in claim 1, it is characterized in that, it is described using the first time weights and it is described first when
Between sequence reference value determine the association in time parameter value, including:
Using the product of the first time weights and first time sequence reference value as the association in time parameter value;
It is described to determine the weather relevant parameter value using the first weather weights and first weather sequence reference value, it wraps
It includes:
Using the product of the first weather weights and first weather sequence reference value as the weather relevant parameter value.
5. according to the method described in claim 1, it is characterized in that, the association in time parameter value according to the candidate item,
The default sort parameter value of the weather relevant parameter value and the candidate item in the input method determines the candidate item
Display parameters sortnig value, including:
By the association in time parameter value of the candidate item, the weather relevant parameter value and the default sort parameter value and make
For the display parameters sortnig value.
6. according to any methods of claim 1-5, which is characterized in that described to be shown according to the display parameters sortnig value
Corresponding candidate item, including:
Corresponding candidate item is shown according to the descending sequence of the display parameters sortnig value.
7. a kind of mobile terminal, which is characterized in that including:
Information acquisition unit, for obtaining coded string input by user;
First determination unit, for determining candidate item corresponding with the coded string of the input, wherein the candidate item packet
Include at least two candidate items;
Second determination unit, the association in time parameter value for determining the candidate item and weather relevant parameter value;
Third determination unit, for according to the association in time parameter value of the candidate item, the weather relevant parameter value and institute
The default sort parameter value for stating candidate item determines the display parameters sortnig value of the candidate item;
Prompt unit, for showing corresponding candidate item according to the display parameters sortnig value;
Wherein, first determination unit includes:
First searches subelement, corresponding with the candidate item at least one for being searched in preset first mapping table
Time-sequencing reference value is stored with the correspondence of candidate item, time-sequencing reference value in first mapping table;
Second searches subelement, corresponding with the candidate item at least one for being searched in preset second mapping table
Weather sequence reference value is stored with the correspondence of candidate item, weather sequence reference value in second mapping table;
First determination subelement, for determining sequence reference value at the first time according at least one time-sequencing reference value;
Second determination subelement, for determining the first weather sequence reference value according at least one weather sequence reference value;
First obtains subelement, for obtaining preset first time weights, and utilizes the first time weights and described the
One time-sequencing reference value determines the association in time parameter value;
Second obtains subelement, for obtaining preset first weather weights, and utilizes the first weather weights and described the
One weather sequence reference value determines the weather relevant parameter value.
8. mobile terminal according to claim 7, which is characterized in that
First determination subelement is specifically used for:Maximum time row is chosen from least one time-sequencing reference value
Sequence reference value, using the maximum time-sequencing reference value as first time sequence reference value;
Second determination subelement is specifically used for:Maximum weather row is chosen from least one weather sequence reference value
Sequence reference value, using the maximum weather sequence reference value as first weather sequence reference value.
9. mobile terminal according to claim 7, which is characterized in that
First determination subelement is specifically used for:Corresponding second time weight of each time-sequencing reference value is obtained respectively,
Each time-sequencing reference value is weighted summation using corresponding second time weight, using the result of summation as institute
State sequence reference value at the first time;
Second determination subelement is specifically used for:The corresponding second weather weights of each weather sequence reference value are obtained respectively,
Each weather sequence reference value is weighted summation using corresponding second weather weights, using the result of summation as institute
State the first weather sequence reference value.
10. mobile terminal according to claim 9, which is characterized in that the first acquisition subelement is specifically used for:By institute
The product of first time weights and first time sequence reference value is stated as the association in time parameter value;
The second acquisition subelement is specifically used for:The first weather weights and first weather are sorted the multiplying of reference value
Product is used as the weather relevant parameter value.
11. mobile terminal according to claim 7, which is characterized in that the third determination unit is specifically used for:It will be described
The association in time parameter value of candidate item, the weather relevant parameter value and the default sort parameter value and as the display
Parameters sortnig value.
12. according to any mobile terminals of claim 7-11, which is characterized in that the prompt unit is specifically used for:It presses
Corresponding candidate item is shown according to the display parameters sortnig value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610369761.3A CN106020505B (en) | 2016-05-27 | 2016-05-27 | A kind of sort method and mobile terminal of candidates of input method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610369761.3A CN106020505B (en) | 2016-05-27 | 2016-05-27 | A kind of sort method and mobile terminal of candidates of input method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106020505A CN106020505A (en) | 2016-10-12 |
CN106020505B true CN106020505B (en) | 2018-10-16 |
Family
ID=57092369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610369761.3A Active CN106020505B (en) | 2016-05-27 | 2016-05-27 | A kind of sort method and mobile terminal of candidates of input method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106020505B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110618991A (en) * | 2019-08-15 | 2019-12-27 | 平安普惠企业管理有限公司 | Method, system, equipment and storage medium for automatically inputting parameter values |
CN112783337B (en) * | 2020-12-31 | 2024-04-12 | 科大讯飞股份有限公司 | Input method candidate item ordering method and related model training method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101750094A (en) * | 2008-11-28 | 2010-06-23 | 佛山市顺德区顺达电脑厂有限公司 | Portable navigation device and processing method thereof |
CN103677299A (en) * | 2012-09-12 | 2014-03-26 | 深圳市世纪光速信息技术有限公司 | Method and device for achievement of intelligent association in input method and terminal device |
CN103869998A (en) * | 2012-12-11 | 2014-06-18 | 百度国际科技(深圳)有限公司 | Method and device for sorting candidate items generated by input method |
CN104850238A (en) * | 2015-04-17 | 2015-08-19 | 小米科技有限责任公司 | Method and device for sorting candidate items generated by input method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI336048B (en) * | 2007-05-11 | 2011-01-11 | Delta Electronics Inc | Input system for mobile search and method therefor |
-
2016
- 2016-05-27 CN CN201610369761.3A patent/CN106020505B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101750094A (en) * | 2008-11-28 | 2010-06-23 | 佛山市顺德区顺达电脑厂有限公司 | Portable navigation device and processing method thereof |
CN103677299A (en) * | 2012-09-12 | 2014-03-26 | 深圳市世纪光速信息技术有限公司 | Method and device for achievement of intelligent association in input method and terminal device |
CN103869998A (en) * | 2012-12-11 | 2014-06-18 | 百度国际科技(深圳)有限公司 | Method and device for sorting candidate items generated by input method |
CN104850238A (en) * | 2015-04-17 | 2015-08-19 | 小米科技有限责任公司 | Method and device for sorting candidate items generated by input method |
Also Published As
Publication number | Publication date |
---|---|
CN106020505A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107368510B (en) | A kind of shop search ordering method and device | |
CN108319376B (en) | Input association recommendation method and device for optimizing commercial word promotion | |
CN101867637A (en) | Method and terminal for dynamically generating standby interface | |
CN104142999A (en) | Search result display method and device | |
CN104965630A (en) | Method and system for layout of desktop application icons | |
CN106020505B (en) | A kind of sort method and mobile terminal of candidates of input method | |
CN110415116A (en) | Similar K line chart methods of exhibiting, device, terminal device and computer storage medium | |
CN105975486A (en) | Information recommendation method and apparatus | |
CN110502533A (en) | A kind of BOM selection method, device and electronic equipment and storage medium | |
CN107437072A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN110503235A (en) | The prediction technique and system of time series | |
CN106126662A (en) | A kind of electronic book displaying method and mobile terminal | |
CN106953937B (en) | Uniform Resource Locator (URL) conversion method and device | |
CN102930016B (en) | A kind of method and apparatus for providing Search Results on mobile terminals | |
US20170011038A1 (en) | System and method for multiple factor sorting and user interface thereof | |
CN110377821A (en) | Generate method, apparatus, computer equipment and the storage medium of interest tags | |
CN104933099A (en) | Method and device for providing target search result for user | |
CN110704139A (en) | Icon classification method and device | |
CN102968254B (en) | electronic equipment and information processing method thereof | |
CN106951230A (en) | A kind of feature list of application program provides method and background service terminal | |
CN107463273A (en) | A kind of emoticon input method and device | |
CN116662300A (en) | Method, device and equipment for constructing waveform library and computer storage medium | |
CN107483490B (en) | A kind of login method and terminal of application | |
CN105159550A (en) | Method and apparatus for determining effective input sequences of slide operations | |
CN106354391A (en) | Mobile terminal control method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |