The synchro system of the interactive information of a kind of social network and Internet video and method
Technical field
The present invention relates to internet video field, particularly relate to synchro system and the method for the interactive information of a kind of social network and Internet video.
Background technology
User's space be with user be main body can delivery network video, carry out the multimedia space blog of text editing interactive information, belong to social network services (that is: SocialNetworkingServices, hereinafter referred to as: one SNS), other social network services is Sina's microblogging such as, and Tengxun's microblogging, Renren Network are first-class.Pay close attention to relational users by the user in user's space, microblogging, blog and can obtain oneself interested content.The interactive message (i.e. dynamic message) produced in user's space, microblogging, blog is by friend relation or the relation of concern fast propagation.
Network video interaction information, based on Internet video, mutually exchanges between user under the Internet video page.The interactive information that Internet video produces under playing the page can only transmit substantially in Internet video broadcast page, and also namely user can only just can check corresponding interactive information by opening the Internet video page and issue interactive information.This general layout result in user's space and lacks content, and the very difficult wide-scale distribution of interactive information that Internet video plays page generation is opened.In order to address this problem synchro system and the method for the interactive information that the invention provides a kind of social network and Internet video, this system and method can make the interactive information in user's space, microblogging, blog and network video interaction information mutual communication: entered by video interactive synchronizing information in Spatial distributions, microblogging, blog, after the diffusion of this mode propagation, then the interactive information of Internet video broadcast page that relevant interactive information is synchronously refluxed back.
Summary of the invention
The invention provides the synchro system of the interactive information of a kind of social network and Internet video, this system comprises:
Network video interaction massaging device, user is used for the api interface issuing interactive information by network video interaction massaging device, receives the dynamic interaction information from social network services device by api interface;
Information apparatus, it is the server of temporally sequence storing message, for receiving the message that network video interaction massaging device sends on network video interaction massaging device during issuing interactive information as user, this message comprises message transmitting time and the unique ID of new interactive information two fields;
Social network services device, interactive information on information apparatus subscribed network video interactive massaging device, whether social network services device regular apply for information device has new interactive information message, if had, then synchronously process, and recording current treated message, user can also issue dynamic interaction information by the api interface of social network services device.
Further, the api interface of network video interaction massaging device and the api interface of social network services device are issued and management so that the mode of resource tree is unified.
Further, when user deletes the interactive information on network video interaction massaging device, send message instruction to information apparatus equally, information apparatus makes social network services device automatically delete corresponding interactive information to the instruction of social network services device forwarding messages.
Further, described synchronous process refers to that social network services device is issued corresponding multidate information and checked for concern user on the social network services platform of interactive information publisher.
Further, the interactive information that described user is issued by the api interface of network video interaction massaging device comprises: directly play the interactive information that service below is issued, the video interactive information produced by interactive information cluster tool suspension member widget at thematic page in Internet video.
Present invention also offers the synchronous method of the interactive information of a kind of social network and Internet video, the method comprises the following steps:
Step (1) user is used for the api interface issuing interactive information by network video interaction massaging device;
Step (2) sends message to information apparatus simultaneously, and this message comprises message transmitting time and the unique ID of interactive information two fields;
Step (3) information apparatus receives the interactive information that network video interaction massaging device sends;
Step (4) social network services device is to the interactive information on information apparatus subscribed network video interactive massaging device, whether social network services device regular apply for information device has new interactive information message, if had, then synchronously process, and record current treated message;
Step (5) user issues dynamic interaction information by the api interface of social network services device;
Step (6) receives the dynamic interaction information from social network services device by the api interface of network video interaction massaging device.
Further, synchronous process described in step (4) refers to that social network services device is issued corresponding multidate information and checked for concern user on the social network services platform of interactive information publisher.
Further, when user deletes the interactive information on network video interaction massaging device, to give out information instruction to information apparatus equally, information apparatus makes social network services device automatically delete corresponding interactive information to the instruction of social network services device forwarding messages.
Further, the interactive information that user described in step (1) is issued by the api interface of network video interaction massaging device comprises: directly play the interactive information that service below is issued, the video interactive information produced by interactive information cluster tool suspension member widget at thematic page in Internet video.
The present invention can make social network services and Internet video play the synchronous intercommunication of the interactive information of serving, and achieves social network services and Internet video plays the interactive information automatic synchronization of serving.
Accompanying drawing explanation
Fig. 1 is the schematic diagram according to system of the present invention.
Fig. 2 is the schematic diagram according to method of the present invention.
Embodiment
For making above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
In the present invention, network video interaction massaging device and social network services SNS device are two independently devices, as shown in Figure 1.Network video interaction massaging device externally provides the api interface of issuing interactive information, and SNS device equally externally provides issues dynamic api interface.
A) when network video interaction massaging device has new interactive information to produce time, dynamic (microblogging etc. on the Spatial distributions on such as user's space, microblogging) on publisher's social network services platform can be converted into simultaneously.The generation of new interactive information comprise directly below Internet video broadcast page issuing interactive information, at thematic page by interactive information cluster tool widget(Chinese name: suspension member, a little module for functional independence, can be directly embedded into the uses such as thematic page) the video interactive information that produces.
B) SNS device can be propagated multidate informations such as the Spatial distributions of user, microbloggings to the user of its all concern.
C) user during issuing interactive information, directly can be published to network video interaction massaging device by the api interface of network video interaction massaging device using this interactive information as a network video interaction information on social network services platform simultaneously.
Network video interaction massaging device and SNS device provide RESTfulHTTP(REST full name to external system: RepresentationalStateTransfer Chinese name: state transitions refers in particular to a kind of Interface design style of the Internet industry here) api interface.Http protocol is extensively used, and the interface of all use http protocols has extraordinary versatility.Api interface feature: the API of (1) all devices issues and management so that the mode of resource tree is unified.Resource tree mode Administration API can make API clear in structure.This mode network video interaction massaging device and SNS device respectively as a kind of resource, externally service is provided by unified interface http://API.youku.com, the resource path of such as network video interaction massaging device is the resource path of http://API.youku.com/video.comment/, SNS device is http://API.youku.com/statuses/; (2) by providing the system of service to determine whether to need safety certification.
As shown in Figure 1, in the present invention, network video interaction information is realized to the conversion on social network services platform by information apparatus.This mechanism realizes principle: publisher during issuing interactive information, also sends a piece of news to an information apparatus in network video interaction massaging device simultaneously.SNS device is to the interactive information on information apparatus subscribed network video interactive massaging device.Such as, when network video interaction massaging device has new interactive information to produce, or interactive information is deleted etc. all can be published to information apparatus by output a piece of news.SNS device is to the interactive information on information apparatus subscribed network video interactive massaging device.
Information apparatus is the server of a temporally sequence storing message.Every bar message needs to simplify as far as possible.Such as, in the present invention, network video interaction massaging device can comprise message transmitting time and the unique ID of new interactive information two fields to the message that information apparatus sends.SNS device has a progress of work to go regular apply for information device whether to have new interactive information message, if had, then synchronously process, described synchronous process refers to that social network services device is issued corresponding multidate information and checked (catch new interactive information by the unique ID of new interactive information thus realize corresponding) for concern user on the social network services platform of interactive information publisher, simultaneously and record current treated message.
As shown in Figure 2, present invention also offers the synchronous method of the interactive information of a kind of social network and Internet video, the method comprises the following steps:
Step (1) user is used for the api interface issuing interactive information by network video interaction massaging device;
Step (2) sends message to information apparatus simultaneously, and this message comprises message transmitting time and the unique ID of interactive information two fields;
Step (3) information apparatus receives the interactive information that network video interaction massaging device sends;
Step (4) social network services device is to the interactive information on information apparatus subscribed network video interactive massaging device, whether social network services device regular apply for information device has new interactive information message, if had, then synchronously process, and record current treated message;
Step (5) user issues dynamic interaction information by the api interface of social network services device;
Step (6) receives the dynamic interaction information from social network services device by the api interface of network video interaction massaging device.
Wherein, synchronous process described in step (4) refers to that social network services device is issued corresponding multidate information and checked for concern user on the social network services platform of interactive information publisher.
Wherein, the interactive information that step (1) user is issued by the api interface of network video interaction massaging device comprises: directly play the interactive information that service below is issued, the video interactive information produced by interactive information cluster tool suspension member widget at thematic page in Internet video.
Be more than the detailed description of carrying out the preferred embodiments of the present invention, but those of ordinary skill in the art it should be appreciated that within the scope of the present invention, and guided by the spirit, various improvement, interpolation and replacement are all possible.These are all in the protection range that claim of the present invention limits.