METHOD AND APPARATUS FOR A RANKING ENGINE

Abstract
A computer-implemented method is provided for ranking files from an Internet search. In one embodiment, the method comprises assigning a score to each file based on at least one of the following factors: recency, editorial popularity, clickthru popularity, favorites metadata, or favorites collaborative filtering. The file may be organized based on the assigned scores to provide users with more accurate search results.
Description
TECHNICAL FIELD

The technical field relates to a scheme for ranking results, and more specifically, to a rating scheme to rank video search results by a number of factors.


BACKGROUND ART

Standard web crawlers were originally designed for web pages where the bulk of useful information about the page was contained in an HTML text file. In web pages today, it is increasingly common for the useful information about the page to be contained in a variety of different files, which are all assembled in the browser to create the complete application. Because of this, standard web crawlers are unable to find much of the multimedia and video content available on modern web pages.


Even for the video content that is found by standard web crawlers, the result of the search often provides video content that may be out-of-date, poor quality, or not relevant to a search query from a user. Traditional search engines lack the ability to efficiently and more accurately organize these search results. There is a need for improved techniques for organizing the results from such searches to provide higher accuracy and greater ease of use for the user.


SUMMARY OF THE INVENTION

The present invention provides solutions for at least some of the drawbacks discussed above. Specifically, some embodiments of the present invention provide a Ranking Engine that is a rating scheme used in the Truveo Search Engine to rank video search results by factors such as, but not limited to, popularity, timeliness and/or user preferences. It enables the Truveo Search Engine to provide highly targeted search results to users. It is designed to operate effectively in the absence of any user input, however, it uses any provided user input to improve the accuracy of the search results. In one aspect, the present invention provides memory-based reasoning algorithms to ensure highly accurate search results with minimal user input. Extensive metadata enables advanced parametric search when desired. At least some of these and other objectives described herein will be met by embodiments of the present invention.


In one embodiment of the present invention, a computer-implemented method is provided for a ranking engine. The method comprises assigning a score to each file or record based on at least the following factors: recency, editorial popularity, and clickthru popularity. The files are organized based on the assigned scores.


In another embodiment of the present invention, a computer-implemented method is provided for a ranking engine. The method comprises assigning a score to each file or record based on at least the following factors: recency, editorial popularity, clickthru popularity, favorites metadata, and favorites collaborative filtering. The files are organized based on the assigned scores.


In yet another embodiment of the present invention, a computer system is provided that comprises of a ranking engine having programming code for displaying results of a search query based on scores, wherein the scores for files found in the search are based on at least the following factors: recency, editorial popularity, and clickthru popularity.


In a still further embodiment of the present invention, a computer system is provided that comprises of a ranking engine having programming code for displaying results of a search query based on scores, wherein the scores for files found in the search are based on at least the following factors: recency, editorial popularity, popularity, favorites metadata, and favorites collaborative filtering.


The files may be media files, video files, video streams, or the like. The editorial popularity may be weighted between 1 and 0 and is based on at least one of the following: Neilsen ratings, known brand names, website popularity (e.g. Alexa ranking), or the judgment of a professional or corporation with expertise in online media. In one embodiment, the weighting of favorites metadata is Rmd=0 if no matches are found or 1 if a keyword field in the metadata of the file matches any favorite titles in a user's favorite titles file, any favorite people in a user's favorite people file, or any keyword in a user's favorite keywords file.


In yet another embodiment of the present invention, a computer-implemented method is provided for organizing a collection of files from an Internet search. The method comprises assigning a score to each file based on favorites collaborative filtering WcfRcf and at least one of the following factors: recency WrRr, editorial popularity WeRe, clickthru popularity WcRc, and favorites metadata WmdRmd. The files are organized based on the assigned scores.


In yet another embodiment of the present invention, a computer system is provided that comprises of a ranking engine having programming code for displaying results of a search query based on scores, wherein the scores for files found in the search are based on favorites collaborative filtering WcfRcf and at least one of the following factors: recency WrRr, editorial popularity WeRe, clickthru popularity WcRc, and favorites metadata WmdRmd.


For any of the embodiments herein, the files may be media files, video files, video streams, or the like. Optionally, the editorial popularity may be weighted between 1 and 0 and is based on at least one of the following: Neilsen ratings, known brand names, website popularity (e.g. Alexa ranking), or the judgment of a professional or corporation with expertise in online media. In one embodiment, the weighting of favorites metadata is Rmd=0 if no matches are found or 1 if a keyword field in the metadata of the file matches any favorite titles in a user's favorite titles file, any favorite people in a user's favorite people file, or any keyword in a user's favorite keywords file.


A further understanding of the nature and advantages of the invention will become apparent by reference to the remaining portions of the specification and-drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 shows a schematic of one embodiment of the present invention.



FIG. 2 is a graph showing variables plotted for recency ranking according to the present invention.



FIG. 3 is a graph showing the relationship of similarity and popularity weighting according to the present invention.



FIG. 4 shows one embodiment of a display showing results from a search query.



FIG. 5 shows one embodiment of a user interface according to the present invention.





DESCRIPTION OF THE SPECIFIC EMBODIMENTS

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed. It may be noted that, as used in the specification and the appended claims, the singular forms “a”, “an” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a crawler” may include multiple crawlers, and the like. References cited herein are hereby incorporated by reference in their entirety, except to the extent that they conflict with teachings explicitly set forth in this specification.


Referring now to FIG. 1, a schematic is shown of the Truveo Search Engine which is configured for use with the present ranking scheme. As seen in FIG. 1, the search engine may include a recommendation engine 10. The engine 10 may use reasoning algorithms to provide highly accurate search results with minimal user input. In one embodiment, the recommendation engine may use a ranking scheme as set forth below.


Truveo Ranking Scheme:




embedded image




    • where: 0<Ri<1

    • and: 1=Wr+We+Wc+Wmd+Wcf









custom-character0<RT<1


Term 1: Recency Ranking:







R
r



{





1
-


1

t
e




(


d
c

-

d
F


)



,





For






(


d
c

-

d
F


)


<

t
e







0
,





For






(


d
c

-

d
F


)


>

t
e












    • where:

    • te=expiration time (perhaps ˜30 days)

    • dc=current date

    • dF=date found





This yields the relationship as shown in FIG. 2.


Term 2: Editorial Popularity Ranking:


Each database entry (e.g., item) is assigned a value for ‘EDITORIAL_RANK’, based on how popular the content is expected to be. This could be based on expected viewership for known brand names, previous Neilsen ratings, etc. The most popular content should approach Re=1. Unknown or unpopular content should approach Re=0. Optionally, the editorial popularity rank may also have a time decay component to give weight or more weight to more recent popularity information.


Term 3: Clickthru Popularity Ranking:







R
c

=



W
cpm



R
cpm


+


W
cph



R
cph


+


W
cpd



R
cpd









where


:









R
cpm

=


clicks





per





minutes





ranking

=


CPM

Max


(
cpm
)




over





all





items




,

(

0
<

R
cpm

<
1

)









R
cph

=


clicks





per





hour





ranking

=


CPH

Max


(
cpH
)




over





all





items




,

(

0
<

R
cph

<
1

)









R
cpd

=


clicks





per





day





ranking

=


CPD

Max


(
cpd
)




over





all





items




,

(

0
<

R
cpd

<
1

)






and





1
=


W
cpm

+

W
cph

+


W
cpd

.






To implement the clickthru popularity rating, the following fields need to be added to the video data table:

    • TOTAL_CLICKS=the running tally of clicks that this item has seen since DATE_FOUND
    • CPM=clicks per minute
    • CPM_COUNTER_BUFFER=running tally of clicks on this item since CPM_LAST_CALC
    • CPM_LAST_CALC=the time when CPM was last calculated and CPM_COUNT_BUFFER was flushed


Similarly:

    • CPH, CPH_COUNT_BUFFER, CPH_LAST_CALC for clicks-per-hour, and
    • CPD, CPD_COUNT_BUFFER, CPD_LAST_CALC for clicks-per-day.


These fields can be calculated and update as follows:


For every user with cookies enabled, each clicked item is stored anonymously in a cookie. Upon a subsequent request to the Truveo search engine (during that same session), the clickthru data in the cookie is processed as follows:


For every item clicked, increment TOTAL_CLICKS, CPM_COUNT_BUFFER, CPH_COUNT_BUFFER, and CPD_COUNT_BUFFER by 1.


For CPM, if CURRENT_TIME−CPM_LAST_CALL>1 minute,

    • CPM=CPM_COUNT_BUFFER/(CURRENT_TIME−CPM_LAST_CALC)
    • reset CPM_COUNT_BUFFER to 0
    • set CPM_LAST_CALC to CURRENT_TIME


Similarly for CPD and CPH


Once this is complete, the user's browser cookie may be flushed to eliminate all cached clickthrus.


Term 4: Favorites Metadata Ranking:


Note that if the user has not registered for an account, this Ranking, Rmd, is zero.


If the user does have a valid account, Rmd will be determined as follows:


User FAVORITES METADATA is stored in 3 database tables: FAVORITE_TITLES, FAVORITE_PEOPLE, FAVORITE_KEYWORDS.


For a given video data item:


If any entry in FAVORITE_TITLES matches any part of the TITLE field or the KEYWORDS Field, Rmd=1.


—OR—


If any entry in the FAVORITE_PEOPLE table matches any part of any of the fields: ACTOR, DIRECTOR, KEYWORDS, PRODUCER, WRITER, LONG_DESCRIPTION, SHORT_DESCRIPTION, Rmd=1


—OR—


If any entry in the FAVORITE_KEYWORDS table matches any part of any of the fields: ACTOR, CATEGORY, DIRECTOR, GENRE, HOST_SITE_NAME, HOST_SITE_URL, KEYWORDS, LONG_DESCRIPTION, SHORT_DESCRIPTION, PRODUCER, TITLE, WRITER, Rmd=1.


Otherwise, Rmd=0


Therefore:







R
md

=

{




0
,




if





no





metadata





match






1
,




if





metadata





match









Note: Be sure to Filter matches on trivial metadata entries like single characters, articles or whitespace characters.


A user's favorites may be determined by, but not limited to, providing a mechanism for the user to indicate their favorite videos, recording the video items they select to view (e.g. through the use of cookies), or by recording the video items they choose to forward via e-mail to other people. The FAVORITE_TITLE, FAVORITE_PEOPLE, and FAVORITE_KEYWORDS tables are populated for the user by extracting the appropriate meta data from the video record of the indicated favorite video.


Optionally, embodiments of the present application may also include the use of a unique cookie to identify an anonymous user as a substitute for a user account.


Term 5: Favorites Collaborative Filtering Ranking:


A listing of the Favorite Items (video data records) for each user is stored in the database table FAVORITE_ITEMS.


Note that, if the user has not registered for an account, this ranking, Rcf, is zero.


If the user does have a valid account, Rcf is determined as follows:


First, calculate the distance between user i and all other users, j:







D

i
,
j


=



distance





between





user





i

+
j

=




n
i

-

n

i
,
j




n
i


=

1
-


n

i
,
j



n
i









where ni is the number of Favorite items user i has stored, and ni,j is the number of user i's Favorites that match Favorites of user j.


Note that if all of user i's Favorites match a Favorite of user j, then Di,j=0. If none match, Di,j=1.


Similarly, a measure of the similarity between user i and j can be calculated as follows:


Si,j=similarity between users i and j=(1−Di,j)=


Note: Si,j=1 when the users are completely similar, and 0 when there are no similar Favorites between users.


We can now select the K-Nearest Neighbors to user i based on the similarity ranking. For example, assuming user i has three Favorite items:


For: User i


Favorites: ITEMID=103 ITEMID=107 ITEMID=112 custom-characterni=3


K-Nearest Neighbors can be selected as follows:



















User ID







(j)
ni, j
Di, j
Si, j
Favorite Items ID






















1
1
0.66
0.33
101, 102, 103, 110



2
2
0.33
0.66
103, 104, 105, 106, 107



3
0
1
0
101



4
3
0
1
103, 104, 107, 112



5
2
0.33
0.66
106, 107, 109, 110, 111,







112



6
1
0.66
0.33
103, 104











Reranking the users by decreasing similarity:


















Favorite Items Not Already



User ID
Si, j
Stored by User i





















4
1
104


K-Nearest

2
0.66
104, 105, 106


Neighbors,
{open oversize brace}
5
0.66
106, 109, 110, 111


where K = 4

1
0.33
101, 102, 110




6
0.33
104




3
0
101









From this ordered list, the K-Nearest Neighbors are the first K items.


From the K-Nearest Neighbors, we can also determine a popularity rating for each new Favorite item. This can be calculated from the fraction of the K neighbors that have item l in their Favorites list.


Specifically:


KNN=K-Nearest Neighbors (for K=4):
















embedded image











Therefore,



















Users with





Item ID
This Item
P1
Smax, l





















104
4, 2, 1
0.75
1



106
2, 5
0.5
0.66



110
5, 1
0.5
0.66



105
2
0.25
0.66



109
5
0.25
0.66



111
5
0.25
0.66



101
1
0.25
0.33



102
1
0.25
0.33







Where: Smax, l = Maximum similarity across all users with item l in their Favorites list



Note:



Popularity = 1 when all KNN contain item l, and P1 = 0 when no KNN contain item l.






Now, we can determine a ranking for every new item in the K-Nearest Neighbors list:


For a given item l:








R

cf
,
1


=



W
sin



(

S

max
,
1


)


+


(

1
-

W
sim


)



P
1




,





where


:












W
sim

=



similarity





weighting





factor








=




C

max





sim




(

1
-

1

1
+

n
i




)



,









where


:







0


C

max





sim



1




In other words, Rcf is a weighted sum of the maximum user similarity for item l and the popularity of item l among KNN such that 0≦Rcf≦1.


The weighting factor is calculated as a function of n, since the relative importance of user similarity, as compared to popularity, increases with the number of specified Favorite items. In other words, if a user has only specified one Favorite item, ni=1, then the similarity will be either 0 or 1, and therefore it does not have much meaning. Therefore, when ni is small, similarity should be weighed less than popularity.


Cmax sim should be set to the value that the similarity weighting factor should approach as ni becomes large. A good range is probably 0.3≦Cmax sim≦0.8.


More specifically, the relationship of the similarity and popularity weighting coefficients can be plotted as shown in FIG. 3.


Now, for each new item in KNN, we can calculate the Rank Rcf:


















Item ID
P1
Smax, l
Rcf, 1





















104
0.75
1
0.86



106
0.5
0.66
0.57



110
0.5
0.66
0.57



105
0.25
0.66
0.43



109
0.25
0.66
0.43



111
0.25
0.66
0.43



101
0.25
0.33
0.29



102
0.25
0.33
0.29







Note:



Rcf is always between 0 and 1



If the maximum similarity to user i for item l is 1, and item l is a Favorite of all KNN users, Rcf = 1



Assume Cmax sim = 0.6.



For ni = 3:  custom-character  Wsim = 0.45






The popularity will never be below 1/KNN, but the similarity can be zero. As a result, Rcf will never be 0 unless Cmax sim=1 and nicustom-character∞.


Optionally, embodiments of the present invention may also include a factor for crawl quality in the ranking of search results. By way of non limiting example, Application Crawler results are ranked higher than RSS feed results and RSS feed results higher than results from a generic web crawler.


Referring now to FIG. 4, one embodiment of a user interface for presenting the search results is shown. As seen in FIG. 4, the results may display description of the video content, length of video, time the video was posted, title, website origin, video type, and/or video quality.


Referring now to FIG. 5, another embodiment of a user interface is shown. This intuitive Media Center user interface may be used to bring web video to a television and other non-PC video devices. In one embodiment, the present invention provides TiVo style recommendations as well as keyword queries. As seen in FIG. 1, the television interface (or Media Center interface) shown in FIG. 5 may access the results from the ranking engine and application crawler. Again, video quality, bit rate, description, and other information may be displayed. Videos may also be categorized based on categories such as, but not limited to, news, sports, movies, and other subjects.


While the invention has been described and illustrated with reference to certain particular embodiments thereof, those skilled in the art will appreciate that various adaptations, changes, modifications, substitutions, deletions, or additions of procedures and protocols may be made without departing from the spirit and scope of the invention. For example, with any of the above embodiments, the recommendation may use a ranking scheme having only a subset of the ranking terms set forth in the formula. By way of example and not limitation, some embodiments may not include Term 5, the Favorites Collaborative Filtering Ranking. In other embodiments, variations may be made to the present embodiment such as but not limited to computing the ranking terms in a different order or the like. It should be understood that the present ranking scheme is not limited to video files and may be used to rank or organize other types of files. It should be understood that the term “files” as in “video files” may include the delivery of the content of the file in the form of a stream from a server (i.e. a media server).


The publications discussed or cited herein are provided solely for their disclosure prior to the filing date of the present application. Nothing herein is to be construed as an admission that the present invention is not entitled to antedate such publication by virtue of prior invention. Further, the dates of publication provided may be different from the actual publication dates which may need to be independently confirmed. U.S. Provisional Application Ser. No. 60/630,552 filed Nov. 22, 2004 and U.S. Provisional Application Ser. No. 60/630,423 filed Nov. 22, 2004, are fully incorporated herein by reference for all purposes. All publications mentioned herein are incorporated herein by reference to disclose and describe the structures and/or methods in connection with which the publications are cited.


Expected variations or differences in the results are contemplated in accordance with the objects and practices of the present invention. It is intended, therefore, that the invention be defined by the scope of the claims which follow and that such claims be interpreted as broadly as is reasonable.

Claims
  • 1. A method comprising: maintaining a plurality of items associated with a user;calculating, by at least one processor, a score for each item of the plurality of items, wherein calculating the score for a given item is based on at least positive indications by the user for the given item, positive indications for the given item by favored co-users of the user, and a total number of positive indications for the given item;ranking plurality of items based on the score for each item; anddisplaying items of the plurality of items according to the ranking.
  • 2. The method as recited in claim 1, further comprising calculating, by the at least one processor, the score for the given item based on the similarity of the given item to other items preferred by the user.
  • 3. The method as recited in claim 1, further comprising calculating, by the at least one processor, the score for the given item based on whether the user has shared the given item with other co-users.
  • 4. The method as recited in claim 1, further comprising calculating, by the at least one processor, the score for the given item based on the overall popularity of the given item.
  • 5. The method as recited in claim 1, further comprising calculating, by the at least one processor, the score for the given item based on the recency of the given item, wherein more recent items are given a higher score than less recent items.
  • 6. The method as recited in claim 1, further comprising calculating, by the at least one processor, the score for the given item based on user input in connection with the given item.
  • 7. The method as recited in claim 1, further comprising calculating, by the at least one processor, the score for the given item based on one of editorial popularity, clickthru popularity, collaborative filtering, and favored metadata.
  • 8. The method as recited in claim 1, further comprising weighting each factor when assigning scores to each item of the plurality of items.
  • 9. The method as recited in claim 1, further comprising: detecting a new item added to the plurality of items;assigning a score for the new item;re-ranking the plurality of items; andrefreshing the display of the items of the plurality of items according to the re-ranking of the plurality of items.
  • 10. The method as recited in claim 1, wherein the given item comprises a video file.
  • 11. A method comprising: maintaining a plurality of items associated with a user;calculating, by at least one processor, a score for each item of the plurality of items wherein calculating the score for a given item is based on at least whether the user has provided a positive indication of the given item, the similarity of the given item to other items preferred by the user, and whether the user has shared the given item with other co-users;ranking the plurality of items based on the score of each item; anddisplaying items of the plurality of items according to the ranking.
  • 12. The method as recited in claim 11, further comprising calculating, by the at least one processor, the score for the given item based on one or more of a number of positive indications of the given item by favored co-users of the user and a total number of positive indications of the given item.
  • 13. The method as recited in claim 12 further comprising calculating, by the at least one processor, the score for the given item based on the overall popularity of the given item.
  • 14. The method as recited in claim 13, further comprising calculating, by the at least one processor, the score for the given item based on the recency of the given item, wherein more recent items are given a higher score than less recent items.
  • 15. The method as recited in claim 14, further comprising calculating, by the at least one processor, the score for the given item based on the similarity of the given item to other items preferred by the user.
  • 16. The method as recited in claim 15, further comprising calculating, by the at least one processor, the score for the given item based on user input in connection with the given item.
  • 17. The method as recited in claim 16, further comprising calculating, by the at least one processor, the score for the given item based on one of editorial popularity, clickthru popularity, collaborative filtering, and favored metadata.
  • 18. The method as recited in claim 10, further comprising: detecting a new item added to the plurality of items;assigning a score for the new item;re-ranking the plurality of items; andrefreshing the display of the items of the plurality of items according to the re-ranking of the plurality of items.
  • 19. A system comprising: at least one processor; andat least one non-transitory computer readable storage medium storing instructions thereon that, when executed by the at least one processor, cause the system to: calculate a score for each item of the plurality of items, wherein the score for a given item is calculated based on at least positive indications by the user for the given item, positive indications for the given item by favored co-users of the user, and a total number of positive indications for the given item;rank the plurality of items based on the score for each item; anddisplay items of the plurality of items according to the rank.
  • 20. The system as recited in claim 19, further comprising instructions that, when executed by the at least one processor cause the system to: detect a new item added to the plurality of items;assign a score for the new item;re-ranking the plurality of items; andrefresh the display of the items of the plurality of items according to the re-ranking of the plurality of items.
CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. patent application Ser. No. 14/323,140, filed Jul. 3, 2014, which is a continuation of U.S. patent application Ser. No. 13/620,981, filed Sep. 15, 2012, which is a continuation of U.S. patent application Ser. No. 13/051,454 filed Mar. 18, 2011, and now issued as U.S. Pat. No. 8,463,778, which is a continuation of U.S. patent application Ser. No. 12/020,983, filed Jan. 28, 2008, and now issued as U.S. Pat. No. 7,912,836, which is a continuation of U.S. patent application Ser. No. 11/286,268, filed Nov. 22, 2005, and now issued as U.S. Pat. No. 7,370,381, which claims priority to U.S. Provisional Application No. 60/630,552 filed on Nov. 22, 2004. Each of the aforementioned patents and patent applications are hereby incorporated by reference in their entirety.

Provisional Applications (1)
Number Date Country
60630552 Nov 2004 US
Continuations (5)
Number Date Country
Parent 14323140 Jul 2014 US
Child 14323226 US
Parent 13620981 Sep 2012 US
Child 14323140 US
Parent 13051454 Mar 2011 US
Child 13620981 US
Parent 12020983 Jan 2008 US
Child 13051454 US
Parent 11286268 Nov 2005 US
Child 12020983 US