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 the internet video field, relate in particular to synchro system and the method for the interactive information of a kind of social network and Internet video.
Background technology
User's space is can the delivery network video take the user as main body, carry out the multimedia space blog of text editing interactive information, belong to social network services (that is: Social Networking Services, hereinafter to be referred as: SNS) a kind of, other social network services is Sina's microblogging for example, and Tengxun's microblogging, everybody is online etc.Pay close attention to by the user in user's space, microblogging, the blog and to concern that the user can obtain own interested content.The interactive message that produces in user's space, microblogging, the blog (being dynamic message) can or concern fast propagation by good friend's relation.
Network video interaction information exchanges under the Internet video page between the user mutually take Internet video as main body.Internet video is play the interactive information that produces under the page and substantially can only be transmitted in the Internet video broadcast page, also is that the user can only just can check corresponding interactive information and issue interactive information by opening the Internet video page.This general layout has caused user's space to lack content, and the very difficult wide-scale distribution of interactive information that the Internet video broadcast page produces is opened.For synchro system and the method that addresses this problem the interactive information that the invention provides a kind of social network and Internet video, this system and method can make interactive information and the network video interaction information mutual communication in user's space, microblogging, the blog: with the video interactive information synchronization enter the space dynamically, in the microblogging, blog, after this mode propagation diffusion, the interactive information of the Internet video broadcast page that more relevant interactive information refluxed back synchronously.
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:
The network video interaction massaging device, the user is used for the api interface issuing interactive information by the network video interaction massaging device, by the dynamic interaction information of api interface reception from the social network services device;
Information apparatus, it is the server by time sequence storing message, be used for receiving the message that the network video interaction massaging device sends during issuing interactive information as the user on the network video interaction massaging device, this message comprises message transmitting time and new two fields of the unique ID of interactive information;
The social network services device, interactive information on the information apparatus subscribed network video interactive massaging device, whether the regular apply for information device of social network services device has new interactive information message, if have, then process synchronously, and recording current treated message, the user can also be by the api interface issue dynamic interaction information of social network services device.
Further, the api interface of the api interface of network video interaction massaging device and social network services device is with the unified issue of the mode of resource tree and management.
Further, when the user deletes interactive information on the network video interaction massaging device, send the message instruction to information apparatus equally, information apparatus makes the automatically corresponding interactive information of deletion of social network services device to the instruction of social network services device forwarding messages.
Further, described synchronous processing refers to that social network services device corresponding multidate information of issue on interactive information publisher's the social network services platform checks for paying close attention to the user.
Further, the interactive information of the api interface issue of described user by the network video interaction massaging device comprises: the directly interactive information of issue, the video interactive information that produces by interactive information polymerization instrument suspension member widget at the special topic page or leaf below Internet video is play service.
The present invention also provides the method for synchronous of the interactive information of a kind of social network and Internet video, and the method may further comprise the steps:
Step (1) user is used for the api interface issuing interactive information by the network video interaction massaging device;
Step (2) sends message to information apparatus simultaneously, and this message comprises message transmitting time and two fields of the unique ID of interactive information;
Step (3) information apparatus receives the interactive information that the network video interaction massaging device sends;
The interactive information of step (4) social network services device on the information apparatus subscribed network video interactive massaging device, whether the regular apply for information device of social network services device has new interactive information message, if have, then process synchronously, and record current treated message;
Step (5) user is by the api interface issue dynamic interaction information of social network services device;
Step (6) is passed through the api interface reception of network video interaction massaging device from the dynamic interaction information of social network services device.
Further, process synchronously described in the step (4) and refer to that social network services device corresponding multidate information of issue on interactive information publisher's the social network services platform checks for paying close attention to the user.
Further, when the user deletes interactive information on the network video interaction massaging device, to the information apparatus instruction that gives out information, information apparatus makes the automatically corresponding interactive information of deletion of social network services device to the instruction of social network services device forwarding messages equally.
Further, the interactive information of the api interface issue of user described in the step (1) by the network video interaction massaging device comprises: the directly interactive information of issue, the video interactive information that produces by interactive information polymerization instrument suspension member widget at the special topic page or leaf below Internet video is play service.
The present invention can make social network services and Internet video play the synchronous intercommunication of interactive information of service, has realized the interactive information automatic synchronization of social network services and Internet video broadcast service.
Description of drawings
Fig. 1 is the schematic diagram according to system of the present invention.
Fig. 2 is the schematic diagram of the method according to this invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage are become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
In the present invention, network video interaction massaging device and social network services SNS device are two independently devices, as shown in Figure 1.The network video interaction massaging device externally provides the api interface of issuing interactive information, and the SNS device equally externally provides issue dynamic api interface.
A) when the network video interaction massaging device has new interactive information to produce, can be converted into simultaneously on publisher's social network services platform one dynamically (such as the space on the user's space dynamically, a microblogging on the microblogging etc.).The generation of new interactive information comprises directly below the Internet video broadcast page issuing interactive information, at the special topic page or leaf by interactive information polymerization instrument widget(Chinese name: suspension member, a kind of little module of functional independence can be directly embedded into special topic page or leaf and wait use) the video interactive information of generation.
B) the SNS device can user's space dynamically, the multidate information such as microblogging propagates the user to its all concerns.
C) user during issuing interactive information, can directly be published to the network video interaction massaging device to this interactive information by the api interface of network video interaction massaging device as a network video interaction information simultaneously on the social network services platform.
Network video interaction massaging device and SNS device provide RESTful HTTP(REST full name to external system: Representational State Transfer Chinese name: state transitions is refered in particular to a kind of Interface design style of the Internet industry here) api interface.Http protocol extensively is used, and all use the interface of http protocol that extraordinary versatility is arranged.The api interface characteristics: the API of (1) all devices is with the unified issue of the mode of resource tree and management.Resource tree mode Administration API can make the API clear in structure.This mode network video interaction massaging device and SNS device respectively as a kind of resource, externally provide service by unified interface http://API.youku.com, for example the resource path of network video interaction massaging device is http://API.youku.com/video.comment/, and the resource path of SNS device is http://API.youku.com/statuses/; (2) need to determine whether safety certification by the system that service is provided.
As shown in Figure 1, in the present invention, realize the conversion of network video interaction information to the social network services platform by information apparatus.This mechanism realizes principle: the publisher during issuing interactive information, also sends a piece of news to an information apparatus simultaneously in the network video interaction massaging device.The interactive information of SNS device on the information apparatus subscribed network video interactive massaging device.For example, when the network video interaction massaging device had new interactive information to produce, perhaps interactive information is deleted etc. all can be published to information apparatus by the output a piece of news.The interactive information of SNS device on the information apparatus subscribed network video interactive massaging device.
Information apparatus be one by the server of time sequence storing message.Every message need to be simplified as far as possible.The message that for example the network video interaction massaging device sends to information apparatus among the present invention can comprise message transmitting time and new two fields of the unique ID of interactive information.The SNS device has a progress of work to go regular apply for information device whether new interactive information message is arranged, if have, then process synchronously, described synchronous processing refers to that social network services device corresponding multidate information of issue on interactive information publisher's the social network services platform checks (realizing corresponding thereby catch new interactive information by the unique ID of new interactive information) for paying close attention to the user, also records simultaneously current treated message.
As shown in Figure 2, the present invention also provides the method for synchronous of the interactive information of a kind of social network and Internet video, and the method may further comprise the steps:
Step (1) user is used for the api interface issuing interactive information by the network video interaction massaging device;
Step (2) sends message to information apparatus simultaneously, and this message comprises message transmitting time and two fields of the unique ID of interactive information;
Step (3) information apparatus receives the interactive information that the network video interaction massaging device sends;
The interactive information of step (4) social network services device on the information apparatus subscribed network video interactive massaging device, whether the regular apply for information device of social network services device has new interactive information message, if have, then process synchronously, and record current treated message;
Step (5) user is by the api interface issue dynamic interaction information of social network services device;
Step (6) is passed through the api interface reception of network video interaction massaging device from the dynamic interaction information of social network services device.
Wherein, process synchronously described in the step (4) and refer to that social network services device corresponding multidate information of issue on interactive information publisher's the social network services platform checks for paying close attention to the user.
Wherein, the interactive information of the api interface issue of step (1) user by the network video interaction massaging device comprises: the directly interactive information of issue, the video interactive information that produces by interactive information polymerization instrument suspension member widget at the special topic page or leaf below Internet video is play service.
More than be the detailed description that the preferred embodiments of the present invention are carried out, but those of ordinary skill in the art should be appreciated that within the scope of the present invention, and guided by the spirit various improvement, interpolation and replacement all are possible.These are all in the protection range that claim of the present invention limits.