CN104537059B - object ranking method and device - Google Patents

object ranking method and device Download PDF

Info

Publication number
CN104537059B
CN104537059B CN201410836008.1A CN201410836008A CN104537059B CN 104537059 B CN104537059 B CN 104537059B CN 201410836008 A CN201410836008 A CN 201410836008A CN 104537059 B CN104537059 B CN 104537059B
Authority
CN
China
Prior art keywords
poll
time
score
difference
ranking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410836008.1A
Other languages
Chinese (zh)
Other versions
CN104537059A (en
Inventor
沈建荣
谭国斌
马哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410836008.1A priority Critical patent/CN104537059B/en
Publication of CN104537059A publication Critical patent/CN104537059A/en
Application granted granted Critical
Publication of CN104537059B publication Critical patent/CN104537059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Abstract

The disclosure belongs to data processing field about a kind of object ranking method and device.Method includes:The number of votes obtained and issuing time of each object are obtained respectively;The issuing time of each object is subtracted into fiducial time, obtains the time difference of each object;The Rank scores of each object, Rank scores and time difference correlation, Rank scores and number of votes obtained correlation are determined according to the time difference of each object and corresponding number of votes obtained;Ranking is carried out to each object according to the Rank scores of each object.The disclosure is according to number of votes obtained and time difference to each object ranking, and number of votes obtained and the higher object of time difference are more easy to get higher Rank scores, it solves the problems, such as that according to the object that number of votes obtained ranking causes issuing time later be difficult the front-seat position that appears in ranking, has achieved the effect that increase the recommended intensity of the object later to issuing time.

Description

Object ranking method and device
Technical field
This disclosure relates to data processing field, more particularly to a kind of object ranking method and device.
Background technology
The objects such as some songs, article can be all updated daily on internet, the website for providing these objects can be right These objects carry out ranking, so as to help user that outstanding object is quickly selected to be appreciated.
The website staff for providing object carries out ranking to object generally according to personal subjective will or, is carried to user For the voting function of object, polled data of the user to each object is received, by each object according to polled data from high to low Ranking successively, and be illustrated on website.
Invention content
To solve the problems, such as the relevant technologies, present disclose provides a kind of object ranking method and devices.
According to the embodiment of the present disclosure in a first aspect, provide a kind of object ranking method, including:
The number of votes obtained and issuing time of each object are obtained respectively;
The issuing time of each object is subtracted into fiducial time, obtains the time difference of each object, the fiducial time Earlier than the issuing time;
The Rank scores of each object are determined according to the time difference of each object and corresponding number of votes obtained, the ranking obtains Divide and the time difference correlation, the Rank scores and the number of votes obtained correlation;
Ranking is carried out to each object according to the Rank scores of each object.
According to the second aspect of the embodiment of the present disclosure, a kind of object ranking device is provided, including:
First acquisition module is configured to obtain the number of votes obtained and issuing time of each object;
Second acquisition module, the issuing time for being configured as each object for obtaining first acquisition module subtract base Between punctual, the time difference of each object is obtained, the fiducial time is earlier than the issuing time;
Score determining module is configured as time difference and the institute of each object obtained according to second acquisition module The corresponding number of votes obtained for stating the acquisition of the first acquisition module determines the Rank scores of each object, the Rank scores and the time Difference correlation, the Rank scores and the number of votes obtained correlation;
Ranking generation module, the Rank scores of each object for being configured as being determined according to the score determining module are to each A object carries out ranking.
According to the third aspect of the embodiment of the present disclosure, a kind of object ranking device is provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:The number of votes obtained and issuing time of each object are obtained respectively;
The issuing time of each object is subtracted into fiducial time, obtains the time difference of each object, the fiducial time Earlier than the issuing time;
The Rank scores of each object are determined according to the time difference of each object and corresponding number of votes obtained, the ranking obtains Divide and the time difference correlation, the Rank scores and the number of votes obtained correlation;
Ranking is carried out to each object according to the Rank scores of each object.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The Rank scores of each object, the ranking are determined by the time difference according to each object and corresponding number of votes obtained Score and time difference correlation, the Rank scores and number of votes obtained correlation;According to the ranking of each object Score carries out ranking to each object, according to number of votes obtained and time difference to each object ranking, and number of votes obtained and time difference Higher object is more easy to get higher Rank scores, and solve leads to the later object of issuing time according to number of votes obtained ranking It is difficult to the problem of appearing in the front-seat position of ranking, has reached the effect for the recommended intensity for increasing the object later to issuing time Fruit.
It should be understood that above general description and following detailed description is only exemplary, this can not be limited It is open.
Description of the drawings
Attached drawing herein is incorporated into specification and forms a part for present disclosure specification, shows and meets the disclosure Embodiment, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart according to a kind of object ranking method shown in an exemplary embodiment;
Fig. 2A is the flow chart of a kind of object ranking method shown according to another exemplary embodiment;
Fig. 2 B are the display interface schematic diagrames according to a kind of object shown in an exemplary embodiment;
Fig. 2 C are that a kind of ballot score shown according to another exemplary embodiment determines the flow chart of method;
Fig. 2 D are that a kind of ballot score shown according to another exemplary embodiment determines the flow chart of method;
Fig. 2 E are that the symbol of a kind of time score shown according to another exemplary embodiment determines the flow chart of method;
Fig. 3 is the block diagram according to a kind of object ranking device shown in an exemplary embodiment;
Fig. 4 is the block diagram according to a kind of object ranking device shown in an exemplary embodiment;
Fig. 5 is the block diagram according to a kind of device for object ranking shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is according to a kind of flow chart of object ranking method shown in an exemplary embodiment, the object ranking method Applied in server, as shown in Figure 1, the object ranking method includes the following steps.
In a step 101, the number of votes obtained and issuing time of each object are obtained respectively.
In a step 102, the issuing time of each object is subtracted into fiducial time, obtains the time difference of each object, The fiducial time is earlier than issuing time.
In step 103, determine that the ranking of each object obtains according to the time difference of each object and corresponding number of votes obtained Point, the Rank scores and time difference correlation, the Rank scores and number of votes obtained correlation.
At step 104, ranking is carried out to each object according to the Rank scores of each object.
In conclusion the object ranking method that the disclosure provides, by the time difference according to each object and corresponding Number of votes obtained determines the Rank scores of each object, and the Rank scores and time difference correlation, the Rank scores are with obtaining Poll correlation;Ranking is carried out to each object according to the Rank scores of each object, according to number of votes obtained and time difference Value is to each object ranking, and number of votes obtained and the higher object of time difference are more easy to get higher Rank scores, solve The problem of object for causing issuing time later according to number of votes obtained ranking is difficult the front-seat position for appearing in ranking has reached increase The effect of the recommended intensity of the object later to issuing time.
Fig. 2A is the flow chart of a kind of object ranking method shown according to another exemplary embodiment, the object ranking side Method is applied in server, and as shown in Figure 2 A, which includes the following steps.
In step 201, the number of votes obtained and issuing time of each object are obtained respectively.
Object refers to the article with voting function and ranking function.Wherein, object can be the works that website provides, than Such as, photo, article, video etc., user can select " to recommend " or " not recommending " to vote for works.Alternatively, object can also It is the information of website orientation, for example, to the answer of problem, user can select " accurate " or " mistake " come to answer for answer Ballot.Optionally, user can also can otherwise be got by scanning for getting object to web site contents Object, the present embodiment do not limit the acquisition modes to object.
When obtaining number of votes obtained, the webpage information of each object can be sent to terminal by server, and terminal believes webpage The polling option of each object is shown in webpage in breath, after user votes to object according to polling option, server Ballot situation is counted, obtains the number of votes obtained of each object.In addition, server can also when object publishing is in website, The issuing time of simultaneously storage object is recorded, so as to obtain the issuing time of each object.
Optionally, terminal can also include the number of votes obtained of each object and issuing time in webpage, in order to user Understand object.Such as Fig. 2 B, Fig. 2 B are according to a kind of display interface schematic diagram of object shown in an exemplary embodiment, in Fig. 2 B In, terminal respectively illustrates the number of votes obtained and issuing time of picture A, photo B and photo C in webpage.
In step 202, the issuing time of each object is subtracted into fiducial time, obtains the time difference of each object, The fiducial time is earlier than issuing time.
Fiducial time can be preset time, and the fiducial time is earlier than issuing time of the object in website.The present embodiment In, fiducial time can be the issuing time of website or, webmaster's preset time.
Since the fiducial time that the issuing time of each object is subtracted is identical, it is calculated according to fiducial time Time difference can be used for representing the newness degree of object.For example, fiducial time can be set as the hair of website by server 11 days 22 November of 2014 cloth moment:00, when the issuing time of object A is 12 days 22 November in 2014:When 00, server obtains Object A time difference be 24 hours;When the issuing time of object B is 21 days 22 November in 2014:When 00, server obtains Object B time difference for 240 hours, since 240 are more than 24, then object A is newly in object B.
Optionally, the time difference of each object can also be sent to terminal by server, terminal by each object when Between difference be shown in webpage, the newness degree of each object is visually known convenient for user.
Server can calculate the Rank scores of the object according to the number of votes obtained or time difference of object, wherein, it is calculating During the Rank scores of each object, need to perform step 203-205.
In step 203, according to the ballot score of the number of votes obtained computing object of object.
Ballot score is used to determine the Rank scores of object.The ballot score of object is higher, illustrates user to the object Recommended intensity is bigger.Therefore, the Rank scores correlation of the ballot score of object and object.That is, object is voted Point higher, the Rank scores of object are also higher, and the ranking position of object is also more forward.
Due to issuing time, object relative to the later object of issuing time, has had accumulated a certain number of obtain earlier Poll, if using number of votes obtained as the ballot score of object, branch's far behind hair of voting to obtain of the later object of issuing time The ballot score of cloth time object earlier, so that the later object of issuing time can come issuing time object earlier Later, cause inaccurate to the ranking of object.
For example, the issuing time of object A is on January 1st, 2013, the issuing time of object B is on May 1st, 2014, right When being issued as B, object A has obtained 9999 number of votes obtained.Number of votes obtained of the server in the object A that on May 4th, 2014 obtains be The number of votes obtained of 10000, object B be 100, if at this point, server using the number of votes obtained of object as the ballot score of object, although The number of votes obtained growth rate of object B is more than the number of votes obtained growth rate of object A, but object B is lagged far behind with 100 ballot score In the 10000 ballot score of object A, the ranking of object B is after object A.
Therefore, in order to reduce influence of the issuing time to score of voting, it can be calculated and thrown according to the growth trend of votes Ticket score, to reduce the gap of ballot score of the issuing time earlier between object and the later object of issuing time.This reality It applies example to illustrate for by growth trend of the logarithm to calculate votes, then the method shown in Fig. 2 C may be used and calculate The step of ballot score of object, this method, is as follows:
203a:If number of votes obtained includes agreeing with poll, to be more than 1 positive integer as the truth of a matter, counted using the first poll as antilog The first logarithm is calculated, which is the higher value agreed in poll and 1.
203b:First logarithm is determined as score of voting.
If the number of votes obtained of object include agree with poll, server relatively agrees with poll and 1 size, will agree with poll and Higher value in 1 is determined as the first poll, using first poll as antilog, is determined as the truth of a matter with preset 1 positive integer of being more than The first logarithm is calculated, which is determined as score of voting.
Due to requiring antilog in logarithm operation as positive integer, server makees the higher value agreed in poll and 1 For antilog, the problem of antilog is 0 when can be 0 to avoid affirmative vote number.In addition, in logarithm, when the truth of a matter is more than 1, calculate Preset 1 positive integer of being more than is determined as the truth of a matter by the logarithm that arrives and antilog correlation, therefore, server, can be with The ballot score of the low object of number of votes obtained can be higher than by ensuring the ballot score of the high object of number of votes obtained.
For example, the issuing time of object A is 11 days 22 November in 2014:The poll of agreeing with of 00, object A are 100, server It compares 100 and is more than 1, be then determined as the first poll by 100, server is determined as the truth of a matter by 10, and the first poll 100 is determined as Antilog, it is 2 that the first logarithm, which is calculated, then the ballot score of object A is then 2;The issuing time of object B is in June, 2014 11 days 22:The affirmative vote of 00, object B are 1000, and server compares 1000 and is more than 1, then is determined as the first poll by 1000, takes Business device is determined as the truth of a matter by 10, and the first poll is determined as antilog, the first logarithm is calculated as 3, then object B votes Divide is then 3.At this point, although the number of votes obtained of object B is compared as more than A 900, the ballot score comparison of object B is as the ballot of A Score is high by 1, therefore, ballot score is calculated according to the growth trend of votes, can reduce issuing time object and hair earlier The gap of ballot score between cloth time later object.
Optionally, if the number of votes obtained of object includes agreeing with poll and opposes poll, server is shown using Fig. 2 D at this time Method computing object ballot score:
203c:If number of votes obtained includes agreeing with poll and opposes poll, poll will be agreed with to subtract opposition poll, obtain poll Difference;
203d:The positive integer that will be greater than 1 is determined as the truth of a matter, calculates the second logarithm by antilog of the second poll, this second Poll is the higher value in the absolute value and 1 of poll difference;
203e:Second logarithm is determined as score of voting.
Server will agree with poll to subtract opposition poll first, obtain poll difference.Since poll being agreed with to be likely lower than instead To poll, the poll difference being calculated at this time is negative, and antilog is required therefore, can first to be counted for positive integer in logarithm operation The absolute value of poll difference is calculated, then compares the absolute value and 1 of poll difference, by the higher value in the absolute value of poll difference and 1 Be determined as the second poll, using second poll as antilog, with it is preset be more than 1 positive integer be determined as the truth of a matter calculate the second logarithm Second logarithm is finally determined as score of voting by value.
For example, it is 200 to agree with poll, it is 100 to oppose poll, then it is 100 that poll difference, which is calculated, in server.Due to ticket For higher value between number differences 100 and 1 for 100, then server is determined as the second poll by 100, is determined as the truth of a matter by 10, by the It is 2 that two polls 100, which are determined as antilog the second logarithm is calculated, then the ballot score of the object is then 2.
In step 204, according to the time score of the time difference computing object of object.
Server can also be according to the time score of the time difference computing object of object, the time score and time difference Correlation.
In the present embodiment, server can will obtain the time difference of each object divided by a preset positive integer Time score of the quotient as corresponding object.For example, the time difference of object A is 36000 minutes, the time difference of object B Be 60 minutes, preset positive integer be 6000, then the time of object A be scored at 36000/6000=6, the time score of object B For 60/6000=0.01.
If the number of votes obtained of object includes agreeing with poll and opposes poll, when opposing poll more than poll is agreed with, gained vote Number can not embody recommended intensity of the user to the object, and therefore, server can avoid number of votes obtained by the method shown in Fig. 2 E User's happening to the recommended intensity of object can not be embodied:
204a:Obtain the symbol of poll difference;
204b:Using the symbol of the poll difference as the symbol of time score.
Server can obtain the symbol of poll difference, when the symbol of poll difference is just, that is, agree with poll higher than opposition During poll, determine the symbol of time score for just;When the symbol of poll difference is negative, that is, when agreeing with poll less than poll is opposed, The symbol for determining time score is negative.
For example, the poll of agreeing with when object is 100, it is 50 to oppose poll, and when the time is scored at 4, server is calculated Poll difference for 50, determine that the time is scored at 4 at this time;When the poll of agreeing with of object is 50, it is 100 to oppose poll, and the time obtains When being divided into 4, the symbol of poll difference that server is calculated is negative, determines that the time is scored at -4 at this time.
In step 205, ballot score with time score is added, obtains Rank scores.
After the ballot score and time score for obtaining each object, server can be by the Rank scores of each object It is determined as corresponding ballot the sum of score and time score.For example, when the ballot of object A that server determines is scored at 5, the time - 2 are scored at, then the Rank scores of object A are determined as 3 by server.
In step 206, ranking is carried out to each object according to the Rank scores of each object.
After the Rank scores for obtaining each object, server can be according to the Rank scores of each object to each right As carrying out ranking.
Wherein, each object can be carried out ranking by server according to the sequence of Rank scores from high to low.Due to publication The time score of time later object is higher than the time score of issuing time object earlier, and is calculated by the way of logarithm The ballot score of each object can reduce the ballot score of the later object of issuing time and issuing time object earlier Gap between score of voting, therefore, the later object of issuing time is easier to appear in the front-seat position of ranking, so as to obtain Recommend.
In order to make it easy to understand, the present embodiment is by taking the ranking procedure to object A, object B, object C, object D and object E as an example It illustrates.In this embodiment, the issuing time of object A is 11 days 22 January in 2014:00, it is 10000 to agree with poll;Object B Issuing time be 11 days 22 January in 2014:00, it is 100 to agree with poll;The issuing time of object C is on January 11st, 2014 22:00, it is 10000 to agree with poll, and it is 9000 to oppose poll;The issuing time of object D is 31 days 22 January in 2014:00, it agrees with Poll is 10000, and it is 9000 to oppose poll;The issuing time of object E is 31 days 22 January in 2014:00, agree with the poll to be 9000, it is 10000 to oppose poll.
Assuming that fiducial time is 1 day 22 January in 2014:00, truth of a matter when calculating the logarithm of each object is 10, then takes The time difference that object A is calculated in business device as unit of minute is 24*10*60=14400, and the ballot of object A is scored at log (10000,10)=4, time are scored at 14400/144000=0.1, then the Rank scores of object A are 4+0.1=4.1;Service The time difference that object B is calculated in device as unit of minute is 24*10*60=14400, and the ballot of object B is scored at log (100,10)=2, time are scored at 14400/144000=0.1, then the Rank scores of object B are 2+0.1=2.1;Server The time difference that object C is calculated as unit of minute is 24*10*60=14400, and poll difference is 1000, the throwing of object C Ticket is scored at log (1000,10)=3, and the time is scored at 14400/144000=0.1, then the Rank scores of object C are 3+0.1 =3.1;The time difference that object D is calculated in server as unit of minute is 24*30*60=43200, the ballot of object D Log (1000,10)=3 is scored at, the time is scored at 43200/144000=0.3, and poll difference is 1000, then the row of object D Name is scored at 3+0.3=3.3;The time difference that object E is calculated in server as unit of minute is 24*30*60= 43200, poll difference is -1000, and the ballot of object E is scored at log (1000,10)=3, and the time is scored at 43200/144000 =0.3, then the Rank scores of object E are 3-0.3=2.7.
The Rank scores that server calculates object A are 4.1, the Rank scores of object B are 2.1, the Rank scores of object C Rank scores for 3.1, object D are 3.3, the Rank scores of object E are 2.7, then server by Rank scores from high to low Sequence carries out ranking to above-mentioned object, and obtained rank order is object A, object D, object C, object E, object B.
In conclusion the object ranking method that the disclosure provides, by the time difference according to each object and corresponding Number of votes obtained determines the Rank scores of each object, and the Rank scores and time difference correlation, the Rank scores are with obtaining Poll correlation;Ranking is carried out to each object according to the Rank scores of each object, according to number of votes obtained and time difference Value is to each object ranking, and number of votes obtained and the higher object of time difference are more easy to get higher Rank scores, solve The problem of object for causing issuing time later according to number of votes obtained ranking is difficult the front-seat position for appearing in ranking has reached increase The effect of the recommended intensity of the object later to issuing time.
In addition, the symbol of poll difference is obtained, it, can be by ticket using the symbol of the poll difference as the symbol of time score Influences of symbol of number differences is added in the ranking to object, if the symbol of poll difference for just, time score be also just, Server object can be come ranking by front position;If the symbol of poll difference is negative, time score is also negative, service Object can be come the position rearward of ranking by device so that server to the ranking of object can real embodiment user to object Recommended intensity.
Fig. 3 is according to a kind of block diagram of object ranking device shown in an exemplary embodiment, which should For in server, as shown in figure 3, the object ranking device includes:First acquisition module 310, obtains second acquisition module 320 Divide determining module 330 and ranking generation module 340.
First acquisition module 310 is configured to obtain the number of votes obtained and issuing time of each object;
Second acquisition module 320 is configured as the issuing time of each object for obtaining first acquisition module 310 Fiducial time is subtracted, obtains the time difference of each object, the fiducial time is earlier than issuing time;
The score determining module 330 is configured as the time difference of each object obtained according to second acquisition module 320 The corresponding number of votes obtained that value and first acquisition module 310 obtain determines the Rank scores of each object, the Rank scores and when Between difference correlation, the Rank scores and number of votes obtained correlation;
The ranking generation module 340, the ranking for being configured as each object determined according to the score determining module 330 obtain Divide and ranking is carried out to each object.
In conclusion the object ranking method that the disclosure provides, by the time difference according to each object and corresponding Number of votes obtained determines the Rank scores of each object, and the Rank scores and time difference correlation, the Rank scores are with obtaining Poll correlation;Ranking is carried out to each object according to the Rank scores of each object, according to number of votes obtained and time difference Value is to each object ranking, and number of votes obtained and the higher object of time difference are more easy to get higher Rank scores, solve The problem of object for causing issuing time later according to number of votes obtained ranking is difficult the front-seat position for appearing in ranking has reached increase The effect of the recommended intensity of the object later to issuing time.
Fig. 4 is according to a kind of block diagram of object ranking device shown in an exemplary embodiment, which should For in server, as shown in figure 4, the object ranking device includes:First acquisition module 310, obtains second acquisition module 320 Divide determining module 330 and ranking generation module 340.
First acquisition module 310 is configured to obtain the number of votes obtained and issuing time of each object;
Second acquisition module 320 is configured as the issuing time of each object for obtaining first acquisition module 310 Fiducial time is subtracted, obtains the time difference of each object, the fiducial time is earlier than issuing time;
The score determining module 330 is configured as the time difference of each object obtained according to second acquisition module 320 The corresponding number of votes obtained that value and first acquisition module 330 obtain determines the Rank scores of each object, Rank scores and time Difference correlation, Rank scores and number of votes obtained correlation;
The ranking generation module 340, the ranking for being configured as each object determined according to the score determining module 330 obtain Divide and ranking is carried out to each object.
Optionally, the score determining module 330, including:Score of voting computational submodule 331, time score calculate submodule Block 332 and Rank scores acquisition submodule 333.
Score of voting computational submodule 331, is configured as each object, according to the number of votes obtained computing object of object Ballot score;
Time score computational submodule 332 is configured as the time score of the time difference computing object according to object;
Rank scores acquisition submodule 333 is configured as the ballot score for calculating the ballot score computational submodule 331 The time score calculated with the time score computational submodule 332 is added, and obtains Rank scores.
Optionally, the ballot score computational submodule 331, including:First computational submodule 331a and the first determining submodule Block 331b.
First computational submodule 331a is configured as number of votes obtained and includes when agreeing with poll, using be more than 1 positive integer as The truth of a matter calculates the first logarithm by antilog of the first poll, which is the higher value agreed in poll and 1;
It is true to be configured as the first logarithm for calculating first computational submodule 331a by first determination sub-module 331b It is set to ballot score.
Optionally, the ballot score computational submodule 331, including:
Difference acquisition submodule 331c, when being configured as number of votes obtained including agreeing with poll and opposing poll, by affirmative vote Number subtracts opposition poll, obtains poll difference;
Second computational submodule 331d, the positive integer for being configured as will be greater than 1 are determined as the truth of a matter, using the second poll as antilog The second logarithm is calculated, in absolute value and 1 of second poll for the difference acquisition submodule 331c poll differences obtained Higher value;
Second determination sub-module 331e is configured as determining the second logarithm that second computational submodule 331d is calculated For score of voting.
Optionally, the score determining module 330, further includes:Symbol acquisition submodule 334 and symbol determination sub-module 335.
Symbol acquisition submodule 334 is configured as obtaining the symbol of poll difference;
Symbol determination sub-module 335, the symbol for being configured as the poll difference for obtaining the symbol acquisition submodule 334 are made Symbol for time score.
In conclusion the object ranking method that the disclosure provides, by the time difference according to each object and corresponding Number of votes obtained determines the Rank scores of each object, and the Rank scores and time difference correlation, the Rank scores are with obtaining Poll correlation;Ranking is carried out to each object according to the Rank scores of each object, according to number of votes obtained and time difference Value is to each object ranking, and number of votes obtained and the higher object of time difference are more easy to get higher Rank scores, solve The problem of object for causing issuing time later according to number of votes obtained ranking is difficult the front-seat position for appearing in ranking has reached increase The effect of the recommended intensity of the object later to issuing time.
In addition, the symbol of poll difference is obtained, it, can be by ticket using the symbol of the poll difference as the symbol of time score Influences of symbol of number differences is added in the ranking to object, if the symbol of poll difference for just, time score be also just, Server object can be come ranking by front position;If the symbol of poll difference is negative, time score is also negative, service Object can be come the position rearward of ranking by device so that server to the ranking of object can real embodiment user to object Recommended intensity.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
One exemplary embodiment of the disclosure provides a kind of object ranking device, can realize the object row that the disclosure provides Name method, the object ranking device, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, which is configured as:
The issuing time of each object is subtracted into fiducial time, obtains the time difference of each object, the fiducial time is early In issuing time;
The Rank scores of each object, the Rank scores are determined according to the time difference of each object and corresponding number of votes obtained With time difference correlation, the Rank scores and number of votes obtained correlation;
Ranking is carried out to each object according to the Rank scores of each object.
Fig. 5 is the block diagram according to a kind of device 500 for object ranking shown in an exemplary embodiment.For example, dress It puts 500 and may be provided as a server.With reference to Fig. 5, device 500 includes processing component 522, further comprises one or more A processor and as the memory resource representated by memory 532, can be by the finger of the execution of processing component 522 for storing It enables, such as application program.The application program stored in memory 532 can include it is one or more each correspond to The module of one group of instruction.In addition, processing component 522 is configured as execute instruction, to perform above-mentioned object ranking method.
Device 500 can also include the power management that a power supply module 526 is configured as executive device 500, and one has Line or radio network interface 550 are configured as device 500 being connected to network and input and output (I/O) interface 558.Dress Putting 500 can operate based on the operating system for being stored in memory 532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to the other of the disclosure after considering specification and putting into practice disclosure herein Embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following power Profit requirement is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (5)

1. a kind of object ranking method, which is characterized in that including:
The number of votes obtained and issuing time of each object are obtained respectively;
The issuing time of each object is subtracted into fiducial time, obtains the time difference of each object, the fiducial time earlier than The issuing time;
For each object, the ballot score of the object is calculated according to the number of votes obtained of the object, including:
If the number of votes obtained includes agreeing with poll and opposes poll, poll is agreed with to subtract the opposition poll by described, obtained Poll difference;
The positive integer that will be greater than 1 is determined as the truth of a matter, calculates the second logarithm by antilog of the second poll, second poll is institute State the higher value in the absolute value and 1 of poll difference;
Second logarithm is determined as the ballot score;
The symbol of the poll difference is obtained, the symbol of the poll difference is positive or negative;
Using the symbol of the poll difference as the symbol of the time score;
The time score of the object is calculated according to the time difference of the object;
The ballot score with the time score is added, obtains the Rank scores;
The Rank scores and the time difference correlation, the Rank scores and the number of votes obtained are proportionate pass System;
Ranking is carried out to each object according to the Rank scores of each object.
2. according to the method described in claim 1, it is characterized in that, described calculate the object according to the number of votes obtained of the object Ballot score, including:
If the number of votes obtained includes agreeing with poll, to be more than 1 positive integer as the truth of a matter, using the first poll for antilog calculating first Logarithm, first poll are the higher value agreed in poll and 1;
First logarithm is determined as the ballot score.
3. a kind of object ranking device, which is characterized in that including:
First acquisition module is configured to obtain the number of votes obtained and issuing time of each object;
Second acquisition module, when being configured as the issuing time of each object for obtaining first acquisition module and subtracting benchmark Between, the time difference of each object is obtained, the fiducial time is earlier than the issuing time;
Score determining module, including:
Ballot score computational submodule, is configured as each object, and the object is calculated according to the number of votes obtained of the object Ballot score, including:
Difference acquisition submodule, when being configured as the number of votes obtained including agreeing with poll and opposing poll, by the affirmative vote Number subtracts the opposition poll, obtains poll difference;
Second computational submodule, the positive integer for being configured as will be greater than 1 are determined as the truth of a matter, and second is calculated by antilog of the second poll Logarithm, second poll are larger in the absolute value and 1 of the poll difference of difference acquisition submodule acquisition Value;
Second determination sub-module is configured as second logarithm that second computational submodule calculates being determined as described Ballot score;
Time score computational submodule is configured as calculating the time score of the object according to the time difference of the object;
Rank scores acquisition submodule is configured as the ballot score for calculating the ballot score computational submodule and institute The time score for stating the calculating of time score computational submodule is added, and obtains the Rank scores;
Symbol acquisition submodule is configured as obtaining the symbol of the poll difference, and the symbol of the poll difference is positive or negative;
Symbol determination sub-module is configured as the symbol for the poll difference for obtaining the symbol acquisition submodule as institute State the symbol of time score;
The Rank scores and the time difference correlation, the Rank scores and the number of votes obtained are proportionate pass System;
Ranking generation module, the Rank scores of each object for being configured as being determined according to the score determining module are to each right As carrying out ranking.
4. device according to claim 3, which is characterized in that the ballot score computational submodule, including:
First computational submodule is configured as the number of votes obtained and includes when agreeing with poll, to be more than 1 positive integer as the truth of a matter, The first logarithm is calculated by antilog of the first poll, first poll is the higher value agreed in poll and 1;
First determination sub-module is configured as first logarithm that first computational submodule calculates being determined as described Ballot score.
5. a kind of object ranking device, which is characterized in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
The number of votes obtained and issuing time of each object are obtained respectively;
The issuing time of each object is subtracted into fiducial time, obtains the time difference of each object, the fiducial time earlier than The issuing time;
For each object, the ballot score of the object is calculated according to the number of votes obtained of the object;Including:
If the number of votes obtained includes agreeing with poll and opposes poll, poll is agreed with to subtract the opposition poll by described, obtained Poll difference;
The positive integer that will be greater than 1 is determined as the truth of a matter, calculates the second logarithm by antilog of the second poll, second poll is institute State the higher value in the absolute value and 1 of poll difference;
Second logarithm is determined as the ballot score;
The symbol of the poll difference is obtained, the symbol of the poll difference is positive or negative;
Using the symbol of the poll difference as the symbol of the time score;
The time score of the object is calculated according to the time difference of the object;
The ballot score with the time score is added, obtains the Rank scores;
The Rank scores and the time difference correlation, the Rank scores and the number of votes obtained are proportionate pass System;
Ranking is carried out to each object according to the Rank scores of each object.
CN201410836008.1A 2014-12-27 2014-12-27 object ranking method and device Active CN104537059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410836008.1A CN104537059B (en) 2014-12-27 2014-12-27 object ranking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410836008.1A CN104537059B (en) 2014-12-27 2014-12-27 object ranking method and device

Publications (2)

Publication Number Publication Date
CN104537059A CN104537059A (en) 2015-04-22
CN104537059B true CN104537059B (en) 2018-06-19

Family

ID=52852587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410836008.1A Active CN104537059B (en) 2014-12-27 2014-12-27 object ranking method and device

Country Status (1)

Country Link
CN (1) CN104537059B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294414B (en) * 2015-05-25 2020-12-01 腾讯科技(深圳)有限公司 Data sorting method and device
CN106385629A (en) * 2016-10-27 2017-02-08 乐视控股(北京)有限公司 Method and device for determining effective subtitles
CN109213922B (en) * 2017-06-30 2020-07-10 武汉斗鱼网络科技有限公司 Method and device for sequencing search results
CN108519089A (en) * 2018-03-14 2018-09-11 维沃移动通信有限公司 A kind of more people's route planning methods and terminal
CN110327628A (en) * 2019-05-24 2019-10-15 北京金山安全软件有限公司 Method and device for querying ranking and electronic equipment
CN113051411A (en) * 2021-02-04 2021-06-29 深圳市华球通网络有限公司 Article real-time ranking method and device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1326576A (en) * 1998-09-18 2001-12-12 迪贝茨·Com公司 System and method for obtaining and ranking opinions by votes related to various subject matter
CN103383702A (en) * 2013-07-17 2013-11-06 中国科学院深圳先进技术研究院 Method and system for recommending personalized news based on ranking of votes of users
CN103778169A (en) * 2012-10-26 2014-05-07 北京雪球信息科技有限公司 Information sorting methods
CN104205152A (en) * 2011-09-26 2014-12-10 谷歌公司 MEdia content voting, ranking, and playing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1326576A (en) * 1998-09-18 2001-12-12 迪贝茨·Com公司 System and method for obtaining and ranking opinions by votes related to various subject matter
CN104205152A (en) * 2011-09-26 2014-12-10 谷歌公司 MEdia content voting, ranking, and playing system
CN103778169A (en) * 2012-10-26 2014-05-07 北京雪球信息科技有限公司 Information sorting methods
CN103383702A (en) * 2013-07-17 2013-11-06 中国科学院深圳先进技术研究院 Method and system for recommending personalized news based on ranking of votes of users

Also Published As

Publication number Publication date
CN104537059A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN104537059B (en) object ranking method and device
CN108259638B (en) Intelligent sorting method for personal group list, intelligent terminal and storage medium
CN102332006B (en) A kind of information push control method and device
Smith Survey-research paradigms old and new
US20170140056A1 (en) System and method for generating influencer scores
CN103338223A (en) Recommendation method, client and server of mobile application
CN105512180B (en) A kind of search recommended method and device
WO2015135110A1 (en) Systems and methods for keyword suggestion
US20150213136A1 (en) Method and System for Providing a Personalized Search List
CN105792000A (en) Video recommendation method and device
CN109815416A (en) Method for pushing, the device of related information, electronic equipment and storage medium
US20140129321A1 (en) Combination of Social Networking Data with Other Data Sets for Estimation of Viewership Statistics
CN114936301A (en) Intelligent household building material data management method, device, equipment and storage medium
US10163116B2 (en) Determining brand exclusiveness of users
CN105488470A (en) Method and apparatus for determining character attribute information
CN105184321A (en) Data processing method and device for ftrl model
Yao et al. Reputationnet: Reputation-based service recommendation for e-science
CN106156123A (en) Active value computational methods and device
CN110309406B (en) Click rate estimation method, device, equipment and storage medium
CN110837562B (en) Case processing method, device and system
CN109376307A (en) Article recommended method, device and terminal
CN111259274A (en) Information processing method, device, equipment and information display device
CN109446427A (en) A kind of information recommendation method and device
CN110837563A (en) Case judgment method, device and system
CN102567355A (en) Method for pushing specific content to specific users

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant