Recommend the method and system of video resource
Technical field
The present invention relates to ntelligent television technolog field, more particularly to recommend the method and system of video resource.
Background technology
Large area with mobile phone and panel computer is intelligent, and intelligent television is also just stepping into our life.Intelligence
TV, as smart mobile phone, has full open model platform, is equipped with operating system, voluntarily can be installed and uninstalled soft by user
The programs such as part, game, this class method is probably that intelligent television manufacturer provides it is also possible to the third party service provider provides,
Constantly the function of intelligent television can be expanded by this class method.Furthermore it is also possible to by netting twine, wireless network Lai real
Now surf the web.That is, real intelligent television can obtain programme content from multiple channels such as network, AV equipment, PC, by letter
Single easy-to-use integrated operation interface, the content that consumer needs most can clearly be represented on giant-screen by ease of Use.
At present, user obtains general only two kinds of the mode of resource from intelligent television.A kind of is mode the most traditional, namely
User oneself passes through the various access entrances providing in interface of intelligent television, carries out clicking on viewing after actively selecting information source.
For example, user can select to watch the section in traditional TV signal source, or the carousel channel of intelligent television server offer
Mesh, etc..Another kind is that server pushes some recommendation informations to user, such as by nearest popular video push to user,
User carries out passive reception.
So that user can obtain more rich letter by intelligent television by way of pushing some videos to user
Breath.But, prior art, when carrying out the push of video information, primary concern is that the information such as the popular degree of video, pushes
After user, most users to it and may be lost interest in, and then is ignored by user, waste and spent by push process be
System and Internet resources.
Therefore, the technical problem solving in the urgent need to those skilled in the art is that, to user's pushing video information
During, how so that the effectiveness recommended is improved.
Content of the invention
For defect present in prior art, the present invention provides a kind of method and system recommending video resource.
A kind of method recommending video resource, including:
Collect the historical record during each user watches video;Described historical record includes each video class watched
Data in type, and other dimensions at least one;
The historical record of each user collecting is counted, the quantity of all types of videos according to each user viewing
Calculate it and watch the quantity accounting of all types of videos, and this user is included into the particular type video that quantity accounting is more than group threshold value
Corresponding user's group, this user is defined as typical user, generates the corresponding use including typical user of each particular video frequency type
Family group;
Obtain data characteristicses in other dimensions for the typical user in each certain types of user's group respectively, determine each specific
Stack features in other dimensions for the user of type;
Judge other users outside the typical user data characteristicses in other dimensions, if meet certain certain types of use
The stack features of family group, if it is, this user is added this certain types of user's group;
Particular type of information according to corresponding to each user's group, recommends corresponding video resource to the user in user's group.
Alternatively:Data in described other dimensions at least one includes, the viewing duration of user's all types of videos of viewing,
The time period distribution of user's viewing video, the number of times that user watches the number of times of same video, user scans for and search content,
User's number of clicks to the message recommending class using the number of times applied and user.
Alternatively:The described historical record collected during each user watches video includes:When user's viewing video
When length is more than the first lower limit, record its historical record.
Alternatively:The described historical record collected during each user watches video is included, to the historical record collected
It is normalized, deleting duplicated data.
Alternatively:Second lower limit of the quantity accounting of all types of videos that described group of threshold value is watched for user.
Alternatively, also include:The quantity calculating calculating all types of videos that the other users outside typical user are watched is all kinds of
Whether the quantity accounting of type, judge this quantity accounting more than or equal to the corresponding group threshold value organized, if more than or equal to group threshold value, by it
Put this group under;If accounting is less than the group threshold value of each packet, obtain data characteristicses in other dimensions for this user.
Alternatively, also include:For historical record article number be more than the 3rd lower limit user carry out statistical packet, for point
User after group carries out statistical packet to this user after every record increasing certain bar number again.
Alternatively:The described user into user's group recommends corresponding video to include same video is carried out recommending across group.
A kind of system recommending video resource, including:
Historical record acquisition module, for collecting the historical record during each user watches video, described historical record
Including the data in each video type watched, and other dimensions at least one;
Typical user chooses division module, the historical record of each user collecting is counted, according to each user
The quantity of all types of videos of viewing calculates it and watches the quantity accounting of all types of videos, and it is big that this user is included into quantity accounting
In the user's group corresponding to the particular type video of group threshold value, this user is defined as typical user, generates each particular video frequency type
The corresponding user's group including typical user;
Model training module, for obtaining number in other dimensions for the typical user in each certain types of user's group respectively
According to feature, determine stack features in other dimensions for this group;
User grouping module, for judging data characteristicses in other dimensions for the other users outside typical user, if
Meet the stack features of certain certain types of user's group, if it is, this user is added this certain types of user's group;
Video recommendations module, for the particular type of information according to corresponding to each user's group, pushes away to the user in user's group
Recommend corresponding video resource.
Alternatively:Data in described other dimensions at least one includes, the viewing duration of user's all types of videos of viewing,
The time period distribution of user's viewing video, the number of times that user watches the number of times of same video, user scans for and search content,
User's number of clicks to the message recommending class using the number of times applied and user.
Compared with prior art, one of technique scheme technical scheme has advantages below or beneficial effect:
The historical data of video is watched it is possible to determine which kind of viewing classification type this user belongs to by counting user, leads to
Cross data distribution in different angles for the counting user data, can accurately realize the packet to user's generic,
So just targetedly can carry out commending contents in user's viewing video, improve recommendation effect.
Brief description
By reading the detailed description of hereafter preferred implementation, various other advantages and benefit are common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as to the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 is the method flow diagram recommending video resource provided in an embodiment of the present invention;
Fig. 2 is the apparatus structure schematic diagram recommending video resource provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings, the present invention is expanded on further.It should be understood that these embodiments be merely to illustrate the present invention and not
For limiting the scope of the present invention.In addition, it is to be understood that after having read the content of present invention instruction, those skilled in the art
The present invention can be made various changes or modifications, these equivalent form of values equally fall within the application appended claims and limited
Scope.
The intelligent television system of the present invention includes client and server, and user can after client logs in particular account number
With the various video resources in access server, client can be to operate in the application program of Intelligent television terminal, by end
End equipment user can watch the video resource on server.Server preserves the viewing historical record of each account, by right
The analysis of viewing historical record recommends its video resource interested to different user.Below by specific embodiment to this
Bright it is described further.
Embodiment 1
As shown in figure 1, a kind of present invention firstly provides method recommending video resource.Video resource can be drawn by its type
It is divided into action movie, literary film, documentary film, animation piece etc., due to everyone viewing custom, personal happiness during video-see
Good difference, the quantity accounting that each user watches all types of videos is different, if can in the history viewing record of user
Significantly embody, user is significantly higher than other types to the viewing quantity accounting of certain type video, then can will be somebody's turn to do accordingly
User is divided in the user's group of the type.Such as user can be divided into action group, performing arts class, documentary film group, animation group etc..When
So, also have in the viewing record of some users and may embody certain directly in terms of the video type quantity accounting of viewing
How the significance of one type, now, determine the user's group belonging to these users, then become the problem needing to solve for emphasis.Under
Mask body introduces the process of user's division.
S101:Collect the historical record during each user watches video;What described historical record included watching respectively regards
Data in frequency type, and other dimensions at least one;
In order to be able to be divided to numerous users it is necessary first to be recorded the viewing historical record of user.When implementing,
After user signs in server using its account number, server can receive account information, judges the legitimacy of account information, when
The history note of each video type watched during the user corresponding to this account watches video is collected when account information is legal
Record.Wherein, when implementing, user can be by scanning Quick Response Code, and input ID, password, etc. mode game server.Close
In the viewing historical record of user, can be to be collected by client, then upload onto the server, so, server can
Record is watched with the history getting each client.Wherein, client can be in the way of using real-time upload, or using fixed
Phase uploads(For example, upload weekly once), or quantitative upload(For example, often the data of record 10M uploads once), etc..
Wherein, historical record can include user viewing all types of videos quantity, the viewing duration of all types of videos,
User watches the time period distribution of video;User watches the number of times of same video;The number of times that user scans for and search content
Type distribution;User is using the type distribution of the number of times applied and application;User to recommend class message number of clicks and
Ratio etc..
Server can watch the duration of video come judging whether to need to record this viewing behavior according to user, specifically
For can be:Server to be divided into unit record user's viewing time, when user certain video time of staying be less than threshold value when,
Such as 1 minute, then this time behavior is invalid, not records.So both reduced data record amount, the content of record is also more accurate.
After server receives each user's viewing historical record, data can be normalized first, delete weight
Complex data.Then just the accounting that user watches all types of videos can be calculated according to the historical record after having processed.For example, go through
There are 100 viewing records, the record that user watches action movie in this 100 viewing records is 70, viewing in Records of the Historian record
The record of literary film is 10 etc., then the accounting being calculated user's viewing action class video is 70%, the accounting of literature and art class video
For 10% etc..
S102:The historical record of each user collecting is counted, according to all types of videos of each user viewing
Quantity calculate its watch all types of videos quantity accounting, and by this user be included into quantity accounting be more than group threshold value certain kinds
User's group corresponding to type video, this user is defined as typical user, generates each particular video frequency type corresponding inclusion typical case and uses
The user's group at family;
In the user of history of existence record, some users have obvious characteristic of division, and such as certain user's viewing is dynamic
The ratio making class video is more than 60%, and the ratio that certain user watches literature and art class video is more than 70%, and certain user watches animation class
The ratio of video is more than 80% etc., then these users corresponding can be divided into action group, performing arts class, animation group etc..And other
User does not have obvious characteristic, and the historical record of such as some users is imperfect, wherein there may be the data of disappearance, for example,
The type of some videos is difficult to divide, then system just cannot obtain the record of the video type in current viewing historical record, or
In person's watching process, network interrupts leading to not situations such as obtain viewing duration etc., or some users viewing classification of type is failed to understand
Really, as all types of accountings in some users viewing is essentially identical, and the accounting of such as viewing action class is 30%, viewing literature and art class
Accounting is 31%, the accounting of viewing animation class is 28% etc., is difficult to recommend video to it for these users.
In order to solve this problem, the present invention chooses a part of user with obvious characteristic of division and carries out group division, really
Surely the quantity accounting of viewing particular type video is more than the typical user of group threshold value, prepares for model training hereafter.For example
Choose 1000 users, the accounting that this 1000 users watch corresponding types videos is all higher than corresponding group of threshold value, such as 1000
The accounting belonging to user's viewing action class video of action group in individual user is more than 60%, belongs to user's viewing literary composition of literature and art class group
The accounting of skill class video is more than 65% etc..This user is referred to as typical user, 60%, 65% referred to as organizes threshold value, the groups of different groups here
Threshold value both can be the same or different, and its group threshold value can dynamically adjust.
S103:Obtain data characteristicses in other dimensions for the typical user in each certain types of user's group respectively, determine
Stack features in other dimensions for each certain types of user;
After completing typical user is grouped, carry out model training, obtain corresponding packet Nei Ge typical user and tie up at other
Data characteristicses on degree.Taking action class as a example it is described below, the user belonging to action group in such as 1000 users is
100 people, the accounting of this 100 people viewing action class video is all higher than 60%, except viewing video type accounting is more than 60% this number
According to being characterized as, also there are the data characteristicses in some other dimensions in this group, and such as such user is more than 60 minutes the average viewing time,
And the viewing period often see at night, to recommend class message click on ratio averagely be more than 70%, the average viewing of user in this embodiment
Time, viewing period, the message of recommendation class are clicked on ratio and are referred to as the data in other dimensions.
The user belonging to performing arts class for another example in 1000 users is 200 people, and this 200 people watches the accounting of literature and art class video
It is all higher than 65%, except viewing video type accounting is that this group also exists in some other dimensions more than 65% this data characteristics
Data characteristicses, such as user watches the number of times of same video more than 10 times, searches often at noon such user's viewing period
In the type distribution of rope content, literature and art class accounting is more than 40% etc., and user's viewing period, user watch same video in this embodiment
Number of times, the type distribution of search content are referred to as the data in other dimensions.
Data characteristicses in other dimensions for each group user, those skilled in the art can be obtained by this model training
It should be understood that in the history viewing record collected, any data different from the accounting watching each video type, all can claim
The content being comprised for the data in other dimensions, the data that the embodiment of the present invention is not intended to limit in other dimensions.
S104:Judge other users outside the typical user data characteristicses in other dimensions, if meet certain certain kinds
The stack features of type user's group, if it is, this user is added this certain types of user's group;
After obtaining the data characteristicses in other dimensions, can be with these data characteristicses to other use outside typical user
Family is grouped.Be equivalent to using the model training, user is classified.
Can be specifically to first determine whether whether watch the record of video type with regard to it in acquired historical record
Completely, if record is complete, it is calculated with it and watches the accounting of each video type, judge this accounting whether more than corresponding group
Group threshold value, if more than group threshold value, put under this group.Watching the record of video type with regard to it in judging historical record is
When no complete, a lower limit can be set, the user being more than lower limit for missing data is just carried out in other dimensions further
Judgement, the judgement that for example user more than 10% is just carried out in other dimensions further for disappearance record, this lower limit
Value can dynamically adjust.
If recording the group threshold value that imperfect or its accounting is less than each packet, the data obtaining in other dimensions of this user is special
Levy, judge whether it meets the data characteristicses in other dimensions counting by model training in certain particular type, meet then
It is divided into this group, if finding after judging to be not present in the corresponding packet of this user, that is, this user can not put any one class under
The group of type, then by non-for this user grouping grouping user.
For example for a certain user, there are 500 records in historical record, then system first determines whether this 500 historical record
In whether watch the record of video type with regard to it complete, if record is complete, it calculated with it watches each video type and account for
If there being 400 records being viewing action class in this 500 records, quantity accounting is 80% to ratio, and it is more than the group of action group
Threshold value 60%, then put under action group;If there being 100 records being viewing action class in this 500 records, or 500 go through
It is imperfect for watching the record of video type with regard to it in Records of the Historian record, then judge in described other dimensions of at least one of this user
Data whether meet in certain particular type and count described feature, such as judge user's average viewing time whether more than 60 points
To the message recommending class, clock, if often see at night, clicking on whether ratio is more than 70%, if meeting these conditions, this being used
Family puts action group under;If finding after judging to be not present in the corresponding packet of this user, that is, this user can not put any one class under
The group of type, then by this user grouping to non-grouping user.
It should be appreciated that the same user of the present invention can be grouped different groups, such as same user, in other dimensions
Data may meet the data characteristicses counting in multiple corresponding grouping models in other dimensions described, then by this user simultaneously
It is divided into this two groups simultaneously.
In the present invention, with the increase of user's viewing time, the information of its historical record is more and more abundanter, in order to more accurate
The true packet realized to user, system carries out statistical only for the historical record bar number of user more than the user of lower limit
Group, this lower limit can be for example 10.After packet, system can be again to user after every record increasing certain bar number
Carry out statistical packet, such as record strip number increases 10 newly afterwards, system can record again to original record and newly-increased this 10
Carry out statistical packet.
S105:Particular type of information according to corresponding to each user's group, recommends corresponding video to the user in user's group
Resource.
After the completion of user grouping, user is after account login system it is possible to enter historical record with user account
Row association, the viewing custom such as love of analysis user sees TV play, and love is seen a film, and TV play love sees domestic or American series, film
Love sees science fiction film, horror film or romance movie etc., according to the corresponding group information of each user, recommends certain types of regarding to user
Frequency resource.The a certain account of such as server record belongs to action group, then, after user is logged in by this account, system is from trend
Its recommendation action class video.Same video can carry out recommending across group, such as the video with action and comedy feature,
Then this video is recommended combination of actions comedy group simultaneously, preferably recommend the common factor user of two groups.
Video can be recommended to user in the way of using poster or message, poster picture can show when client is started shooting,
If for example client is TV, television startup picture shows the associated video recommended to user, picture comprises to link, and uses
Family click picture can be directly linked to associated video and be watched;Or pass through Pop-up message during user's viewing video
To recommend to user, in message, comprise video name, video address, thumbnail etc..
When user logs in not over account or user is that new registration user or user belong to non-grouping user group, then
System can recommend other videos of the type according to his currently watched video type to it, so facilitates user to watch
Similar video, or recommended at random.
Embodiment 2
As shown in Fig. 2 the present invention also provides a kind of system recommending video resource.System includes client and server,
User can be to operate in intelligence with the various video resources in access server, client after client logs in particular account number
The application program of television terminal, can watch the video resource on server by terminal user.Server is preserved respectively
The viewing historical record of account, by recommending its video resource interested to the analysis watching historical record to different user.
Historical record acquisition module 201, for collecting the historical record during each user watches video, described history note
Record includes each video type watched, and the data in other dimensions at least one;
Typical user chooses division module 202, the historical record of each user collecting is counted, according to each use
The quantity of all types of videos of family viewing calculates it and watches the quantity accounting of all types of videos, and this user is included into quantity accounting
More than the user's group corresponding to particular type video of group threshold value, this user is defined as typical user, generates each particular video frequency class
The corresponding user's group including typical user of type;
Model training module 203, for obtaining in each certain types of user's group typical user respectively in other dimensions
Data characteristicses, determine stack features in other dimensions for this group;
User grouping module 204, for judging data characteristicses in other dimensions for the other users outside typical user, be
The no stack features meeting certain particular type of user group, if it is, this user is added this certain types of user's group;
Video recommendations module 205, for the particular type of information according to corresponding to each user's group, to the user in user's group
Recommend corresponding video resource.
Wherein, the data in described other dimensions at least one includes, and user watches the viewing duration of all types of videos, use
The time period that video is watched at family is distributed, user watches the number of times of same video, user scans for number of times and search content, use
Family number of clicks to the message recommending class using the number of times applied and user.
When implementing, described historical record acquisition module specifically for:When the duration that user watches video is more than first
During lower limit, record its historical record.Second lower limit of the quantity accounting of all types of videos that described group of threshold value is watched for user
Value.
In order to reduce amount of calculation, this system can also include:
Normalized module, for being normalized to the historical record collected, deleting duplicated data.
First judge module, the quantity for calculating all types of videos of the viewing of the other users outside typical user calculates each
Whether the quantity accounting of type, judge this quantity accounting more than or equal to the corresponding group threshold value organized, if more than or equal to group threshold value, will
It puts this group under;If accounting is less than the group threshold value of each packet, trigger the described judgement of described user grouping module execution at other
The operation of the data characteristicses in dimension.
Again grouping module, the user for being more than the 3rd lower limit for historical record article number carries out statistical packet, right
Again statistical packet is carried out to this user in the user after packet after every record increasing certain bar number.
For aforesaid each device embodiment, in order to be briefly described, therefore it is all expressed as a series of block combiner, but
It is that those skilled in the art should know, the present invention is not limited by described block combiner, because according to the present invention,
Certain module can be using the execution of other modules;Secondly, those skilled in the art also should know, said apparatus embodiment all belongs to
In preferred embodiment, necessary to the involved module not necessarily present invention.
Each embodiment in this specification is all described by the way of going forward one by one, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar partly mutually referring to.For system embodiment
For, due to itself and embodiment of the method basic simlarity, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
Defend oneself bright.
Above to the method and system recommending video resource provided by the present invention, it is described in detail, herein should
With specific case, the principle of the present invention and embodiment are set forth, the explanation of above example is only intended to help reason
The solution method of the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention,
All will change in specific embodiment and range of application, in sum, this specification content should not be construed as to this
Bright restriction.