CN106020505A - Ordering method for input method candidate items and mobile terminal - Google Patents

Ordering method for input method candidate items and mobile terminal Download PDF

Info

Publication number
CN106020505A
CN106020505A CN201610369761.3A CN201610369761A CN106020505A CN 106020505 A CN106020505 A CN 106020505A CN 201610369761 A CN201610369761 A CN 201610369761A CN 106020505 A CN106020505 A CN 106020505A
Authority
CN
China
Prior art keywords
weather
time
reference value
value
candidate item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610369761.3A
Other languages
Chinese (zh)
Other versions
CN106020505B (en
Inventor
王彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610369761.3A priority Critical patent/CN106020505B/en
Publication of CN106020505A publication Critical patent/CN106020505A/en
Application granted granted Critical
Publication of CN106020505B publication Critical patent/CN106020505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character 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 invention provides an ordering method for input method candidate items and a mobile terminal, and relates to the field of communication. The problem that an existing input method is low in input efficiency is solved. The ordering method for the input method candidate items comprises the steps that an encoded character string input by a user is received; candidate items corresponding to the input encoded character string are determined, wherein the candidate items comprise at least two candidate items; a time relevant parameter value and a weather relevant parameter value of the candidate items are determined; according to the time relevant parameter value and the weather relevant parameter value of the candidate items and a default ordering parameter value of the candidate items, a display ordering parameter value of the candidate items is determined; corresponding candidate items are displayed according to the display ordering parameter value. The ordering method is mainly applied to the mobile terminal.

Description

The sort method of a kind of candidates of input method and mobile terminal
Technical field
The present embodiments relate to the communications field, and more particularly, to the row of a kind of candidates of input method Sequence method and mobile terminal and mobile terminal.
Background technology
Input method is one of main tool on mobile terminal.When user utilizes certain input method to have input entry After, then, multiple candidate item relevant to this entry can be displayed for a user.In actual applications, movement sets Standby can obtain substantial amounts of relevant data of living to user by application program, but these data do not have Reasonably used in input method.Therefore, when utilizing existing input method to input, the input efficiency of user is relatively low.
Summary of the invention
The embodiment of the present invention provides the sort method of a kind of candidates of input method and mobile terminal and mobile terminal, The problem relatively low to solve the input efficiency of existing input method.
First aspect, it is provided that the sort method of a kind of candidates of input method, described method is applied to mobile whole End, described method includes:
Receive the coded string of user's input;
Determining the candidate item corresponding with the coded string of described input, wherein said candidate item includes at least two Individual candidate item;
Determine the parameter value and weather relevant parameter value association in time of described candidate item;
Parameter value association in time according to described candidate item, described weather relevant parameter value and described candidate item Default sort parameter value determine the display parameters sortnig value of described candidate item;
According to the candidate item that the display of described display parameters sortnig value is corresponding.
Second aspect, the invention provides a kind of mobile terminal, including:
Information acquisition unit, for obtaining the coded string of user's input;
First determines unit, for determining the candidate item corresponding with the coded string of described input, Qi Zhongsuo State candidate item and include at least two candidate item;
Second determines unit, for determining the parameter value and weather relevant parameter association in time of described candidate item Value;
3rd determines unit, for according to parameter value association in time of described candidate item, described weather association ginseng The default sort parameter value of numerical value and described candidate item determines the display parameters sortnig value of described candidate item;
Tip element, for the candidate item corresponding according to the display of described display parameters sortnig value.
So, in the embodiment of the present invention, after user have input coded string, determine and the volume of input The candidate item that code character string is corresponding.Meanwhile, the parameter value and sky QI GUAN association in time of described candidate item is determined Connection parameter value, and according to parameter value association in time of described candidate item, described weather relevant parameter value and institute State candidate item default sort parameter value in described input method and determine the display parameters sortnig of described candidate item Value, further according to the candidate item that the prompting of described display parameters sortnig value is corresponding.Owing to existing in embodiments of the present invention It is ranked up candidate item being on the basis of each candidate item default sort, it is contemplated that the time of each candidate item Relevant parameter value and weather relevant parameter value, therefore, can make the sequence of each candidate item more meet user's Demand, thus improve input efficiency when user utilizes input method.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to embodiment or prior art In description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only It is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creative work On the premise of property, it is also possible to obtain other accompanying drawing according to these accompanying 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 flow chart of step 13 in first embodiment of the invention;
Fig. 3 is in first embodiment of the invention the two of the flow chart of step 13;
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.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
First embodiment
As it is shown in figure 1, the sort method of the candidates of input method of first embodiment of the invention, it is applied to mobile Terminal, including:
Step 11, the coded string of reception user's input.
In a particular application, when user triggers the input method of mobile terminal, available input method provides Input frame input information.Here, the information that user inputs at input frame is referred to as coded string.Such as, User can be at input frame input huayuan etc..Or, when user utilizes phonetic entry, user's input Voice also can be as coded string in this.
Step 12, determining candidate item corresponding to coded string with input, wherein candidate item includes at least Two candidate item.
Under normal circumstances, according to the input information of user, the candidate item prompting frame in input method can carry to user Show the candidate item of more than 1.As a example by huayuan in step 11, can show in candidate item prompting frame Show multiple candidate item such as " garden, Flower Garden, Hua Yuan ".User can select finally to want from the candidate item of display The word of input.
When each candidate item is ranked up, it is common that according to the phase of the information that each candidate item inputs with user Guan Du is ranked up.Degree of association is the highest, and the sequence of candidate item is the most forward.In embodiments of the present invention, will be each The sequence that individual candidate item is given tacit consent in input method is referred to as default sort, in default sort, each candidate item with The degree of association of the information of input is referred to as default sort parameter value.
Step 13, determine the parameter value and weather relevant parameter value association in time of candidate item.
In actual applications, mobile terminal can be provided with various types of application software, such as weather, music Etc..Accordingly, these application software mobile terminals by installing can obtain substantial amounts of data.Wherein, Time and weather are the closest with the relation that user lives.So, in embodiments of the present invention, so that The candidate item prompted the user with more meets the demand of user, on the basis of input method default sort, by each The degree of correlation of candidate item and time, weather etc. is simultaneously as the ordering factor of each candidate item.Wherein, will For representing that each candidate item is referred to as parameter value association in time with the parameter of the degree of correlation of time, table will be used for Show that each candidate item is referred to as weather relevant parameter value with the parameter of the degree of correlation of weather.
After determining multiple candidate item corresponding with the information of input, can be determined by following two mode Corresponding with this candidate's alternate item association in time parameter value and weather relevant parameter value.Certainly, in concrete application In also can be not limited to the two ways described by the embodiment of the present invention.
Mode one is as in figure 2 it is shown, which comprises the following steps:
Step 131, at least one time that lookup is corresponding with candidate item in the first default mapping table Sequence reference value, searches at least one weather row corresponding with candidate item in the second default mapping table Sequence reference value.
In embodiments of the present invention, the time comprises the steps that spring, summer, autumn, winter, early, middle and late, night, spring Joint, the Lantern Festival ...;Weather comprises the steps that fine, cloudy, cloudy, rain, snow, mist, wind ....By right In mobile terminal, the analysis of each candidate item in existing dictionary, can arrange above-mentioned two mapping table.
This above-mentioned mapping table can store in the terminal, it is also possible to is stored in high in the clouds.Certainly, should Two kinds of corresponding relations also can be simultaneously located in a mapping table.
Step 132, choose from least one time-sequencing reference value maximum time-sequencing reference value, with And from least one weather sequence reference value, choose the weather sequence reference value of maximum.
For each candidate's alternate item, can obtain one or more by searching the first and second mapping tables Corresponding time-sequencing reference value and weather sequence reference value.In the manner, from the multiple times obtained Sequence reference value and weather sequence reference value are chosen time-sequencing reference value and the weather sequence reference of maximum Value is for the calculating of subsequent step.
The very first time weights that step 133, acquisition are preset, and utilize very first time weights and maximum time Sequence reference value determines parameter value association in time.
Concrete, in this step, the product of very first time weights and maximum time-sequencing reference value is made For parameter value association in time.
The first weather weights that step 134, acquisition are preset, and utilize the first weather weights and maximum weather Sequence reference value determines weather relevant parameter value.
Concrete, in this step, the product of the first weather weights and maximum weather sequence reference value is made For weather relevant parameter value.
Wherein in above-mentioned steps 133 and 134, very first time weights and the first weather weights are to pre-set , the impact that candidate item is sorted by express time factor and weather conditions can be respectively used to.Wherein, first time Between weights and the first weather weights value in [0,1], and the two and equal to 1.
Mode two is as it is shown on figure 3, which comprises the following steps:
Step 135, at least one time that lookup is corresponding with candidate item in the first default mapping table Sequence reference value, searches at least one weather row corresponding with candidate item in the second default mapping table Sequence reference value, wherein in the first mapping table, storage has the corresponding pass of candidate item, time-sequencing reference value System, in the second mapping table, storage has the corresponding relation of candidate item, weather sequence reference value.
Step 136, obtain the second time weight that each time-sequencing reference value is corresponding respectively, and respectively Obtain the second weather weights that each weather sequence reference value is corresponding.
Unlike mode one, in the manner, for the time-sequencing reference corresponding to each candidate item Value, weather sequence reference value is all as Consideration.Wherein, corresponding to each time-sequencing reference value Two time weights and the second weather weights pre-set.
Step 137, the second time weight of each time-sequencing reference value and correspondence is utilized to determine the very first time Sequence reference value.
Concrete, in this step, utilize the second corresponding time weight to enter each time-sequencing reference value Row weighted sum, sorts the result of summation reference value as the very first time.
It is assumed that each time-sequencing reference value is respectively i1,i2,…,in, the second corresponding time weight is respectively m1,m2,…,mn, then very first time sequence reference value=i1×m1+i2×m2+…+in×mn.N is time-sequencing The number of reference value, value is natural number.
Step 138, each weather sequence reference value and the second weather weights of correspondence are utilized to determine the first weather Sequence reference value.
Concrete, in this step, utilize the second corresponding weather weights to enter each weather sequence reference value Row weighted sum, 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, the second corresponding weather weights are respectively For n1,n2,…,nn, then first weather sequence reference value=k1×n1+k2×n2+…+kn×nn.N is weather sequence The number of reference value, value is natural number.
The very first time weights that step 139, acquisition are preset, utilize very first time weights and very first time sequence Reference value determines parameter value association in time.
The first weather weights that step 140, acquisition are preset, utilize the first weather weights and the sequence of the first weather Reference value determines weather relevant parameter value.
Wherein in above-mentioned steps 137 and 138, the second time weight and the second weather weights are to pre-set , the impact that each candidate item is sorted by express time factor and weather conditions can be respectively used to.Wherein upper Stating in step 139 and 140, very first time weights and the first weather weights pre-set, wherein, the One time weight and the first weather weights value in [0,1], and the two and equal to 1.And, each is second years old Time weight and equal to very first time weights, each the second weather weights and equal to the first weather weights.
Step 14, parameter value association in time, weather relevant parameter value and candidate item according to candidate item exist Default sort parameter value in input method determines the display parameters sortnig value of candidate item.
Here, by parameter value association in time of candidate item, weather relevant parameter value and default sort parameter value With as display parameters sortnig value.
Step 15, the candidate item corresponding according to showing the display of parameters sortnig value.
In order to improve Consumer's Experience further, here, show according to the order that display parameters sortnig value is descending Show the candidate item of correspondence.
Due in embodiments of the present invention when candidate item is ranked up at the base of each candidate item default sort On plinth, it is contemplated that the parameter value and weather relevant parameter value association in time of each candidate item, therefore, can make The sequence of each candidate item more meets the demand of user, thus improves user and utilize input during input method to imitate Rate.
Second embodiment
As shown in Figure 4, the sort method of the candidates of input method of second embodiment of the invention, it is applied to mobile Terminal, including:
Step 21, obtain user and utilize the information that input method inputs.
In this, it is assumed that the information of user's input is " huad ".
Step 22, determine the corresponding candidate item of information with input.
According to dictionary existing in this input method, search the candidate item corresponding with " huad ", including: Slip, festive lantern, slide into, flower, colourfully decorated lantern etc..
Step 23, determine the parameter value and weather relevant parameter value association in time of candidate item.
In embodiments of the present invention, the first mapping table is as shown in table 1 below, and the second mapping table is as follows 2 is as follows:
Table 1
Table 2
Fine Cloudy Cloudy Rain Snow
Slide 2% 2% 2% 8% 16%
Festive lantern 5% 2% 2% 2% 2%
Slip 2% 2% 2% 15% 35%
Flower 7% 2% 2% 2% 2%
Colourfully decorated lantern 4% 2% 2% 2% 3%
As a example by candidate item " is slided ", under different Novel Temporal Scenarios, the time-sequencing reference value of its correspondence is divided It is not: 5%, 10%, 2%, 8%, 2%;The weather sequence reference value of its correspondence under different weather scenes It is respectively as follows: 2%, 2%, 2%, 8%, 16%.
As a example by candidate item " is slided ", here, the default sort parameter value in input method is E, wherein E is the constant more than 0.
The parameter value and weather relevant parameter value association in time of " slip " can be calculated as follows.
Mode one, calculate parameter value association in time and sky QI GUAN respectively by following formula (1) and formula (2) Connection parameter value.
A=tmax×a1 (1)
Wherein, A express time relevant parameter value, tmaxRepresent maximum time-sequencing reference value, a1Represent the One time weight.Through looking into upper table 1, tmaxIt is 10%.
B=wmax×a2 (2)
Wherein, B express time relevant parameter value, wmaxRepresent maximum time-sequencing reference value, a2Represent Very first time weights.Through looking into upper table 1, wmaxIt is 16%.Wherein a1+a2=1 and both values in [0,1].
Mode two, calculate very first time sequence reference value and the respectively by following formula (3) and formula (4) One weather sequence reference value.
C=t1×a11+t2×a12+…+tn×a1n (3)
Wherein, C represents very first time sequence reference value, t1…tnRepresent each time-sequencing that this candidate item is corresponding Reference value, a11…a1nRepresent the second time weight that each time-sequencing reference value is corresponding.
D=w1×a21+w2×a22+…+wn×a2n (4)
Wherein, D represents the first weather sequence reference value, w1…wnRepresent each weather row that this candidate item is corresponding Sequence reference value, a21…a2nRepresent the second weather weights that each weather sequence reference value is corresponding.
Then, (5) and (6) calculating parameter value association in time and weather relevant parameter value according to the following equation:
A=C × a1 (5)
B=D × a2 (6)
In this manner, the very first time sequence reference value that candidate item " is slided " is calculated 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 that candidate item " is slided " is calculated as follows:
D=w1×a21+w2×a22+…+wn×a2n=2% × a21+ ...+16% × a2n, wherein a21+…+a2n=a2
Step 24, parameter value association in time, weather relevant parameter value and candidate item according to candidate item exist Default sort parameter value in input method determines 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 represent display parameters sortnig value, A express time relevant parameter value, B express time relevant parameter value, E represents default sort parameter value.
Step 25, according to display parameters sortnig value descending order prompting correspondence candidate item.
Due in embodiments of the present invention when candidate item is ranked up at the base of each candidate item default sort On plinth, it is contemplated that the parameter value and weather relevant parameter value association in time of each candidate item, therefore, can make The sequence of each candidate item more meets the demand of user, thus improves user and utilize input during input method to imitate Rate, and also improve the operating experience of user and the experience to mobile terminal.
3rd embodiment
As it is shown in figure 5, the mobile terminal of third embodiment of the invention, including:
Information acquisition unit 31, for obtaining the coded string of user's input;First determines unit 32, For determining the candidate item corresponding with the coded string of input, wherein candidate item includes at least two candidate ?;Second determines unit 33, for determining the parameter value and weather relevant parameter value association in time of candidate item; 3rd determines unit 34, for according to parameter value association in time of candidate item, weather relevant parameter value and Candidate item default sort parameter value in input method determines the display parameters sortnig value of candidate item;Tip element 35, for the candidate item corresponding according to display parameters sortnig value display.
Wherein, first determines that unit 32 includes:
First searches subelement, corresponding with candidate item extremely for lookup in the first default mapping table A few time-sequencing reference value, in the first mapping table, storage has candidate item, time-sequencing reference value Corresponding relation;
Second searches subelement, corresponding with candidate item extremely for lookup in the second default mapping table Few weather sequence reference value, in the second mapping table, storage has candidate item, weather sequence reference value Corresponding relation;
First determines subelement, for determining very first time sequence ginseng according at least one time-sequencing reference value Examine value;
Second determines subelement, for determining the first weather sequence ginseng according at least one weather sequence reference value Examine value;
First obtains subelement, for obtaining default very first time weights, and utilize very first time weights and Very first time sequence reference value determines parameter value association in time;
Second obtains subelement, for obtaining the first default weather weights, and utilize the first weather weights and First weather sequence reference value determines weather relevant parameter value.
In a particular application, first determine subelement specifically for: from least one time-sequencing reference value Choose the time-sequencing reference value of maximum, maximum time-sequencing reference value was sorted reference as the very first time Value;Second determine subelement specifically for: from least one weather sequence reference value choose maximum weather Sequence reference value, using maximum weather sequence reference value as the first weather sequence reference value.
Or, first determines that subelement is specifically for obtain that each time-sequencing reference value is corresponding respectively Two time weights, utilize the second corresponding time weight to be weighted summation each time-sequencing reference value, The result of summation was sorted reference value as the very first time;Second determine subelement specifically for: obtain respectively The second weather weights that each weather sequence reference value is corresponding, utilize correspondence by each weather sequence reference value Second weather weights are weighted summation, using the result of summation as the first weather sequence reference value.
Now, first obtain subelement specifically for: sort reference value by very first time weights and the very first time Product as parameter value association in time;Second obtain subelement specifically for: by the first weather weights and the The product of one weather sequence reference value is as weather relevant parameter value.
In a particular application, the 3rd determine unit 34 specifically for: by parameter value association in time of candidate item, Weather relevant parameter value and default sort parameter value and as display parameters sortnig value.Tip element 35 has Body is used for: according to the candidate item that display parameters sortnig value display is corresponding.
Third embodiment of the invention mobile terminal is capable of mobile terminal in the embodiment of the method for Fig. 1 to Fig. 4 Each process realized, for avoiding repeating, repeats no more here.
Due in embodiments of the present invention when candidate item is ranked up at the base of each candidate item default sort On plinth, it is contemplated that the parameter value and weather relevant parameter value association in time of each candidate item, therefore, can make The sequence of each candidate item more meets the demand of user, thus improves user and utilize input during input method to imitate Rate, and also improve the operating experience of user and the experience to mobile terminal.
4th 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 Including: at least one processor 401, memorizer 402, at least one network interface 404 and user interface 403.Each assembly in mobile terminal 400 is coupled by bus system 405.It is understood that it is total Wire system 405 is for realizing the connection communication between these assemblies.Bus system 405 is except including data/address bus Outside, also include power bus, control bus and status signal bus in addition.But for the sake of understanding explanation, In figure 6 various buses are all designated as bus system 405.
Wherein, user interface 403 can include display, keyboard or pointing device (such as, mouse, Trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 402 being appreciated that in the embodiment of the present invention can be volatile memory or non-volatile Memorizer, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory is permissible It is read only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), Erasable Programmable Read Only Memory EPROM (Erasable PROM, EPROM), electric erasable can Program read-only memory (Electrically EPROM, EEPROM) or flash memory.Volatile memory can be Random access memory (Random Access Memory, RAM), it is used as External Cache.Pass through Exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic Random access memory (Synchronous DRAM, SDRAM), Double Data Rate synchronous dynamic random are deposited Access to memory (Double Data Rate SDRAM, DDRSDRAM), enhancement mode synchronous dynamic random-access are deposited Reservoir (Enhanced SDRAM, ESDRAM), synchronized links dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM). The memorizer 402 of system and method described herein is intended to include but not limited to these and arbitrarily other is suitable for The memorizer of type.
In some embodiments, memorizer 402 stores following element, executable module or data Structure, or their subset, or their superset: operating system 4021 and application program 4022.
Wherein, operating system 4021, comprise various system program, such as ccf layer, core library layer, drive Dynamic layers etc., are used for realizing various basic business and processing hardware based task.Application program 4022, Comprise various application program, such as media player (Media Player), browser (Browser) etc., For realizing various applied business.The program realizing embodiment of the present invention method may be embodied in application program In 4022.
In embodiments of the present invention, by calling program or the instruction of memorizer 402 storage, concrete, can To be program or the instruction of storage in application program 4022, processor 401 is used for:
Receive the coded string of user's input;
Determining the candidate item corresponding with the coded string of input, wherein candidate item includes at least two candidate ?;
Determine the parameter value and weather relevant parameter value association in time of candidate item;
The default sort ginseng of parameter value association in time, weather relevant parameter value and candidate item according to candidate item Numerical value determines the display parameters sortnig value of candidate item;
According to the candidate item that display parameters sortnig value display is corresponding.
The method that the invention described above embodiment discloses can apply in processor 401, or by processor 401 realize.Processor 401 is probably a kind of IC chip, has the disposal ability of signal.In reality During Xian, each step of said method can by the integrated logic circuit of the hardware in processor 401 or The instruction of person's software form completes.Above-mentioned processor 401 can be general processor, Digital Signal Processing Device (Digi tal Signal Processor, DSP), special IC (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, discrete Nextport hardware component NextPort.Can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.The processor etc. that general processor can be microprocessor or this processor can also be any routine. Step in conjunction with the method disclosed in the embodiment of the present invention can be embodied directly in the execution of hardware decoding processor Complete, or complete with the hardware in decoding processor and software module combination execution.Software module can position In random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable are deposited In the storage medium that this area such as reservoir, depositor is ripe.This storage medium is positioned at memorizer 402, processes Device 401 reads the information in memorizer 402, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, Microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or more special collection Become circuit (Application Specific Integrated Circuits, ASIC), Digital Signal Processing Device (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, controller, microcontroller, Microprocessor, for performing in other electronic unit or a combination thereof of the application function.
Software is realized, can be realized by the module (such as process, function etc.) performing function herein Technology herein.Software code is storable in performing in memorizer and by processor.Memorizer can be at place Realize in reason device or outside processor.
Alternatively, processor 401 is additionally operable to: search and candidate item pair in the first default mapping table At least one the time-sequencing reference value answered, searches corresponding with candidate item in the second default mapping table At least one weather sequence reference value, wherein in the first mapping table storage have candidate item, the time row The corresponding relation of sequence reference value, in the second mapping table, storage has candidate item, weather sequence reference value Corresponding relation;According at least one time-sequencing reference value determine the very first time sort reference value, and according to At least one weather sequence reference value determines the first weather sequence reference value;Obtain the very first time power preset Value, and utilize very first time weights and very first time sequence reference value to determine parameter value association in time;Obtain pre- If the first weather weights, and utilize the first weather weights and the first weather sequence reference value determine that weather associates Parameter value.
Alternatively, processor 401 is additionally operable to: choose from least one time-sequencing reference value maximum time Between sort reference value, maximum time-sequencing reference value was sorted reference value as the very first time.
Alternatively, processor 401 is additionally operable to: choose the sky of maximum from least one weather sequence reference value Gas sequence reference value, using maximum weather sequence reference value as the first weather sequence reference value.
Alternatively, processor 401 is additionally operable to: obtain respectively each time-sequencing reference value corresponding second time Between weights, utilize the second corresponding time weight to be weighted summation each time-sequencing reference value, will ask The result of sum sorted reference value as the very first time.
Alternatively, processor 401 is additionally operable to: obtain each weather sequence reference value respectively corresponding second day Gas weights, utilize the second corresponding weather weights to be weighted summation each weather sequence reference value, will ask The result of sum is as the first weather sequence reference value.
Alternatively, processor 401 is additionally operable to: taking advantage of of the reference value that very first time weights and the very first time sorted Long-pending as parameter value association in time.
Alternatively, processor 401 is additionally operable to: taking advantage of of the reference value that the first weather weights and the first weather sorted Long-pending as weather relevant parameter value.
Alternatively, processor 401 is additionally operable to: by parameter value association in time of candidate item, weather relevant parameter Value and default sort parameter value and as display parameters sortnig value.
Alternatively, processor 401 is additionally operable to: it is right to show according to the order that display parameters sortnig value is descending The candidate item answered.
Mobile terminal 400 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding weight Multiple, repeat no more here.
Due in embodiments of the present invention when candidate item is ranked up at the base of each candidate item default sort On plinth, it is contemplated that the parameter value and weather relevant parameter value association in time of each candidate item, therefore, can make The sequence of each candidate item more meets the demand of user, thus improves user and utilize input during input method to imitate Rate, and also improve the operating experience of user and the experience to mobile terminal.
Those of ordinary skill in the art are it is to be appreciated that combine respectively showing of the embodiments described herein description The unit of example and algorithm steps, it is possible to come with the combination of electronic hardware or computer software and electronic hardware Realize.These functions perform with hardware or software mode actually, depend on the application-specific of technical scheme And design constraint.Each specifically should being used for can be used different methods to realize by professional and technical personnel Described function, but this realization is it is not considered that beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and foregoing description The specific works process of system, device and unit, be referred to the corresponding process in preceding method embodiment, Do not repeat them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, Ke Yitong The mode crossing other realizes.Such as, device embodiment described above is only schematically, such as, The division of unit, is only a kind of logic function and divides, and actual can have other dividing mode when realizing, The most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can be neglected Slightly, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication link Connecing can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical, machine Tool or other form.
The unit illustrated as separating component can be or may not be physically separate, as unit The parts of display can be or may not be physical location, i.e. may be located at a place, or also may be used To be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs Realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit In.
If function is using the form realization of SFU software functional unit and as independent production marketing or use, can To be stored in a computer read/write memory medium.Based on such understanding, technical scheme The part contributed prior art the most in other words or the part of this technical scheme can be with softwares The form of product embodies, and this computer software product is stored in a storage medium, including some fingers Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) Perform all or part of step of each embodiment method of the present invention.And aforesaid storage medium includes: USB flash disk, The various media that can store program code such as portable hard drive, ROM, RAM, magnetic disc or CD.
Above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, Any those familiar with the art, in the technical scope that the invention discloses, can readily occur in change Or replace, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention Ying Yiquan The protection domain that profit requires is as the criterion.

Claims (14)

1. a sort method for candidates of input method, is applied to mobile terminal, it is characterised in that including:
Receive the coded string of user's input;
Determining the candidate item corresponding with the coded string of described input, wherein said candidate item includes at least two Individual candidate item;
Determine the parameter value and weather relevant parameter value association in time of described candidate item;
Parameter value association in time according to described candidate item, described weather relevant parameter value and described candidate item Default sort parameter value determine the display parameters sortnig value of described candidate item;
According to the candidate item that the display of described display parameters sortnig value is corresponding.
Method the most according to claim 1, it is characterised in that described determine described candidate item time Between relevant parameter value and weather relevant parameter value, including:
At least one time-sequencing corresponding with described candidate item is searched in the first default mapping table Reference value, searches at least one weather row corresponding with described candidate item in the second default mapping table Sequence reference value, wherein in described first mapping table, storage has the right of candidate item and time-sequencing reference value Should be related to, in described second mapping table, storage has the corresponding pass of candidate item and weather sequence reference value System;
Very first time sequence reference value is determined according at least one time-sequencing reference value described, and according to institute State at least one weather sequence reference value and determine the first weather sequence reference value;
Obtain the very first time weights preset, and utilize described very first time weights and the sequence of the described very first time Reference value determines parameter value described association in time;
Obtain the first weather weights preset, and utilize described first weather weights and described first weather sequence Reference value determines described weather relevant parameter value.
Method the most according to claim 2, it is characterised in that described in described basis at least one time Between sort reference value determine the very first time sort reference value, including:
From at least one time-sequencing reference value described, choose the time-sequencing reference value of maximum, by described Big time-sequencing reference value is as sequence of described very first time reference value;
At least one weather sequence reference value described in described basis determines the first weather sequence reference value, including:
From at least one weather described sequence reference value, choose the weather sequence reference value of maximum, by described Big weather sequence reference value is as described first weather sequence reference value.
Method the most according to claim 2, it is characterised in that described in described basis at least one time Between sort reference value determine the very first time sort reference value, including:
Obtain the second time weight that each time-sequencing reference value is corresponding respectively, by described each time-sequencing Reference value utilizes the second corresponding time weight to be weighted summation, during using the result of summation as described first Between sort reference value;
At least one weather sequence reference value described in described basis determines the first weather sequence reference value, including:
Obtain the second weather weights that each weather sequence reference value is corresponding respectively, described each weather is sorted Reference value utilizes the second corresponding weather weights to be weighted summation, using the result of summation as described first day Gas sequence reference value.
Method the most according to claim 2, it is characterised in that described utilize the described very first time to weigh Value and sequence of described very first time reference value determine parameter value described association in time, including:
The product of the reference value that described very first time weights and the described very first time sorted closed as the described time Connection parameter value;
Described utilize described first weather weights and described first weather sequence reference value determine described sky QI GUAN Connection parameter value, including:
Using the product of described first weather weights and described first weather sequence reference value as described sky QI GUAN Connection parameter value.
Method the most according to claim 1, it is characterised in that described according to described candidate item time Between relevant parameter value, described weather relevant parameter value and the described candidate item acquiescence row in described input method Order parameter value determines the display parameters sortnig value of described candidate item, including:
Parameter value association in time of described candidate item, described weather relevant parameter value and described default sort are joined Numerical value and as described display parameters sortnig value.
7. according to the arbitrary described method of claim 1-6, it is characterised in that described according to described display The candidate item that the display of parameters sortnig value is corresponding, including:
According to the candidate item that the order display that described display parameters sortnig value is descending is corresponding.
8. a mobile terminal, it is characterised in that including:
Information acquisition unit, for obtaining the coded string of user's input;
First determines unit, for determining the candidate item corresponding with the coded string of described input, Qi Zhongsuo State candidate item and include at least two candidate item;
Second determines unit, for determining the parameter value and weather relevant parameter association in time of described candidate item Value;
3rd determines unit, for according to parameter value association in time of described candidate item, described weather association ginseng The default sort parameter value of numerical value and described candidate item determines the display parameters sortnig value of described candidate item;
Tip element, for the candidate item corresponding according to the display of described display parameters sortnig value.
Mobile terminal the most according to claim 8, it is characterised in that described first determines unit bag Include:
First searches subelement, corresponding with described candidate item for searching in the first default mapping table At least one time-sequencing reference value, in described first mapping table storage have candidate item, the time row The corresponding relation of sequence reference value;
Second searches subelement, corresponding with described candidate item for searching in the second default mapping table At least one weather sequence reference value, in described second mapping table storage have candidate item, weather to arrange The corresponding relation of sequence reference value;
First determines subelement, for determining that the very first time arranges according at least one time-sequencing reference value described Sequence reference value;
Second determines subelement, for determining the first weather row according at least one weather described sequence reference value Sequence reference value;
First obtains subelement, for obtaining default very first time weights, and utilizes the described very first time to weigh Value and sequence of described very first time reference value determine parameter value described association in time;
Second obtains subelement, for obtaining the first default weather weights, and utilizes described first weather power Value and described first weather sequence reference value determine described weather relevant parameter value.
Mobile terminal the most according to claim 9, it is characterised in that
Described first determine subelement specifically for: choose from least one time-sequencing reference value described Big time-sequencing reference value, using the time-sequencing reference value of described maximum as sequence of described very first time ginseng Examine value;
Described second determine subelement specifically for: from least one weather described sequence reference value choose Big weather sequence reference value, the reference value that sorted by the weather of described maximum is as described first weather sequence ginseng Examine value.
11. mobile terminals according to claim 9, it is characterised in that
Described first determines that subelement is specifically for obtain that each time-sequencing reference value is corresponding respectively second Time weight, utilizes the second corresponding time weight to be weighted asking described each time-sequencing reference value With, using the result of summation as sequence of described very first time reference value;
Described second determine subelement specifically for: obtain respectively each weather sequence reference value corresponding second Weather weights, utilize the second corresponding weather weights to be weighted asking described each weather sequence reference value With, using the result of summation as described first weather sequence reference value.
12. mobile terminals according to claim 11, it is characterised in that described first obtains son list Unit specifically for: the product of the reference value that sorted described very first time weights and the described very first time is as described Association in time parameter value;
Described second obtain subelement specifically for: will described first weather weights and described first weather sort The product of reference value is as described weather relevant parameter value.
13. mobile terminals according to claim 8, it is characterised in that the described 3rd determines that unit has Body is used for: parameter value association in time of described candidate item, described weather relevant parameter value and described acquiescence are arranged Order parameter value and as described display parameters sortnig value.
14.-13 arbitrary described mobile terminals according to Claim 8, it is characterised in that described prompting list Unit specifically for: according to the candidate item that the display of described display parameters sortnig value is corresponding.
CN201610369761.3A 2016-05-27 2016-05-27 A kind of sort method and mobile terminal of candidates of input method Active CN106020505B (en)

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 true CN106020505A (en) 2016-10-12
CN106020505B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
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
CN112783337A (en) * 2020-12-31 2021-05-11 科大讯飞股份有限公司 Input method candidate item sorting method and related model training method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080281582A1 (en) * 2007-05-11 2008-11-13 Delta Electronics, Inc. Input system for mobile search and method therefor
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080281582A1 (en) * 2007-05-11 2008-11-13 Delta Electronics, Inc. Input system for mobile search and method therefor
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

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN112783337A (en) * 2020-12-31 2021-05-11 科大讯飞股份有限公司 Input method candidate item sorting method and related model training method
CN112783337B (en) * 2020-12-31 2024-04-12 科大讯飞股份有限公司 Input method candidate item ordering method and related model training method

Also Published As

Publication number Publication date
CN106020505B (en) 2018-10-16

Similar Documents

Publication Publication Date Title
CN109087135A (en) The method for digging and device, computer equipment and readable medium that user is intended to
CN104679855A (en) Playlist creation method and terminal device
CN110489639A (en) A kind of content recommendation method and device
CN104142999A (en) Search result display method and device
CN108319376B (en) Input association recommendation method and device for optimizing commercial word promotion
CN104462113A (en) Search method and device and electronic equipment
CN105354318A (en) File searching method and device
CN103970769B (en) Image search method and device
CN106961559A (en) The preparation method and electronic equipment of a kind of video
CN106210354A (en) The display packing of a kind of mobile terminal and mobile terminal
CN109710951A (en) Supplementary translation method, apparatus, equipment and storage medium based on translation history
CN103235719A (en) Method and device for setting WAP website
CN112000736A (en) Spatiotemporal trajectory adjoint analysis method and system, electronic device and storage medium
CN106020505A (en) Ordering method for input method candidate items and mobile terminal
CN103870494A (en) Method, device and terminal for setting bookmark of browser
CN106126662A (en) A kind of electronic book displaying method and mobile terminal
CN106953937B (en) Uniform Resource Locator (URL) conversion method and device
CN105183763A (en) Background realization method and apparatus for search result page
CN103426096A (en) User recommending method and device
CN101192128A (en) Mobile electronic device and its method capable of dynamically arranging functional item display sequency
CN105354342A (en) Retrieval method and mobile terminal
CN109214856A (en) The method for digging and device, computer equipment and readable medium that user is intended to
CN105095376A (en) Method and device for establishing browser local homepage in mobile terminal
CN107169005A (en) POI recommends method, device, equipment and computer-readable recording medium
CN110502533A (en) A kind of BOM selection method, device and electronic equipment and storage medium

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