CN108693979A - A kind of method, apparatus and equipment that picture is provided - Google Patents
A kind of method, apparatus and equipment that picture is provided Download PDFInfo
- Publication number
- CN108693979A CN108693979A CN201710232235.7A CN201710232235A CN108693979A CN 108693979 A CN108693979 A CN 108693979A CN 201710232235 A CN201710232235 A CN 201710232235A CN 108693979 A CN108693979 A CN 108693979A
- Authority
- CN
- China
- Prior art keywords
- picture
- library
- weight
- word frequency
- pictorial information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 26
- 238000012545 processing Methods 0.000 description 19
- 238000003860 storage Methods 0.000 description 18
- 238000005516 engineering process Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000001747 exhibiting effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 235000013399 edible fruits Nutrition 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000003786 synthesis reaction Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- MKZGVLPHKXXSSG-UHFFFAOYSA-N ethyl n-[4-[benzyl(2-phenylethyl)amino]-2-[4-(trifluoromethyl)phenyl]-1h-imidazo[4,5-c]pyridin-6-yl]carbamate Chemical compound N=1C(NC(=O)OCC)=CC=2NC(C=3C=CC(=CC=3)C(F)(F)F)=NC=2C=1N(CC=1C=CC=CC=1)CCC1=CC=CC=C1 MKZGVLPHKXXSSG-UHFFFAOYSA-N 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
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
-
- 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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to computer realms, disclose a kind of method, apparatus and equipment providing picture, to solve the low technical problem of picture hit rate in the prior art.This method includes:Based on input string input by user, multiple pictures corresponding with the input string are obtained;The multiple picture is ranked up and is shown according to the pictorial information of the multiple picture.The technique effect for improving the hit rate that input method provides picture is reached.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of method, apparatus and equipment providing picture.
Background technology
For the users such as Chinese, Japanese, Korean, it is typically necessary and is handed over by input method procedure and computer
Mutually.For example, user can input string by a keyboard entry, then by input method procedure according to preset mapping ruler by the input
String is converted to corresponding candidate item and shows, and then will shield in the candidate item of user's selection.
In order to meet user demand, picture also becomes one kind in diversified candidate item.However, providing a user picture
When, input method procedure in the related technology is usually with random sequence exhibiting pictures.And user usually has partially picture selection
It is good, so above-mentioned the relevant technologies cause picture input efficiency low, it is difficult to hit user demand.
Invention content
An embodiment of the present invention provides a kind of method, apparatus and equipment providing picture, for improving input method offer figure
The hit rate of piece candidate.
In a first aspect, the present invention provides a kind of methods providing picture, including:
Based on input string input by user, multiple pictures corresponding with the input string are obtained;
The multiple picture is ranked up according to the pictorial information of the multiple picture;
The picture after displaying sequence.
With reference to first aspect, in a kind of optional embodiment, the pictorial information includes at least picture identity information, institute
State the weight, picture word frequency and one kind or arbitrary a variety of in use temperature of the picture library that picture is belonged to.
The first optional embodiment with reference to first aspect, in second of optional embodiment, the pictorial information
Including at least the picture identity information, the multiple picture is ranked up according to the pictorial information of the multiple picture, is wrapped
It includes:
The picture identity information based on each picture will not have with the sequence of the picture of upper screen history
Before the picture for having upper screen history.
The first optional embodiment with reference to first aspect, in the third optional embodiment, the pictorial information
Including at least the weight for the picture library that the picture is belonged to, according to the pictorial information of the multiple picture to the multiple picture
It is ranked up, including:
Weight based on the picture library that each picture is belonged to, by the weight of the picture library it is larger described in
Picture sorts before the smaller picture of the weight of the picture library.
The first optional embodiment with reference to first aspect, the pictorial information described in the 4th kind of optional embodiment is extremely
Include less the picture word frequency, the multiple picture is ranked up according to the pictorial information of the multiple picture, including:
The picture word frequency based on each picture sorts the larger picture of the picture word frequency described
Before the smaller picture of picture word frequency.
The first optional embodiment with reference to first aspect, in the 5th kind of optional embodiment, the pictorial information
Temperature is used including at least described, the multiple picture is ranked up according to the pictorial information of the multiple picture, including:
It is described using temperature based on each picture, it is sorted described described using the higher picture of temperature
Before the lower picture of temperature.
Second of optional embodiment with reference to first aspect, in the 6th kind of optional embodiment, according to the multiple
Multiple pictures are ranked up described in the pictorial information of picture, including:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, based on without upper screen history
The weight of the picture library that is belonged to of the picture, the larger picture of the weight of the picture library is sorted described
Before the smaller picture of the weight of picture library;Or
When the pictorial information further includes the picture word frequency, described in the picture without upper screen history
Picture word frequency sorts the larger picture of the picture word frequency before the smaller picture of the picture word frequency;Or
Person
When the pictorial information further include it is described using temperature when, based on making described in the picture with upper screen history
With temperature, the higher picture of use temperature is sorted before the use lower picture of temperature.
The 6th kind of optional embodiment with reference to first aspect, in the 7th kind of optional embodiment, according to the multiple
The pictorial information of picture is ranked up the multiple picture, including:
When the pictorial information further includes the picture word frequency, and the weight of the picture library of at least two pictures
When equal, the picture word frequency based on each picture sorts the larger picture of the picture word frequency described
Before the smaller picture of picture word frequency.
The 6th kind of optional embodiment with reference to first aspect, in the 8th kind of optional embodiment, according to the multiple
The pictorial information of picture is ranked up the multiple picture, including:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, and at least two pictures
When the picture word frequency is equal, the weight based on the picture library that each picture is belonged to, by the power of the picture library
The larger picture of weight sorts before the smaller picture of the weight of the picture library.
Second aspect, the present invention provides a kind of devices providing picture, including:
Module is obtained, for being based on input string input by user, obtains multiple pictures corresponding with the input string;
Sorting module, for being ranked up to the multiple picture according to the pictorial information of the multiple picture;
Display module, for showing the picture after sorting.
In conjunction with second aspect, in a kind of optional embodiment, the pictorial information includes at least picture identity information, institute
State the weight, picture word frequency and one kind or arbitrary a variety of in use temperature of the picture library that picture is belonged to.
In conjunction with the first optional embodiment of second aspect, in second of optional embodiment, the pictorial information
Including at least the picture identity information, the sorting module is used for the picture identity information based on each picture,
It will sort before the picture without upper screen history with the picture of upper screen history.
In conjunction with the first optional embodiment of second aspect, in the third optional embodiment, the pictorial information
Including at least the weight for the picture library that the picture is belonged to, what the sorting module was used to be belonged to based on each picture
The weight of the picture library is smaller in the weight of the picture library by the larger picture sequence of the weight of the picture library
Before the picture.
In conjunction with the first optional embodiment of second aspect, the pictorial information described in the 4th kind of optional embodiment is extremely
Include the picture word frequency less, the sorting module is used for the picture word frequency based on each picture, by the picture
The larger picture of word frequency sorts before the smaller picture of the picture word frequency.
In conjunction with the first optional embodiment of second aspect, in the 5th kind of optional embodiment, the pictorial information
Including at least it is described use temperature, the sorting module for based on each picture it is described use temperature, make described
With the higher picture sequence of temperature before the use lower picture of temperature.
In conjunction with second of optional embodiment of second aspect, in the 6th kind of optional embodiment, the sorting module
For based on when the pictorial information further includes the weight for the picture library that the picture is belonged to, not having the institute of upper screen history
The weight for stating the picture library that picture is belonged to sorts the larger picture of the weight of the picture library in the picture
Before the smaller picture of the weight in library;Or when the pictorial information further includes the picture word frequency, based on not having
The picture word frequency of the picture of upper screen history sorts the larger picture of the picture word frequency in the picture word
Before the smaller picture of frequency;Or when the pictorial information further includes the use temperature, based on upper screen history
The described of the picture use temperature, will it is described using the higher picture sequence of temperature described lower using temperature
Before the picture.
In conjunction with the 6th kind of optional embodiment of second aspect, in the 7th kind of optional embodiment, the sorting module
Further include the picture word frequency for working as the pictorial information, and the weight of the picture library of at least two pictures is equal
When, the picture word frequency based on each picture sorts the larger picture of the picture word frequency in the picture
Before the smaller picture of word frequency.
In conjunction with the 6th kind of optional embodiment of second aspect, in the 8th kind of optional embodiment, the sorting module
For further including the weight for the picture library that the picture is belonged to when the pictorial information, and at least two pictures is described
When picture word frequency is equal, the weight based on the picture library that each picture is belonged to, by the weight of the picture library compared with
The big picture sorts before the smaller picture of the weight of the picture library.
The third aspect, the present invention provides a kind of equipment, include memory and one or more than one journey
Sequence, either more than one program is stored in memory and is configured to by one or more than one processor for one of them
It includes the instruction for being operated below to execute the one or more programs:
Based on input string input by user, multiple pictures corresponding with the input string are obtained;
The multiple picture is ranked up according to the pictorial information of the multiple picture;
The picture after displaying sequence.
In conjunction with the third aspect, in a kind of optional embodiment, the pictorial information includes at least picture identity information, institute
State the weight, picture word frequency and one kind or arbitrary a variety of in use temperature of the picture library that picture is belonged to.
In conjunction with the first optional embodiment of the third aspect, in second of optional embodiment, the pictorial information
Including at least the picture identity information, the equipment is also configured to execute described one by one or more than one processor
A or more than one program includes the instruction for being operated below:
The picture identity information based on each picture will not have with the sequence of the picture of upper screen history
Before the picture for having upper screen history.
In conjunction with the first optional embodiment of the third aspect, in the third optional embodiment, the pictorial information
Including at least the weight for the picture library that the picture is belonged to, the equipment be also configured to by one or more than one processing
It includes the instruction for being operated below that device, which executes the one or more programs,:
Weight based on the picture library that each picture is belonged to, by the weight of the picture library it is larger described in
Picture sorts before the smaller picture of the weight of the picture library.
In conjunction with the first optional embodiment of the third aspect, the pictorial information described in the 4th kind of optional embodiment is extremely
Less include the picture word frequency, the equipment be also configured to by one either more than one processor execute it is one or
More than one program includes the instruction for being operated below:
The picture word frequency based on each picture sorts the larger picture of the picture word frequency described
Before the smaller picture of picture word frequency.
In conjunction with the first optional embodiment of the third aspect, in the 5th kind of optional embodiment, the pictorial information
Use temperature including at least described, the equipment be also configured to by one or more than one processor execute it is one or
More than one program of person includes the instruction for being operated below:
It is described using temperature based on each picture, it is sorted described described using the higher picture of temperature
Before the lower picture of temperature.
In conjunction with second of optional embodiment of the third aspect, in the 6th kind of optional embodiment, the equipment also passes through
Configuration includes for carrying out following grasp to execute the one or more programs by one or more than one processor
The instruction of work:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, based on without upper screen history
The weight of the picture library that is belonged to of the picture, the larger picture of the weight of the picture library is sorted described
Before the smaller picture of the weight of picture library;Or
When the pictorial information further includes the picture word frequency, described in the picture without upper screen history
Picture word frequency sorts the larger picture of the picture word frequency before the smaller picture of the picture word frequency;Or
Person
When the pictorial information further include it is described using temperature when, based on making described in the picture with upper screen history
With temperature, the higher picture of use temperature is sorted before the use lower picture of temperature.
In conjunction with the 6th kind of optional embodiment of the third aspect, in the 7th kind of optional embodiment, the equipment also passes through
Configuration includes for carrying out following grasp to execute the one or more programs by one or more than one processor
The instruction of work:
When the pictorial information further includes the picture word frequency, and the weight of the picture library of at least two pictures
When equal, the picture word frequency based on each picture sorts the larger picture of the picture word frequency described
Before the smaller picture of picture word frequency.
In conjunction with the 6th kind of optional embodiment of the third aspect, in the 8th kind of optional embodiment, the equipment also passes through
Configuration includes for carrying out following grasp to execute the one or more programs by one or more than one processor
The instruction of work:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, and at least two pictures
When the picture word frequency is equal, the weight based on the picture library that each picture is belonged to, by the power of the picture library
The larger picture of weight sorts before the smaller picture of the weight of the picture library.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects
Fruit:
In the technical solution of the embodiment of the present invention, it is primarily based on input string input by user, is obtained and the input string
Then corresponding multiple pictures are ranked up the multiple picture according to the pictorial information of the multiple picture, and then show
The picture after sequence.As it can be seen that the present invention can be ranked up multiple pictures according to pictorial information, and after showing sequence
Multiple pictures, so the candidate picture that input method provides a user can more accurately hit user demand.So the present invention
It improves input method and provides a user the probability that picture candidate hits user demand, to improve input efficiency.
Description of the drawings
Fig. 1 is the method flow diagram that picture is provided in the embodiment of the present invention;
Fig. 2 is the logical flow chart of sequence picture in the embodiment of the present invention;
Fig. 3 is a kind of embodiment schematic diagram of sequence picture in the embodiment of the present invention;
Fig. 4 is the embodiment schematic diagram of another sequence picture in the embodiment of the present invention;
Fig. 5 is the embodiment schematic diagram of another sequence picture in the embodiment of the present invention;
Fig. 6 is the embodiment schematic diagram of another sequence picture in the embodiment of the present invention;
Fig. 7 is the apparatus structure schematic diagram that picture is provided in the embodiment of the present invention;
Fig. 8 is the electronic devices structure schematic diagram that picture is provided in the embodiment of the present invention;
Fig. 9 is the server architecture schematic diagram that picture is provided in the embodiment of the present invention.
Specific implementation mode
An embodiment of the present invention provides a kind of method, apparatus and equipment providing picture, for improving input method offer figure
The hit rate of piece candidate.
In order to solve the above technical problem, the present invention provides technical solution thinking it is as follows:
In the technical solution of the embodiment of the present invention, it is primarily based on input string input by user, is obtained and the input string
Then corresponding multiple pictures are ranked up the multiple picture according to the pictorial information of the multiple picture, and then show
The picture after sequence.As it can be seen that the present invention can be ranked up multiple pictures according to pictorial information, and after showing sequence
Multiple pictures, so the candidate picture that input method provides a user can more accurately hit user demand.So the present invention
It improves input method and provides a user the probability that picture candidate hits user demand, to improve input efficiency.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques
The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The terms "and/or", only a kind of incidence relation of description affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/", it is a kind of relationship of "or" to typically represent forward-backward correlation object.
First aspect present invention provides a kind of method providing picture, referring to FIG. 1, to be provided in the embodiment of the present invention
The method flow diagram of picture.This method includes:
S101:Based on input string input by user, multiple pictures corresponding with the input string are obtained;
S102:The multiple picture is ranked up according to the pictorial information of the multiple picture;
S103:The picture after displaying sequence.
For example, the program can be applied to have in the electronic equipment for providing picture function, and the electronic equipment is for example
For:Mobile phone, tablet computer, laptop, all-in-one machine, PC (Personal Computer:PC) etc.;The program
It can also be applied to server, such as:Server can then be based on this programme if necessary to provide picture according to user's input string
It is candidate to obtain picture, provides it to user;The program can also be applied to electronic equipment and its corresponding server, such as electricity
Sub- equipment receives and sends input string to server, and server is based on input string and provides picture, and is carried by electronic equipment
Supply user.For not limited by client and/or the execution content and step of server, the present invention specifically.
First, in S101, input string input by user is received.The embodiment of the present invention can be applied to various input modes
Input method system, for example, Pinyin Input, English input, stroke input, voice input and handwriting input etc..User can lead to
Cross the input that above-mentioned arbitrary input mode completes input string, that is, user can by physical keyboard, dummy keyboard, handwriting pad,
Touch screen, sound collection equipment etc. are inputted.Wherein, input string can be by any in number, symbol, phonetic, letter etc.
Or several composition.For ease of description, the embodiment of the present invention is illustrated using pinyin string as input string, other types
Character string it is cross-referenced.
Next, based on input string is received, multiple pictures corresponding with the input string are searched in picture library.
Specifically, input method can be converted to candidate Chinese character or phrase for input string, in order to enrich expression effect,
Some associated candidate pictures can also be further converted out, for shielding in user's selection.Picture in the embodiment of the present invention also may be used
To be known as " picture expression ", " expression " or " virtual expression " etc..And the picture library in the embodiment of the present invention refer to one group or
The set of multigroup picture.Also, during specific implementation, picture library can be especially stored in server, and/or by user
It is downloaded to and is locally stored.
In one embodiment, it based on the input string received, is directly searched from the picture library of local and/or server
Rope picture corresponding with the input string, in other words, with input string search pictures.In another embodiment, based on receiving
Input string, Chinese character and/or phrase are converted out, then again based on each Chinese character or phrase from local and/or the picture of server
The Chinese character or the corresponding picture of phrase are searched out in library, in other words, with Chinese character or phrase searching picture.In specific implementation process
In, those skilled in the art can be according to actually selecting, and the present invention is not particularly limited.
Next, in S102, multiple pictures are ranked up according to the pictorial information of each picture in multiple pictures.
Specifically, the picture library that the pictorial information in the embodiment of the present invention includes at least picture identity information, belonged to
Weight, picture word frequency and using any one or any number of in temperature, can also include but not limited to further author
With on-line time etc., the present invention is not particularly limited.Wherein, the picture identity information is the information for indicating picture identity, tool
Body can be Image ID or Image ID and the picture library ID belonged to.The weight of picture library is an attribute of picture library, is used
In priority level of one picture library of differentiation relative to other picture libraries.The weight of different picture libraries can be identical, can not also
Together.Picture word frequency is an attribute of picture, for distinguishing priority level of the picture relative to other pictures, is specifically as follows
Indicate the parameter of picture frequency of use, or can demand (such as promoting demand) is manually arranged according to parameter.
According to the pictorial information of each picture, the possibility for meeting the picture user demand is predicted, of the invention real
It applies in example, namely multiple pictures is ranked up according to pictorial information.So, if sequence sorts, sort more forward figure
Piece, the possibility for meeting user demand is higher, conversely, the picture of sequence more rearward, the possibility for meeting user demand are lower.If inverse
Sequence sorts, then the picture of sequence more rearward, and the possibility that predictor closes user demand is higher, the more forward picture of sequence, predictor
The possibility for closing user demand is lower.It, hereinafter will be by taking sequence sorts as an example in order to facilitate introduction.
In turn, in S103, based on multiple pictures after sequence, candidate picture is shown to user.In the embodiment of the present invention
Candidate picture refer to that user can select the picture of screen.Candidate picture can be specially all figures in multiple pictures
Piece or part picture, the present invention are not particularly limited.
In one embodiment, candidate picture be multiple pictures in all pictures namely input method according in S102
Obtained sequence shows all multiple pictures successively.Since the possibility that the forward picture that sorts meets user demand is higher, and hold
It is easily viewed by a user, shields on the picture for meet demand so that user can search out and select quickly, avoid use
Family takes a significant amount of time browsing and searches the picture for meeting its demand, and the input so as to improve user is experienced and improves input efficiency.
In another embodiment, candidate picture is the part picture of multiple pictures, and is specially forward part of sorting
Picture.The quantity of the part picture is preset quantity, and preset quantity is less than the total quantity of multiple pictures, and preset quantity is, for example,
3 or 5 etc..For this embodiment, further, in one embodiment, exhibiting pictures can be in any order in S103
The candidate picture of displaying.No matter since candidate picture number is less, therefore candidate picture is shown in any order, be all easy to user's searching
And selection;And candidate picture itself has been to meet the higher picture of user demand possibility, therefore user can select quickly
Go out to meet and shield on the picture of demand, avoids and meet the picture of user demand and be submerged.Alternatively, in another embodiment,
Exhibiting pictures are still shown according to the sequence of candidate picture in S103, are further easy to user and are found and select.
Certainly, during specific implementation, remove the above embodiment, the modes of S103 exhibiting pictures also there are many, here
Just do not detail one by one.Those skilled in the art can select any one embodiment, and the present invention is not
Do concrete restriction.
By the sequence to multiple pictures it can be seen from foregoing description, each picture is just distinguished and has met user's need
The possibility size asked actually shields picture then being based further on the shown picture that sorts and being also just more likely to become.So
The candidate picture provided a user is more easy to hit user demand.So the present invention improves input method and provides a user picture life
The hit rate of middle user demand.
Further, there are many embodiments when sorting picture by the present invention, describe in detail below to wherein several.
In a kind of embodiment of sequence picture, pictorial information includes at least picture identity information, and the implementation process of S102 is as follows:
The picture identity information based on each picture will not have with the sequence of the picture of upper screen history
Before the picture for having upper screen history.
Specifically, in this kind of embodiment, user's picture library is pre-established, which can be used for recording
The upper screen information of picture with upper screen history.Wherein, upper screen information include but not limited to upper screen number, finally the upper screen time,
Picture identity information uses temperature, the weight of institute's ownership picture library and picture word frequency etc..Below, there will be upper screen history
Picture be also referred to as " shielding picture in history ".
During specific implementation, user's picture library can be specially a database, and a particular memory space or one deposit
Store up list etc., those skilled in the art can be according to actually selecting, and the present invention is not particularly limited.
Also, when shielding information in storage, each the upper screen information of screen picture corresponds storage in history, that is, each upper to shield information
Unique index shield the Image ID, Image ID and picture library ID, thumbnail or the unique encodings belonged to of picture in history for this
Equal unique parameters.
In general, compared to the picture of no upper screen history, what user was more prone to select to shield again
Therefore picture when being ranked up to multiple pictures in S102, needs the picture identity information for obtaining picture, then, by the picture
Identity information is compared with the picture identity information of the picture of screen in history recorded in user's picture library, to judge that the picture is
No is with upper screen history.
In one embodiment, picture identity information is specially Image ID, by judging whether remember in user's picture library
Record has the Image ID of the picture to judge.If record has the Image ID of the picture in user's picture library, then it represents that the picture is
Shield picture in history.If not recording the Image ID of the picture in user's picture library, then it represents that the picture is not to shield in history
Picture.In view of the possible Image ID having the same of picture in different picture libraries, therefore in another embodiment, picture
Identity information is specially Image ID and the picture library ID that is belonged to, then by judging whether recorded in user's picture library and the figure
The piece ID and picture library ID that is belonged to judges whether the picture has upper screen history.Only when Image ID and the picture belonged to
When library ID is recorded simultaneously, just determine that the picture is to shield picture in history.
In view of the picture with upper screen history is more easy to hit user demand, therefore in this kind of embodiment, will have
The picture of upper screen history sorts before the picture of no upper screen history, that is, will shield picture sequence in history and shield in non-history
Before picture.For example, in the logical flow chart of sequence picture as shown in Figure 2, judge that first picture is in each two picture
Whether screen picture is true in history, and first picture sequence is before second picture if setting up, and otherwise second picture is arranged
Sequence is before first picture.During specific implementation, it can also judge second picture is that whether screen picture is true in history,
Or contrast verification directly is carried out to the picture identity information of two pictures, the present invention is not particularly limited.
For example, as shown in figure 3, for a kind of embodiment schematic diagram of sequence picture.As shown in figure 3, receiving use
The input string " chifan " of family input searches out picture a1 and picture a2 by search.By by user's picture library and picture a1
It is compared with the picture library ID and Image ID of picture a2, determines that user's picture library includes the picture library ID and picture with picture a1
ID without including the picture library ID and Image ID with picture a2, thus determines that picture a1 is to shield picture in history, and picture a2 is not
Shield picture in history.Therefore, by picture a1 sequences before picture a2.Finally, according to sequence using picture a1 and picture a2 as
Candidate picture, is shown in a manner of as shown in Figure 3.
During specific implementation, the sequence of each two picture can be determined successively, until all pictures in multiple pictures
Sequence is completed.The example in Fig. 3 is continued to use, if it further includes picture a3 and figure a4 (Fig. 3 to search out picture corresponding with " chifan "
In a3 and a4 is not shown), then complete picture a1 and picture a2 sequence after, then determine picture a2 and picture a3 sequence,
And be compared the posterior picture that sorts in picture a2 and picture a3 with picture a4, determine its sequence.It is finally completed to figure
The sequence of piece a1, picture a2, picture a3 and picture a4.Alternatively, can also be directly ranked up to multiple pictures, the present invention is not done
Concrete restriction.
By that will have the sequence of the picture of upper screen history in the picture without upper screen history it can be seen from foregoing description
Before, candidate picture and is thus shown and provided, the picture shielded on user can be made to be easier to be found and selected by user, kept away
Exempt from screen picture in history to be submerged, and user needs to take a significant amount of time to find again.So the present invention improves input method
The hit rate for providing a user picture hit user demand, improves input efficiency.
In addition, in other embodiments, such as can also be by judge whether picture is the mark with history picture
Note mode judges whether the picture is history picture, and picture identity information includes then the label at this time.
In the embodiment of another sequence picture, pictorial information includes at least the power for the picture library that picture is belonged to
Weight, the implementation process of S102 are as follows:
Weight based on the picture library that each picture is belonged to, by the weight of the picture library it is larger described in
Picture sorts before the smaller picture of the weight of the picture library.
Specifically, the picture library weight in the embodiment of the present invention can be made by those skilled in the art according to picture library
Be arranged with situation (such as by the larger higher weight of picture lab setting of usage amount), can also according to other demands (such as
The higher weight of picture lab setting that needs are promoted).In this embodiment, according to the figure in the pictorial information of each picture
The weight of valut, by the larger picture sequence of the weight of the picture library belonged to the figure smaller in the weight of the picture library belonged to
Before piece.
Specifically, judge whether the weight for the picture library that two pictures are belonged to is equal.As shown in Fig. 2, comparing figure
Valut Quan Chong &A and &B.Wherein , &A indicates the picture library weight , & of the first picture in two pictures;B is indicated in two pictures
The picture library weight of two pictures.Judge &A > &Whether B is true, if setting up before first picture second picture of sequence,
Second picture sequence is before first picture if invalid.It, can also Pan Duan & during specific implementation;A < &B is
No establishment, or directly directly &A and &The size etc. of B, the present invention is not particularly limited.
For example, as shown in figure 5, the embodiment schematic diagram for the picture that sorts for another kind.As shown in figure 5, receiving
User inputs character " qiang " searches out the picture c2 of the picture c1 and picture library B of picture library A by search.Read picture
The weight of institute's ownership picture library in c1 and picture c2 pictorial informations.Wherein, the weight for the picture library A that picture c1 is belonged to is 100,
The weight for the picture library B that picture c2 is belonged to is 52.Since the weight 100 of picture library A is higher than the weight 52 of picture library B,
By picture c1 sequences before picture c2.Finally, in a manner of as shown in Figure 5 candidate picture is shown to user.
Alternatively, the weight for the picture library that each picture is belonged in multiple pictures is obtained, and then according to multiple weights by big
To the small multiple pictures of sequence sequence.
It is relatively low in weight by sorting the higher picture of the weight of the picture library belonged to it can be seen from foregoing description
Picture before, and thus show and provide candidate picture, the picture for the picture library that weight can be made high is easier to be sought by user
It looks for and selects, the picture for avoiding the picture library of higher weights is submerged.So the present invention improves input method and provides a user
Picture hits the hit rate of user demand, improves input efficiency.
In addition, for the weight of picture library, in one embodiment, the weight of picture library can be by people in the art
Member is arranged before issuing input method, and user cannot change in use.Alternatively, in another embodiment,
Receiving user in advance is the weight of each picture lab setting, and assigns the weight of picture library according to the setting of user.For example, with
The picture of picture library A is commonly used in family, uses the picture of picture library B once in a while, then user is the weight of picture library A settings 100, is
The weight of picture library B settings 52.Alternatively, in another embodiment, each picture library is adjusted according to the use temperature of picture
Weight.Specifically, the weight of the picture library belonged to using the higher picture of temperature adjust it is bigger, it is lower using temperature
The weight of picture library that is belonged to of picture adjust it is smaller.For example, record has and belongs to 3 picture libraries in user's picture library
Shield picture in history, wherein screen number is 30 times total on the corresponding picture of screen in history of first picture library, second picture library
Screen number is 20 times total on the corresponding picture of screen in history, and screen number amounts on the corresponding picture of screen in history of third picture library
15 times.As it can be seen that the picture of first picture library uses temperature highest, therefore the weight of first picture library is adjusted to this 3
The picture of highest in picture library, second picture library is taken second place using temperature, thus by the weight of second picture library be adjusted to this 3
Placed in the middle in a picture library, the picture of third picture library is minimum using temperature, therefore the weight of third picture library is adjusted to
It is minimum in 3 picture libraries.
In the embodiment of another sequence picture, pictorial information includes at least picture word frequency, the implementation process of S102
It is as follows:
The picture word frequency based on each picture sorts the larger picture of the picture word frequency described
Before the smaller picture of picture word frequency.
Specifically, it is similar to picture library weight, the picture word frequency in the embodiment of the present invention can be by people in the art
(such as higher picture word frequency is arranged in the higher picture of frequency of use) is arranged according to the service condition of picture by member, can also
According to other demands (such as needing the picture promoted that higher picture word frequency is arranged).In this embodiment, according to each
The picture word frequency of picture sorts the larger picture of picture word frequency before the smaller picture of picture word frequency.
Specifically, similarly with the above embodiment, when sorting according to picture word frequency, each two picture can be compared
Picture word frequency, obtain the sequence of each two picture, and then obtain the sequence of multiple pictures;It can also be according to the figure of all pictures
The multiple pictures of sequence sequence of piece word frequency from large to small, the present invention are not particularly limited.
For example, as shown in fig. 6, the embodiment schematic diagram for the picture that sorts for another kind.As shown in fig. 6, receiving
Input string " chifan " input by user searches out the picture d2 of the picture d1 and picture library D of picture library C by search.It reads
Picture word frequency in pictorial information, wherein the picture word frequency of picture d1 is 330, and the picture word frequency of picture d2 is 300.Due to figure
The picture word frequency 330 of piece d1 is higher than the picture word frequency 300 of picture d2, therefore by picture d1 sequences before picture d2.Finally, with
Mode as shown in Figure 6 shows to user and provides candidate picture.
It can be seen from foregoing description by by the sequence of picture word frequency higher picture the lower picture of picture word frequency it
Before, and thus candidate picture is provided so that the high picture of priority is easier to be found and selected by user.So the present invention carries
High input method provides a user the hit rate of picture hit user demand, improves input efficiency.
In addition, being similar to picture library weight, for the picture word frequency of picture, in one embodiment, picture word frequency can
To be arranged before issuing input method by those skilled in the art, and user cannot change in use.Alternatively, another
In a kind of embodiment, receiving user in advance is the picture word frequency of each picture setting, and determines picture according to the setting of user
Word frequency.For example, 3 pictures in picture library A, the preference highest of the 3rd picture of user couple, the 2nd picture take second place, the 1st
Picture is minimum, then user is respectively the picture word frequency that 3 pictures are arranged 20,22 and 33.Alternatively, in another embodiment
In, according to the picture word frequency for adjusting picture using temperature of picture.Specifically, using the picture word frequency of the higher picture of temperature
It adjusts bigger, is adjusted using the picture word frequency of the lower picture of temperature smaller.For example, the 1st picture is upper recently to shield the time
For today, the upper screen time was before 10 days to the 2nd picture recently, and the upper screen time is yesterday to the 3rd picture recently.As it can be seen that the 1st figure
Piece uses temperature highest, therefore the picture word frequency of the 1st picture is adjusted to highest in 3 pictures, and the 3rd picture uses heat
Degree takes second place, therefore the picture word frequency of the 3rd picture is adjusted in 3 pictures between two parties, and the 2nd picture is minimum using temperature,
Therefore the picture word frequency of the 2nd picture is adjusted to minimum in 3 pictures.
In the above-described embodiment, by the picture word frequency of each picture of User Defined, so that user is passed through for demand it is higher
Picture higher picture word frequency is set to keep picture sequence forward, avoid the picture and be submerged.And according to using temperature to answer
Become the picture word frequency for adjusting each picture, then realizes and adjusted with user's service condition dynamic so that the picture that input method provides
It is more in line with the recent service condition of user.
In the embodiment of another sequence picture, pictorial information, which includes at least, uses temperature, the implementation process of S102
It is as follows:
It is described using temperature based on each picture, it is sorted described described using the higher picture of temperature
Before the lower picture of temperature.
Specifically, the use of temperature is public use temperature in wherein a kind of embodiment kind.Compare the masses of picture
Using temperature, that is, picture which more heated door in public users judged.Public use temperature is higher, then it is considered herein that the figure
Piece selects the possibility shielded higher by public users, therefore sorts preceding.
The use of temperature is individual subscriber temperature, and the specific above screen number indicates in wherein another embodiment.Than
The upper screen number of more multiple pictures sorts the larger picture of upper screen number before the smaller picture of upper screen number.Another
The use of temperature is individual subscriber temperature in kind embodiment, and was specifically indicated with the upper screen time recently.More multiple pictures are most
The closer picture sequence of nearest upper screen time gap current time is above shielded time gap current time by the nearly upper screen time nearest
Before picture farther out.In another embodiment, the use of temperature is individual subscriber temperature, and specific above screen number and most
The nearly upper screen time indicates.The upper screen number of more multiple pictures and recently upper screen time, if the upper screen number one of multiple pictures
Cause, then by the closer picture sequence of upper screen time gap current time recently in upper screen time gap current time recently farther out
Before picture;If the nearest upper screen time consistency of two pictures, the larger picture of upper screen number is sorted in upper screen number
Before smaller picture;If the upper screen number of two pictures and recently upper screen time are inconsistent, two pictures of calculating
Comprehensive word frequency.The linear combination value of comprehensive word frequency such as the two, nonlinear combination value, the sum of Fourier's multinomial etc..One tool
Weight 0.7 is arranged for upper screen number in the example of body, and weight 0.3 was arranged for the upper screen time recently, the upper screen time recently is converted to
Then number of days apart from current time calculates the synthesis word frequency of two pictures.Finally, the comprehensive higher picture of word frequency is sorted
Before the comprehensive lower picture of word frequency.
Certainly, according to the embodiment of picture being ranked up using temperature also there are many, be just no longer described in detail one by one herein
.Those skilled in the art can be according to actually selecting, and the present invention is not particularly limited.
One specific example, as shown in figure 4, for the embodiment schematic diagram of another sequence picture.As shown in figure 4,
Input string input by user " memeda " is received, by search, searches out picture b1, picture b2, picture b3, picture b3, figure
Piece b4 and picture b5.Read the use temperature in screen information on picture b1 and picture b2, it is assumed that use the specially upper screen of temperature
Number and recently upper screen time.Specifically, the upper screen time is on January 1st, 2017 recently by picture b1 and picture b2, picture b1's is upper
It is 3 to shield number, and the upper screen number of picture b2 is 4, therefore by picture b2 sequences before picture b1.Then, figure is further determined that
The sequence of piece b1 and picture b3, and so on, until picture b2, picture b3, picture b4 and picture b5 sequences are completed.Finally, with
Mode as shown in Figure 4 shows to user and provides candidate picture.
It can be seen from foregoing description by will use the sequence of temperature higher picture use the lower picture of temperature it
Before, and thus show candidate picture so that it is easier to be found and selected by user using the high picture of temperature, avoid using heat
High picture is spent to be submerged.So the present invention improves the hit rate that input method provides a user picture hit user demand, carry
High input efficiency.
Further, in conjunction with the above embodiment, in the embodiment of another sequence picture, S102 includes:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, based on without upper screen history
The weight of the picture library that is belonged to of the picture, the larger picture of the weight of the picture library is sorted described
Before the smaller picture of the weight of picture library.
Specifically, it for the picture without upper screen history, can also be arranged according to the weight of the picture library belonged to
Sequence.For how according to the weight of picture library come the picture without upper screen history that sorts, and above directly according to picture library
Weight sequencing method it is similar, therefore be just no longer described in detail here.
As shown in Fig. 2, comparing picture library Quan Chong &A and &B.Wherein , &A indicates the picture library of the first picture in two pictures
Weight , &B indicates the picture library weight of second picture in two pictures.Judge &A > &Whether B is true, the if setting up
One picture sorts before second picture, and second picture sequence is before first picture if invalid.It is implementing
It in the process, can also Pan Duan &A < &Whether B is true, or directly directly &A and &The size etc. of B, the present invention do not do specific limit
System.
For example, as shown in figure 5, the embodiment schematic diagram for the picture that sorts for another kind.As shown in figure 5, receiving
Input string " qiang " input by user searches out the picture c2 of the picture c1 and picture library B of picture library A by search.Pass through
The picture library ID and Image ID of user's picture library and picture c1 and picture c2 are compared, it is not to go through to determine picture c1 and picture c2
Shield picture in history.Then, the weight of institute's ownership picture library in picture c1 and picture c2 pictorial informations is read.Wherein, picture c1 institutes
The weight of the picture library A of ownership is 100, and the weight for the picture library B that picture c2 is belonged to is 52.Due to the weight 100 of picture library A
Weight 52 higher than picture library B, therefore by picture c1 sequences before picture c2.Finally, to user in a manner of as shown in Figure 5
It shows and candidate picture is provided.
It can be seen from foregoing description two pictures be history on shield picture when, by by picture library weight compared with
High picture sorts before the lower picture of picture library weight, and thus provides candidate picture so that the high picture of priority
The picture in library is easier to be found and selected by user.So the present invention improves input method and provides a user picture hit user
The hit rate of demand, improves input efficiency.
In the above-described embodiment, by the weight of each picture library of User Defined, so that user is passed through for demand it is higher
Picture lab setting higher weights are forward to make multiple pictures sequence of the picture library, avoid multiple picture and are submerged.And
According to the weight for using temperature strain to adjust each picture library, then realizes and adjusted with user's service condition dynamic so that input
The picture that method provides is more in line with the recent service condition of user.
Further, in conjunction with the above embodiment, in the embodiment of another sequence picture, S102 includes:
When the pictorial information further includes the picture word frequency, described in the picture without upper screen history
Picture word frequency sorts the larger picture of the picture word frequency before the smaller picture of the picture word frequency.
Specifically, it for the picture without upper screen history, can also be sorted according to the picture word frequency of picture.For
How according to picture word frequency come the picture without upper screen history that sorts, with the method above directly to be sorted according to picture word frequency
It is similar, therefore be just no longer described in detail here.
For example, as shown in fig. 6, the embodiment schematic diagram for the picture that sorts for another kind.As shown in fig. 6, receiving
Input string " chifan " input by user searches out the picture d2 of the picture d1 and picture library D of picture library C by search.Pass through
The picture library ID and Image ID of user's picture library and picture d1 and picture d2 are compared, it is not to go through to determine picture d1 and picture d2
Shield picture in history.Then, the picture word frequency in pictorial information is read.Wherein, the picture word frequency of picture d1 is 330, picture d2's
Picture word frequency is 300.Since the picture word frequency 330 of picture d1 is higher than the picture word frequency 300 of picture d2, picture d1 is sorted
Before picture d2.Finally, it is shown to user in a manner of as shown in Figure 6 and candidate picture is provided.
Further, in conjunction with the above embodiment, in the embodiment of another sequence picture, S102 includes:
When the pictorial information further include it is described using temperature when, based on making described in the picture with upper screen history
With temperature, the higher picture of use temperature is sorted before the use lower picture of temperature.
Specifically, for the picture with upper screen history, further according to the use temperature of picture to being gone through with upper screen
The picture of history sorts, and the picture for using temperature larger is sorted before the picture for using temperature smaller.For how according to figure
Piece using temperature come the picture with upper screen history that sorts, and above directly according to using the method that temperature sorts similar,
Therefore it is just no longer described in detail here.
In fig. 2, two pictures are all to indicate to use temperature to integrate word frequency when shielding picture in history.Calculate each two
The synthesis word frequency $ A of first picture in picture, and calculate the synthesis word frequency $ B of second picture in each two picture.Judge $ A
Whether > $ B are true, and before first picture sorts second picture if setting up, second picture, which sorts, if invalid exists
Before first picture.During specific implementation, it can also judge whether $ A < $ B are true, or directly relatively $ A and $ B
Size etc., the present invention is not particularly limited.
One specific example, as shown in figure 4, for the embodiment schematic diagram of another sequence picture.As shown in figure 4,
Input string input by user " memeda " is received, by search, searches out picture b1, picture b2, picture b3, picture b3, figure
Piece b4 and picture b5.Sort picture b1 and picture b2 first, by by the picture library of user's picture library and picture b1 and picture b2
ID and Image ID comparison, determine that picture b1 and picture b2 are to shield picture in history.Then, picture b1 and picture are further read
Shield the use temperature in information on b2, it is assumed that shield recently using the specially upper screen number of temperature and above the time.Specifically, picture b1
The upper screen time is on January 1st, 2017 recently with picture b2, and the upper screen number of picture b1 is 3, and the upper screen number of picture b2 is 4,
Therefore by picture b2 sequences before picture b1.Then, the sequence of picture b1 and picture b3 are further determined that, and so on, directly
It is completed to picture b2, picture b3, picture b4 and picture b5 sequences.Finally, it shows and provides to user in a manner of as shown in Figure 4
Candidate picture.
It can be seen from foregoing description when two pictures are to shield picture in history, by the way that temperature will be used higher
Thus picture sequence provides candidate picture before using the lower picture of temperature so that be more easy to using the high picture of temperature
In being found and being selected by user, avoids the picture that user is commonly used and be submerged.So the present invention improves input normal direction and uses
Family provides the hit rate of picture hit user demand.
Further, in conjunction with the above embodiment, in the embodiment of another sequence picture, S102 includes:
When the pictorial information further includes the picture word frequency, and the weight of the picture library of at least two pictures
When equal, the picture word frequency based on each picture sorts the larger picture of the picture word frequency described
Before the smaller picture of picture word frequency.
Specifically, in this embodiment, for the picture word frequency of two pictures, in the weight of the picture library belonged to
It is comparable in the case of equal, the weight in the picture library belonged to is unequal without comparativity.Therefore,
First according to the weight of the picture library per multiple pictures without upper screen history, judge whether the weight of picture library is equal.When
When the weight for the picture library that picture without upper screen history is belonged to is equal, further compares the picture word frequency of picture, will scheme
The larger picture of piece word frequency sorts before the smaller picture of picture word frequency.
As shown in Fig. 2, when the equal establishment of the picture library weight that two pictures are belonged to, compare the picture word frequency * A of picture
With * B.Wherein, * A indicate that the picture word frequency of first picture in each two picture, * B indicate second picture in each two picture
Picture word frequency.Judge whether * A > * B are true, if setting up before first picture second picture of sequence, if invalid
Then second picture sequence is before first picture.During specific implementation, it can also judge whether * A < * B are true, or
Directly compare the size etc. of * A and * B, the present invention is not particularly limited.
For example, as shown in fig. 6, the embodiment schematic diagram for the picture that sorts for another kind.As shown in fig. 6, receiving
Input string " chifan " input by user searches out the picture d2 of the picture d1 and picture library D of picture library C by search.Pass through
The picture library ID and Image ID of user's picture library and picture d1 and picture d2 are compared, it is not to go through to determine picture d1 and picture d2
Shield picture in history.Then, the weight of institute's ownership picture library in picture d1 and picture d2 pictorial informations is read.Wherein, picture d1 institutes
The weight of the picture library C of ownership is 50, and the weight for the picture library D that picture d2 is belonged to also is 50.Due to the weight 50 of picture library C
Weight 50 equal to picture library D, therefore further read the picture word frequency in pictorial information.Wherein, the picture word frequency of picture d1
It is 330, the picture word frequency of picture d2 is 300.Since the picture word frequency 330 of picture d1 is higher than the picture word frequency 300 of picture d2, because
This is by picture d1 sequences before picture d2.Finally, it is shown to user in a manner of as shown in Figure 6 and candidate picture is provided.
For the picture without screen history in history it can be seen from foregoing description, the picture library weight phase belonged to
Whens equal, by sorting the higher picture of picture word frequency before the lower picture of picture word frequency, and candidate picture is thus provided,
So that the high picture of priority is easier to be found and selected by user.So the present invention improves input method and provides a user figure
Piece hits the hit rate of user demand, improves input efficiency.
Further, during specific implementation, if allowed in sequence, multiple pictures are arranged side by side, and it is equal to belong to weight
The picture of picture library, picture word frequency can be identical.And if not allowing multiple pictures in sequence arranged side by side, belong to weight phase
Deng picture library picture, picture word frequency differs.
Further, in conjunction with the above embodiment, in the embodiment of another sequence picture, S102 includes:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, and at least two pictures
When the picture word frequency is equal, the weight based on the picture library that each picture is belonged to, by the power of the picture library
The larger picture of weight sorts before the smaller picture of the weight of the picture library.
Specifically, for the picture without upper screen history, whether the picture word frequency for first comparing two pictures is equal, such as
Fruit is equal, then it is whether equal and then picture library weight is larger further to compare the picture library weight that two pictures are belonged to
Picture sort before the smaller picture of picture library weight.
Based on inventive concept same as the method for picture is provided in previous embodiment, second aspect of the present invention additionally provides
A kind of device that picture is provided, as shown in fig. 7, comprises:
Module 101 is obtained, for being based on input string input by user, obtains multiple pictures corresponding with the input string;
Sorting module 102, for being ranked up to the multiple picture according to the pictorial information of the multiple picture;
Display module 103, for showing the picture after sorting.
The weight for the picture library that optionally, the pictorial information is belonged to including at least picture identity information, the picture,
Picture word frequency and one kind or arbitrary a variety of in use temperature.
Optionally, the pictorial information includes at least the picture identity information, and the sorting module 102 is used for based on every
The picture identity information of a picture will sort with the picture of upper screen history in the institute without upper screen history
Before stating picture.
Optionally, the pictorial information includes at least the weight for the picture library that the picture is belonged to, the sorting module
102 weight of the picture libraries for being belonged to based on each picture, by the weight of the picture library it is larger described in
Picture sorts before the smaller picture of the weight of the picture library.
Optionally, the pictorial information includes at least the picture word frequency, and the sorting module 102 is used to be based on each institute
The picture word frequency for stating picture, by the larger picture of the picture word frequency sort in the picture word frequency it is smaller described in
Before picture.
Optionally, the pictorial information includes at least described using temperature, and the sorting module 102 is used to be based on each institute
It states the described of picture and uses temperature, use temperature lower described described using the higher picture sequence of temperature by described
Before picture.
Optionally, the sorting module 102 is used to when the pictorial information further include the picture library that the picture is belonged to
Weight when, the weight based on the picture library that the picture without upper screen history is belonged to, by the picture library
The larger picture of weight sorts before the smaller picture of the weight of the picture library;Or
When the pictorial information further includes the picture word frequency, described in the picture without upper screen history
Picture word frequency sorts the larger picture of the picture word frequency before the smaller picture of the picture word frequency;Or
Person
When the pictorial information further include it is described using temperature when, based on making described in the picture with upper screen history
With temperature, the higher picture of use temperature is sorted before the use lower picture of temperature.
Optionally, the sorting module 102 is used to when the pictorial information further include the picture word frequency, and at least two
When the weight of the picture library of the picture is equal, the picture word frequency based on each picture, by the picture word
Frequently the larger picture sorts before the smaller picture of the picture word frequency.
Optionally, the sorting module 102 is used to when the pictorial information further include the picture library that the picture is belonged to
Weight, and at least two pictures the picture word frequency it is equal when, the figure that is belonged to based on each picture
The weight of valut, by the larger picture sequence of the weight of the picture library figure smaller in the weight of the picture library
Before piece.
The various change mode and specific example of the method for offer picture in earlier figures 1- Fig. 6 embodiments are equally applicable to
The device of the offer picture of the present embodiment, by the aforementioned detailed description to providing the method for picture, those skilled in the art can
To be apparent from the implementation for the device for providing picture in the present embodiment, so in order to illustrate the succinct of book, herein no longer
It is described in detail.
Based on inventive concept same as the method for picture is provided in previous embodiment, third aspect present invention additionally provides
A kind of equipment includes memory and more than one program one of them or more than one a program storage
In memory, and be configured to execute the one or more programs by one or more than one processor include
Instruction for being operated below:
Based on input string input by user, multiple pictures corresponding with the input string are obtained;
The multiple picture is ranked up according to the pictorial information of the multiple picture;
The picture after displaying sequence.
The weight for the picture library that optionally, the pictorial information is belonged to including at least picture identity information, the picture,
Picture word frequency and one kind or arbitrary a variety of in use temperature.
Optionally, the pictorial information includes at least the picture identity information, and the equipment is also configured to by one
Or it includes the instruction for being operated below that more than one processor, which executes the one or more programs,:
The picture identity information based on each picture will not have with the sequence of the picture of upper screen history
Before the picture for having upper screen history.
Optionally, the pictorial information includes at least the weight for the picture library that the picture is belonged to, and the equipment also passes through
Configuration includes for carrying out following grasp to execute the one or more programs by one or more than one processor
The instruction of work:
Weight based on the picture library that each picture is belonged to, by the weight of the picture library it is larger described in
Picture sorts before the smaller picture of the weight of the picture library.
Optionally, the pictorial information includes at least the picture word frequency, the equipment be also configured to by one or
It includes the instruction for being operated below that more than one processor, which executes the one or more programs,:
The picture word frequency based on each picture sorts the larger picture of the picture word frequency described
Before the smaller picture of picture word frequency.
Optionally, the pictorial information include at least it is described use temperature, the equipment be also configured to by one or
It includes the instruction for being operated below that more than one processor, which executes the one or more programs,:
It is described using temperature based on each picture, it is sorted described described using the higher picture of temperature
Before the lower picture of temperature.
Optionally, the equipment be also configured to by one either more than one processor execute it is one or one
Procedure above includes the instruction for being operated below:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, based on without upper screen history
The weight of the picture library that is belonged to of the picture, the larger picture of the weight of the picture library is sorted described
Before the smaller picture of the weight of picture library;Or
When the pictorial information further includes the picture word frequency, described in the picture without upper screen history
Picture word frequency sorts the larger picture of the picture word frequency before the smaller picture of the picture word frequency;Or
Person
When the pictorial information further include it is described using temperature when, based on making described in the picture with upper screen history
With temperature, the higher picture of use temperature is sorted before the use lower picture of temperature.
Optionally, the equipment be also configured to by one either more than one processor execute it is one or one
Procedure above includes the instruction for being operated below:
When the pictorial information further includes the picture word frequency, and the weight of the picture library of at least two pictures
When equal, the picture word frequency based on each picture sorts the larger picture of the picture word frequency described
Before the smaller picture of picture word frequency.
Optionally, the equipment be also configured to by one either more than one processor execute it is one or one
Procedure above includes the instruction for being operated below:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, and at least two pictures
When the picture word frequency is equal, the weight based on the picture library that each picture is belonged to, by the power of the picture library
The larger picture of weight sorts before the smaller picture of the weight of the picture library.
The various change mode and specific example of the method for offer picture in earlier figures 1- Fig. 6 embodiments are equally applicable to
The equipment of the present embodiment, by the aforementioned detailed description to providing the method for picture, those skilled in the art can clearly know
The implementation of equipment in road the present embodiment, so in order to illustrate the succinct of book, this will not be detailed here.
Fig. 8 is a kind of block diagram of the electronic equipment 800 of offer picture shown according to an exemplary embodiment.For example, electric
Sub- equipment 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device,
Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 8, electronic equipment 800 may include following one or more components:Processing component 802, memory 804,
Power supply module 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814,
And communication component 816.
The integrated operation of 802 usual control electronics 800 of processing component, such as with display, call, data are logical
Letter, camera operation and record operate associated operation.Processing element 802 may include one or more processors 820 to hold
Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more moulds
Block, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, with
Facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown
Example includes the instruction for any application program or method that are operated on electronic equipment 800, contact data, telephone directory number
According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they
Combination realize, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable
Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing
Memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of electronic equipment 800.Power supply module 806 may include power supply pipe
Reason system, one or more power supplys and other generated with for electronic equipment 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between the electronic equipment 800 and user.
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface
Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding
The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 808 includes front camera and/or rear camera.When electronic equipment 800 is in operation mode, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or the system with focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when electronic equipment 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone
It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical
Believe that component 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, the state for providing various aspects for electronic equipment 800
Assessment.For example, sensor module 814 can detect the state that opens/closes of electronic equipment 800, the relative positioning of component, example
As the component be electronic equipment 800 display and keypad, sensor module 814 can also detect electronic equipment 800 or
The position change of 800 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 800, electronic equipment 800
The temperature change of orientation or acceleration/deceleration and electronic equipment 800.Sensor module 814 may include proximity sensor, be configured
For detecting the presence of nearby objects without any physical contact.Sensor module 814 can also include optical sensor,
Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also
To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment.
Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.Show at one
In example property embodiment, communication component 816 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel
Relevant information.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, short to promote
Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application application-specific integrated circuit (ASIC), number
Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of electronic equipment 800 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of electronic equipment
When device executes so that electronic equipment is able to carry out a kind of method that input method provides picture, the method includes:
Based on input string input by user, multiple pictures corresponding with the input string are obtained;
The multiple picture is ranked up according to the pictorial information of the multiple picture;
The picture after displaying sequence.
Fig. 9 is the structural schematic diagram of server in the embodiment of the present invention.The server 1900 can be different because of configuration or performance
And generate bigger difference, may include one or more central processing units (central processing units,
CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage application programs
1942 or data 1944 storage medium 1930 (such as one or more mass memory units).Wherein, memory 1932
Can be of short duration storage or persistent storage with storage medium 1930.The program for being stored in storage medium 1930 may include one or
More than one module (diagram does not mark), each module may include to the series of instructions operation in server.Further
Ground, central processing unit 1922 could be provided as communicating with storage medium 1930, and storage medium 1930 is executed on server 1900
In series of instructions operation.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of server
When execution so that server is able to carry out a kind of method that input method provides picture, the method includes:
Based on input string input by user, multiple pictures corresponding with the input string are obtained;
The multiple picture is ranked up according to the pictorial information of the multiple picture;
The picture after displaying sequence.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects
Fruit:
In the technical solution of the embodiment of the present invention, it is primarily based on input string input by user, is obtained and the input string
Then corresponding multiple pictures are ranked up the multiple picture according to the pictorial information of the multiple picture, and then show
The picture after sequence.As it can be seen that the present invention can be ranked up multiple pictures according to pictorial information, and after showing sequence
Multiple pictures, so the candidate picture that input method provides a user can more accurately hit user demand.So the present invention
It improves input method and provides a user the probability that picture candidate hits user demand, to improve input efficiency.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (11)
1. a kind of method providing picture, which is characterized in that including:
Based on input string input by user, multiple pictures corresponding with the input string are obtained;
The multiple picture is ranked up according to the pictorial information of the multiple picture;
The picture after displaying sequence.
2. the method as described in claim 1, which is characterized in that the pictorial information includes at least picture identity information, described
Weight, picture word frequency and the one kind or arbitrary a variety of in use temperature for the picture library that picture is belonged to.
3. method as claimed in claim 2, which is characterized in that the pictorial information includes at least the picture identity information,
The multiple picture is ranked up according to the pictorial information of the multiple picture, including:
The picture identity information based on the picture is gone through sorting with the picture of upper screen history without upper screen
Before the picture of history.
4. method as claimed in claim 2, which is characterized in that the pictorial information includes at least the figure that the picture is belonged to
The weight of valut is ranked up the multiple picture according to the pictorial information of the multiple picture, including:
Weight based on the picture library that the picture is belonged to sorts the larger picture of the weight of the picture library
Before the smaller picture of the weight of the picture library.
5. method as claimed in claim 2, which is characterized in that the pictorial information includes at least picture word frequency, according to described
The pictorial information of multiple pictures is ranked up the multiple picture, including:
The picture word frequency based on the picture sorts the larger picture of the picture word frequency in the picture word frequency
Before the smaller picture.
6. method as claimed in claim 2, which is characterized in that the pictorial information, which includes at least, uses temperature, according to multiple
The pictorial information of the picture is ranked up multiple pictures, including:
It is described using temperature based on the picture, by described temperature is used described using the higher picture sequence of temperature
Before the lower picture.
7. method as claimed in claim 3, which is characterized in that according to the pictorial information of the multiple picture to the multiple figure
Piece is ranked up, including:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, based on the institute without upper screen history
The weight for stating the picture library that picture is belonged to sorts the larger picture of the weight of the picture library in the picture
Before the smaller picture of the weight in library;Or
When the pictorial information further includes the picture word frequency, the picture based on the picture without upper screen history
Word frequency sorts the larger picture of the picture word frequency before the smaller picture of the picture word frequency;Or
It is described using hot based on the picture with upper screen history when the pictorial information further includes the use temperature
Degree, by the higher picture sequence of the use temperature before the use lower picture of temperature.
8. the method for claim 7, which is characterized in that according to the pictorial information of multiple pictures to multiple figures
Piece is ranked up, including:
When the pictorial information further includes the picture word frequency, and the weight of the picture library of at least two pictures is equal
When, the picture word frequency based on each picture sorts the larger picture of the picture word frequency in the picture
Before the smaller picture of word frequency.
9. the method for claim 7, which is characterized in that according to the pictorial information of multiple pictures to multiple figures
Piece is ranked up, including:
When the pictorial information further includes the weight for the picture library that the picture is belonged to, and at least two pictures is described
When picture word frequency is equal, the weight based on the picture library that each picture is belonged to, by the weight of the picture library compared with
The big picture sorts before the smaller picture of the weight of the picture library.
10. a kind of device providing picture, which is characterized in that including:
Module is obtained, for being based on input string input by user, obtains multiple pictures corresponding with the input string;
Sorting module, for being ranked up to the multiple picture according to the pictorial information of the multiple picture;
Display module, for showing the picture after sorting.
11. a kind of equipment, which is characterized in that include memory and one or more than one program, one of them or
More than one program of person is stored in memory, and be configured to by one or more than one processor execute it is one or
More than one program of person includes the instruction for being operated below:
Based on input string input by user, multiple pictures corresponding with the input string are obtained;
The multiple picture is ranked up according to the pictorial information of the multiple picture;
The picture after displaying sequence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710232235.7A CN108693979A (en) | 2017-04-11 | 2017-04-11 | A kind of method, apparatus and equipment that picture is provided |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710232235.7A CN108693979A (en) | 2017-04-11 | 2017-04-11 | A kind of method, apparatus and equipment that picture is provided |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108693979A true CN108693979A (en) | 2018-10-23 |
Family
ID=63843469
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710232235.7A Pending CN108693979A (en) | 2017-04-11 | 2017-04-11 | A kind of method, apparatus and equipment that picture is provided |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108693979A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298429A (en) * | 2014-09-25 | 2015-01-21 | 北京搜狗科技发展有限公司 | Information presentation method based on input and input method system |
CN106155346A (en) * | 2016-06-29 | 2016-11-23 | 深圳信息职业技术学院 | A kind of generation method and apparatus of word of expressing one's feelings |
-
2017
- 2017-04-11 CN CN201710232235.7A patent/CN108693979A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298429A (en) * | 2014-09-25 | 2015-01-21 | 北京搜狗科技发展有限公司 | Information presentation method based on input and input method system |
CN106155346A (en) * | 2016-06-29 | 2016-11-23 | 深圳信息职业技术学院 | A kind of generation method and apparatus of word of expressing one's feelings |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3119070B1 (en) | Method and device for determining a crank phone number | |
CN109800325A (en) | Video recommendation method, device and computer readable storage medium | |
CN109389162B (en) | Sample image screening technique and device, electronic equipment and storage medium | |
CN106855771A (en) | A kind of data processing method, device and intelligent terminal | |
CN104636453B (en) | The recognition methods of disabled user's data and device | |
CN108073303B (en) | Input method and device and electronic equipment | |
EP3958110B1 (en) | Speech control method and apparatus, terminal device, and storage medium | |
CN109543066A (en) | Video recommendation method, device and computer readable storage medium | |
CN108958503A (en) | input method and device | |
CN107291772B (en) | Search access method and device and electronic equipment | |
CN108038102A (en) | Recommendation method, apparatus, terminal and the storage medium of facial expression image | |
CN109961791A (en) | A kind of voice information processing method, device and electronic equipment | |
CN109670077A (en) | Video recommendation method, device and computer readable storage medium | |
CN109242045B (en) | Image clustering processing method, device, electronic equipment and storage medium | |
CN108073606A (en) | A kind of news recommends method and apparatus, a kind of device recommended for news | |
CN107315487A (en) | A kind of input processing method, device and electronic equipment | |
CN108717403B (en) | Processing method and device for processing | |
CN110096165A (en) | A kind of association method, device and electronic equipment | |
CN110110207A (en) | A kind of information recommendation method, device and electronic equipment | |
CN109521888A (en) | A kind of input method, device and medium | |
CN109725736A (en) | A kind of candidate's sort method, device and electronic equipment | |
CN104850592B (en) | The method and apparatus for generating model file | |
CN104850855B (en) | The method and apparatus for calculating confidence level | |
CN107436896A (en) | Method, apparatus and electronic equipment are recommended in one kind input | |
CN108268667A (en) | Audio file clustering method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181023 |
|
RJ01 | Rejection of invention patent application after publication |