CN104811773B - Channel based on door chain plays implementation method, system and equipment - Google Patents

Channel based on door chain plays implementation method, system and equipment Download PDF

Info

Publication number
CN104811773B
CN104811773B CN201510208756.XA CN201510208756A CN104811773B CN 104811773 B CN104811773 B CN 104811773B CN 201510208756 A CN201510208756 A CN 201510208756A CN 104811773 B CN104811773 B CN 104811773B
Authority
CN
China
Prior art keywords
live
character string
client
streaming server
video
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.)
Expired - Fee Related
Application number
CN201510208756.XA
Other languages
Chinese (zh)
Other versions
CN104811773A (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.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology 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 TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201510208756.XA priority Critical patent/CN104811773B/en
Publication of CN104811773A publication Critical patent/CN104811773A/en
Application granted granted Critical
Publication of CN104811773B publication Critical patent/CN104811773B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/26606Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing entitlement messages, e.g. Entitlement Control Message [ECM] or Entitlement Management Message [EMM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Playing implementation method, system and equipment, methods described the invention discloses a kind of channel based on door chain includes:Live streaming server receives the video-see request that client is sent, and according to timestamp and default key, generates live authority character string;Live streaming server sends the live authority character string and first video segment to client;The video segment that live streaming server receives the live authority character string of carrying that client is sent obtains request;Live streaming server is according to the term of validity of live authority character string, client is verified, when verification passes through, updates the term of validity of the live authority character string, the live authority character string after next video segment and renewal is returned, is finished until all video segments obtain.This method when user uses the video resource of each channel, realized by real-time live authority licensing scheme it is antitheft, so as to preferably avoid the user of no access right from using the situation of video resource.

Description

Channel based on door chain plays implementation method, system and equipment
Technical field
The present invention relates to Internet technical field, more particularly to a kind of channel based on door chain plays implementation method, is System and equipment.
Background technology
With the continuous development of TV tech, television channel is more and more, for TV station, each television channel There are some editors or other staff, it is necessary to obtain the video resource of TV station to use.
If institute can be got without control of authority, any user to the user of the video resource using TV station It some video resources, will be unfavorable for very much the reasonable employment of resource, while also result in the confusion that resource uses, can not ensure that video makes Security.
Therefore, for the video resource use demand of a large number of users, preferably realize various video resources rationally, specification makes With avoiding the user of no authority from having no right the video resource that uses using it, realize makes for different users according to its authority With the video resource of different channel, while also ensure the security that video resource uses, be very necessary.
In addition, for the video resource of a TV station, it is also possible to can be by the user in other Fei Ben TV stations Usurped, therefore, safe antitheft is also very necessary.
The content of the invention
The present invention provides a kind of channel based on door chain and plays implementation method, system and equipment, to solve existing skill Channel video present in art plays the problem of easily stolen use, can preferably realize the real-time authorization of play right, more preferably Ground ensures the safe handling of channel video.
The present invention provides a kind of channel based on door chain and plays implementation method, including:
Live streaming server receives the video-see request that client is sent, according to timestamp and default key, generation Live authority character string;
Live streaming server sends the live authority character string and first video segment to client;
The video segment that live streaming server receives the live authority character string of carrying that client is sent obtains request;
Live streaming server verifies, when verification passes through, more according to the term of validity of live authority character string to client The term of validity of the new live authority character string, the live authority character string after next video segment and renewal is returned to, until All video segments are obtained and finished.
Some beneficial effects of the embodiment of the present invention can include:
When live streaming server receives the video-see request that client is sent, it can be given birth to according to timestamp and default key Into live authority character string, by the term of validity of live authority character string, the real-time authorization to client is realized, is being received every time When obtaining request to the video segment of user, the term of validity of live authority character string is updated, ensures the smooth acquisition of video, even if Unauthorized user gets video segment, can only also play the time span of a term of validity, so as to effectively avoid video Resource is stolen to be used, usurps;This method can realize the real-time authorization of play right, better ensure that the safety of channel video and make With;And can ensure various video resources rationally, Normalization rule, the user for being effectively prevented from no authority haves no right to use using it Video resource, different users can use the video resource of different channel according to its authority, while also ensure video resource The security used.
In some optional embodiments, live streaming server is according to the term of validity of live authority character string, to client Verified, specifically included:
Live streaming server parses timestamp and default key from live authority character string, according to default key The legitimacy of client is verified, and determines whether the term of validity of live authority character string is expired according to timestamp.
In the embodiment, by the term of validity of live authority character string, real-time authorized client uses video resource Time, so as to better assure that the use control and management of the safe handling of video resource, more conducively video resource.
In some optional embodiments, the above method also includes:
Live streaming server receive that login service device obtains and send using belonging to the ID of client login, user The default set password and channel list of tenant, and cache.
In the embodiment, live streaming server by login service device provide using client log in ID, user The default set password and channel list of tenant, so as to the default set password according to user's tenant, verify making for user With authority, and provide the video resource for the channel for having access right in channel list to client and use, further ensure and regard The reasonable employment of frequency resource.
In some optional embodiments, also include acquiescence in the video-see request that live streaming server receives The broadcast address of group password and the channel of selection viewing;
Live streaming server verifies to client, in addition to:
Live streaming server determines that user has access right according to the ID and default set password.
In the embodiment, live streaming server passes through caching when receiving the video-see request of client transmission Information, access right checking is carried out to client, the safe and reasonable for further ensuring video resource uses.
The embodiment of the present invention also provides a kind of live streaming server, including:
Receiving module, the video-see for receiving client transmission are asked, and the carrying that reception client is sent is straight The video segment for broadcasting authority character string obtains request;
Generation module, for when the receiving module receives video-see request, according to timestamp and default close Key, generate live authority character string;
Inspection module, for the receiving module receive video segment obtain request when, according to live authority character The term of validity of string, is verified to client, when verification passes through, the term of validity of the live authority character string is updated, until institute There is video segment to obtain to finish;
Sending module, for after the generation module generates live authority character string, being sent to client described live Authority character string and first video segment;And after the term of validity that inspection module updates the live authority character string, to Client returns to the live authority character string after next video segment and renewal.
In some optional embodiments, the inspection module, it is specifically used for:
Timestamp and default key are parsed from live authority character string, according to default key verification client Legitimacy, and determine whether the term of validity of live authority character string is expired according to timestamp.
In some optional embodiments, above-mentioned live streaming server, in addition to cache module;
The receiving module, be additionally operable to receive login service device obtains and sends using client login ID, The default set password and channel list of user's tenant;
The cache module, ID, the default set password of user's tenant logged in for caching using client And channel list.
The embodiment of the present invention also provides a kind of client, including:
Sending module, for sending video-see request to live streaming server, and send and take to live streaming server Video segment with live authority character string obtains request;
Receiving module, for receiving live authority character string and first video segment that live streaming server is sent, its Described in live authority character string be live streaming server receive video-see request when, according to timestamp and default key The live authority character string of generation;And receive next video segment and the broadcasting right after renewal that live streaming server is sent Character string is limited, is finished until all video segments obtain, wherein, the live authority word after next video segment and renewal When symbol string is that live streaming server receives video segment acquisition request, according to the term of validity of live authority character string, to client End is verified, and when verification passes through, is returned after the term of validity of the renewal live authority character string.
The embodiment of the present invention also provides a kind of channel broadcasting based on door chain and realizes system, including:Above-mentioned live TV stream Server and above-mentioned client.
In some optional embodiments, the above-mentioned channel based on door chain, which plays, realizes system, in addition to:
Login service device, for obtain and send using client log in ID, user's tenant default set Password and channel list give live TV stream server buffer.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart that the channel based on door chain plays implementation method in the embodiment of the present invention;
Fig. 2 is the flow chart that the channel based on door chain plays implementation method in the embodiment of the present invention one;
Fig. 3 is the flow chart that the channel based on door chain plays implementation method in the embodiment of the present invention two;
Fig. 4 is the structural representation that the channel based on door chain plays system of realizing in the embodiment of the present invention;
Fig. 5 is the structural representation of live streaming server in the embodiment of the present invention;
Fig. 6 is the structural representation of client in the embodiment of the present invention.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
In order to solve the problems of the prior art, the embodiment of the present invention provides a kind of channel based on door chain and plays realization Method, the video resource that different users uses different channel according to its authority can be directed to, avoid channel video and play quilt The problem of usurping, the real-time authorization of play right can be preferably realized, ensures the safe handling of channel video.
Channel provided in an embodiment of the present invention based on door chain plays implementation method, and its flow is as shown in figure 1, including such as Lower step:
Step S101:Live streaming server receives the video-see request that client is sent.
After the channel of viewing is wanted in client selection, video-see request is sent to live streaming server.
Step S102:Live streaming server generates live authority character string according to timestamp and default key.
After live streaming server receives video-see request, according to timestamp and default key, live authority is generated Character string, i.e., live token.
Such as:Live token can be by carrying out Message-Digest Algorithm 5 (Message- to timestamp and default key Digest Algorithm 5, MD5) encryption after obtain, can also be obtained by other selected generation methods.
Live token has certain term of validity, can realize the control to video resource usage time, and client is taken After live token, video resource can be used before the deadline, if the live token term of validity is expired, client will not Video resource can be used again.
Step S103:Live streaming server sends live authority character string and first video segment to client.
After live streaming server receives video-see request, the live token of generation can be provided to client, meanwhile, First video segment can be provided to client to watch for user.
Such as:Net cast stream can be 10 seconds video clip files of one, for example TS files, client are taken live After token, if the live token term of validity is 10 seconds, that client can only normally watch first TS file.Certainly it is live The token term of validity and the length of video clip files are not limited to 10 seconds, can be set as the case may be.
Step S104:The video segment that live streaming server receives the live authority character string of carrying that client is sent obtains Request.
, it is necessary to be sent to live streaming server live when client needs to obtain next video segment of net cast stream Authority character string, verified by live streaming server, when the verification of live authority character string passes through, live streaming server just can be to The next video clip files of client transmissions.
Such as:Client will receive live token and is sent to live streaming server when will receive first TS file, use Verification when second TS file is obtained, when client obtains next TS files every time, it is required for that a upper TS will be obtained The live token received during file is sent to live streaming server and verified.
Step S105:Live streaming server verifies according to the term of validity of live authority character string to client.
Live streaming server verifies, school according to the term of validity of live authority character string to the access right of client Test by when, can just provide next video clip files to client.
Live streaming server parses timestamp and default key from live authority character string, according to default key The legitimacy of client is verified, and determines whether the term of validity of live authority character string is expired according to timestamp.By live The term of validity of authority character string, real-time authorized client use the time of video resource, so as to better assure that video provides The use control and management of the safe handling in source, more conducively video resource.
Step S106:When live streaming server verification passes through, the term of validity of live authority character string is updated, is returned next Live authority character string after video segment and renewal, is finished until all video segments obtain.
Live streaming server can update the term of validity of live authority character string when carrying out verification to client and passing through, than Such as by extension of validity 10 seconds, there is provided during video segment next to client, the live authority word after also extending the expiration date Symbol string is sent to client, for use in verification next time, so by updating the term of validity of live authority character string, realizes The offer successively of video resource, and ensure smooth, the smooth playing of video resource.
When last video segment of client request, while video segment can be provided to client as described above, Continue to provide the live authority character string after renewal.Optionally, can also be no longer during last video segment of client request Live authority character string after renewal is provided, and last video segment is only provided.
Technical scheme provided in an embodiment of the present invention, live streaming server receive the video-see request that client is sent When, live authority character string can be generated according to timestamp and default key, by the term of validity of live authority character string, realized To the real-time authorization of client, when the video segment for receiving user every time obtains request, live authority character string is updated The term of validity, ensure the smooth acquisition of video, even if unauthorized user gets video segment, can only also play term of validity Time span, so as to effectively avoid the stolen use of video resource, usurp;This method can realize awarding in real time for play right Power, better ensures that the safe handling of channel video;And can ensure various video resources rationally, Normalization rule, effectively keep away The user for exempting from no authority haves no right the video resource that uses using it, and different users can use different channel according to its authority Video resource, while also ensure the security that video resource uses.
Embodiment one
The embodiment of the present invention one provides a kind of channel based on door chain and plays implementation method, is provided in embodiment one On the basis of method, increase the verification step to the affiliated default set authority of client, its flow is as shown in Fig. 2 including following step Suddenly:
Step S201:Live streaming server receives the user logged in using client that login service device is obtained and sent ID, user's tenant default set password and channel list, and cache.
Login service device gets the ID logged in using client, the default set password and channel of user's tenant After list, the ID logged in using client, the default set password of user's tenant and channel list are supplied to live Streaming server, these information of live TV stream server buffer, use during subsequently to carry out rights management, so as to realize according to user Affiliated tenant and the default set password of tenant, carry out channel resource and license.
Step S202:Live streaming server receives the video-see request that client is sent.
Also include default set password in the video-see request that live streaming server receives and select the channel of viewing Broadcast address;Wherein, default set password asks to use for determining whether user has permission to use according to user's tenant Channel video resource, the broadcast address of channel for the selection viewing that watching request includes can be channel ID.
Step S203:Live streaming server determines that user has access right according to ID and default set password.
Live streaming server verifies to client in above-described embodiment one, in addition to close according to ID and default set Code determines that user has the step of access right.
After live streaming server receives watching request, default set password in ID and watching request determines Whether user has permission the video resource for using asked channel, when it is determined that user has permission the video resource using the channel When, provide a user the video resource of the channel of selected viewing.
Determine that user has access right, can specifically verify send request the channel ID that is asked of client whether be Channel ID in default set, it can also verify whether the IP address for the client for sending request is legal.
Step S204:According to timestamp and default key, live authority character string is generated.
In the embodiment, regarding for asked channel is used determining that user's tenant has permission by default set password During frequency resource, live authority character string is generated, and continue subsequent step.
Technical scheme provided in an embodiment of the present invention, live streaming server step on the use client that login service device provides The ID of record, the default set password of user's tenant and channel list, please in the video-see for receiving client transmission When asking, according to the information of caching, such as default set password of user's tenant etc., access right checking is carried out to client, After the access right for verifying user, then provide the video resource for the channel for having access right in channel list to client and use, Further ensure safety, the reasonable employment of video resource.
Embodiment two
The embodiment of the present invention two provides the concrete methods of realizing that a kind of channel based on door chain plays, its flow such as Fig. 3 It is shown, comprise the following steps:
Step S301:It is close that login service device obtains the ID logged in using client, the default set of user's tenant Code and channel list, are sent to live TV stream server buffer.
Login service device will use the default set password and channel list of the ID of client login, user's tenant It is supplied to live streaming server, these information of live TV stream server buffer, use during subsequently to carry out rights management, so as to real The now default set password of the tenant according to belonging to user and tenant, carry out channel resource and license.
Login service device obtains the default set password of the user's tenant logged in using client, can have following two Optional mode.
Mode one:Login service device receives the ID and user cipher that client is sent, close according to ID and user Code, determine the default set password of user's tenant.
Which generates default set password by login service device according to the ID and user cipher of login user, obtains default set Live streaming server is supplied to after password, it is also possible to be supplied to client in case follow-up use.
Specifically, ID and user cipher that login service device can be sent according to client, generate user right word Symbol string;According to user right character string, determine user's tenant and obtain the default set password of tenant.
Mode two:Login service device receives the acquiescence of ID, user cipher and user's tenant that client is sent Group password, when determining that the default set password that user sends is legal according to ID and user cipher, obtains user's tenant Default set password.
Which has client that default set password is reported into login service device, and the default set password reported can be client End is obtained by other approach or once issued before by login service device.
Step S302:Live streaming server receives the user logged in using client that login service device is obtained and sent ID, user's tenant default set password and channel list, and cache.
Step S303:Client sends channel list acquisition request and gives login service device.
, it is necessary to first obtain channel list information from login service device when user wants the video resource of viewing channel, so as to Select the channel to be watched.
Step S304:Login service device returns to the channel list and default set for including all channel broadcast address to client Password.
When client will obtain the video resource of channel, send channel list to login service device and obtain request, to obtain Know the information such as channel list and default set password, so as to know the broadcast address of each channel, taken according to broadcast address to live TV stream The video resource of business device request corresponding channel.
Login service device receives the channel list that client is sent and obtains request, is obtained according to the channel list that client is sent Request is taken, the process of the channel list and default set password that include all channel broadcast address is returned to client, can be included: Login service device receives the channel list including user right character string that client is sent and obtains request;Login service device according to The broadcast address of all channels below the default set of user right string searching user's tenant;Login service device is to visitor Family end returns to the channel list and default set password for including all channel broadcast address.
Login service device obtains the user right character string in request according to channel list, i.e. user token, searches user The broadcast address of all channels below the default set of tenant, and by the channel list including all channel broadcast address and Default set password is supplied to client.Default set password can be also supplied to client standby by login service device simultaneously.
Step S305:Client sends the watching request of the broadcast address for the channel for including default set password and selection viewing To live streaming server.
Client after login service device gets channel list and default set password including all channel broadcast address, It can select to want the channel watched from channel list, it is close using default set according to the broadcast address of the channel of selection viewing Code sends watching request, the video resource of the selected channel of request viewing to live streaming server.What watching request included The broadcast address for selecting the channel of viewing can be channel ID.
Step S306:Live streaming server receives the watching request that client is sent.
Step S307:Live streaming server determines that user has access right according to ID and default set password.
After live streaming server receives watching request, default set password in ID and watching request determines Whether user has permission the video resource for using asked channel, when it is determined that user has permission the video resource using the channel When, continue subsequent step.
Step S308:Live streaming server generates live authority character string according to timestamp and default key.
Live streaming server uses asked channel determining that user's tenant has permission by default set password During video resource, live authority character string is generated, and continue subsequent step.
Step S310:Live streaming server sends live authority character string and first video segment to client.
Such as:Net cast stream is every 10 seconds TS files of one, after client takes live token, can normally be received First TS file is seen, when receiving second ts file, it is necessary to send live token to live streaming server.
Step S311:The video segment that live streaming server receives the live authority character string of carrying that client is sent obtains Request.
Live authority character string can be placed on behind the address of the page client by you, with question mark and address point above Cut open, without live token user, the page for the channel of not opening.
Step S312:Live streaming server verifies according to the term of validity of live authority character string to client.
Such as:Live streaming server verifies to live token, after verification passes through, transmits next TS files to visitor Family end.
Such as:The IP address of the client of live streaming server verification transmission request, the live token term of validity, and Whether channel ID is channel ID in default set etc..
Step S313:When live streaming server verification passes through, the term of validity of live authority character string is updated.
The time span that live streaming server sets the extension of validity of live authority character string, such as will be live Token extension of validity 10 seconds.If the web page address with live token is copied into other people, other people also can only See the content of 10 seconds.
Step S314:Live streaming server returns to next video segment and the live authority character after renewal to client String.
Live streaming server returns to next video segment and the live authority character string after renewal until really to client Fixed all video segments, which obtain, to be finished.
When continued broadcasting again after pause plays, client needs to resend request, and live streaming server regenerates live Token is to client.
Step S315:Whether video segment, which obtains, finishes.
If so, performing step S316 terminates flow, asked if it is not, return to step S311 continues monitoring reception video segment acquisition Ask.
Step S316:Terminate.
Technical scheme provided in an embodiment of the present invention, using the default set password of user's tenant to using video resource User carry out rights management and control, specifically, by login service device by ID, the default set password of user's tenant Live TV stream server buffer is sent to information such as channel lists, when client obtains video resource from live streaming server, Live streaming server can confirm according to the information such as ID and default set password to the access right of client, work as confirmation When client has access right, the video resource of the channel of viewing is provided and selected to client, and passes through live authority word Symbol string realizes the real-time control to video resource access right, so as to realize the user for different user groups, according to the right to use Limit is avoided the user of no authority from having no right the video resource that uses using it, is realized video using the video resource of different channel Resource reasonable employment, ensure security and normalization that video resource uses.This method realization simply, conveniently, can be well The reasonable employment of video resource is realized, avoids video resource from using managerial confusion.
Based on same inventive concept, the embodiment of the present invention also provides a kind of channel broadcasting based on door chain and realizes system, The system architecture as shown in figure 4, including:Live streaming server 401 and client 402.
Live streaming server 401, for receiving the video-see request of client transmission, according to timestamp and default close Key, generate live authority character string;The live authority character string and first video segment are sent to client;Receive client The video segment for the live authority character string of carrying that end is sent obtains request;According to the term of validity of live authority character string, to visitor Family end is verified, and verification updates the term of validity of the live authority character string when passing through, and returns to next video segment and more Live authority character string after new, finished until all video segments obtain.
Client 402, asked for sending video-see to live streaming server, receive the straight of live streaming server return Broadcast authority character string and first video segment;And send video segment and obtain request to live streaming server, receive live Next video segment that streaming server returns and the live authority character string after renewal, until all video segments have obtained Finish.
Preferably, above-mentioned live streaming server 401, specifically for parsing timestamp and pre- from live authority character string If key, determine live authority character string according to the legitimacy of default key verification client, and according to timestamp Whether the term of validity is expired.
Preferably, above-mentioned live streaming server 401, it is additionally operable to receive the use client that login service device is obtained and sent The ID of login, the default set password of user's tenant and channel list, and cache.And live streaming server 401 Determine that user has access right according to ID and default set password.
Preferably, the above-mentioned channel based on door chain, which plays, realizes that system also includes:
Login service device 403, is used for, obtain and send the ID logged in using client, user's tenant it is silent Recognize group password and channel list and give live TV stream server buffer.
The structure of above-mentioned live streaming server 401 as shown in figure 5, including:Receiving module 501, generation module 502, examine Module 503 and sending module 504.
Receiving module 501, for receiving the video-see request of client transmission, and receive the carrying that client is sent The video segment of live authority character string obtains request.
Generation module 502, for when receiving module 501 receives video-see request, according to timestamp and default Key, generate live authority character string.
Inspection module 503, for receiving module 501 receive video segment obtain request when, according to live authority word The term of validity of string is accorded with, client is verified, when verification passes through, updates the term of validity of live authority character string, until all Video segment is obtained and finished.
Sending module 504, for after generation module 502 generates live authority character string, broadcasting right to be sent to client Limit character string and first video segment;And after the term of validity that inspection module 503 updates live authority character string, to client End returns to the live authority character string after next video segment and renewal.
Preferably, above-mentioned inspection module 503, specifically for parsing timestamp and default from live authority character string Key, the effective of live authority character string is determined according to the legitimacy of default key verification client, and according to timestamp Whether the phase is expired.
Preferably, above-mentioned live streaming server, in addition to cache module 505.
Above-mentioned receiving module 501, it is additionally operable to receive the user logged in using client that login service device is obtained and sent ID, user's tenant default set password and channel list.
Above-mentioned cache module 505, the ID logged in for caching using client, the default set of user's tenant are close Code and channel list.
Preferably, default set password and choosing are also included in the video-see request that above-mentioned receiving module 501 receives Select the broadcast address of the channel of viewing.Accordingly, above-mentioned inspection module 503 verifies to client, in addition to:Live TV stream takes Business device determines that user has access right according to ID and default set password.
The structure of above-mentioned client 402 as shown in fig. 6, including:Sending module 601 and receiving module 602.
Sending module 601, for sending video-see request to live streaming server, and sent to live streaming server The video segment for carrying live authority character string obtains request
Receiving module 602, for receiving live authority character string and first video segment that live streaming server is sent, When wherein live authority character string is that live streaming server receives video-see request, given birth to according to timestamp and default key Into live authority character string;And receive next video segment and the live authority after renewal that live streaming server is sent Character string, finished until all video segments obtain, wherein, the live authority character string after next video segment and renewal is When live streaming server receives video segment acquisition request, according to the term of validity of live authority character string, client is carried out Verification, verification is when passing through, and updates what is returned after the term of validity of live authority character string.
Preferably, above-mentioned sending module 601, be additionally operable to login service device send using client log in ID, The default set password and channel list of user's tenant.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. a kind of channel based on door chain plays implementation method, it is characterised in that including:
Live streaming server receives the video-see request that client is sent, live according to timestamp and default key, generation Authority character string;
Live streaming server sends the live authority character string and first video segment to client;
The video segment that live streaming server receives the live authority character string of carrying that client is sent obtains request;
Live streaming server verifies to client according to the term of validity of live authority character string, when verification passes through, updates institute The term of validity of live authority character string is stated, returns to the live authority character string after next video segment and renewal, until all Video segment is obtained and finished.
2. the method as described in claim 1, it is characterised in that live streaming server is effective according to live authority character string Phase, client is verified, specifically included:
Live streaming server parses timestamp and default key from live authority character string, according to default key verification The legitimacy of client, and determine whether the term of validity of live authority character string is expired according to timestamp.
3. the method as described in claim 1, it is characterised in that also include:
Live streaming server receives the ID logged in using client, the user's tenant that login service device is obtained and sent Default set password and channel list, and cache.
4. method as claimed in claim 3, it is characterised in that in the video-see request that live streaming server receives Also include the broadcast address of default set password and the channel of selection viewing;
Live streaming server verifies to client, in addition to:
Live streaming server determines that user has access right according to the ID and default set password.
A kind of 5. live streaming server, it is characterised in that including:
Receiving module, for receiving the video-see request of client transmission, and receive the carrying broadcasting right that client is sent The video segment for limiting character string obtains request;
Generation module, for when the receiving module receives video-see request, according to timestamp and default key, giving birth to Into live authority character string;
Inspection module, for the receiving module receive video segment obtain request when, according to live authority character string The term of validity, client is verified, when verification passes through, update the term of validity of the live authority character string, regarded until all Frequency fragment is obtained and finished;
Sending module, for after the generation module generates live authority character string, the live authority to be sent to client Character string and first video segment;And after the term of validity that inspection module updates the live authority character string, to client End returns to the live authority character string after next video segment and renewal.
6. live streaming server as claimed in claim 5, it is characterised in that the inspection module, be specifically used for:
Timestamp and default key are parsed from live authority character string, according to the legal of default key verification client Property, and determine whether the term of validity of live authority character string is expired according to timestamp.
7. live streaming server as claimed in claim 5, it is characterised in that also including cache module;
The receiving module, it is additionally operable to receive the ID logged in using client, the user that login service device is obtained and sent The default set password and channel list of tenant;
The cache module, ID, the default set password and frequency of user's tenant logged in for caching using client Road list.
A kind of 8. client, it is characterised in that including:
Sending module, for sending video-see request to live streaming server, and send and carried directly to live streaming server The video segment for broadcasting authority character string obtains request;
Receiving module, for receiving live authority character string and first video segment that live streaming server is sent, wherein institute When to state live authority character string be that live streaming server receives video-see request, generated according to timestamp and default key Live authority character string;And receive next video segment and the live authority word after renewal that live streaming server is sent Symbol string, is finished until all video segments obtain, wherein, the live authority character string after next video segment and renewal When being that live streaming server receives video segment acquisition request, according to the term of validity of live authority character string, client is entered Row verification, when verification passes through, returned after the term of validity of the renewal live authority character string.
9. a kind of channel based on door chain, which plays, realizes system, it is characterised in that including:As described in claim 5-7 is any Live streaming server and client as claimed in claim 8.
10. system as claimed in claim 9, it is characterised in that also include:
Login service device, for obtain and send using client log in ID, user's tenant default set password Live TV stream server buffer is given with channel list.
CN201510208756.XA 2015-04-28 2015-04-28 Channel based on door chain plays implementation method, system and equipment Expired - Fee Related CN104811773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510208756.XA CN104811773B (en) 2015-04-28 2015-04-28 Channel based on door chain plays implementation method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510208756.XA CN104811773B (en) 2015-04-28 2015-04-28 Channel based on door chain plays implementation method, system and equipment

Publications (2)

Publication Number Publication Date
CN104811773A CN104811773A (en) 2015-07-29
CN104811773B true CN104811773B (en) 2017-12-15

Family

ID=53696191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510208756.XA Expired - Fee Related CN104811773B (en) 2015-04-28 2015-04-28 Channel based on door chain plays implementation method, system and equipment

Country Status (1)

Country Link
CN (1) CN104811773B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376075B (en) * 2015-10-13 2019-04-09 贵阳朗玛信息技术股份有限公司 Chatroom voice broadcast system and voice broadcast method based on web
CN105656877A (en) * 2015-11-30 2016-06-08 乐视云计算有限公司 Hotlinking detection method and device
CN106993201A (en) * 2017-03-17 2017-07-28 武汉斗鱼网络科技有限公司 The authorization check method and device of video playback
CN107018432B (en) * 2017-03-28 2020-02-14 华为技术有限公司 Media content licensing method and device
CN107426589B (en) * 2017-03-31 2018-08-10 武汉斗鱼网络科技有限公司 A kind of video request, video broadcasting method and device
CN108965939B (en) * 2017-05-26 2022-07-05 腾讯科技(深圳)有限公司 Media data processing method, device and system and readable storage medium
CN109391851B (en) * 2018-01-09 2020-04-07 深圳市珍爱网信息技术有限公司 Video live broadcast method and device, computer equipment and storage medium
CN111585940B (en) * 2019-02-18 2021-12-17 华为技术有限公司 Resource management method and related equipment thereof
CN110381334B (en) * 2019-09-02 2021-05-28 湖南快乐阳光互动娱乐传媒有限公司 Anti-stealing-link method, device and system
CN112291573B (en) 2020-03-27 2022-05-20 北京字节跳动网络技术有限公司 Live stream pushing method and device, electronic equipment and computer readable medium
CN111741268B (en) * 2020-06-30 2022-07-05 中国建设银行股份有限公司 Video transmission method, device, server, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202893A (en) * 2007-06-27 2008-06-18 深圳市同洲电子股份有限公司 Method, system for preventing non-authorization user from obtaining service and video server
CN102055752A (en) * 2009-10-29 2011-05-11 腾讯科技(深圳)有限公司 Anti-leech method and terminal
CN103686241A (en) * 2013-12-23 2014-03-26 珠海迈科电子科技有限公司 Method and device for anti-theft chain of set top box

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE557533T1 (en) * 2010-03-05 2012-05-15 Nagravision Sa METHOD FOR CONTROLLING ACCESS TO A MULTIPLE CHANNELS VIA A RECEIVER/DECODER

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202893A (en) * 2007-06-27 2008-06-18 深圳市同洲电子股份有限公司 Method, system for preventing non-authorization user from obtaining service and video server
CN102055752A (en) * 2009-10-29 2011-05-11 腾讯科技(深圳)有限公司 Anti-leech method and terminal
CN103686241A (en) * 2013-12-23 2014-03-26 珠海迈科电子科技有限公司 Method and device for anti-theft chain of set top box

Also Published As

Publication number Publication date
CN104811773A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104811773B (en) Channel based on door chain plays implementation method, system and equipment
CN107018432B (en) Media content licensing method and device
CN105659240B (en) It is a kind of for sending and authentication URL is signed to carry out URL certifications in self adaptation stream and the system and method for the content access authorization based on URL
CN103957436B (en) A kind of video anti-stealing link method based on OTT business
CN106936770A (en) A kind of HLS index lists encrypted antitheft catenary system and method
US8826324B2 (en) Server apparatus, trick reproduction restriction method, and reception apparatus
US20140019952A1 (en) Secure method of enforcing client code version upgrade in digital rights management system
CN106797563A (en) Certification and authorization message for adaptive stream media based on token being signaled and interaction
CN103355000A (en) Extending data confidentiality into a player application
CN104144160A (en) Online video resource downloading prevention method and system
CN104837035A (en) Video playing method and terminal
CN101233755A (en) Multimedia data protection
WO2020233139A1 (en) Block chain-based copyright protection method and apparatus, and electronic device
US20060050701A1 (en) Method and apparatus for multicast delivery of program information
CN104796737B (en) Channel based on group plays implementation method, system and equipment
CN109996095A (en) Method, system and medium for preventing stealing link playing in network video on demand
CN108260015B (en) Voting data processing method and device and electronic equipment
CN102143129A (en) Method and system for realizing service protection in hyper text transmission protocol (HTTP) streaming transmission
CN110381334A (en) Anti-stealing-link method, device and system
CN102546528B (en) Stream media playing method and stream media playing equipment
WO2018176816A1 (en) Video requesting and playing method and device
US8745654B1 (en) Method and system for managing digital rights for content
TW201840204A (en) Method of preventing illegal link to content delivery network audio/video services capable of determining an illegal link user by analyzing Token-IP corresponding information
US20140096154A1 (en) Integrated broadcasting communications receiver and resource managing device
CN111191157A (en) Course resource output method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Hotlinking prevention-based channel playing implementation method, system and equipment

Effective date of registration: 20180509

Granted publication date: 20171215

Pledgee: Zhongguancun Beijing technology financing Company limited by guarantee

Pledgor: Yimin source (Beijing) Technology Co., Ltd.|TVMining (Beijing) Media Technology Co., Ltd.

Registration number: 2018990000351

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171215

Termination date: 20210428