Embodiment
Below in conjunction with accompanying drawing, further set forth the present invention.Should be understood that these embodiment are only not used in and limit the scope of the invention for the present invention is described.In addition should be understood that those skilled in the art can make various changes or modifications the present invention after having read the content of the present invention's instruction, these equivalent form of values fall within the application's appended claims limited range equally.
First it should be noted that, the intelligent television system of the embodiment of the present invention comprises intelligent television equipment end and server, user logs in after particular account number the various video resources on can access services device by client, client can be the application program that operates in Intelligent television terminal, by client user, can watch the video resource on server, the video resource that can watch in addition third-party Internet video provider (for example video website) to provide, or, can also be some video resources that deposit intelligent television equipment this locality.Except watching video, the client of the embodiment of the present invention can also provide social functions, and user can exchange with other client users after by client game server, such as adding good friend, carrying out session etc.
The embodiment of the present invention is exactly under said system framework, and the method that can carry out video sharing is provided.Wherein, can to each user, divide into groups in advance, grouping according to being the interested video type of user, so just can be according to type information, video to be shared and user's group are associated, and then determine and can need which user to carry out directed video sharing to.Below by specific embodiment, the embodiment of the present invention is described further.
Embodiment 1
As shown in Figure 1, first the present invention provides a kind of method of sharing video frequency resource, and the method can comprise the following steps:
S101: obtain in advance the group information of the affiliated user's group of each user, described group of information is used to indicate the interested video type of user in user's group.
Group information about user group, can obtain in several ways, for example, can stamp type label for each user by artificial mode, and then the user with similar label is formed to user's group automatically.Certainly, this mode may be more subjective, therefore, under another kind of implementation, in order to watch custom to divide into groups to user according to user's difference, can collect reaction user and watch the historical record of custom, according to historical record, it is divided into groups, as shown in Figure 2, can be specifically:
S201: collect each user and watch the historical record in video process; Described historical record comprises each video type of watching, and the data at least one other dimension;
In order to divide numerous users, first need the historical record of watching of recording user.During specific implementation, user, use after its account number signs in to server, server is collected the corresponding user of this account and is watched the historical record of each video type of watching in video process.User can be by scanning Quick Response Code, and input user ID, password, etc. mode game server.User watches historical record, can be to be collected by client, then uploads onto the server, and like this, server just can get the history of each client and watch record.
Wherein, historical record can comprise the quantity of all types of videos that user watches, all types of videos watch duration, user watches the time period of video to distribute; User watches the number of times of same video; The number of times that user searches for and the type of search content distribute; User uses the number of times of application and the type of application to distribute; User is to the number of clicks of the message of recommendation class and ratio etc.
Server receives each user and watches after historical record, calculates the accounting that user watches all types of videos.For example, in historical record, exist 100 to watch record, in these 100 are watched record user to watch the record of action movie be 70, the record of watching literary film is 10 etc., calculating user, to watch the accounting of action class video be 70%, and the accounting of literature and art class video is 10% etc.
S202: the historical record to each user who collects is added up, the quantity of all types of videos of watching according to user is calculated all types of quantity accountings, and quantification accounting is greater than the extreme user of group threshold value, generates user's group corresponding to each particular type;
In the user that history of existence records, some users have obvious characteristic of division, as watching the ratio of action class video, certain user is greater than 60%, certain user watches the ratio of literature and art class video to be greater than 70%, certain user watches the ratio of animation class video to be greater than 80% etc., and these users can be corresponding is divided into action group, performing arts class, animation group etc.And other users do not have obvious characteristic, it is basic identical that for example some users watch all types of accountings, such as watching the accounting of action class, be 30%, to watch the accounting of literature and art class to be 31%, watch the accounting of animation class be 28% etc., for these users, is difficult to grouping.
In order addressing this problem, can to choose the user that a part has obvious characteristic of division and organize division, for model training is below prepared.For example choose 1000 users, these 1000 users watch the accounting of corresponding types video to be all greater than corresponding group threshold value, the user who for example belongs to action group in 1000 users watches the accounting of action class video to be greater than 60%, and the user who belongs to literature and art class group watches the accounting of literature and art class video to be greater than 65% etc.This user is called extreme user.Group threshold value on the same group both not can be the same or different, and its group threshold value can dynamically be adjusted.
S203: the user who obtains respectively each particular type organizes the data characteristics of interior extreme user in other dimensions, the stack features of the user who determines each particular type in other dimensions;
After completing extreme user grouping, carry out model training, obtain the data characteristics of each extreme user in other dimensions in corresponding grouping.The action class of take is below described as example, as belonged to the user of action group in 1000 users, be 100 people, this 100 people watches the accounting of action class video to be all greater than 60%, except watching video type accounting to be greater than 60% this data characteristics, be, also there is the data characteristics in some other dimensions in this group, as this type of user is greater than 60 minutes the average viewing time, and the viewing period often sees at night, to recommending the message of class to click ratio, be on average greater than 70%, average viewing time of user in this embodiment, the viewing period, recommend the message click ratio of class to be called as the data in other dimensions.
By this model training, can obtain and respectively organize the data characteristics of user in other dimensions, those skilled in the art should understand, in the history of collecting, watch in record, any data that are different from the accounting of watching each video type, all can be described as the data in other dimensions, the embodiment of the present invention is not intended to limit the content that the data in other dimensions comprise.
Whether S204: judgement is the data characteristics in other dimensions with other outdoor users extremely, meet the stack features of certain particular type group, if so, this user added to user's group of this particular type;
After obtaining the data characteristics in other dimensions, can to other users outside extreme user, divide into groups by these data characteristicses.Be equivalent to utilize the model training, user is classified.Can be particularly to calculate according to historical record the accounting that it watches each video type, judge whether this accounting is greater than the group threshold value of corresponding group, if be greater than group threshold value, be put under this group.If accounting is less than the group threshold value of each grouping, obtain the data characteristics in other dimensions of this user, judge whether it meets the data characteristics in other dimensions that count by model training in certain particular type, satisfied be divided into this group.
For example, for a certain user, have 500 records in historical record, if there are 400 in these 500 records, in order to watch the record of action class, accounting is 80%, and it is greater than the group threshold value 60% of action group, is put so under action group; If watch the record of all types of videos to be 100 in these 500 records, its accounting be 20% be less than each group group threshold value, judging whether data at least one other dimension of this user meet counts described feature in certain particular type, as judged, whether user is greater than 60 minutes the average viewing time, whether often see at night, to recommending the message of class to click ratio, whether be greater than 70%, if meet these conditions, put this user under action group.
Be to be understood that, the same user of the present invention different group of can dividing into groups, for example, for same user, the data in other dimensions may meet in a plurality of corresponding grouping models simultaneously and count the data characteristics in described other dimensions, this user are divided into simultaneously to these two groups.
After completing user grouping, user can oneself add or delete the good friend user in certain group.For example in intelligent television, can provide account number locating function, user can pass through other users of this function lookup, and adds as a friend, and therefore, each user can have the buddy list of oneself.
Being more than to how carrying out the introduction of user grouping, after completing all user grouping, just can carrying out video sharing.
S102: watch on intelligent television equipment in the process of video active user, provide video sharing entrance to user.
User, watch in the process of video, if find that certain video is very good, want to be shared with other users, can the operation such as click by video sharing entrance, thereby send video sharing instruction.Wherein, video sharing entrance sharing button or being arranged on the video sharing button in instant communication windows or the phonetic entry button that provides to user etc. in can display screen popup menu, any mode of obtaining sharing information operational order of can sending on application interface all can be described as video sharing entrance.For example, under the mode of popup menu, if when user wants to carry out video sharing when watching video, can call popup menu, popup menu can call popup menu by clicking this icon for the icon user who is presented on display screen, or user calls popup menu etc. by the specific keys of pressing on remote controller, in popup menu, comprise video sharing button, this video sharing button is called as video sharing entrance in this example, and user can send video sharing instruction to server by clicking video sharing button.
S103: receive by video sharing entrance after the request of active user's sharing video frequency resource, determine and treat sharing video frequency, and obtain the sharing information for the treatment of sharing video frequency, described sharing information at least comprises the link for the treatment of sharing video frequency.
After the video sharing instruction that receives user, can determine and treat sharing video frequency.For example, under a kind of implementation, current in progress video can be defined as treating sharing video frequency therein.Certainly, in actual applications, can also be that certain video in video play lists is defined as treating sharing video frequency, etc.
Determining that after sharing video frequency, some information for the treatment of sharing video frequency can be sent to sharing video frequency recipient to realize shares, these of transmission treat that the information of sharing video frequency is called video sharing information.In order to make sharing video frequency recipient can conveniently watch the video of sharing, in sharing information, at least comprise the link for the treatment of sharing video frequency, recipient can watch the video of sharing easily by clickthrough like this, except treating the link of sharing video frequency, sharing information can also comprise video name, brief introduction, type, featured performer, playing duration and/or the thumbnail etc. for the treatment of sharing video frequency, the video that the video that user will share can be the video that provides of third party website, intelligent television server provides or the video of the local storage of intelligent television.Be described respectively below, how obtain sharing information.
In order to obtain the sharing information for the treatment of sharing video frequency, first need to obtain the essential information treat sharing video frequency, below in detail introduction how to obtain the essential information for the treatment of sharing video frequency.
The source video sequence that will share as user during in third party's video website, receives sharing information and obtains after instruction, obtains the essential information of this video from active user the video of watching.When source video sequence is during in third party's video website, can obtain URL(uniform resource locator) (the Uniform/Universal Resource Locator from the video resource of video website, URL), the form of the video resource URL of different video website is different, some relevant informations that generally comprised the video of watching in these URL, website domain name for example, video name, video ID, broadcast address etc., the pre-stored form that has the URL that different video website adopts in parsing module, when receiving user, share after instruction, first server obtains website domain-name information, according to the domain-name information coupling obtaining, call URL resolution rules corresponding with this website in parsing module, from the URL of current the watched Internet video of user, parse corresponding video related information.The video to be shared for example obtaining be linked as http://www.123.com/c_aiqing/ e72ffd87c2e9c5af/show-1/20130217.html, by the parsing to this link, can obtain domain-name information www.123.com, the pre-stored resolution rules that has video website " 123 " URL in parsing module, parsing module calls the resolution rules of " 123 " website, this URL is resolved, according to resolution rules, can obtain " c_aiqing " for video type field, this video type is love class, " e72ffd87c2e9c5af " is the coding of video name, according to the video name coding rule in resolution rules, this coding is decoded and obtained video name * * * * *, " show-1 " this field is broadcasting channel number, the channel that parsing obtains playing is 1 channel, " 20130217 " this field represents the time that this video is uploaded in " 123 " website, by the parsing of this link has just been obtained and has comprised video type, video name, broadcasting channels etc. are in the relevant information of this interior video.
But resolve all information in sharing information that comprise that the relevant information obtain may not be complete, for example in sharing information, comprise video name, brief introduction, type, featured performer, playing duration and/or thumbnail, but resolve URL and only can access the relevant informations such as video name, type, in relevant information, do not comprise brief introduction, featured performer, playing duration and/or thumbnail.Now, in order to obtain these information, can be first according to the relevant information for the treatment of sharing video frequency having obtained from third party's video website, such as video name etc., in the server of intelligent television equipment, search for this video, obtain the essential information of this video of storing in the server of intelligent television equipment, that is to say, the cloud server of intelligent television equipment provides database, the various videos of preserving in advance One's name is legion in database with and essential information, essential information just comprises video name, brief introduction, type, featured performer, playing duration, and/or thumbnail etc.For example resolve a URL " http://www.123.com/c_gangtai/e72ffdopqc2e/show-3/20100210.html " who comes from third party's video website and obtain video name for " Flirting Scholar ", in the server of intelligent television equipment, search for this video, the pre-stored video name that has this video in the server of intelligent television equipment, brief introduction, type, featured performer, playing duration, and/or the information such as thumbnail, so just obtained the essential information of this video: Flirting Scholar, brief introduction: * * * * *, comedy class, Zhou Xing speeds to act the leading role, a duration XX hour XX divides, thumbnail.
The source video sequence that will share as user is during in intelligent television server, the video resource of intelligent television server stores all comprises the essential information of video, these essential informations generally can be by staff's typing in video storage process, with forms such as video tabs, exist, essential information comprises video name, brief introduction, type, featured performer, playing duration, and/or thumbnail etc., when user is provided by the video providing from intelligent television server, server receives to be shared after instruction, can directly read the essential information of this video of server end storage.
The source video sequence that will share as user is when intelligent television equipment is local, the video resource of the local storage of intelligent television equipment and the video resource of intelligent television server end storage are similar, the general essential information that also can be included in video storage process by staff's typing, essential information comprises video name, brief introduction, type, featured performer, playing duration, and/or thumbnail etc., when user is provided by the video providing from intelligent television equipment this locality, receive and share after instruction, server can directly read the essential information of this video of the local storage of intelligent television equipment.
In acquisition, after the essential information of sharing video frequency, also need to obtain the link for the treatment of sharing video frequency, explanation respectively below.
When deriving from third party's video website until sharing video frequency, because third party's video website tends in the mode of URL, each video be positioned, that is to say, third party website provides reference address for each video, this reference address generally exists with the form of URL, the domain name that has comprised video website in this URL, the information such as file path, therefore, just can be directly by this URL getting, the user who shares as the link reception for the treatment of sharing video frequency is after having clicked the link of sharing, application in intelligent television equipment just can automatically start browser video resource corresponding to this URL loaded and play.
When the source video sequence that will share is during in the server of intelligent television, this resource itself just belongs to can be for the public resource of the user's access in network, and server, for each video resource all provides reference address, therefore just can directly generate access links according to this reference address.It should be noted that, the reference address of the video resource providing from third party website is different, and the form of the resource access address that the server of intelligent television provides is not generally to generate according to the form of URL, but utilizes its privately owned form to position resource.For example, owing to generally organizing and preserving video resource in the server of intelligent television according to channel, each video resource also has ID separately, and therefore, the reference address of its video is generally that the character string with certain length represents.For example, wherein front three character represents channel, and lower four represent video name, ID etc.For the intelligent television equipment of accepting to share, receiving such link and when clicked, by resolve just can directly determine this be one from the resource of intelligent television server, therefore, just can start corresponding application, application can send resource access request to intelligent television server, this video is play after getting the data of video.
When the source video sequence that will share is when intelligent television equipment is local, be the equal of by the resource sharing that is kept at an intelligent television device A this locality on another intelligent television equipment B.The resource of intelligent television device A this locality is with different from the resource of cloud server or third party website, and it does not belong to the resource that in network, all users can access, but the owner's of intelligent television device A privately owned resource.Therefore,, for intelligent television equipment B, be equivalent to using intelligent television device A as the server that resource is provided.But the local resource of preserving of this intelligent television device A owing to originally need to not positioning in network, is therefore not have access to netwoks address.Like this, in order to make recipient user can have access to normally the video of sharing away, just need to first construct the reference address of resource to be shared.Specifically when this reference address of structure, can first obtain the IP address of intelligent television device A, and treat the storing path of sharing video frequency in intelligent television device A, and then can and treat the storing path of sharing video frequency and certain rule according to the IP address of intelligent television device A, structure is treated the reference address of sharing video frequency; According to constructed reference address, generate the link for the treatment of sharing video frequency; Like this, just can pass through message system, the generated link for the treatment of sharing video frequency is sent to each user in described targeted group.For example certain intelligent television equipment B is after receiving this link, when user clicks the video that this link need to check that this shares, intelligent television equipment B just can start corresponding application, and application can be resolved the reference address comprising in link, and access request is sent to intelligent television device A, intelligent television device A sends to intelligent television equipment B by the concrete data of the resource of sharing away again, so just can in intelligent television equipment B, watch the video of preserving in intelligent television device A.
In acquisition, after the essential information of sharing video frequency and link, just the sharing information of sharing video frequency can be obtained treating according to these information, particularly.
When deriving from third party's video website until sharing video frequency, can obtain the video related information that third party's video website provides by resolving URL, according to relevant information, in the server of intelligent television equipment, search for this video, obtain the essential information of this video of storing in the server of intelligent television equipment, using essential information together with this URL as sharing information.The sharing information that comes from third party's video website for example obtaining, for " Flirting Scholar, comedy class, Zhou Xing speed to act the leading role, a duration XX hour XX divides, brief introduction: XXX; http://www.123.com/c_gangtai/e72ffdopqc2e/show-3/20100210.html ", be it should be noted that.In this sharing information, " comedy class, Zhou Xing speed to act the leading role, duration XX hour XX divides, brief introduction: XXXXXX " derives from the essential information of this video that cloud server preserves, link " http://www.123.com/c_gangtai/e72ffdopqc2e/show-3/20100210.html " is the URL of third party's video, and title " Flirting Scholar " is from the parsing to URL.
When deriving from the end server of intelligent television equipment until sharing video frequency, because the essential information for the treatment of sharing video frequency obtaining at server has comprised needed video name, brief introduction, type, featured performer, playing duration and/or thumbnail etc. in sharing information, so can be directly using the access links for the treatment of the essential information of sharing video frequency in server and being generated by reference address as sharing information.
When deriving from the video of the local storage of intelligent television equipment until sharing video frequency, because the essential information for the treatment of sharing video frequency obtaining at server has comprised needed video name, brief introduction, type, featured performer, playing duration and/or thumbnail etc. in sharing information, thus can be directly using the essential information for the treatment of sharing video frequency of the local storage of intelligent television equipment and by the reference address for the treatment of sharing video frequency of IP address architecture as sharing information.
By just obtained the sharing information for the treatment of sharing video frequency of information such as comprising video name, brief introduction, type, featured performer, playing duration, video link and/or thumbnail with upper type.
S104: active user's buddy list is showed to user, and show the group information of the user's group under each good friend in described buddy list.
In acquisition, after sharing video frequency sharing information, can the sharing information of this acquisition be shown to user by the mode of Pop-up message, prompting user selects the targeted customer that need to share, and active user's buddy list is showed to user simultaneously.User in buddy list all comprise its classified information when sharing as a reference, classified information can be shown with various forms, for example after each user's title or head portrait, mark user's type information, or in the title of each group, mark type information of this group etc.Except the user grouping that system provides, user also can oneself set up grouping, for example user can set up family's group, kinsfolk is added into this group, user also can revise the classification under group membership, and for example certain member was originally classified as action group, and user can change this user's type information, for example change comedy group into, after change, this user has just been divided into comedy group.
S105: receive the target good friend in the selected buddy list of user, by message system, treat that by described the sharing information of sharing video frequency sends to described target good friend.
Particularly, user can, to operations such as the sharing information ejecting copy, so just can affix to this sharing information instant messaging window and be sent to the target good friend that user selects.Target good friend belongs to the single good friend that all good friends of same user group or the good friend in User Defined group or user select.The group name or the icon that for example, when buddy list shows, only show user's group, when clicking this icon, user to user, shows group message dialog box, in this dialog box, user is sent to this group in sharing information can being affixed to dialog box, all good friends in this group can receive this sharing information like this, or user selects certain member in grouping, after selecting special member, eject dialog box, user and this member can carry out session, user just can send to separately this member by the sharing information for the treatment of sharing video frequency like this, this sharing information can certainly be sent to user-defined group, family's group for example, realization is shared with kinsfolk's.
After message being sent to sharing video frequency recipient (receiving each user of sharing information), sharing video frequency recipient can eject prompting message, as " XXX good friend has shared video to you " or " you receive the video of sharing from XXX ", click prompting message and can eject good friend's dialog box, in dialog box, show the sharing information receiving, " Flirting Scholar for example, comedy class, Zhou Xing speeds to act the leading role, a duration X hour X divides, brief introduction XX, http://www.123.com/c_gangtai/e72ffdopqc2e/show-3/20100210.html " can this video of direct viewing by clicking link in sharing information by participator, so just realized video sharing.Certainly by participator, after receiving sharing information, also can be selected the video of not watching that this is shared, example is found that by sharing information this video of sharing is not own interested video by participator, can ignore this message by close box, or clickthrough not.
Embodiment 2
As shown in Figure 3, the embodiment of the present invention also provides a kind of device of video sharing, and it,, for intelligent television equipment, comprising:
User grouping module 301, for obtaining in advance the group information of the user's group under each user, described group of information is used to indicate the interested video type of user in user's group;
Sharing entrance provides module 302, for watch the process of video on intelligent television equipment active user, to user, provides video sharing entrance;
Sharing information acquisition module 303, for receiving by video sharing entrance after the request of active user's sharing video frequency resource, determines and treats sharing video frequency, and obtain the sharing information for the treatment of sharing video frequency, described sharing information at least comprises the link for the treatment of sharing video frequency;
Buddy list display module 304 for active user's buddy list is showed to user, and shows the group information that the user under each good friend organizes in described buddy list;
Message transmission module 305, for receiving the target good friend of the selected buddy list of user, by message system, treats that by described the sharing information of sharing video frequency sends to described target good friend.
In video sharing process, the selected target good friend of user comprises and belongs to the single good friend that all good friends, the good friend in User Defined group or the user of same user group select.
Treat that sharing video frequency comprises the current in progress video of user, described sharing information also comprises, video name, brief introduction, type, featured performer, playing duration and/or thumbnail.Video to be shared can derive from: the video that the video that the server of the local video of preserving of intelligent television equipment, intelligent television equipment provides or third party's Internet video provider provide, describes in detail respectively below.
When described when sharing video frequency is the local video of preserving of described intelligent television equipment, the described sharing information for the treatment of sharing video frequency that obtains, comprise: obtain the IP address of intelligent television equipment, and described in treat the storing path of sharing video frequency in described intelligent television equipment; According to the IP address of described intelligent television equipment and described in treat the storing path of sharing video frequency, treat the reference address of sharing video frequency described in structure; Described in generating according to constructed reference address, treat the link of sharing video frequency.
When video that the described server that is described intelligent television equipment until sharing video frequency provides, described in obtain the sharing information for the treatment of sharing video frequency and comprise and obtain the video access address that server provides, according to reference address, generate the link for the treatment of sharing video frequency.
When the described video providing for third party's Internet video provider until sharing video frequency, described in obtain and treat that the sharing information of sharing video frequency comprises: obtain Internet video provider and treat that for described uniform resource position mark URL that sharing video frequency provides is as the link for the treatment of sharing video frequency; According to pre-stored Internet video provider's URL resolution rules, resolve and obtain video name; According to the video name obtaining, in the server of intelligent television equipment, search for this video, the essential information that obtains this video of storing in the server of intelligent television equipment, described essential information comprises video name, brief introduction, type, featured performer, playing duration and/or thumbnail; According to the essential information obtaining and Internet video provider's URL, generate the sharing information for the treatment of sharing video frequency.
For the aforesaid embodiment that respectively installs, for simple description, therefore it is all expressed as to a series of units/modules combination, but those skilled in the art should know, the present invention is not subject to the restriction of described units/modules combination, because according to the present invention, some unit can adopt other units/modules to carry out; Secondly, those skilled in the art also should know, said apparatus embodiment all belongs to preferred embodiment, and related units/modules might not be that the present invention is necessary.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Above to video sharing method provided by the present invention and device, be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.