CN106850390B - A kind of information sharing method, server and terminal device - Google Patents

A kind of information sharing method, server and terminal device Download PDF

Info

Publication number
CN106850390B
CN106850390B CN201510889510.3A CN201510889510A CN106850390B CN 106850390 B CN106850390 B CN 106850390B CN 201510889510 A CN201510889510 A CN 201510889510A CN 106850390 B CN106850390 B CN 106850390B
Authority
CN
China
Prior art keywords
account
sharing
streaming media
target streaming
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510889510.3A
Other languages
Chinese (zh)
Other versions
CN106850390A (en
Inventor
赵振刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510889510.3A priority Critical patent/CN106850390B/en
Publication of CN106850390A publication Critical patent/CN106850390A/en
Application granted granted Critical
Publication of CN106850390B publication Critical patent/CN106850390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of information sharing method, server and terminal devices, and wherein method includes: the request of the acquisition target Streaming Media of the first account based on first terminal equipment, and Xiang Suoshu first terminal equipment sends the target Streaming Media;Get the real-time sharing request for initiating target Streaming Media to the second account of second terminal equipment by first terminal equipment from the first account;It is requested based on the real-time sharing, first account and the target Streaming Media is associated, generated the sharing link of the target Streaming Media, send second account shared and link to second terminal equipment;When detecting that second account is based on the sharing link acquisition target Streaming Media, the clock information of first account side is got, the clock information based on first account side controls the target Streaming Media in the playback progress of second account side.

Description

A kind of information sharing method, server and terminal device
Technical field
The present invention relates in the terminal in the communications field information analysis techniques more particularly to a kind of information sharing method, Server and terminal device.
Background technique
In the epoch that mobile broadband is ubiquitous, social networks and instant messaging are almost popularized, streaming medium content it is shared But shared " interviewed streaming medium content link " the even mode of download file are also rested on, the real-time sharing of user had both been affected Experience, also hampers the popularization of streaming medium content to a certain extent.
Existing streaming medium content sharing mode is mainly include the following types: forward content link, as user A will like YouTube video link copies, and good friend B is shared with by way of social networks, mail, phone or short message, after B is received Opening content link may have access to.Content is forwarded, if user A has the right to download the streaming medium content (or by tool), user Content can usually be downloaded simultaneously in access, and content is packaged and is placed on certain cloud storage service device, and sends invitation and allows Friendly B goes to downloading, may have access to after B downloading.Streaming medium content direct broadcast service, it is accessible after generally requiring user's registration to log in Content invites people, also without access control, need to rely on the realization service of reliable communication ability to invitee.
Existing streaming medium content secret sharing, which has the disadvantage in that, invites people A synchronous can not can not consume with B invitee Streaming medium content invites people A to cannot achieve the access streaming medium content control to B invitee.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of information sharing method, server and terminal device, it can be at least Solve the above-mentioned problems in the prior art.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
The embodiment of the invention provides information sharing methods, which comprises
The request of the acquisition target Streaming Media of the first account based on first terminal equipment, Xiang Suoshu first terminal equipment hair The target Streaming Media is sent, so that the first terminal equipment exports the target Streaming Media;
It gets from the first account and target stream matchmaker is initiated to the second account of second terminal equipment by first terminal equipment The real-time sharing of body is requested;
It is requested, first account and the target Streaming Media is associated, described in generation based on the real-time sharing The sharing of target Streaming Media links, and sends second account shared and link to second terminal equipment;
When detecting that second account is based on the sharing link acquisition target Streaming Media, described first is got The clock information of account side, the clock information based on first account side control the target Streaming Media in second account The playback progress of side, so that first account and the second account have identical playback progress.
The embodiment of the invention provides a kind of information sharing methods, are applied to first terminal equipment, which comprises
The request that the acquisition target Streaming Media based on the first account is sent to server side, receives the server side and returns Return target Streaming Media and export the target Streaming Media;
It generates and is requested with the real-time sharing for the target Streaming Media of the second account of second terminal equipment;
It sends the real-time sharing to request to the server side, so that the server side is based on the real-time sharing and asks It asks, generates the sharing link of the target Streaming Media, send second account shared and link to second terminal equipment, detection When being based on the sharing link acquisition target Streaming Media to second account, the clock of first account side is got Information, the clock information based on first account side control the target Streaming Media second account side broadcasting into Degree, so that first account and the second account have identical playback progress.
The embodiment of the invention provides a kind of information sharing methods, are applied to second terminal equipment, which comprises
Server side is received according to the real-time sharing for target Streaming Media of first terminal equipment based on the second account The sharing link that request is generated and sent;
The sharing is based on by second account to link to the server side acquisition target Streaming Media, receives institute State the clock information for first account side that server side is sent;
Clock information based on first account side controls the playback progress of the target Streaming Media, and is broadcast based on described Degree of putting into exports the target Streaming Media, so that the second account and first account have identical playback progress.
The embodiment of the invention provides a kind of server, the server includes:
First communication unit, the request of the acquisition target Streaming Media for the first account based on first terminal equipment, to The first terminal equipment sends the target Streaming Media;It gets from the first account and passes through first terminal equipment to second terminal Second account of equipment initiates the real-time sharing request of target Streaming Media;
Information generating unit, for being requested based on the real-time sharing, by first account and the target Streaming Media It is associated, generates the sharing link of the target Streaming Media;
Second communication unit links to the second account of second terminal equipment for sending the sharing;
Information process unit obtains the target Streaming Media for detecting that second account is based on sharing link When, the clock information of first account side is got, the clock information based on first account side controls the target stream Media second account side playback progress so that first account and the second account have it is identical play into Degree.
The embodiment of the invention provides a kind of terminal devices, comprising:
Generation unit is requested, for sending the request of the acquisition target Streaming Media based on the first account to server side, is connect It receives the target Streaming Media that the server side returns and exports the target Streaming Media;Generate second with second terminal equipment The real-time sharing for the target Streaming Media of account is requested;
Request transmitting unit is requested for sending the real-time sharing to the server side.
The embodiment of the invention provides a kind of terminal devices, comprising:
Information receiving unit, for receiving server side according to first terminal equipment for target based on the second account The sharing link that the real-time sharing request of Streaming Media is generated and sent;
Information process unit is linked for being based on the sharing by second account to the server side acquisition mesh Streaming Media is marked, the clock information for first account side that the server side is sent is received;Based on first account side Clock information control the playback progress of the target Streaming Media, and the target Streaming Media is exported based on the playback progress.
The embodiment of the invention provides information sharing method, server and terminal devices, can pass through the first account in user When the sharing request of target Streaming Media is initiated at family to the second account of another user, server side can be raw based on sharing request It is linked at sharing, when the second account obtains target Streaming Media by sharing link, when just detecting the sharing of the first account side Clock, the playback progress of the first account side is determined based on sharing clock, controls the second account according to the playback progress of the first account side Playback progress carry out target stream media sharings so that two accounts obtain identical playback progress to reach two accounts When, obtain the usage experience for watching the same target in real time.
Detailed description of the invention
Fig. 1 is information sharing method of embodiment of the present invention flow diagram one;
Fig. 2 is that the embodiment of the present invention shares tree example one;
Fig. 3 is that the embodiment of the present invention shares tree example two;
Fig. 4 is sharing method of embodiment of the present invention flow diagram two;
Fig. 5 is sharing method of embodiment of the present invention flow diagram three;
Fig. 6 is server of embodiment of the present invention composed structure schematic diagram;
Fig. 7 is the terminal of that embodiment of the invention equipment composition schematic diagram one;
Fig. 8 is the terminal of that embodiment of the invention equipment composition schematic diagram two.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is further described in more detail.
Embodiment one,
A kind of information sharing method is present embodiments provided, is applied to server, as shown in Figure 1, comprising:
Step 101: the request of the acquisition target Streaming Media of the first account based on first terminal equipment, Xiang Suoshu first is eventually End equipment sends the target Streaming Media, so that the first terminal equipment exports the target Streaming Media;
Step 102: getting from the first account and initiated by first terminal equipment to the second account of second terminal equipment The real-time sharing of target Streaming Media is requested;
Step 103: it is requested based on the real-time sharing, first account and the target Streaming Media is associated, The sharing link for generating the target Streaming Media, sends second account shared and link to second terminal equipment;
Step 104: when detecting that second account is based on the sharing link acquisition target Streaming Media, getting The clock information of first account side, the clock information based on first account side control the target Streaming Media described The playback progress of second account side, so that first account and the second account have identical playback progress.
Here, the first terminal equipment and the second terminal equipment can be with are as follows: smart phone, tablet computer, electricity Depending on box, notebook etc..
Server described in the present embodiment is main to execute following operation when implementing this programme:
Register the first account.The account information that first account uses when can log in client for user.It is obtained Mode can be for when user's acquisition when the client is registered.First account can pass through user terminal identification, IP The combinations such as location, social identity, telephone number and serial number carry out system and generate unique mark.
Relationship is clearly invited and be invited to, is set by the first account by first terminal for example, being got described in above-mentioned steps The standby real-time sharing request that target Streaming Media is initiated to the second account of second terminal equipment, is requested by the real-time sharing, The result that server can obtain is that the first account is invited party, and the second account is invited party, and to be shared is target stream matchmaker Body.User's is invited to relationship, if user is to need to record use by receiving to invite the streaming medium content real time access being added The invitation people at family;Otherwise (inviting people) is empty (" promoter ").
In addition, being requested based on the real-time sharing, the server side can also get the first terminal equipment The address Internet protocol (IP), the mark of first terminal equipment, the relevant information of user (such as social identity).
It is associated with online user identifier and real-time content stream, specific:
It is described to be requested based on the real-time sharing, first account and the target Streaming Media are associated, it can be with Include: the server in newly one section of streaming media service content stream of creation, needs to confirm the first account, and associate with mesh Mark Streaming Media;If the first account is empty (for example, user uses browser), when user passes through the first Account Logon client When, it can be shared, be at this time again associated target medium stream and first account.
Link is shared in the generation, can be with are as follows: and the real-time sharing for generating associated target medium stream links (URL), In, the server can be according to the request of first terminal equipment or second terminal equipment, and producible includes the first account The real-time sharing of the target Streaming Media at family links;
Wherein, when generating real-time sharing link, the server side can also be encrypted, to guarantee account Privacy.
Real-time sharing regulation management, including
" access limit " of the user to real time content:
Described get from the first account initiates target to the second account of second terminal equipment by first terminal equipment After the real-time sharing request of Streaming Media, the method also includes:
Real-time sharing request is verified based on real-time sharing rule;
Wherein, the real-time sharing rule includes at least one of:
Whether the sharing target account quantity that first account is initiated is no more than single-stage and shares number, if being no more than, It is verified, otherwise verifies and do not pass through;Wherein, the single-stage, which shares number, indicates that each user can be shared with several target accounts Family, this setting can be default, is indicated when default without limitation or indicates the processing capacity for being limited solely by server side;
Based on the sharing rank of first account, judge whether first account is in the target Streaming Media most It is big to share rank, if so, verifying does not pass through, otherwise it is verified.Maximum shares rank, and the server side referred to includes institute There are 1~N grades, it is contemplated that invitee is possible to sharing contents again, such as the account A first order -> second level account B -> account C third Grade -> account D the fourth stage.
The playback progress by the first account side is sent directly to after the second terminal equipment, the method Further include:
The default sharing duration threshold value for getting second account, when the current sharing duration of second account reaches When default sharing duration threshold value, control stops sending target Streaming Media to the second account of the second terminal equipment.
Wherein, when the default sharing duration threshold value is used to characterize the maximum of each invited user's single reference sharing contents Long, even if people is invited also to continue to access streaming medium content, system will limit access invitee.
Wherein, the sharing rank of first account is determined for its " sharing right again ", that is to say, that the first account Family can be promoter, can also be to invite promoter, and to be invitee, still, entirely sharing position locating in chain It sets, determines whether user can share target Streaming Media to the second account again by the first account.
Further, the playback progress by the first account side be sent directly to the second terminal equipment it Afterwards, the method also includes:
When first account, which exits, accesses the target Streaming Media, the access authority of second account is got; If the access authority of second account is the target Streaming Media for allowing individually to access the sharing of other accounts, not to described second The operation that account exports the target Streaming Media is handled;If the access authority of second account is not allow individually to access The target Streaming Media that other accounts are shared then controls the second account and exits the access target Streaming Media.That is, the second account Family is invited to the limitation of " the inheriting right " of target Streaming Media after i.e. first account of invitation people exits access real time content Whether the second account of people has the right to continue to have accessed streaming medium content.
" returning right ", i.e., the described playback progress by the first account side is sent directly to the second terminal equipment Later, the method also includes: when second account exit access the target Streaming Media when, by the hair of first account The sharing target account quantity risen subtracts one.
Any one is invitee exit streaming medium content real time access after, whether single-stage, which is shared number and can be restored, (adds One);Maximum shares whether number can restore and (add one).
The synchronization and user's control of real time access streaming medium content, specific:
Clock information based on first account side controls the target Streaming Media in the broadcasting of second account side Progress, comprising:
Based on the clock information, the playback progress of the currently playing target Streaming Media in first account side is determined, The playback progress of first account side is sent directly to the second terminal equipment, so that the second terminal equipment is by institute The playback progress for stating the second account side is adjusted to identical as the playback progress of first account side.
When each user (promoter) initiates one section of streaming medium content access, system starts a synchronised clock (" hair Play clock ");
It, (can according to real-time sharing rule when each user's (inviting people) issues a streaming medium content real-time sharing invitation Inputted in conjunction with client application), one streaming medium content real-time sharing access request of system creation.
When each user's one streaming medium content real-time sharing of receiving (invitee), system can detect the streaming medium content The current time of " initiating clock ", and using the moment as starting point, according to real-time sharing rule creation real-time content stream, open real-time Streaming medium content access.
It is real although being only described using the first account and the second account as both sides in the present embodiment above-mentioned steps It is invitee on border can also be to invite people, that is the second account actually can also be initiated to invite to third account, only the Two accounts are identical as the relationship between the second account to the mode of operation and the first account of above-mentioned steps of third account, so at this Without repeating in embodiment.
The relationship shared step by step, sharing tree that can be as described in Figure 2 carry out correlation between figuratively bright account, Have in tree it can be seen that sharing there are three rank is shared, is namely respectively corresponded in the first sharing rank there are two terminal device Two accounts;The account in two terminal devices for sharing rank 21 positioned at first, has an account to carry out again next There is the corresponding account of second sharing only one terminal device of rank 22 in the invitation of rank;Share rank positioned at second 22 account, has invited three accounts to share Streaming Media by its terminal device again, and third point is collectively formed in these three accounts Enjoy rank 23.
Based on Fig. 2, when each user terminates one streaming medium content of real time access, if user still " invites people " such as Share rank 21,22 in first and second, it is determined whether need to terminate the streaming medium content access of " secondary invitee ";Its In, it is determined whether need to terminate " secondary invitee " if streaming medium content access may include: that real-time sharing rule allows It is invitee to continue access target Streaming Media in the case where promoter exits, that is to say, that if user is still " promoter ", to need Reproduction clock gives all level-ones " invitee ", it is secondary it is invitee can upgrade and (update " sharing tree "), as shown in figure 3, when the When user in two sharing ranks exits, former third shares the invitee of rank 23 and upgrades to the second sharing rank 22, and continues Access streaming medium content;Otherwise, all streaming medium content access " secondary invitee " of end first, and update the real time flow medium The sharing state (share and set last node, single-stage shares number etc.) of content, for example, working as in Fig. 2 in the second sharing rank 22 User exits, by the second sharing rank and third share in rank with terminating to access per family.It updates in the real time flow medium The sharing state (share and set last node, single-stage shares number etc.) of appearance.
As it can be seen that by using above scheme, it will be able to pass through second account of first account to another user in user When initiating the sharing request of target Streaming Media, server side can be generated based on sharing request shares link, once the second account When linking acquisition target Streaming Media by sharing, the sharing clock of the first account side is just detected, determines first based on clock is shared The playback progress of account side controls the playback progress of the second account according to the playback progress of the first account side, so that two accounts Identical playback progress is obtained, when carrying out target stream media sharing to reach two accounts, acquisition is watched same in real time The usage experience of target.
Embodiment two,
The embodiment of the invention provides a kind of information sharing methods, are applied to first terminal equipment, as shown in figure 4, described Method includes:
Step 401: sending the request of the acquisition target Streaming Media based on the first account to server side, receive the clothes The target Streaming Media of business device side return simultaneously exports the target Streaming Media;
Step 402: generating and asked with the real-time sharing for the target Streaming Media of the second account of second terminal equipment It asks;
Step 403: sending the real-time sharing and request to the server side, so that the server side is based on the reality When sharing request, generate the target Streaming Media sharing link, send it is described sharing link to the second of second terminal equipment Account gets first account when detecting that second account is based on the sharing link acquisition target Streaming Media The clock information of family side, the clock information based on first account side control the target Streaming Media in second account side Playback progress so that first account and the second account have identical playback progress.
Here, the first terminal equipment and the second terminal equipment can be with are as follows: smart phone, tablet computer, electricity Depending on box, notebook etc..
The present embodiment place unlike the embodiments above is that above embodiment described have processing in server side Rule, the rule that should be managed for broadcasting can also be put to be controlled by terminal in the terminal.
First terminal equipment described in the present embodiment can carry out the first account especially by client and share target The processing of Streaming Media.By taking smart phone and application as an example, client mainly realizes following functions: identity user, it can be understood as By the first account of user come identity user;If only on a web browser, user needs on streaming media server user Registration, which logs in, could initiate to invite, enrollment status of the User Identity, that is, user on streaming media server.Content invites chain User need to be carried in the user identifier of certain streaming media server by meeting (URL).
If user accesses streaming medium content on a certain social networks, other friends on social networks are invited, it is social Network application can be using the social identity of user as first account, and then " is invited based on first account as sharing People ";
If user, in some concrete application, such as dedicated DST PLAYER, HTML5 application etc., which can When link is invited in creation, the mark (such as user terminal identification, IP address) of affix user is used as first account.
Preferably, the transmission real-time sharing is requested to before the server side, the method also includes: it is based on Real-time sharing rule verifies real-time sharing request;
Wherein, the real-time sharing rule includes at least one of:
Whether the sharing target account quantity that first account is initiated is no more than single-stage and shares number, if being no more than, It is verified, otherwise verifies and do not pass through;
Based on the sharing rank of first account, judge whether first account has sharing permission, if having point Permission is enjoyed, then is verified, otherwise verifies and does not pass through.
The transmission real-time sharing is requested to the server side, the method also includes:
When second account, which exits, accesses the target Streaming Media, by the sharing target of the initiation of first account Account quantity subtracts one.
Further, in this embodiment the first terminal equipment carries out invitation operations by the first account, can also visit Ask Compliance control;For example, can also be implemented by client as invitation people to i.e. the second account invitee by the first account The access control at family such as withdraws and invites, and extends and invites, and consumption notice (invites people that can be connected to the notice of consumption invitee), third Side's payment etc..
As it can be seen that by using above scheme, it will be able to pass through second account of first account to another user in user When initiating the sharing request of target Streaming Media, server side can be generated based on sharing request shares link, once the second account When linking acquisition target Streaming Media by sharing, the sharing clock of the first account side is just detected, determines first based on clock is shared The playback progress of account side controls the playback progress of the second account according to the playback progress of the first account side, so that two accounts Identical playback progress is obtained, when carrying out target stream media sharing to reach two accounts, acquisition is watched same in real time The usage experience of target.
Embodiment three,
The embodiment of the invention provides a kind of information sharing methods, are applied to second terminal equipment, as shown in Figure 5, comprising:
Step 501: server side is received according to first terminal equipment for target Streaming Media based on the second account The sharing link that real-time sharing request is generated and sent;
Step 502: the sharing is based on by second account and is linked to the server side acquisition target Streaming Media, Receive the clock information for first account side that the server side is sent;
Step 503: the clock information based on first account side controls the playback progress of the target Streaming Media, and base Export the target Streaming Media in the playback progress so that the second account and first account have it is identical play into Degree.
The processing that the present embodiment is carried out for invited party is illustrated, in which:
After the target Streaming Media based on playback progress output, the method also includes:
The default sharing duration threshold value for getting second account, when the current sharing duration of second account reaches When default sharing duration threshold value, control stops exporting the target Streaming Media.
Preferably, before the control stops exporting the target Streaming Media, prompt information can also be generated, prompts user Whether duration is watched in purchase, to continue to watch;Subsequent processing is carried out according to the feedback of user.
As it can be seen that by using above scheme, it will be able to pass through second account of first account to another user in user When initiating the sharing request of target Streaming Media, server side can be generated based on sharing request shares link, once the second account When linking acquisition target Streaming Media by sharing, the sharing clock of the first account side is just detected, determines first based on clock is shared The playback progress of account side controls the playback progress of the second account according to the playback progress of the first account side, so that two accounts Identical playback progress is obtained, when carrying out target stream media sharing to reach two accounts, acquisition is watched same in real time The usage experience of target.
Example IV,
The embodiment of the invention provides a kind of servers, as shown in fig. 6, the server includes:
First communication unit 61, the request of the acquisition target Streaming Media for the first account based on first terminal equipment, The target Streaming Media is sent to the first terminal equipment;It gets whole to second by first terminal equipment from the first account Second account of end equipment initiates the real-time sharing request of target Streaming Media;
Information generating unit 62, for being requested based on the real-time sharing, by first account and the target stream matchmaker Body is associated, and generates the sharing link of the target Streaming Media;
Second communication unit 63 links to the second account of second terminal equipment for sending the sharing;
Information process unit 64 obtains the target stream matchmaker for detecting that second account is based on sharing link When body, the clock information of first account side is got, the clock information based on first account side controls the target Streaming Media second account side playback progress so that first account and the second account have it is identical play into Degree.
Here, the first terminal equipment and the second terminal equipment can be with are as follows: smart phone, tablet computer, electricity Depending on box, notebook etc..
Server described in the present embodiment is main to execute following operation when implementing this programme:
Register the first account.The account information that first account uses when can log in client for user.It is obtained Mode can be for when user's acquisition when the client is registered.First account can pass through user terminal identification, IP The combinations such as location, social identity, telephone number and serial number carry out system and generate unique mark.
Relationship is clearly invited and be invited to, is set by the first account by first terminal for example, being got described in above-mentioned steps The standby real-time sharing request that target Streaming Media is initiated to the second account of second terminal equipment, is requested by the real-time sharing, The result that server can obtain is that the first account is invited party, and the second account is invited party, and to be shared is target stream matchmaker Body.User's is invited to relationship, if user is to need to record use by receiving to invite the streaming medium content real time access being added The invitation people at family;Otherwise (inviting people) is empty (" promoter ").
In addition, being requested based on the real-time sharing, the server side can also get the first terminal equipment The address Internet protocol (IP), the mark of first terminal equipment, the relevant information of user (such as social identity).
It is associated with online user identifier and real-time content stream, specific:
It is described to be requested based on the real-time sharing, first account and the target Streaming Media are associated, it can be with Include: the server in newly one section of streaming media service content stream of creation, needs to confirm the first account, and associate with mesh Mark Streaming Media;If the first account is empty (for example, user uses browser), when user passes through the first Account Logon client When, it can be shared, be at this time again associated target medium stream and first account.
Link is shared in the generation, can be with are as follows: and the real-time sharing for generating associated target medium stream links (URL), In, the server can be according to the request of first terminal equipment or second terminal equipment, and producible includes the first account The real-time sharing of the target Streaming Media at family links;
Wherein, when generating real-time sharing link, the server side can also be encrypted, to guarantee account Privacy.
Real-time sharing regulation management, including
" access limit " of the user to real time content:
First communication unit, for being verified based on real-time sharing rule to real-time sharing request;
Wherein, the real-time sharing rule includes at least one of:
Whether the sharing target account quantity that first account is initiated is no more than single-stage and shares number, if being no more than, It is verified, otherwise verifies and do not pass through;
Based on the sharing rank of first account, judge whether first account is in the target Streaming Media most It is big to share rank, if so, verifying does not pass through, otherwise it is verified.
The information process unit, for getting the default sharing duration threshold value of second account, when described second When the current sharing duration of account reaches default sharing duration threshold value, control stops the second account to the second terminal equipment Send target Streaming Media.
Wherein, when the default sharing duration threshold value is used to characterize the maximum of each invited user's single reference sharing contents Long, even if people is invited also to continue to access streaming medium content, system will limit access invitee.
Wherein, the sharing rank of first account is determined for its " sharing right again ", that is to say, that the first account Family can be promoter, can also be to invite promoter, and to be invitee, still, entirely sharing position locating in chain It sets, determines whether user can share target Streaming Media to the second account again by the first account.
Further, the information process unit, for when first account exit access the target Streaming Media when, Get the access authority of second account;If the access authority of second account is to allow individually to access other accounts point The target Streaming Media enjoyed, the then operation for not exporting the target Streaming Media to second account are handled;If described second The access authority of account is the target Streaming Media for not allowing individually to access the sharing of other accounts, then controls the second account and exit access The target Streaming Media.
" returning right ", i.e., the described playback progress by the first account side is sent directly to the second terminal equipment Later, the information process unit, for when second account exit access the target Streaming Media when, by first account The sharing target account quantity of the initiation at family subtracts one.
The synchronization and user's control of real time access streaming medium content, specific:
Information process unit determines the currently playing target in first account side for being based on the clock information The playback progress of first account side is sent directly to the second terminal equipment, so that institute by the playback progress of Streaming Media It states second terminal equipment and the playback progress of second account side is adjusted to identical as the playback progress of first account side.
As it can be seen that by using above scheme, it will be able to pass through second account of first account to another user in user When initiating the sharing request of target Streaming Media, server side can be generated based on sharing request shares link, once the second account When linking acquisition target Streaming Media by sharing, the sharing clock of the first account side is just detected, determines first based on clock is shared The playback progress of account side controls the playback progress of the second account according to the playback progress of the first account side, so that two accounts Identical playback progress is obtained, when carrying out target stream media sharing to reach two accounts, acquisition is watched same in real time The usage experience of target.
Embodiment five,
The embodiment of the invention provides a kind of terminal devices, as shown in fig. 7, comprises:
Generation unit 71 is requested, for sending the request of the acquisition target Streaming Media based on the first account to server side, It receives the target Streaming Media that the server side returns and exports the target Streaming Media;Generate the with second terminal equipment The real-time sharing for the target Streaming Media of two accounts is requested;
Request transmitting unit 72 is requested for sending the real-time sharing to the server side.
Here, the first terminal equipment and the second terminal equipment can be with are as follows: smart phone, tablet computer, electricity Depending on box, notebook etc..
The present embodiment place unlike the embodiments above is that above embodiment described have processing in server side Rule, the rule that should be managed for broadcasting can also be put to be controlled by terminal in the terminal.
First terminal equipment described in the present embodiment can carry out the first account especially by client and share target The processing of Streaming Media.By taking smart phone and application as an example, client mainly realizes following functions: identity user, it can be understood as By the first account of user come identity user;If only on a web browser, user needs on streaming media server user Registration, which logs in, could initiate to invite, enrollment status of the User Identity, that is, user on streaming media server.Content invites chain User need to be carried in the user identifier of certain streaming media server by meeting (URL).
If user accesses streaming medium content on a certain social networks, other friends on social networks are invited, it is social Network application can be using the social identity of user as first account, and then " is invited based on first account as sharing People ";
If user, in some concrete application, such as dedicated DST PLAYER, HTML5 application etc., which can When link is invited in creation, the mark (such as user terminal identification, IP address) of affix user is used as first account.
Preferably, the request generation unit, for being tested based on real-time sharing rule real-time sharing request Card;
Wherein, the real-time sharing rule includes at least one of:
Whether the sharing target account quantity that first account is initiated is no more than single-stage and shares number, if being no more than, It is verified, otherwise verifies and do not pass through;
Based on the sharing rank of first account, judge whether first account has sharing permission, if having point Permission is enjoyed, then is verified, otherwise verifies and does not pass through.
The transmission real-time sharing is requested to the server side, the request generation unit, for working as institute State the second account exit access the target Streaming Media when, the sharing target account quantity of the initiation of first account is subtracted One.
Further, in this embodiment the first terminal equipment carries out invitation operations by the first account, can also visit Ask Compliance control;For example, can also be implemented by client as invitation people to i.e. the second account invitee by the first account The access control at family such as withdraws and invites, and extends and invites, and consumption notice (invites people that can be connected to the notice of consumption invitee), third Side's payment etc..
As it can be seen that by using above scheme, it will be able to pass through second account of first account to another user in user When initiating the sharing request of target Streaming Media, server side can be generated based on sharing request shares link, once the second account When linking acquisition target Streaming Media by sharing, the sharing clock of the first account side is just detected, determines first based on clock is shared The playback progress of account side controls the playback progress of the second account according to the playback progress of the first account side, so that two accounts Identical playback progress is obtained, when carrying out target stream media sharing to reach two accounts, acquisition is watched same in real time The usage experience of target.
Embodiment six,
The embodiment of the invention provides a kind of terminal devices, as shown in Figure 8, comprising:
Information receiving unit 81, for receiving server side according to first terminal equipment for mesh based on the second account The sharing link that the real-time sharing request of mark Streaming Media is generated and sent;
Information process unit 82 is linked for being based on the sharing by second account to described in server side acquisition Target Streaming Media receives the clock information for first account side that the server side is sent;Based on first account The clock information of side controls the playback progress of the target Streaming Media, and exports the target stream matchmaker based on the playback progress Body.
The processing that the present embodiment is carried out for invited party is illustrated, in which:
After the target Streaming Media based on playback progress output, information process unit 82, for getting The default sharing duration threshold value of second account shares duration threshold when the current sharing duration of second account reaches default When value, control stops exporting the target Streaming Media.
Preferably, before the control stops exporting the target Streaming Media, prompt information can also be generated, prompts user Whether duration is watched in purchase, to continue to watch;Subsequent processing is carried out according to the feedback of user.
As it can be seen that by using above scheme, it will be able to pass through second account of first account to another user in user When initiating the sharing request of target Streaming Media, server side can be generated based on sharing request shares link, once the second account When linking acquisition target Streaming Media by sharing, the sharing clock of the first account side is just detected, determines first based on clock is shared The playback progress of account side controls the playback progress of the second account according to the playback progress of the first account side, so that two accounts Identical playback progress is obtained, when carrying out target stream media sharing to reach two accounts, acquisition is watched same in real time The usage experience of target.
If the module integrated described in the embodiment of the present invention is realized in the form of software function module and as independent production Product when selling or using, also can store in a computer readable storage medium.Based on this understanding, the present invention is real Applying the technical solution of example, substantially the part that contributes to existing technology can embody in the form of software products in other words Come, which is stored in a storage medium, including some instructions are used so that a computer equipment (can To be personal computer, base station or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.In this way, The embodiment of the present invention is not limited to any specific hardware and software and combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (19)

1. a kind of information sharing method is applied to server, which is characterized in that the described method includes:
The request of the acquisition target Streaming Media of the first account based on first terminal equipment, Xiang Suoshu first terminal equipment send institute Target Streaming Media is stated, so that the first terminal equipment exports the target Streaming Media;
It gets from the first account and target Streaming Media is initiated to the second account of second terminal equipment by first terminal equipment Real-time sharing request;
It is requested based on the real-time sharing, first account and the target Streaming Media is associated, the target is generated The sharing of Streaming Media links, and sends second account shared and link to second terminal equipment;
When detecting that second account is based on the sharing link acquisition target Streaming Media, first account is got The clock information of side, the clock information based on first account side control the target Streaming Media in second account side Playback progress, so that first account and the second account have identical playback progress;
The method also includes: when first account, which exits, accesses the target Streaming Media, get second account Access authority;
If the access authority of second account is the target Streaming Media for allowing individually to access the sharing of other accounts, not to described The operation that second account exports the target Streaming Media is handled;If the access authority of second account is not allow individually The target Streaming Media for accessing the sharing of other accounts then controls the second account and exits the access target Streaming Media.
2. the method according to claim 1, wherein described in the clock information control based on first account side Playback progress of the target Streaming Media in second account side, comprising:
Based on the clock information, the playback progress of the currently playing target Streaming Media in first account side is determined, by The playback progress of one account side is sent directly to the second terminal equipment, so that the second terminal equipment is by described The playback progress of two account sides is adjusted to identical as the playback progress of first account side.
3. the method according to claim 1, wherein described get passes through first terminal equipment by the first account After the real-time sharing request for initiating target Streaming Media to the second account of second terminal equipment, the method also includes:
Real-time sharing request is verified based on real-time sharing rule;
Wherein, the real-time sharing rule includes at least one of:
Whether the sharing target account quantity that first account is initiated is no more than single-stage sharing number is verified if being no more than Pass through, otherwise verifies and do not pass through;
Based on the sharing rank of first account, judge whether first account is in the maximum point of the target Streaming Media Rank is enjoyed, if so, verifying does not pass through, is otherwise verified.
4. the method according to claim 1, wherein the method also includes:
The default sharing duration threshold value for getting second account, when the current sharing duration of second account reaches default When sharing duration threshold value, control stops sending target Streaming Media to the second account of the second terminal equipment.
5. according to the method described in claim 3, it is characterized in that, the method also includes:
When second account, which exits, accesses the target Streaming Media, by the sharing target account number of first account initiation Amount subtracts one.
6. a kind of information sharing method is applied to first terminal equipment, which is characterized in that the described method includes:
The request that the acquisition target Streaming Media based on the first account is sent to server side receives what the server side returned Target Streaming Media simultaneously exports the target Streaming Media;
It generates and is requested with the real-time sharing for the target Streaming Media of the second account of second terminal equipment;
The real-time sharing is sent to request to the server side, so that the server side is requested based on the real-time sharing, The sharing link for generating the target Streaming Media, sends second account shared and link to second terminal equipment, detects When second account is based on the sharing link acquisition target Streaming Media, the clock letter of first account side is got Breath, the clock information based on first account side control the target Streaming Media in the playback progress of second account side, So that first account and the second account have identical playback progress;
The method also includes: when first account, which exits, accesses the target Streaming Media, Xiang Suoshu server side is sent First account exits information, so that the server side exits information based on first account, gets described The access authority of second account;If the access authority of second account is to allow individually to access the target stream of other accounts sharing Media, the then operation for not exporting the target Streaming Media to second account are handled;If the access of second account Permission is the target Streaming Media for not allowing individually to access the sharing of other accounts, then controls the second account and exit the access target stream Media.
7. according to the method described in claim 6, it is characterized in that, the transmission real-time sharing is requested to the server Before side, the method also includes:
Real-time sharing request is verified based on real-time sharing rule;
Wherein, the real-time sharing rule includes at least one of:
Whether the sharing target account quantity that first account is initiated is no more than single-stage sharing number is verified if being no more than Pass through, otherwise verifies and do not pass through;
Based on the sharing rank of first account, judge whether first account has sharing permission, if having sharing power Limit, then be verified, otherwise verify and do not pass through.
8. the method according to the description of claim 7 is characterized in that the transmission real-time sharing is requested to the server After side, the method also includes:
When second account, which exits, accesses the target Streaming Media, by the sharing target account of the initiation of first account Quantity subtracts one.
9. a kind of information sharing method is applied to second terminal equipment, which is characterized in that the described method includes:
Server side is received based on the second account to be requested according to the real-time sharing for target Streaming Media of first terminal equipment The sharing link for generating and sending;
The sharing is based on by second account to link to the server side acquisition target Streaming Media, receives the clothes The clock information for the first account side that business device side is sent;
Clock information based on first account side controls the playback progress of the target Streaming Media, and based on it is described play into Degree exports the target Streaming Media, so that the second account and first account have identical playback progress;
The method also includes:
When first account, which exits, accesses the target Streaming Media, the access authority of second account is got;
If the access authority of second account is the target Streaming Media for allowing individually to access the sharing of other accounts, not to described The operation that second account exports the target Streaming Media is handled;If the access authority of second account is not allow individually The target Streaming Media for accessing the sharing of other accounts then controls the second account and exits the access target Streaming Media.
10. according to the method described in claim 9, it is characterized in that, described export the target stream based on the playback progress After media, the method also includes:
The default sharing duration threshold value for getting second account, when the current sharing duration of second account reaches default When sharing duration threshold value, control stops exporting the target Streaming Media.
11. a kind of server, which is characterized in that the server includes:
First communication unit, the request of the acquisition target Streaming Media for the first account based on first terminal equipment, Xiang Suoshu First terminal equipment sends the target Streaming Media;It gets from the first account and passes through first terminal equipment to second terminal equipment The second account initiate target Streaming Media real-time sharing request;
Information generating unit is carried out first account and the target Streaming Media for being requested based on the real-time sharing Association generates the sharing link of the target Streaming Media;
Second communication unit links to the second account of second terminal equipment for sending the sharing;
Information process unit, when for detecting that second account is based on the sharing link acquisition target Streaming Media, The clock information for getting first account side, the clock information based on first account side control the target Streaming Media Playback progress in second account side, so that first account and the second account have identical playback progress;
The information process unit, for getting described the when first account exits and accesses the target Streaming Media The access authority of two accounts;If the access authority of second account is to allow individually to access the target stream matchmaker of other accounts sharing Body, the then operation for not exporting the target Streaming Media to second account are handled;If the access right of second account It is limited to not allow individually to access the target Streaming Media of other accounts sharing, then controls the second account and exit the access target stream matchmaker Body.
12. server according to claim 11, which is characterized in that
Information process unit determines the currently playing target stream matchmaker in first account side for being based on the clock information The playback progress of first account side is sent directly to the second terminal equipment by the playback progress of body, so that described The playback progress of second account side is adjusted to identical as the playback progress of first account side by two terminal devices.
13. server according to claim 11, which is characterized in that
First communication unit, for being verified based on real-time sharing rule to real-time sharing request;
Wherein, the real-time sharing rule includes at least one of:
Whether the sharing target account quantity that first account is initiated is no more than single-stage sharing number is verified if being no more than Pass through, otherwise verifies and do not pass through;
Based on the sharing rank of first account, judge whether first account is in the maximum point of the target Streaming Media Rank is enjoyed, if so, verifying does not pass through, is otherwise verified.
14. server according to claim 11, which is characterized in that
The information process unit, for getting the default sharing duration threshold value of second account, when second account When current sharing duration reaches default sharing duration threshold value, control stops sending to the second account of the second terminal equipment Target Streaming Media.
15. server according to claim 13, which is characterized in that the information process unit, for working as described second When account exits the access target Streaming Media, the sharing target account quantity of the initiation of first account is subtracted one.
16. a kind of terminal device characterized by comprising
Generation unit is requested, for sending the request of the acquisition target Streaming Media based on the first account to server side, is received The target Streaming Media of the server side return simultaneously exports the target Streaming Media;Generate the second account with second terminal equipment For the target Streaming Media real-time sharing request;
Request transmitting unit is requested for sending the real-time sharing to the server side;
The request transmitting unit is also used to when first account exits and accesses the target Streaming Media, to the service What device side sent first account exits information, so that the server side exits information based on first account, obtains Get the access authority of second account;If the access authority of second account is to allow individually to access the sharing of other accounts Target Streaming Media, then the operation for not exporting the target Streaming Media to second account handles;If second account The access authority at family is the target Streaming Media for not allowing individually to access the sharing of other accounts, then controls the second account and exit access institute State target Streaming Media.
17. terminal device according to claim 16, which is characterized in that the request generation unit, for based on real-time Share rule to verify real-time sharing request;
Wherein, the real-time sharing rule includes at least one of:
Whether the sharing target account quantity that first account is initiated is no more than single-stage sharing number is verified if being no more than Pass through, otherwise verifies and do not pass through;
Based on the sharing rank of first account, judge whether first account has sharing permission, if having sharing power Limit, then be verified, otherwise verify and do not pass through.
18. terminal device according to claim 17, which is characterized in that the request generation unit, for when described the When two accounts exit the access target Streaming Media, the sharing target account quantity of the initiation of first account is subtracted one.
19. a kind of terminal device characterized by comprising
Information receiving unit, for receiving server side according to first terminal equipment for target stream matchmaker based on the second account The sharing link that the real-time sharing request of body is generated and sent;
Information process unit is linked for being based on the sharing by second account to the server side acquisition target stream Media receive the clock information for the first account side that the server side is sent;Clock letter based on first account side Breath controls the playback progress of the target Streaming Media, and exports the target Streaming Media based on the playback progress;
The information process unit is also used to get described when first account exits and accesses the target Streaming Media The access authority of second account;
If the access authority of second account is the target Streaming Media for allowing individually to access the sharing of other accounts, not to described The operation that second account exports the target Streaming Media is handled;If the access authority of second account is not allow individually The target Streaming Media for accessing the sharing of other accounts then controls the second account and exits the access target Streaming Media.
CN201510889510.3A 2015-12-07 2015-12-07 A kind of information sharing method, server and terminal device Active CN106850390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510889510.3A CN106850390B (en) 2015-12-07 2015-12-07 A kind of information sharing method, server and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510889510.3A CN106850390B (en) 2015-12-07 2015-12-07 A kind of information sharing method, server and terminal device

Publications (2)

Publication Number Publication Date
CN106850390A CN106850390A (en) 2017-06-13
CN106850390B true CN106850390B (en) 2019-11-19

Family

ID=59151895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510889510.3A Active CN106850390B (en) 2015-12-07 2015-12-07 A kind of information sharing method, server and terminal device

Country Status (1)

Country Link
CN (1) CN106850390B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911717A (en) * 2017-11-27 2018-04-13 四川金熊猫新媒体有限公司 Screen control method, apparatus and system
CN109634683B (en) * 2018-12-05 2021-12-28 珠海市小源科技有限公司 Short message operation framework configuration and pushing method and device based on enterprise expectation
CN109727151B (en) * 2018-12-29 2023-04-28 咪咕互动娱乐有限公司 Information processing method, device and computer storage medium
CN113875193A (en) * 2019-05-31 2021-12-31 苹果公司 Multi-user device in an interconnected home environment
CN112073738B (en) * 2020-08-11 2021-10-22 北京城市网邻信息技术有限公司 Information processing method and device
CN113411652A (en) * 2021-07-02 2021-09-17 广州酷狗计算机科技有限公司 Media resource playing method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248680A (en) * 2013-04-26 2013-08-14 北京小米科技有限责任公司 Method and system for sharing network disk data
CN103379098A (en) * 2012-04-19 2013-10-30 华为技术有限公司 Content sharing method, device and network system thereof
CN104580084A (en) * 2013-10-16 2015-04-29 腾讯科技(北京)有限公司 Method, terminals and system for sharing multimedia file

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379098A (en) * 2012-04-19 2013-10-30 华为技术有限公司 Content sharing method, device and network system thereof
CN103248680A (en) * 2013-04-26 2013-08-14 北京小米科技有限责任公司 Method and system for sharing network disk data
CN104580084A (en) * 2013-10-16 2015-04-29 腾讯科技(北京)有限公司 Method, terminals and system for sharing multimedia file

Also Published As

Publication number Publication date
CN106850390A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106850390B (en) A kind of information sharing method, server and terminal device
US8825765B2 (en) Cross platform gaming
CN105847988B (en) Video sharing method and apparatus
US10356065B2 (en) Apparatus and method for managing software applications of a mobile device server
CN105657482B (en) A kind of implementation method and device of voice barrage
US9112944B2 (en) System for synchronizing information
US20130232558A1 (en) System for communicating with a mobile device server
US10172116B2 (en) Messaging abstraction in a mobile device server
CN102497407B (en) Terminal and server-based data updating method
CN105610771B (en) Account associating method and account associating device
CN106648117B (en) The implementation method and device of voice broadcast in virtual scene interaction client
US20120137315A1 (en) System for monetizing resources accessible to a mobile device server
CN107408277A (en) The control method and program of server, server
CA2691859A1 (en) A service accessing control method, terminal and system
CN104836782B (en) Server, client and data access method and system
CN107040456A (en) A kind of information push method
CN108199932A (en) Control method, server and the computer readable storage medium of home appliance
CN106534040A (en) Method and device for identifying subscriber identity of terminal equipment
CN106164917A (en) User's application-specific for remote session activates
CN103856454B (en) IP IP multimedia subsystem, IMSs and the method and business intercommunication gateway of Internet service intercommunication
CN103096181B (en) A kind of provide the method for interactive application business, equipment
CN106533923A (en) Information processing method and device based on instant messaging software
CN110297717A (en) Determine method, apparatus, electronic equipment and the storage medium of client application participator
CN109150981B (en) Block chain network networking method, device, equipment and computer readable storage medium
CN104469770B (en) Towards WLAN authentication methods, platform and the system of third-party application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant