CN106850390A - A kind of information sharing method, server and terminal device - Google Patents
A kind of information sharing method, server and terminal device Download PDFInfo
- Publication number
- CN106850390A CN106850390A CN201510889510.3A CN201510889510A CN106850390A CN 106850390 A CN106850390 A CN 106850390A CN 201510889510 A CN201510889510 A CN 201510889510A CN 106850390 A CN106850390 A CN 106850390A
- Authority
- CN
- China
- Prior art keywords
- account
- streaming media
- target streaming
- target
- real
- 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.)
- Granted
Links
Abstract
The invention discloses a kind of information sharing method, server and terminal device, wherein method includes:The request of the acquisition target Streaming Media of the first account based on first terminal equipment, the target Streaming Media is sent to the first terminal equipment;Get from the first account and asked to the real-time sharing that the second account of second terminal equipment initiates target Streaming Media by first terminal equipment;Based on real-time sharing request, first account is associated with the target Streaming Media, generates the link of sharing of the target Streaming Media, the second account for linking to second terminal equipment is shared described in transmission;Detect second account be based on it is described get the clock information of the first account side when sharing link and obtaining the target Streaming Media, the clock information based on the first account side controls the target Streaming Media in the playing progress rate of the second account side.
Description
Technical field
The present invention relates to the information analysis techniques in the terminal in the communications field, more particularly to a kind of Information Sharing
Method, server and terminal device.
Background technology
In the epoch that mobile broadband is ubiquitous, social networks and instant messaging are almost popularized, streaming medium content
The shared mode for but also resting on shared " interviewed streaming medium content link " or even download file, both influenceed
The real-time sharing experience of user, also hampers the popularization of streaming medium content to a certain extent.
Existing streaming medium content sharing mode mainly has following several:Forwarding content link, such as user A will be liked
Joyous YouTube video link copy gets off, and is divided by way of social networks, mail, phone or short message
Enjoy and give good friend B, B opens content link and may have access to after receiving.Forwarding content, if under user A has the right
The streaming medium content (or by instrument) is carried, user generally can simultaneously download content when accessing, and will be interior
Holding packing to place on certain cloud storage service device, and send invitation allows good friend B to go to download, after B downloads
Access.Streaming medium content direct broadcast service, typically requires that user's registration can access content after logging in, and invites people
To invitee also without access control, the realization service of reliable communication ability need to be relied on.
Existing streaming medium content secret sharing has the following disadvantages:Invite the people A cannot cannot with B invitee
Synchronous consumption streaming medium content, invitation people A cannot realize the access streaming medium content control to B invitee.
The content of the invention
In view of this, it is an object of the invention to provide a kind of information sharing method, server and terminal device,
The above-mentioned problems in the prior art can at least be solved.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
Information sharing method is the embodiment of the invention provides, methods described includes:
The request of the acquisition target Streaming Media of the first account based on first terminal equipment, to the first terminal
Equipment sends the target Streaming Media, to cause that the first terminal equipment exports the target Streaming Media;
Get from the first account and target is initiated to the second account of second terminal equipment by first terminal equipment
The real-time sharing request of Streaming Media;
Based on real-time sharing request, first account is associated with the target Streaming Media, it is raw
Into the link of sharing of the target Streaming Media, the second account for linking to second terminal equipment is shared described in transmission;
Detect second account and be based on described when sharing link and obtaining the target Streaming Media, get institute
The clock information of the first account side is stated, the clock information based on the first account side controls the target stream matchmaker
Playing progress rate of the body in the second account side so that first account and the second account possess identical
Playing progress rate.
A kind of information sharing method is the embodiment of the invention provides, first terminal equipment, methods described is applied to
Including:
The request of the acquisition target Streaming Media based on the first account is sent to server side, the service is received
The target Streaming Media of device side return simultaneously exports the target Streaming Media;
Generation is asked with the real-time sharing for the target Streaming Media of the second account of second terminal equipment;
Send the real-time sharing to ask to the server side so that the server side is based on described real-time
Share request, generate the link of sharing of the target Streaming Media, share described in transmission and link to second terminal and set
The second standby account, detect second account be based on it is described when sharing link and obtaining the target Streaming Media,
The clock information of the first account side is got, the clock information control based on the first account side is described
Playing progress rate of the target Streaming Media in the second account side so that first account and the second account have
Standby identical playing progress rate.
A kind of information sharing method is the embodiment of the invention provides, second terminal equipment, the side is applied to
Method includes:
Server side is received according to first terminal equipment for the real-time of target Streaming Media based on the second account
Share and ask what is generated and send to share link;
Link is shared to the server side acquisition target Streaming Media based on described by second account, is connect
Receive the clock information of the first account side that the server side is sent;
Clock information based on the first account side controls the playing progress rate of the target Streaming Media, and is based on
The playing progress rate exports the target Streaming Media, to cause that the second account possesses identical with first account
Playing progress rate.
A kind of server is the embodiment of the invention provides, the server includes:
First communication unit, for the first account based on first terminal equipment acquisition target Streaming Media please
Ask, the target Streaming Media is sent to the first terminal equipment;Get whole by first by the first account
End equipment is asked to the real-time sharing that the second account of second terminal equipment initiates target Streaming Media;
Information generating unit, for based on real-time sharing request, by first account and the target
Streaming Media is associated, and generate the target Streaming Media shares link;
Second communication unit, described the second account for linking to second terminal equipment is shared for sending;
Information process unit, the link acquisition target is shared for detecting second account based on described
During Streaming Media, the clock information of the first account side is got, the clock letter based on the first account side
Playing progress rate of the breath control target Streaming Media in the second account side so that first account and
Second account possesses identical playing progress rate.
A kind of terminal device is the embodiment of the invention provides, including:
Request generation unit, for sending asking for the acquisition target Streaming Media based on the first account to server side
Ask, receive the target Streaming Media of the server side return and export the target Streaming Media;Generation and the
The real-time sharing request for the target Streaming Media of the second account of two terminal devices;
Request transmitting unit, asks to the server side for sending the real-time sharing.
A kind of terminal device is the embodiment of the invention provides, including:
Information receiving unit, for receiving pin of the server side according to first terminal equipment based on the second account
What the real-time sharing request to target Streaming Media was generated and sent shares link;
Information process unit, for sharing link to server side acquisition based on described by second account
The target Streaming Media, receives the clock information of the first account side that the server side is sent;Base
Clock information in the first account side controls the playing progress rate of the target Streaming Media, and is broadcast based on described
Degree of putting into exports the target Streaming Media.
Information sharing method, server and terminal device are the embodiment of the invention provides, can be passed through in user
First account initiates when sharing request of target Streaming Media, server side to second account of another user
Link can be shared based on request generation is shared, once the second account obtains target stream matchmaker by sharing link
During body, just clock is shared in the first account side of detection, based on the broadcasting for sharing clock and determining the first account side
Progress, the playing progress rate according to the first account side controls the playing progress rate of the second account so that two accounts
Identical playing progress rate is obtained, when carrying out target Streaming Media and share to reach two accounts, obtains real
When watch the experience of same target.
Brief description of the drawings
Fig. 1 is embodiment of the present invention information sharing method schematic flow sheet one;
Fig. 2 shares tree example one for the embodiment of the present invention;
Fig. 3 shares tree example two for the embodiment of the present invention;
Fig. 4 is embodiment of the present invention sharing method schematic flow sheet two;
Fig. 5 is embodiment of the present invention sharing method schematic flow sheet three;
Fig. 6 is embodiment of the present invention server group into structural representation;
Fig. 7 is embodiment of the present invention terminal device composition schematic diagram one;
Fig. 8 is embodiment of the present invention terminal device composition schematic diagram two.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
Embodiment one,
A kind of information sharing method is present embodiments provided, server is applied to, as shown in figure 1, including:
Step 101:The request of the acquisition target Streaming Media of the first account based on first terminal equipment, to institute
State first terminal equipment and send the target Streaming Media, to cause that the first terminal equipment exports the target
Streaming Media;
Step 102:Get from the first account and pass through second account of the first terminal equipment to second terminal equipment
Initiate the real-time sharing request of target Streaming Media in family;
Step 103:Based on real-time sharing request, first account is entered with the target Streaming Media
Row association, generates the link of sharing of the target Streaming Media, shares described in transmission and links to second terminal equipment
The second account;
Step 104:Detect second account be based on it is described when sharing link and obtaining the target Streaming Media,
The clock information of the first account side is got, the clock information control based on the first account side is described
Playing progress rate of the target Streaming Media in the second account side so that first account and the second account have
Standby identical playing progress rate.
Here, the first terminal equipment and the second terminal equipment can be:Smart mobile phone, flat board
Computer, TV box, notebook etc..
Server described in the present embodiment is main to perform following operation when this programme is implemented:
Register the first account.The accounts information that first account is used when can be User logs in client.
Its acquisition modes can be when user obtains when the client is registered.First account can by with
It is unique that the combinations such as family terminal iidentification, IP address, social identity, telephone number and sequence number carry out system generation
Mark.
Relation is clearly invited and be invited to, such as, described in above-mentioned steps is got by the first account by the
One terminal device is asked to the real-time sharing that the second account of second terminal equipment initiates target Streaming Media, is passed through
The real-time sharing request, the result that server can be obtained is that the first account is invited party, the second account
It is invited party, what is shared is target Streaming Media.User's is invited to relation, if user is by connecing
By the streaming medium content real time access, it is necessary to record the invitation people of user of invitation addition;Otherwise (invite
People) it is empty (" promoter ").
In addition, based on real-time sharing request, the server side can also get described first eventually
Internet protocol (IP) address of end equipment, the mark of first terminal equipment, the relevant information of user is (such as
Social identity).
Online ID and real-time content stream are associated, specifically:
It is described first account is associated with the target Streaming Media based on real-time sharing request,
Can include:The server is when one section of streaming media service content stream is newly created, it is necessary to confirm the first account
Family, and associate with target Streaming Media;If the first account is empty (for example, user uses browser),
Then when user passes through the first Account Logon client, can be shared, now again by target medium
Stream and first account are associated.
Link, Ke Yiwei are shared in the generation:The real-time sharing link of the target medium stream that generation has been associated
(URL), wherein, what the server can be according to first terminal equipment or second terminal equipment please
Ask, what can be generated includes the real-time sharing link of the target Streaming Media of the first account;
Wherein, when real-time sharing link is generated, the server side can also be encrypted, with
Ensure the privacy of account.
Real-time sharing regulation management, including
" the accessing limitation " of user to real time content:
Described getting from the first account is initiated by first terminal equipment to the second account of second terminal equipment
After the real-time sharing request of target Streaming Media, methods described 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:
What first account was initiated shares whether target account quantity shares number of times no more than single-stage, if not
Exceed, be then verified, otherwise verify and do not pass through;Wherein, the single-stage share number of times represent every time use
Family can be shared with several target accounts, this setting can with default, represented when default it is unrestricted or
Expression is limited solely by the disposal ability of server side;
Rank is shared based on first account, judges first account whether in the target stream
The maximum of media shares rank, does not pass through if so, then verifying, is otherwise verified.Maximum shares rank,
The server side for referring to includes all 1~N grades, it is contemplated that invitee is possible to sharing contents again,
As the account A first order->The account B second level->The account C third level->The account D fourth stages.
The playing progress rate by the first account side is sent directly to after the second terminal equipment, institute
Stating method also includes:
Get the default of second account and share duration threshold value, when second account it is current when sharing
Length reaches default when sharing duration threshold value, and control stops sending mesh to the second account of the second terminal equipment
Mark Streaming Media.
Wherein, the default duration threshold value of sharing is for characterizing each invited user's single reference sharing contents
Maximum duration, even if inviting people also continuing to access streaming medium content, system will limit access invitee.
Wherein, the rank of sharing of first account is determined for its " sharing right again ", also
It is to say, the first account can be promoter, it is also possible to as invite promoter, and for invitee, but,
Its location in entirely chain is shared, determines whether user can be by the first account again to second
Account shares target Streaming Media.
Further, the playing progress rate by the first account side is sent directly to the second terminal and sets
After standby, methods described also includes:
When first account exits the access target Streaming Media, the access of second account is got
Authority;If the access rights of second account are to allow individually to access the target Streaming Media that other accounts are shared,
The operation that second account exports the target Streaming Media is not processed then;If second account
Access rights are not allow individually to access the target Streaming Media that other accounts are shared, then control the second account to exit
Access the target Streaming Media.That is, the second account is to " the succession right " of target Streaming Media
Whether limitation, the invitation people is there be the second account invitee after the first account exits access real time content
Power continues to have accessed streaming medium content.
" recurrence right ", i.e., the described playing progress rate by the first account side is sent directly to described second
After terminal device, methods described also includes:When second account exits the access target Streaming Media,
The target account quantity of sharing of the initiation of first account is subtracted one.
Any one is invitee exit streaming medium content real time access after, whether single-stage shares number of times can be also
Former (plus one);Maximum shares whether number of times can reduce (plus one).
The synchronization of real time access streaming medium content and user's control, specifically:
Clock information based on the first account side controls the target Streaming Media in the second account side
Playing progress rate, including:
Based on the clock information, the broadcasting of the currently playing target Streaming Media in the first account side is determined
Progress, is sent directly to the second terminal equipment so that described by the playing progress rate of the first account side
The playing progress rate of the second account side is adjusted to enter with the broadcasting of the first account side by second terminal equipment
Degree is identical.
When each user (promoter) initiates one section of streaming medium content access, system starts one together
Step clock (" initiation clock ");
When each user's (inviting people) sends a streaming medium content real-time sharing invitation, according to real-time point
Enjoy regular (can be input into reference to client application), one streaming medium content real-time sharing of system creation is accessed
Request.
During each one streaming medium content real-time sharing of user's receiving (invitee), system can detect the stream
The current time of media content " initiation clock ", and with the moment as starting point, created according to real-time sharing rule
Real-time content stream is built, real-time stream media content is opened and is accessed.
Although only being carried out as both sides using the first account and the second account in the present embodiment above-mentioned steps
Description, but it is actually invitee can also be to invite people, that is the second account actually can also be to the
Three accounts are initiated to invite, simply mode of operation and above-mentioned steps first account of second account to the 3rd account
It is identical with the relation between the second account, so not repeated in the present embodiment.
The relation shared step by step, tree of sharing that can be as described in Figure 2 comes between figuratively bright account
Correlation, it can be seen that sharing in tree to possess has three to share rank, first shares in rank and has two
Terminal device has namely corresponded to two accounts respectively;Set positioned at first two terminals for sharing rank 21
Account in standby, has an account to carry out the invitation of next rank again, that is, occur in that second shares level
The corresponding account of other 22 only one of which terminal device;Positioned at the second account for sharing rank 22, invite again
Please three accounts share Streaming Media by its terminal device, and these three accounts are collectively forming the 3rd and share level
Other 23.
Based on Fig. 2, when each user terminates one streaming medium content of real time access, if user still " invites
Ask someone " such as share rank 21,22 in first and second, it is determined whether and " secondary is received to need end
Invite people " streaming medium content access;Where it is determined whether needing to terminate the Streaming Media of " secondary invitee "
Access to content can include:If real-time sharing rule allow it is invitee in the case where promoter exits after
Continuous access target Streaming Media, that is to say, that if user still " promoter ", needs reproduction clock to all of
One-level " invitee ", it is secondary it is invitee can upgrade (update " sharing tree "), as shown in figure 3, ought the
When two users for sharing in rank exit, the former 3rd shares the invitee of rank 23 upgrades to second and shares
Rank 22, and continue to access streaming medium content;Otherwise, the Streaming Media of FEFO all " secondary invitee "
Access to content, and update the state of sharing of the real-time stream media content and (share the last node of tree, single-stage point
Enjoy number of times etc.), such as, when in Fig. 2 second share rank 22 in user exit, second is shared
Rank and the 3rd use shared in rank terminate to access per family.Update sharing for the real-time stream media content
State (shares the last node of tree, single-stage shares number of times etc.).
It can be seen that, by using such scheme, it becomes possible in user by the first account to another user's
Second account is initiated when sharing request of target Streaming Media, and server side can be divided based on request generation is shared
Link is enjoyed, when the second account obtains target Streaming Media by sharing link, the first account side is just detected
Share clock, based on the playing progress rate for sharing clock and determining the first account side, according to the first account side
Playing progress rate controls the playing progress rate of the second account so that two accounts obtain identical playing progress rate, with
When reaching two accounts and carry out target Streaming Media and share, the use of same target is watched in acquisition in real time
Experience.
Embodiment two,
A kind of information sharing method is the embodiment of the invention provides, first terminal equipment is applied to, such as Fig. 4 institutes
Show, methods described includes:
Step 401:The request of the acquisition target Streaming Media based on the first account is sent to server side, is received
To the server side return target Streaming Media and export the target Streaming Media;
Step 402:Generation is with the second account of second terminal equipment for the real-time of the target Streaming Media
Share request;
Step 403:Send the real-time sharing to ask to the server side so that the server side base
In real-time sharing request, the link of sharing of the target Streaming Media is generated, share described in transmission and link to
Second account of second terminal equipment, detects second account and shares the link acquisition mesh based on described
During mark Streaming Media, the clock information of the first account side is got, the clock based on the first account side
Information controls the target Streaming Media in the playing progress rate of the second account side so that first account with
And second account possess identical playing progress rate.
Here, the first terminal equipment and the second terminal equipment can be:Smart mobile phone, flat board
Computer, TV box, notebook etc..
The present embodiment part unlike the embodiments above is possess above embodiment described in server side
There is treatment rule, the rule that should carry out management and control for broadcasting can also put and is controlled by terminal in the terminal.
First terminal equipment described in the present embodiment can especially by client carry out the first account and
Share the treatment of target Streaming Media.By taking smart mobile phone and application as an example, client mainly realizes following functions:
Mark user, it can be understood as user is identified by first account of user;If user is clear
Look on device, user needs to be registered on streaming media server to log in could initiate to invite, User Identity
That is enrollment status of the user on streaming media server.Content invitation link (URL) need to carry user and exist
The ID of certain streaming media server.
If user accesses streaming medium content on a certain social networks, other friends on social networks are invited
Friend, social networking application can be using the social identity of user as first account, and then based on described
One account " invites people " as sharing;
If user is in certain concrete application, such as special DST PLAYER, HTML5 application etc.,
The concrete application can create invite link when affix user mark (such as user terminal identification, IP
Address) as first account.
Preferably, the transmission real-time sharing is asked to before the server side, and methods described is also wrapped
Include:Real-time sharing request is verified based on real-time sharing rule;
Wherein, the real-time sharing rule includes at least one of:
What first account was initiated shares whether target account quantity shares number of times no more than single-stage, if not
Exceed, be then verified, otherwise verify and do not pass through;
Rank is shared based on first account, is judged whether first account possesses and is shared authority,
If possess sharing authority, it is verified, otherwise verifies and do not pass through.
The transmission real-time sharing is asked to the server side, and methods described also includes:
When second account exits the access target Streaming Media, by dividing for the initiation of first account
Enjoy target account quantity and subtract one.
Further, first terminal equipment described in the present embodiment carries out invitation operations by the first account,
Compliance control can also be accessed;Such as, by the first account be used as invitation people can also by client come
Implement the access control to i.e. the second account invitee, such as withdraw and invite, extension is invited, consumption notifies (to invite
Ask someone that the notice of consumption invitee can be connected to), third-party charging etc..
It can be seen that, by using such scheme, it becomes possible in user by the first account to another user's
Second account is initiated when sharing request of target Streaming Media, and server side can be divided based on request generation is shared
Link is enjoyed, when the second account obtains target Streaming Media by sharing link, the first account side is just detected
Share clock, based on the playing progress rate for sharing clock and determining the first account side, according to the first account side
Playing progress rate controls the playing progress rate of the second account so that two accounts obtain identical playing progress rate, with
When reaching two accounts and carry out target Streaming Media and share, the use of same target is watched in acquisition in real time
Experience.
Embodiment three,
A kind of information sharing method is the embodiment of the invention provides, second terminal equipment, such as Fig. 5 is applied to
It is shown, including:
Step 501:Server side is received according to first terminal equipment for target stream based on the second account
What the real-time sharing request of media was generated and sent shares link;
Step 502:Link is shared to the server side acquisition target based on described by second account
Streaming Media, receives the clock information of the first account side that the server side is sent;
Step 503:Clock information based on the first account side controls the broadcasting of the target Streaming Media to enter
Degree, and the target Streaming Media is exported based on the playing progress rate, to cause the second account and first account
Family possesses identical playing progress rate.
The present embodiment is illustrated for the treatment that invited party is carried out, wherein:
After the output target Streaming Media based on the playing progress rate, methods described also includes:
Get the default of second account and share duration threshold value, when second account it is current when sharing
Length reaches default when sharing duration threshold value, and control stops the output target Streaming Media.
Preferably, before the control stops the output target Streaming Media, prompt message can also be generated,
Purchase viewing duration is prompted the user whether, to continue viewing;Feedback according to user carries out subsequent treatment.
It can be seen that, by using such scheme, it becomes possible in user by the first account to another user's
Second account is initiated when sharing request of target Streaming Media, and server side can be divided based on request generation is shared
Link is enjoyed, when the second account obtains target Streaming Media by sharing link, the first account side is just detected
Share clock, based on the playing progress rate for sharing clock and determining the first account side, according to the first account side
Playing progress rate controls the playing progress rate of the second account so that two accounts obtain identical playing progress rate, with
When reaching two accounts and carry out target Streaming Media and share, the use of same target is watched in acquisition in real time
Experience.
Example IV,
A kind of server is the embodiment of the invention provides, as shown in fig. 6, the server includes:
First communication unit 61, for the acquisition target Streaming Media of the first account based on first terminal equipment
Request, the target Streaming Media is sent to the first terminal equipment;Get and pass through first by the first account
Terminal device is asked to the real-time sharing that the second account of second terminal equipment initiates target Streaming Media;
Information generating unit 62, for based on real-time sharing request, by first account and the mesh
Mark Streaming Media is associated, and generate the target Streaming Media shares link;
Second communication unit 63, described the second account for linking to second terminal equipment is shared for sending;
Information process unit 64, the link acquisition mesh is shared for detecting second account based on described
During mark Streaming Media, the clock information of the first account side is got, the clock based on the first account side
Information controls the target Streaming Media in the playing progress rate of the second account side so that first account with
And second account possess identical playing progress rate.
Here, the first terminal equipment and the second terminal equipment can be:Smart mobile phone, flat board
Computer, TV box, notebook etc..
Server described in the present embodiment is main to perform following operation when this programme is implemented:
Register the first account.The accounts information that first account is used when can be User logs in client.
Its acquisition modes can be when user obtains when the client is registered.First account can by with
It is unique that the combinations such as family terminal iidentification, IP address, social identity, telephone number and sequence number carry out system generation
Mark.
Relation is clearly invited and be invited to, such as, described in above-mentioned steps is got by the first account by the
One terminal device is asked to the real-time sharing that the second account of second terminal equipment initiates target Streaming Media, is passed through
The real-time sharing request, the result that server can be obtained is that the first account is invited party, the second account
It is invited party, what is shared is target Streaming Media.User's is invited to relation, if user is by connecing
By the streaming medium content real time access, it is necessary to record the invitation people of user of invitation addition;Otherwise (invite
People) it is empty (" promoter ").
In addition, based on real-time sharing request, the server side can also get described first eventually
Internet protocol (IP) address of end equipment, the mark of first terminal equipment, the relevant information of user is (such as
Social identity).
Online ID and real-time content stream are associated, specifically:
It is described first account is associated with the target Streaming Media based on real-time sharing request,
Can include:The server is when one section of streaming media service content stream is newly created, it is necessary to confirm the first account
Family, and associate with target Streaming Media;If the first account is empty (for example, user uses browser),
Then when user passes through the first Account Logon client, can be shared, now again by target medium
Stream and first account are associated.
Link, Ke Yiwei are shared in the generation:The real-time sharing link of the target medium stream that generation has been associated
(URL), wherein, what the server can be according to first terminal equipment or second terminal equipment please
Ask, what can be generated includes the real-time sharing link of the target Streaming Media of the first account;
Wherein, when real-time sharing link is generated, the server side can also be encrypted, with
Ensure the privacy of account.
Real-time sharing regulation management, including
" the accessing limitation " of user to real time content:
First communication unit, for being tested real-time sharing request based on real-time sharing rule
Card;
Wherein, the real-time sharing rule includes at least one of:
What first account was initiated shares whether target account quantity shares number of times no more than single-stage, if not
Exceed, be then verified, otherwise verify and do not pass through;
Rank is shared based on first account, judges first account whether in the target stream
The maximum of media shares rank, does not pass through if so, then verifying, is otherwise verified.
Described information processing unit, duration threshold value is shared for getting the default of second account, works as institute
State the current duration of sharing of the second account and reach default when sharing duration threshold value, control stops to described second eventually
Second account of end equipment sends target Streaming Media.
Wherein, the default duration threshold value of sharing is for characterizing each invited user's single reference sharing contents
Maximum duration, even if inviting people also continuing to access streaming medium content, system will limit access invitee.
Wherein, the rank of sharing of first account is determined for its " sharing right again ", also
It is to say, the first account can be promoter, it is also possible to as invite promoter, and for invitee, but,
Its location in entirely chain is shared, determines whether user can be by the first account again to second
Account shares target Streaming Media.
Further, described information processing unit, for exiting the access target stream when first account
During media, the access rights of second account are got;If the access rights of second account are permission
The target Streaming Media that other accounts are shared individually is accessed, then the target stream matchmaker is not exported to second account
The operation of body is processed;If the access rights of second account are not allow individually to access other accounts point
The target Streaming Media enjoyed, then control the second account to exit the access target Streaming Media.
" recurrence right ", i.e., the described playing progress rate by the first account side is sent directly to described second
After terminal device, described information processing unit, for exiting the access target stream when second account
During media, the target account quantity of sharing of the initiation of first account is subtracted one.
The synchronization of real time access streaming medium content and user's control, specifically:
Information process unit, for based on the clock information, determining the currently playing institute in the first account side
The playing progress rate of target Streaming Media is stated, the playing progress rate of the first account side is sent directly to described second
Terminal device so that the second terminal equipment by the playing progress rate of the second account side be adjusted to it is described
The playing progress rate of the first account side is identical.
It can be seen that, by using such scheme, it becomes possible in user by the first account to another user's
Second account is initiated when sharing request of target Streaming Media, and server side can be divided based on request generation is shared
Link is enjoyed, when the second account obtains target Streaming Media by sharing link, the first account side is just detected
Share clock, based on the playing progress rate for sharing clock and determining the first account side, according to the first account side
Playing progress rate controls the playing progress rate of the second account so that two accounts obtain identical playing progress rate, with
When reaching two accounts and carry out target Streaming Media and share, the use of same target is watched in acquisition in real time
Experience.
Embodiment five,
A kind of terminal device is the embodiment of the invention provides, as shown in fig. 7, comprises:
Request generation unit 71, for sending the acquisition target Streaming Media based on the first account to server side
Request, receives the target Streaming Media of the server side return and exports the target Streaming Media;Generation with
The real-time sharing request for the target Streaming Media of the second account of second terminal equipment;
Request transmitting unit 72, asks to the server side for sending the real-time sharing.
Here, the first terminal equipment and the second terminal equipment can be:Smart mobile phone, flat board
Computer, TV box, notebook etc..
The present embodiment part unlike the embodiments above is possess above embodiment described in server side
There is treatment rule, the rule that should carry out management and control for broadcasting can also put and is controlled by terminal in the terminal.
First terminal equipment described in the present embodiment can especially by client carry out the first account and
Share the treatment of target Streaming Media.By taking smart mobile phone and application as an example, client mainly realizes following functions:
Mark user, it can be understood as user is identified by first account of user;If user is clear
Look on device, user needs to be registered on streaming media server to log in could initiate to invite, User Identity
That is enrollment status of the user on streaming media server.Content invitation link (URL) need to carry user and exist
The ID of certain streaming media server.
If user accesses streaming medium content on a certain social networks, other friends on social networks are invited
Friend, social networking application can be using the social identity of user as first account, and then based on described
One account " invites people " as sharing;
If user is in certain concrete application, such as special DST PLAYER, HTML5 application etc.,
The concrete application can create invite link when affix user mark (such as user terminal identification, IP
Address) as first account.
Preferably, the request generation unit, for being asked the real-time sharing based on real-time sharing rule
Verified;
Wherein, the real-time sharing rule includes at least one of:
What first account was initiated shares whether target account quantity shares number of times no more than single-stage, if not
Exceed, be then verified, otherwise verify and do not pass through;
Rank is shared based on first account, is judged whether first account possesses and is shared authority,
If possess sharing authority, it is verified, otherwise verifies and do not pass through.
The transmission real-time sharing is asked to the server side, and the request generation unit is used
In when second account exits the access target Streaming Media, by sharing for the initiation of first account
Target account quantity subtracts one.
Further, first terminal equipment described in the present embodiment carries out invitation operations by the first account,
Compliance control can also be accessed;Such as, by the first account be used as invitation people can also by client come
Implement the access control to i.e. the second account invitee, such as withdraw and invite, extension is invited, consumption notifies (to invite
Ask someone that the notice of consumption invitee can be connected to), third-party charging etc..
It can be seen that, by using such scheme, it becomes possible in user by the first account to another user's
Second account is initiated when sharing request of target Streaming Media, and server side can be divided based on request generation is shared
Link is enjoyed, when the second account obtains target Streaming Media by sharing link, the first account side is just detected
Share clock, based on the playing progress rate for sharing clock and determining the first account side, according to the first account side
Playing progress rate controls the playing progress rate of the second account so that two accounts obtain identical playing progress rate, with
When reaching two accounts and carry out target Streaming Media and share, the use of same target is watched in acquisition in real time
Experience.
Embodiment six,
A kind of terminal device is the embodiment of the invention provides, as shown in figure 8, including:
Information receiving unit 81, for receiving server side according to first terminal equipment based on the second account
What the real-time sharing request for target Streaming Media was generated and sent shares link;
Information process unit 82, obtains for sharing link based on described in by second account to server side
The target Streaming Media is taken, the clock information of the first account side that the server side is sent is received;
Clock information based on the first account side controls the playing progress rate of the target Streaming Media, and based on described
Playing progress rate exports the target Streaming Media.
The present embodiment is illustrated for the treatment that invited party is carried out, wherein:
After the output target Streaming Media based on the playing progress rate, information process unit 82 is used for
Get the default of second account and share duration threshold value, be up to when sharing when second account is current
To it is default share duration threshold value when, control stops the output target Streaming Media.
Preferably, before the control stops the output target Streaming Media, prompt message can also be generated,
Purchase viewing duration is prompted the user whether, to continue viewing;Feedback according to user carries out subsequent treatment.
It can be seen that, by using such scheme, it becomes possible in user by the first account to another user's
Second account is initiated when sharing request of target Streaming Media, and server side can be divided based on request generation is shared
Link is enjoyed, when the second account obtains target Streaming Media by sharing link, the first account side is just detected
Share clock, based on the playing progress rate for sharing clock and determining the first account side, according to the first account side
Playing progress rate controls the playing progress rate of the second account so that two accounts obtain identical playing progress rate, with
When reaching two accounts and carry out target Streaming Media and share, the use of same target is watched in acquisition in real time
Experience.
If integrated module described in the embodiment of the present invention using realize in the form of software function module and as
Independent production marketing or when using, it is also possible to which storage is in a computer read/write memory medium.Base
In such understanding, the technical scheme of the embodiment of the present invention substantially contributes to prior art in other words
Part can be embodied in the form of software product, the computer software product storage one storage
In medium, including some instructions are used to so that computer equipment (can be personal computer, base station,
Or the network equipment etc.) perform all or part of each embodiment methods described of the invention.And it is foregoing
Storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various
Can be with the medium of store program codes.So, the embodiment of the present invention be not restricted to any specific hardware and
Software is combined.
The above, only presently preferred embodiments of the present invention is not intended to limit protection model of the invention
Enclose.
Claims (21)
1. a kind of information sharing method, is applied to server, it is characterised in that methods described includes:
The request of the acquisition target Streaming Media of the first account based on first terminal equipment, to the first terminal
Equipment sends the target Streaming Media, to cause that the first terminal equipment exports the target Streaming Media;
Get from the first account and target is initiated to the second account of second terminal equipment by first terminal equipment
The real-time sharing request of Streaming Media;
Based on real-time sharing request, first account is associated with the target Streaming Media, it is raw
Into the link of sharing of the target Streaming Media, the second account for linking to second terminal equipment is shared described in transmission;
Detect second account and be based on described when sharing link and obtaining the target Streaming Media, get institute
The clock information of the first account side is stated, the clock information based on the first account side controls the target stream matchmaker
Playing progress rate of the body in the second account side so that first account and the second account possess identical
Playing progress rate.
2. method according to claim 1, it is characterised in that the clock based on the first account side
Information controls the target Streaming Media in the playing progress rate of the second account side, including:
Based on the clock information, the broadcasting of the currently playing target Streaming Media in the first account side is determined
Progress, is sent directly to the second terminal equipment so that described by the playing progress rate of the first account side
The playing progress rate of the second account side is adjusted to enter with the broadcasting of the first account side by second terminal equipment
Degree is identical.
3. method according to claim 1, it is characterised in that described getting is passed through by the first account
First terminal equipment asks it to the real-time sharing that the second account of second terminal equipment initiates target Streaming Media
Afterwards, methods described 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:
What first account was initiated shares whether target account quantity shares number of times no more than single-stage, if not
Exceed, be then verified, otherwise verify and do not pass through;
Rank is shared based on first account, judges first account whether in the target stream
The maximum of media shares rank, does not pass through if so, then verifying, is otherwise verified.
4. method according to claim 1, it is characterised in that described by described in the first account side
Playing progress rate is sent directly to after the second terminal equipment, and methods described also includes:
Get the default of second account and share duration threshold value, when second account it is current when sharing
Length reaches default when sharing duration threshold value, and control stops sending mesh to the second account of the second terminal equipment
Mark Streaming Media.
5. method according to claim 1, it is characterised in that described by described in the first account side
Playing progress rate is sent directly to after the second terminal equipment, and methods described also includes:
When first account exits the access target Streaming Media, the access of second account is got
Authority;
If the access rights of second account are to allow individually to access the target Streaming Media that other accounts are shared,
The operation that second account exports the target Streaming Media is not processed then;If second account
Access rights are not allow individually to access the target Streaming Media that other accounts are shared, then control the second account to exit
Access the target Streaming Media.
6. method according to claim 3, it is characterised in that described by described in the first account side
Playing progress rate is sent directly to after the second terminal equipment, and methods described also includes:
When second account exits the access target Streaming Media, by dividing for the initiation of first account
Enjoy target account quantity and subtract one.
7. a kind of information sharing method, is applied to first terminal equipment, it is characterised in that methods described includes:
The request of the acquisition target Streaming Media based on the first account is sent to server side, the service is received
The target Streaming Media of device side return simultaneously exports the target Streaming Media;
Generation is asked with the real-time sharing for the target Streaming Media of the second account of second terminal equipment;
Send the real-time sharing to ask to the server side so that the server side is based on described real-time
Share request, generate the link of sharing of the target Streaming Media, share described in transmission and link to second terminal and set
The second standby account, detect second account be based on it is described when sharing link and obtaining the target Streaming Media,
The clock information of the first account side is got, the clock information control based on the first account side is described
Playing progress rate of the target Streaming Media in the second account side so that first account and the second account have
Standby identical playing progress rate.
8. method according to claim 7, it is characterised in that the transmission real-time sharing request
Before to the server side, methods described 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:
What first account was initiated shares whether target account quantity shares number of times no more than single-stage, if not
Exceed, be then verified, otherwise verify and do not pass through;
Rank is shared based on first account, is judged whether first account possesses and is shared authority,
If possess sharing authority, it is verified, otherwise verifies and do not pass through.
9. method according to claim 8, it is characterised in that the transmission real-time sharing please
Ask to the server side, methods described also includes:
When second account exits the access target Streaming Media, by dividing for the initiation of first account
Enjoy target account quantity and subtract one.
10. a kind of information sharing method, is applied to second terminal equipment, it is characterised in that methods described
Including:
Server side is received according to first terminal equipment for the real-time of target Streaming Media based on the second account
Share and ask what is generated and send to share link;
Link is shared to the server side acquisition target Streaming Media based on described by second account, is connect
Receive the clock information of the first account side that the server side is sent;
Clock information based on the first account side controls the playing progress rate of the target Streaming Media, and is based on
The playing progress rate exports the target Streaming Media, to cause that the second account possesses identical with first account
Playing progress rate.
11. methods according to claim 10, it is characterised in that described defeated based on the playing progress rate
Go out after the target Streaming Media, methods described also includes:
Get the default of second account and share duration threshold value, when second account it is current when sharing
Length reaches default when sharing duration threshold value, and control stops the output target Streaming Media.
12. a kind of servers, it is characterised in that the server includes:
First communication unit, for the first account based on first terminal equipment acquisition target Streaming Media please
Ask, the target Streaming Media is sent to the first terminal equipment;Get whole by first by the first account
End equipment is asked to the real-time sharing that the second account of second terminal equipment initiates target Streaming Media;
Information generating unit, for based on real-time sharing request, by first account and the target
Streaming Media is associated, and generate the target Streaming Media shares link;
Second communication unit, described the second account for linking to second terminal equipment is shared for sending;
Information process unit, the link acquisition target is shared for detecting second account based on described
During Streaming Media, the clock information of the first account side is got, the clock letter based on the first account side
Playing progress rate of the breath control target Streaming Media in the second account side so that first account and
Second account possesses identical playing progress rate.
13. servers according to claim 12, it is characterised in that
Information process unit, for based on the clock information, determining the currently playing institute in the first account side
The playing progress rate of target Streaming Media is stated, the playing progress rate of the first account side is sent directly to described second
Terminal device so that the second terminal equipment by the playing progress rate of the second account side be adjusted to it is described
The playing progress rate of the first account side is identical.
14. servers according to claim 12, it is characterised in that
First communication unit, for being tested real-time sharing request based on real-time sharing rule
Card;
Wherein, the real-time sharing rule includes at least one of:
What first account was initiated shares whether target account quantity shares number of times no more than single-stage, if not
Exceed, be then verified, otherwise verify and do not pass through;
Rank is shared based on first account, judges first account whether in the target stream
The maximum of media shares rank, does not pass through if so, then verifying, is otherwise verified.
15. servers according to claim 12, it is characterised in that
Described information processing unit, duration threshold value is shared for getting the default of second account, works as institute
State the current duration of sharing of the second account and reach default when sharing duration threshold value, control stops to described second eventually
Second account of end equipment sends target Streaming Media.
16. servers according to claim 12, it is characterised in that
Described information processing unit, for when first account exits the access target Streaming Media, obtaining
Get the access rights of second account;If the access rights of second account are to allow individually to access it
The target Streaming Media that his account is shared, then do not enter to the operation that second account exports the target Streaming Media
Row treatment;If the access rights of second account are not allow individually to access the target stream that other accounts are shared
Media, then control the second account to exit the access target Streaming Media.
17. servers according to claim 14, it is characterised in that described information processing unit,
For when second account exits the access target Streaming Media, by dividing for the initiation of first account
Enjoy target account quantity and subtract one.
A kind of 18. terminal devices, it is characterised in that including:
Request generation unit, for sending asking for the acquisition target Streaming Media based on the first account to server side
Ask, receive the target Streaming Media of the server side return and export the target Streaming Media;Generation and the
The real-time sharing request for the target Streaming Media of the second account of two terminal devices;
Request transmitting unit, asks to the server side for sending the real-time sharing.
19. terminal devices according to claim 18, it is characterised in that the request generation unit,
For being verified to real-time sharing request based on real-time sharing rule;
Wherein, the real-time sharing rule includes at least one of:
What first account was initiated shares whether target account quantity shares number of times no more than single-stage, if not
Exceed, be then verified, otherwise verify and do not pass through;
Rank is shared based on first account, is judged whether first account possesses and is shared authority,
If possess sharing authority, it is verified, otherwise verifies and do not pass through.
20. terminal devices according to claim 19, it is characterised in that the request generation unit,
For when second account exits the access target Streaming Media, by dividing for the initiation of first account
Enjoy target account quantity and subtract one.
A kind of 21. terminal devices, it is characterised in that including:
Information receiving unit, for receiving pin of the server side according to first terminal equipment based on the second account
What the real-time sharing request to target Streaming Media was generated and sent shares link;
Information process unit, for sharing link to server side acquisition based on described by second account
The target Streaming Media, receives the clock information of the first account side that the server side is sent;Base
Clock information in the first account side controls the playing progress rate of the target Streaming Media, and is broadcast based on described
Degree of putting into exports the target Streaming Media.
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 true CN106850390A (en) | 2017-06-13 |
CN106850390B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911717A (en) * | 2017-11-27 | 2018-04-13 | 四川金熊猫新媒体有限公司 | Screen control method, apparatus and system |
CN109634683A (en) * | 2018-12-05 | 2019-04-16 | 珠海市小源科技有限公司 | The configuration of short message operation frame and method for pushing and device based on enterprise expectations |
CN109727151A (en) * | 2018-12-29 | 2019-05-07 | 咪咕互动娱乐有限公司 | A kind of information processing method, device and computer storage medium |
CN112073738A (en) * | 2020-08-11 | 2020-12-11 | 北京城市网邻信息技术有限公司 | Information processing method and device |
CN113411652A (en) * | 2021-07-02 | 2021-09-17 | 广州酷狗计算机科技有限公司 | Media resource playing method and device, storage medium and electronic equipment |
CN113875193A (en) * | 2019-05-31 | 2021-12-31 | 苹果公司 | Multi-user device in an interconnected home environment |
Citations (3)
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 |
-
2015
- 2015-12-07 CN CN201510889510.3A patent/CN106850390B/en active Active
Patent Citations (3)
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 |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107911717A (en) * | 2017-11-27 | 2018-04-13 | 四川金熊猫新媒体有限公司 | Screen control method, apparatus and system |
CN109634683A (en) * | 2018-12-05 | 2019-04-16 | 珠海市小源科技有限公司 | The configuration of short message operation frame and method for pushing and device based on enterprise expectations |
CN109634683B (en) * | 2018-12-05 | 2021-12-28 | 珠海市小源科技有限公司 | Short message operation framework configuration and pushing method and device based on enterprise expectation |
CN109727151A (en) * | 2018-12-29 | 2019-05-07 | 咪咕互动娱乐有限公司 | A kind of information processing method, device and computer storage medium |
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 |
US11621003B2 (en) | 2019-05-31 | 2023-04-04 | Apple Inc. | Multi-user devices in a connected home environment |
CN112073738A (en) * | 2020-08-11 | 2020-12-11 | 北京城市网邻信息技术有限公司 | Information processing method and device |
CN113411652A (en) * | 2021-07-02 | 2021-09-17 | 广州酷狗计算机科技有限公司 | Media resource playing method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106850390B (en) | 2019-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106850390A (en) | A kind of information sharing method, server and terminal device | |
CN107493280B (en) | User authentication method, intelligent gateway and authentication server | |
US7251832B2 (en) | Secure streaming container | |
US8806577B2 (en) | System for communicating with a mobile device server | |
US10356065B2 (en) | Apparatus and method for managing software applications of a mobile device server | |
US20080268947A1 (en) | Cross platform gaming | |
CN105704139A (en) | RTMP protocol-based streaming media service user authentication method | |
CN107408277A (en) | The control method and program of server, server | |
US20110197264A1 (en) | System and method for remote media access | |
CN107145769A (en) | A kind of digital rights management method about DRM, equipment and system | |
US20230071489A1 (en) | Method of and system for providing access to access restricted content to a user | |
CN110248215A (en) | Video playing chain method for authenticating, device, system, server and storage medium | |
CN106533923A (en) | Information processing method and device based on instant messaging software | |
CN114079971A (en) | Service flow management and control method, system, DPI node and storage medium | |
CN110297717A (en) | Determine method, apparatus, electronic equipment and the storage medium of client application participator | |
CN104639421A (en) | Instant communication information processing method and instant communication information processing system based on intelligent television | |
CN106559787A (en) | Method for network access, apparatus and system | |
CN106131603B (en) | A kind of video broadcasting method and system based on dynamic dictionary | |
US20230156254A1 (en) | Systems and methods to temporarily grant access to a digital gateway | |
CN104702650A (en) | Method and device for acquiring application pages | |
CN107018132B (en) | Cloud platform encrypting and decrypting method and system based on open network environment | |
WO2016103039A1 (en) | A method for controlling the sharing of at least one electronic content between a first user equipment and at least a second user equipment | |
CN106792672A (en) | Networking methods, system and its equipment based on voice broadcast dynamic key | |
CN113973009A (en) | Method for giving and acquiring cloud game use right, storage medium and electronic equipment | |
CN108259972A (en) | The display control method and playback equipment and medium product of broadcasting scene |
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 |