CN110392060A - Playing control method, player, scheduling server and CDN file server - Google Patents

Playing control method, player, scheduling server and CDN file server Download PDF

Info

Publication number
CN110392060A
CN110392060A CN201910721188.1A CN201910721188A CN110392060A CN 110392060 A CN110392060 A CN 110392060A CN 201910721188 A CN201910721188 A CN 201910721188A CN 110392060 A CN110392060 A CN 110392060A
Authority
CN
China
Prior art keywords
file
cdn
player
service end
pass
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.)
Pending
Application number
CN201910721188.1A
Other languages
Chinese (zh)
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.)
Hunan MgtvCom Interactive Entertainment Media Co Ltd
Original Assignee
Hunan MgtvCom Interactive Entertainment Media 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 Hunan MgtvCom Interactive Entertainment Media Co Ltd filed Critical Hunan MgtvCom Interactive Entertainment Media Co Ltd
Priority to CN201910721188.1A priority Critical patent/CN110392060A/en
Publication of CN110392060A publication Critical patent/CN110392060A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a play control method, which comprises the following steps: the player sends a scheduling request aiming at a target video to a CDN file server; the CDN file server side returns feedback information at least comprising a file address of the target video, a CDN file pass and a first electronic signature of the CDN file pass to the player, wherein the CDN file pass at least comprises an effective period, and the first electronic signature is obtained by the scheduling server side through signing and issuing the CDN file pass by using a private key; the player sends a downloading request which at least comprises a CDN file pass and a first electronic signature and aims at the target video to a CDN file server side corresponding to the file address; the CDN file server side verifies the CDN file pass based on the validity period, verifies the first electronic signature by using the public key, and responds to the downloading request under the condition that the CDN file pass and the first electronic signature are verified; and the player receives video data of the target video sent by the CDN file server. The invention can effectively control the stealing link behavior and reduce the stealing link playing loss.

Description

A kind of control method for playing back, player, dispatch service end and CDN file service end
Technical field
The present invention relates to information technology fields, take more specifically to a kind of control method for playing back, player, scheduling Business end and CDN file service end.
Background technique
At this stage, user downloads or needs when playing video through self-built or business CDN (Content Delivery Network, i.e. content distributing network) accelerated.
In order to obtain video, player needs successively to access access service end, dispatch service end and CDN file service end. For door chain, need to coordinate components above upgrading control strategy, but wherein CDN file service end can involve more business CDN Manufacturer, such upgrade cycle can be more than the first quarter, bring very big difficulty to upgrading.
Summary of the invention
In view of this, to solve the above problems, the present invention provides a kind of control method for playing back, player, dispatch service end With CDN file service end.Technical solution is as follows:
A kind of control method for playing back, which is characterized in that be applied to player, which comprises
The scheduling request for being directed to target video is sent to dispatch service end;
Receive the feedback information that the dispatch service end group is sent in the scheduling request;Wherein, the feedback information is extremely First electronic signature of the file address including the target video, the CDN file pass and the CDN file pass less, The CDN file pass includes at least term of validity, and first electronic signature is that the dispatch service end uses pre- Mr. At private key the CDN file pass signed and issued;
To the file address corresponding CDN file service end send it is for the target video, include at least it is described The downloading request of the CDN file pass and first electronic signature, so that CDN file service end is in the CDN file In the case that the pass and first electric signing verification pass through, the downloading request is responded;Wherein, the CDN file is logical Row card is that the CDN file service end group is verified in the term of validity, and first electronic signature is the CDN file clothes Business end uses the public key verifications to match with the private key, and the public key is that the dispatch service end pre-generates and is sent to CDN file service end;
Receive the video data of the target video of CDN file service end transmission.
Preferably, in the case where the CDN file pass further includes player file signature public key, the method is also Include:
Obtain the player file signature private key to match with the player file signature public key;
It is described to the file address corresponding CDN file service end send for the target video, include at least The downloading request of the CDN file pass and first electronic signature, so that CDN file service end is in the CDN In the case that the file pass and first electric signing verification pass through, the downloading request is responded, comprising:
For the target video the including described CDN text is sent to the file address corresponding CDN file service end The part pass, first electronic signature, the second electronic signature of player requests information and the player requests information Downloading request, so that CDN file service end is in the CDN file pass, first electronic signature, the player In the case that solicited message and second electric signing verification pass through, the downloading request is responded;Wherein, second electronics Signature is that the player is signed and issued to obtain using the player file signature private key to the player requests information, described Request time is included at least in player requests information, the player requests information is the CDN file service end group in institute Request time verifying is stated, second electronic signature is that CDN file service end is public using the player file signature Key verifying.
Preferably, in the case where the feedback information further includes having encrypted player file signature private key, the acquisition The player file signature private key to match with the player file signature public key, comprising:
Decryption is described to have encrypted what player file signature private key obtained matching with the player file signature public key Player file signature private key.
A kind of player, the player include:
First sending module, for sending the scheduling request for being directed to target video to dispatch service end;
First receiving module, the feedback information sent for receiving the dispatch service end group in the scheduling request;Its In, file address, the CDN file pass and the CDN file that the feedback information includes at least the target video are current First electronic signature of card, the CDN file pass include at least term of validity, and first electronic signature is the scheduling Server-side signs and issues the CDN file pass using pre-generated private key;
First sending module is also used to send to the file address corresponding CDN file service end for described Target video, including at least the CDN file pass and it is described first electronic signature downloading request so that the CDN File service end responds the downloading in the case where the CDN file pass and first electric signing verification pass through Request;Wherein, the CDN file pass is that the CDN file service end group is verified in the term of validity, described first Electronic signature is that CDN file service end uses the public key verifications to match with the private key, and the public key is the tune Degree server-side pre-generates and is sent to CDN file service end;
First receiving module is also used to receive the video of the target video of CDN file service end transmission Data.
A kind of control method for playing back is applied to dispatch service end, which comprises
Receive the scheduling request for target video that player is sent;
Feedback information is sent to the player based on the scheduling request;Wherein, the feedback information includes at least institute State the first electronic signature of the file address, the CDN file pass and the CDN file pass of target video, the CDN text The part pass includes at least term of validity, and first electronic signature is that the dispatch service end uses pre-generated private key pair What the CDN file pass was signed and issued, the CDN file pass and first electronic signature are at least the broadcasting Device sends the downloading for the target video to the file address corresponding CDN file service end and requests and described in receiving CDN service end sends the basis of the video data of the target video, and CDN file service end is logical in the CDN file Row card and first electric signing verification respond the downloading request in the case where passing through, the CDN file pass is What the CDN file service end group was verified in the term of validity, first electronic signature is that CDN file service end makes With the public key verifications to match with the private key, the public key is that the dispatch service end pre-generates and is sent to described CDN file service end.
Preferably, the CDN file pass further includes player file signature public key;
The CDN file pass, first electronic signature, player requests information and the player requests information The second electronic signature to be the player send to the file address corresponding CDN file service end regards for the target The downloading of frequency requests and receives the basis that the CDN service end sends the video data of the target video, the CDN file Server-side is in the CDN file pass, first electronic signature, player requests information and second electronic signature The downloading request is responded in the case where being verified, second electronic signature is that the player uses player file Signature private key signs and issues the player requests information, and request time is included at least in the player requests information, The player requests information is that the CDN file service end group is verified in the request time, second electronic signature It is CDN file service end using the player file signature public key verifications, the player file signature private key is It is that the player obtains, match with the player file signature public key.
A kind of dispatch service end, the dispatch service end include:
Second receiving module, for receiving the scheduling request for target video of player transmission;
Second sending module, for sending feedback information to the player based on the scheduling request;Wherein, described anti- Feedforward information includes at least the first electricity of the file address of the target video, the CDN file pass and the CDN file pass Son signature, the CDN file pass include at least term of validity, and first electronic signature is that the dispatch service end uses Pre-generated private key signs and issues the CDN file pass, the CDN file pass and the first electronics label Name is at least the player and sends the downloading for being directed to the target video to the file address corresponding CDN file service end The basis that the CDN service end sends the video data of the target video is requested and receives, CDN file service end is The downloading request is responded in the case where the CDN file pass and first electric signing verification pass through, it is described The CDN file pass is that the CDN file service end group is verified in the term of validity, and first electronic signature is described CDN file service end uses the public key verifications to match with the private key, and the public key is described pre- Mr. in dispatch service end At and be sent to CDN file service end.
A kind of control method for playing back is applied to CDN file service end, which comprises
The downloading for the target video that player is sent is received to request;Wherein, described download request to includes less First electronic signature of the CDN file pass and the CDN file pass in feedback information, the CDN service end and described anti- File address in feedforward information is corresponding, and the feedback information is that dispatch service end group is sent in the player, for institute State what the scheduling request of target video was sent to the player, the CDN file pass includes at least term of validity, described First electronic signature is what the CDN file pass was signed and issued using pre-generated private key in the dispatch service end;
The CDN file pass is verified based on the term of validity, and is tested using the public key to match with the private key Demonstrate,prove first electronic signature;Wherein, the public key is that the dispatch service end pre-generates and is sent to the CDN file clothes Business end;
In the case where the CDN file pass and first electric signing verification pass through, responds the downloading and ask It asks, the video data of the target video is sent to the player.
Preferably, the CDN file pass further includes player file signature public key;
The downloading request includes the CDN file pass, first electronic signature, player requests information and institute The second electronic signature of player requests information is stated, the player requests information includes at least request time, second electricity The son signature player is signed and issued to obtain using player file signature private key to the player requests information, described to broadcast Putting device file signature private key is that the player obtains, matches with the player file signature public key;
The method also includes:
The player requests information is verified based on the request time, and is tested using the player file signature public key Demonstrate,prove second electronic signature;
It is described in the case where the CDN file pass and first electric signing verification pass through, respond it is described under Carry request, comprising:
In the CDN file pass, first electronic signature, the player requests information and second electronics In the case that signature verification passes through, the downloading request is responded.
A kind of CDN file service end, CDN file service end include:
Third receiving module, the downloading for the target video for receiving player transmission are requested;Wherein, described The first electronic signature less including the CDN file pass and the CDN file pass in feedback information is downloaded request to, it is described CDN service end is corresponding with the file address in the feedback information, and the feedback information is that dispatch service end group is broadcast in described Put device transmission, sent to the player for the scheduling request of the target video, the CDN file pass is at least Including term of validity, first electronic signature is that the dispatch service end uses pre-generated private key to the CDN file What the pass was signed and issued;
Authentication module, for verifying the CDN file pass, and use and the private key phase based on the term of validity First electronic signature described in matched public key verifications;Wherein, the public key is that the dispatch service end pre-generates and is sent to CDN file service end;
Respond module, for ringing in the case where the CDN file pass and first electric signing verification pass through It answers the downloading to request, the video data of the target video is sent to the player.
A kind of above control method for playing back provided by the invention, dispatch service end pre-generate the public key that a pair matches and Private key, public key are synchronized to each CDN file service end.Player is asked to the transmission of CDN file service end for the scheduling of target video It asks;CDN file service end returns to file address, the CDN file pass and the CDN file for including at least target video to player The feedback information of first electronic signature of the pass, wherein the CDN file pass includes at least term of validity, the first electronics label Name is that the CDN file pass is signed and issued using private key in dispatch service end;Player is to the corresponding CDN file in file address Server-side sends downloading for target video, signing electronically including at least the CDN file pass and first and requests;CDN text Part server-side is based on the term of validity verifying CDN file pass, is signed electronically using public key verifications first, current in CDN file In the case that card and the first electric signing verification pass through, response downloading request;Player receives the mesh that CDN file service end is sent Mark the video data of video.
Based on the present invention, player, the responsibility of each component in dispatch service end and CDN file service end be clear, the degree of coupling very It is low, and since the forgery difficulty of electronic signature is high, the term of validity of the CDN file pass is certain, this can effectively control robber Chain behavior reduces and steals chain broadcasting loss, carrys out door chain without coordination component escalation policy, realizes the flexible expansion of each component And modification.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the method flow diagram of control method for playing back provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of player provided in an embodiment of the present invention;
Fig. 3 is the another method flow chart of control method for playing back provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram at dispatch service end provided in an embodiment of the present invention;
Fig. 5 is the another method flow chart of control method for playing back provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram at CDN file service provided in an embodiment of the present invention end.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of control method for playing back, and this method is applied to player, player can integrate in In terminal or browser, the method flow diagram of this method is as shown in Figure 1, include the following steps:
S101 sends the scheduling request for being directed to target video to dispatch service end.
In the present embodiment, the touch control operation of player response user determines target video to be downloaded, will regard for target The downloading request of frequency is sent to access service end.The identity and authentication of player are verified in access service end, after player passes through, The scheduling address about dispatch service end is returned to player.The corresponding dispatch service end in address is transferred to this and is sent out in dispatch service end Send the scheduling request for target video.
S102 receives the feedback information that dispatch service end group is sent in scheduling request;Wherein, feedback information includes at least mesh The first electronic signature of the file address, the CDN file pass and the CDN file pass of video is marked, the CDN file pass is at least Including term of validity, the first electronic signature is that the CDN file pass is signed and issued using pre-generated private key in dispatch service end It arrives.
In the present embodiment, dispatch service end pre-generates the public key and private key that a pair matches, and public key is synchronized to each CDN text Part server-side, private key then locally save.Dispatch service end determines target video after the scheduling request for receiving player transmission File address, generate the first electronic signature of the CDN file pass and the CDN file pass.
Wherein, this document address can be video file address (i.e. the file address of complete video), can also be fragment Listing file address, the fragment listing file address include multiple slicing files of target video address, can for m3u8 or Person's dash format.
In addition, the CDN file pass includes at least term of validity, it can also include terminal iidentification, the version of such as player Sheet, user gradation, file download speed limit require, issue the time etc., and the present embodiment does not limit this.
S103, to file address corresponding CDN file service end send for target video, include at least CDN file The downloading request of the pass and the first electronic signature, so that CDN file service end is signed electronically in the CDN file pass and first In the case where being verified, response downloading request;Wherein, the CDN file pass is that CDN file service end group is tested in term of validity Card, the first electronic signature is that CDN file service end uses the public key verifications to match with private key, and public key is dispatch service end It pre-generates and is sent to CDN file service end.
In the present embodiment, player determines corresponding CDN text according to video file address or fragment listing file address Part server-side, and downloading request is sent to the CDN file service end.
Whether CDN file service end judges current time in the effective of the CDN file pass after receiving downloading request It signs electronically in time limit and using the public key verifications first being locally stored.If current time is within term of validity and first is electric Son signature then responds the downloading request of player by verifying.
It certainly, can be according to if the CDN file pass further includes user gradation and/or the requirement of file download speed limit The corresponding class requirement of user gradation and/or file download speed limit require to provide complete or fragment video data.
It should be noted that if current time is not within term of validity or the first electronic signature is unverified, Then refuse the downloading request of player in CDN file service end.At this point it is possible to player return prompt information, from player to User shows.
S104 receives the video data for the target video that CDN file service end is sent.
It further include player file in the CDN file pass further to ensure door chain in some other embodiment In the case where public signature key, control method for playing back shown in FIG. 1 further includes following steps:
Obtain the player file signature private key to match with player file signature public key.
In the present embodiment, player file signature private key can be sent to player by dispatch service end in advance, by player It is locally stored.It is, of course, also possible to when returning to feedback information by dispatch service end, with file address, the CDN file pass and first Electronic signature returns together, and player file signature private key needs to be encrypted using encryption and decryption agreement at this time, the encryption and decryption Agreement is predefined by player and dispatch service end.
Therefore, above-mentioned " to obtain and play in the case where feedback information further includes having encrypted player file signature private key The player file signature private key that device file signature public key matches ", comprising:
Decryption has encrypted player file signature private key and has obtained the player to match with player file signature public key text Part signature private key.
In the present embodiment, player is based on having encrypted player with the predetermined encryption and decryption agreement decryption in dispatch service end File signature private key obtains player file signature private key.
It " is sent to file address corresponding CDN file service end for target video, at least at this point, in step S103 Including the downloading request that the CDN file pass and first sign electronically so that CDN file service end in the CDN file pass and In the case that first electric signing verification passes through, response downloading request ", comprising:
For target video including the CDN file pass, the are sent to file address corresponding CDN file service end One electronic signature, the second downloading request to sign electronically of player requests information and player requests information, so that CDN file Server-side is the case where the CDN file pass, the first electronic signature, player requests information and the second electric signing verification pass through Under, response downloading request;Wherein, the second electronic signature is that player believes player requests using player file signature private key What breath was signed and issued, request time is included at least in player requests information, player requests information is CDN file service end group In request time verifying, the second electronic signature is that CDN file service end uses player file signature public key verifications.
In the present embodiment, player removes the CDN file pass and first into the downloading request that CDN file service end is sent Electronic signature is outer, further includes the second electronic signature of player requests information and player requests information.
Wherein, player requests information includes at least request time, can also include the information such as player version, this Embodiment does not limit this.
CDN file service end is after receiving downloading request, in addition to the verifying CDN file pass and the first electronic signature, Also judge whether the time difference of current time and request time in preset time difference allowed band and uses player file The second signature of public signature key verifying.If the CDN file pass and first electronic signature by verifying and current time with ask The time difference of seeking time in preset time difference allowed band, second electronic signature by verifying, then respond under player Carry request.
Control method for playing back provided in an embodiment of the present invention, player, each component in dispatch service end and CDN file service end Responsibility is clear, the degree of coupling is very low, and due to the term of validity one of the forgerys difficulty height of electronic signature, the CDN file pass Fixed, this can effectively control chain behavior of stealing, reduce and steal chain broadcasting loss, carry out door chain without coordination component escalation policy, Realize the flexible expansion and modification of each component.
The control method for playing back provided based on the above embodiment, the embodiment of the present invention then provide a kind of player, the broadcasting The structural schematic diagram of device is as shown in Figure 2, comprising:
First sending module 101, for sending the scheduling request for being directed to target video to dispatch service end.
First receiving module 102, the feedback information sent for receiving dispatch service end group in scheduling request;Wherein, instead Feedforward information includes at least the first electronic signature of the file address, the CDN file pass and the CDN file pass of target video, The CDN file pass includes at least term of validity, and the first electronic signature is that dispatch service end uses pre-generated private key to CDN The file pass is signed and issued.
First sending module 101 is also used to send to file address corresponding CDN file service end for target video , the downloading to sign electronically including at least the CDN file pass and first request so that CDN file service end is logical in CDN file In the case that row card and the first electric signing verification pass through, response downloading request;Wherein, the CDN file pass is CDN file clothes Business end group is verified in term of validity, and the first electronic signature is that CDN file service end uses the public key verifications to match with private key , public key is that dispatch service end pre-generates and is sent to CDN file service end.
First receiving module 102 is also used to receive the video data of the target video of CDN file service end transmission.
Optionally, the first sending module 101, is also used to:
In the case where the CDN file pass further includes player file signature public key, obtain and player file signature The player file signature private key that public key matches.
It is for target video, logical including at least CDN file for being sent to file address corresponding CDN file service end The downloading request of row card and the first electronic signature, so that CDN file service end is tested in the CDN file pass and the first electronic signature In the case that card passes through, the first sending module 101 of response downloading request is specifically used for:
For target video including the CDN file pass, the are sent to file address corresponding CDN file service end One electronic signature, the second downloading request to sign electronically of player requests information and player requests information, so that CDN file Server-side is the case where the CDN file pass, the first electronic signature, player requests information and the second electric signing verification pass through Under, response downloading request;Wherein, the second electronic signature is that player believes player requests using player file signature private key What breath was signed and issued, request time is included at least in player requests information, player requests information is CDN file service end group In request time verifying, the second electronic signature is that CDN file service end uses player file signature public key verifications.
Optionally, for obtaining the first hair of the player file signature private key to match with player file signature public key Module 101 is sent, is specifically used for:
In the case where feedback information further includes having encrypted player file signature private key, decryption has encrypted player file Signature private key obtains the player file signature private key to match with player file signature public key.
Player provided in an embodiment of the present invention, with the responsibility of each component in dispatch service end and CDN file service end it is clear, The degree of coupling is very low, and since the forgery difficulty of electronic signature is high, the term of validity of the CDN file pass is certain, this can have Chain behavior is stolen in effect control, reduction steals chain and plays loss, is carried out door chain without coordination component escalation policy, is realized each component Flexible expansion and modification.
The control method for playing back provided based on the above embodiment, the embodiment of the present invention also provide a kind of control method for playing back, This method is applied to dispatch service end, and method flow diagram is as shown in figure 3, include the following steps:
S201 receives the scheduling request for target video that player is sent.
S202 sends feedback information to player based on scheduling request;Wherein, feedback information includes at least target video First electronic signature of file address, the CDN file pass and the CDN file pass, the CDN file pass includes at least effective In the time limit, the first electronic signature is that the CDN file pass is signed and issued using pre-generated private key in dispatch service end, CDN The file pass and the first electronic signature are at least player and send to file address corresponding CDN file service end for target Video downloading request simultaneously receive CDN service end send target video video data basis, CDN file service end be Response downloading request in the case that the CDN file pass and the first electric signing verification pass through, the CDN file pass is CDN File service end group is verified in term of validity, and the first electronic signature is that CDN file service end uses the public affairs to match with private key Key verifying, public key is that dispatch service end pre-generates and is sent to CDN file service end.
In some other embodiment, further to ensure door chain, the CDN file pass further includes player file label Name public key;
The CDN file pass, first electronic signature, player requests information and player requests information the second electronics label Name is that player requests for the downloading of target video to the transmission of file address corresponding CDN file service end and receives CDN clothes Be engaged in end send target video video data basis, CDN file service end be the CDN file pass, first electronic signature, Response downloading request in the case that player requests information and the second electric signing verification pass through, the second electronic signature is to play Device signs and issues player requests information using player file signature private key, includes at least and asks in player requests information Seeking time, player requests information are that CDN file service end group is verified in request time, and the second electronic signature is CDN file For server-side using player file signature public key verifications, player file signature private key is player acquisition and player File signature public key matches.
Optionally, feedback information further includes having encrypted player file signature private key, and player file signature private key is to broadcast It puts device decryption and has encrypted what player file signature private key obtained.
It should be noted that player (access service end), dispatch service end, the respective broadcasting stream in CDN file service end Journey can be found in above-described embodiment and disclose part, and details are not described herein for the present embodiment.
Control method for playing back provided in an embodiment of the present invention, player, each component in dispatch service end and CDN file service end Responsibility is clear, the degree of coupling is very low, and due to the term of validity one of the forgerys difficulty height of electronic signature, the CDN file pass Fixed, this can effectively control chain behavior of stealing, reduce and steal chain broadcasting loss, carry out door chain without coordination component escalation policy, Realize the flexible expansion and modification of each component.
The control method for playing back provided based on the above embodiment, the embodiment of the present invention then provide a kind of dispatch service end, should The structural schematic diagram at dispatch service end is as shown in Figure 4, comprising:
Second receiving module 201, for receiving the scheduling request for target video of player transmission.
Second sending module 202, for sending feedback information to player based on scheduling request;Wherein, feedback information is extremely The first electronic signature of the file address including target video, the CDN file pass and the CDN file pass, CDN file are logical less Row card includes at least term of validity, and the first electronic signature is that dispatch service end is current to CDN file using pre-generated private key What signed certificate was sent out, the CDN file pass and the first electronic signature are at least player to the corresponding CDN file clothes in file address Business end sends the downloading request for target video and receives the basis that CDN service end sends the video data of target video, CDN file service end be the CDN file pass and the first electric signing verification by the case where response downloading request, The CDN file pass is that CDN file service end group is verified in term of validity, and the first electronic signature is that CDN file service end makes With the public key verifications to match with private key, public key is that dispatch service end pre-generates and is sent to CDN file service end.
Optionally, the CDN file pass further includes player file signature public key;
The CDN file pass, first electronic signature, player requests information and player requests information the second electronics label Name is that player requests for the downloading of target video to the transmission of file address corresponding CDN file service end and receives CDN clothes Be engaged in end send target video video data basis, CDN file service end be the CDN file pass, first electronic signature, Response downloading request in the case that player requests information and the second electric signing verification pass through, the second electronic signature is to play Device signs and issues player requests information using player file signature private key, includes at least and asks in player requests information Seeking time, player requests information are that CDN file service end group is verified in request time, and the second electronic signature is CDN file For server-side using player file signature public key verifications, player file signature private key is player acquisition and player File signature public key matches.
Optionally, feedback information further includes having encrypted player file signature private key, and player file signature private key is to broadcast It puts device decryption and has encrypted what player file signature private key obtained.
Dispatch service end provided in an embodiment of the present invention, with the responsibility of each component of player and CDN file service end it is clear, The degree of coupling is very low, and since the forgery difficulty of electronic signature is high, the term of validity of the CDN file pass is certain, this can have Chain behavior is stolen in effect control, reduction steals chain and plays loss, is carried out door chain without coordination component escalation policy, is realized each component Flexible expansion and modification.
The control method for playing back provided based on the above embodiment, the embodiment of the present invention also provide a kind of control method for playing back, This method is applied to CDN file service end, and method flow diagram is as shown in figure 5, include the following steps:
S301 receives the downloading for target video that player is sent and requests;Wherein, downloading request to few includes feedback First electronic signature of the CDN file pass and the CDN file pass in information, CDN service end and the text in feedback information Part address is corresponding, feedback information is dispatch service end group to be sent in player, for target video scheduling request to broadcasting Device transmission is put, the CDN file pass includes at least term of validity, and the first electronic signature is dispatch service end using pre-generated Private key the CDN file pass signed and issued.
S302 verifies the CDN file pass based on term of validity, and uses the first electricity of public key verifications to match with private key Son signature;Wherein, public key is that dispatch service end pre-generates and is sent to CDN file service end.
S303, in the case where the CDN file pass and the first electric signing verification pass through, response downloading request, by mesh The video data of mark video is sent to player.
In some other embodiment, further to ensure door chain, the CDN file pass further includes player file label Name public key;
Downloading request includes the CDN file pass, the first electronic signature, player requests information and player requests information The second electronic signature, player requests information includes at least request time, and the second electronic signature, which is player, uses player File signature private key signs and issues player requests information, player file signature private key be player obtain, with broadcast Device file signature public key is put to match;
The above method further include:
Player requests information is verified based on request time, and uses player file signature public key verifications the second electronics label Name;
In the case where the CDN file pass and the first electric signing verification pass through, response downloading request, comprising:
In the feelings that the CDN file pass, the first electronic signature, player requests information and the second electric signing verification pass through Under condition, response downloading request.
It should be noted that player (access service end), dispatch service end, the respective broadcasting stream in CDN file service end Journey can be found in above-described embodiment and disclose part, and details are not described herein for the present embodiment.
Control method for playing back provided in an embodiment of the present invention, player, each component in dispatch service end and CDN file service end Responsibility is clear, the degree of coupling is very low, and due to the term of validity one of the forgerys difficulty height of electronic signature, the CDN file pass Fixed, this can effectively control chain behavior of stealing, reduce and steal chain broadcasting loss, carry out door chain without coordination component escalation policy, Realize the flexible expansion and modification of each component.
The control method for playing back provided based on the above embodiment, the embodiment of the present invention then provide a kind of CDN file service end, The structural schematic diagram at the CDN file service end is as shown in Figure 6, comprising:
Third receiving module 301, the downloading for target video for receiving player transmission are requested;Wherein, it downloads Request includes at least the first electronic signature of the CDN file pass and the CDN file pass in feedback information, CDN service end Corresponding with the file address in feedback information, feedback information is that dispatch service end group sends in player, regards for target The scheduling request of frequency is sent to player, and the CDN file pass includes at least term of validity, and the first electronic signature is scheduling clothes The CDN file pass is signed and issued using pre-generated private key at business end.
Authentication module 302 for verifying the CDN file pass based on term of validity, and uses the public affairs to match with private key The first electronic signature of key verifying;Wherein, public key is that dispatch service end pre-generates and is sent to CDN file service end.
Respond module 303, in the case where the CDN file pass and the first electric signing verification pass through, under response Request is carried, the video data of target video is sent to player.
Optionally, the CDN file pass further includes player file signature public key;
Downloading request includes the CDN file pass, the first electronic signature, player requests information and player requests information The second electronic signature, player requests information includes at least request time, and the second electronic signature, which is player, uses player File signature private key signs and issues player requests information, player file signature private key be player obtain, with broadcast Device file signature public key is put to match;
Authentication module 302, is also used to:
Player requests information is verified based on request time, and uses player file signature public key verifications the second electronics label Name;
For the response that in the case where the CDN file pass and the first electric signing verification pass through, response downloading is requested Module 303, is specifically used for:
In the feelings that the CDN file pass, the first electronic signature, player requests information and the second electric signing verification pass through Under condition, response downloading request.
CDN file service provided in an embodiment of the present invention end, with the responsibility of each component of player and dispatch service end it is clear, The degree of coupling is very low, and since the forgery difficulty of electronic signature is high, the term of validity of the CDN file pass is certain, this can have Chain behavior is stolen in effect control, reduction steals chain and plays loss, is carried out door chain without coordination component escalation policy, is realized each component Flexible expansion and modification.
Above to a kind of control method for playing back provided by the present invention, player, dispatch service end and CDN file service end It is described in detail, used herein a specific example illustrates the principle and implementation of the invention, the above reality The explanation for applying example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology of this field Personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this theory Bright book content should not be construed as limiting the invention.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, phase Place is closed referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the element that the process, method, article or equipment including a series of elements is intrinsic, It further include either the element intrinsic for these process, method, article or equipments.In the absence of more restrictions, The element limited by sentence "including a ...", it is not excluded that in the process, method, article or equipment including the element In there is also other identical elements.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of control method for playing back, which is characterized in that be applied to player, which comprises
The scheduling request for being directed to target video is sent to dispatch service end;
Receive the feedback information that the dispatch service end group is sent in the scheduling request;Wherein, the feedback information at least wraps The first electronic signature of the file address, the CDN file pass and the CDN file pass of the target video is included, it is described The CDN file pass includes at least term of validity, and first electronic signature is that the dispatch service end use is pre-generated Private key signs and issues the CDN file pass;
It is sent to the file address corresponding CDN file service end for the target video, literary including at least the CDN The downloading request of the part pass and first electronic signature, so that CDN file service end is in the CDN file pass In the case where passing through with first electric signing verification, the downloading request is responded;Wherein, the CDN file pass is What the CDN file service end group was verified in the term of validity, first electronic signature is that CDN file service end makes With the public key verifications to match with the private key, the public key is that the dispatch service end pre-generates and is sent to described CDN file service end;
Receive the video data of the target video of CDN file service end transmission.
2. the method according to claim 1, wherein further including player file in the CDN file pass In the case where public signature key, the method also includes:
Obtain the player file signature private key to match with the player file signature public key;
It is described to the file address corresponding CDN file service end send it is for the target video, include at least it is described The downloading request of the CDN file pass and first electronic signature, so that CDN file service end is in the CDN file In the case that the pass and first electric signing verification pass through, the downloading request is responded, comprising:
It is logical that for the target video the including described CDN file is sent to the file address corresponding CDN file service end Row card, first electronic signature, the second downloading to sign electronically of player requests information and the player requests information Request, so that CDN file service end is in the CDN file pass, first electronic signature, the player requests In the case that information and second electric signing verification pass through, the downloading request is responded;Wherein, second electronic signature The player is signed and issued to obtain using the player file signature private key to the player requests information, the broadcasting Request time is included at least in device solicited message, the player requests information is that the CDN file service end group is asked in described Seeking time verifying, second electronic signature is that CDN file service end is tested using the player file signature public key Card.
3. according to the method described in claim 2, it is characterized in that, further including having encrypted player file in the feedback information In the case where signature private key, the player file signature private key that the acquisition matches with the player file signature public key, Include:
Player file signature private key, which has been encrypted, described in decryption obtains the broadcasting to match with the player file signature public key Device file signature private key.
4. a kind of player, which is characterized in that the player includes:
First sending module, for sending the scheduling request for being directed to target video to dispatch service end;
First receiving module, the feedback information sent for receiving the dispatch service end group in the scheduling request;Wherein, institute Feedback information is stated including at least the of the file address of the target video, the CDN file pass and the CDN file pass One electronic signature, the CDN file pass include at least term of validity, and first electronic signature is the dispatch service end The CDN file pass is signed and issued using pre-generated private key;
First sending module is also used to send to the file address corresponding CDN file service end for the target Video, including at least the CDN file pass and it is described first electronic signature downloading request so that the CDN file Server-side responds the downloading request in the case where the CDN file pass and first electric signing verification pass through; Wherein, the CDN file pass is that the CDN file service end group is verified in the term of validity, first electronics Signature is that CDN file service end uses the public key verifications to match with the private key, and the public key is the scheduling clothes Business end pre-generates and is sent to CDN file service end;
First receiving module is also used to receive the video data of the target video of CDN file service end transmission.
5. a kind of control method for playing back, which is characterized in that be applied to dispatch service end, which comprises
Receive the scheduling request for target video that player is sent;
Feedback information is sent to the player based on the scheduling request;Wherein, the feedback information includes at least the mesh The first electronic signature of the file address, the CDN file pass and the CDN file pass of video is marked, the CDN file is logical Row card includes at least term of validity, and first electronic signature is that the dispatch service end uses pre-generated private key to described The CDN file pass is signed and issued, the CDN file pass and it is described first electronic signature be at least the player to The file address corresponding CDN file service end transmission requests for the downloading of the target video and receives the CDN clothes Business end sends the basis of the video data of the target video, CDN file service end be in the CDN file pass and First electric signing verification responds the downloading request in the case where passing through, the CDN file pass is the CDN File service end group is verified in the term of validity, and first electronic signature is CDN file service end use and institute The public key verifications that private key matches are stated, the public key is that the dispatch service end pre-generates and is sent to the CDN file Server-side.
6. according to the method described in claim 5, it is characterized in that, the CDN file pass further includes player file label Name public key;
The CDN file pass, first electronic signature, player requests information and the player requests information the Two electronic signatures are that the player is sent to the file address corresponding CDN file service end for the target video Downloading requests and receives the basis that the CDN service end sends the video data of the target video, the CDN file service End is in the CDN file pass, first electronic signature, player requests information and second electric signing verification The downloading request is responded in the case where, second electronic signature is that the player uses player file signature Private key signs and issues the player requests information, and request time is included at least in the player requests information, described Player requests information is that the CDN file service end group is verified in the request time, and second electronic signature is institute CDN file service end is stated using the player file signature public key verifications, the player file signature private key is described It is that player obtains, match with the player file signature public key.
7. a kind of dispatch service end, which is characterized in that the dispatch service end includes:
Second receiving module, for receiving the scheduling request for target video of player transmission;
Second sending module, for sending feedback information to the player based on the scheduling request;Wherein, the feedback letter Breath includes at least the first electronics label of the file address of the target video, the CDN file pass and the CDN file pass Name, the CDN file pass include at least term of validity, and first electronic signature is that the dispatch service end uses in advance The private key of generation signs and issues the CDN file pass, and the CDN file pass and first electronic signature are extremely It is that the player is asked to the transmission of the file address corresponding CDN file service end for the downloading of the target video less Ask and receive the basis that the CDN service end sends the video data of the target video, CDN file service end be The CDN file pass and first electric signing verification respond the downloading request, the CDN in the case where passing through The file pass is that the CDN file service end group is verified in the term of validity, and first electronic signature is the CDN File service end uses the public key verifications to match with the private key, and the public key is that the dispatch service end is pre-generated simultaneously It is sent to CDN file service end.
8. a kind of control method for playing back, which is characterized in that be applied to CDN file service end, which comprises
The downloading for the target video that player is sent is received to request;Wherein, described download request to few includes feedback First electronic signature of the CDN file pass and the CDN file pass in information, the CDN service end and the feedback letter File address in breath is corresponding, and the feedback information is that dispatch service end group is sent in the player, for the mesh The scheduling request of mark video is sent to the player, and the CDN file pass is including at least term of validity, and described first Electronic signature is that the CDN file pass is signed and issued using pre-generated private key in the dispatch service end;
The CDN file pass is verified based on the term of validity, and uses the public key verifications institute to match with the private key State the first electronic signature;Wherein, the public key is that the dispatch service end pre-generates and is sent to CDN file service end 's;
In the case where the CDN file pass and first electric signing verification pass through, the downloading request is responded, it will The video data of the target video is sent to the player.
9. according to the method described in claim 8, it is characterized in that, the CDN file pass further includes player file label Name public key;
Downloading request includes the CDN file pass, first electronic signature, player requests information and described broadcasts The second electronic signature of device solicited message is put, the player requests information includes at least request time, the second electronics label The name player is signed and issued to obtain using player file signature private key to the player requests information, the player File signature private key is that the player obtains, matches with the player file signature public key;
The method also includes:
The player requests information is verified based on the request time, and uses player file signature public key verifications institute State the second electronic signature;
It is described in the case where the CDN file pass and first electric signing verification pass through, respond the downloading and ask It asks, comprising:
In the CDN file pass, first electronic signature, the player requests information and second electronic signature In the case where being verified, the downloading request is responded.
10. a kind of CDN file service end, which is characterized in that CDN file service end includes:
Third receiving module, the downloading for the target video for receiving player transmission are requested;Wherein, the downloading Request includes at least the first electronic signature of the CDN file pass and the CDN file pass in feedback information, the CDN clothes Being engaged in, end is corresponding with the file address in the feedback information, and the feedback information is that dispatch service end group is sent out in the player It is sending, sent for the scheduling request of the target video to the player, the CDN file pass, which includes at least, to be had It imitates the time limit, first electronic signature is that the dispatch service end uses pre-generated private key to the CDN file pass It signs and issues;
Authentication module, for verifying the CDN file pass based on the term of validity, and use matches with the private key Public key verifications described in first electronic signature;Wherein, the public key is that the dispatch service end pre-generates and is sent to described CDN file service end;
Respond module, for responding institute in the case where the CDN file pass and first electric signing verification pass through Downloading request is stated, the video data of the target video is sent to the player.
CN201910721188.1A 2019-08-06 2019-08-06 Playing control method, player, scheduling server and CDN file server Pending CN110392060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910721188.1A CN110392060A (en) 2019-08-06 2019-08-06 Playing control method, player, scheduling server and CDN file server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910721188.1A CN110392060A (en) 2019-08-06 2019-08-06 Playing control method, player, scheduling server and CDN file server

Publications (1)

Publication Number Publication Date
CN110392060A true CN110392060A (en) 2019-10-29

Family

ID=68288621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910721188.1A Pending CN110392060A (en) 2019-08-06 2019-08-06 Playing control method, player, scheduling server and CDN file server

Country Status (1)

Country Link
CN (1) CN110392060A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889445A (en) * 2019-11-22 2020-03-17 咪咕文化科技有限公司 Video CDN hotlinking detection method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8250232B2 (en) * 2008-09-19 2012-08-21 Limelight Networks, Inc. Intelligent content stream bandwidth determination
CN106330898A (en) * 2016-08-23 2017-01-11 厦门唯网网络科技有限公司 Video monitoring system and device scheduling method thereof, and server
CN108900871A (en) * 2018-08-27 2018-11-27 北京搜狐新动力信息技术有限公司 A kind of copyright managing method and system of video
CN109819337A (en) * 2019-02-02 2019-05-28 湖南快乐阳光互动娱乐传媒有限公司 Video file downloading anti-stealing link method, system and medium
CN109905731A (en) * 2019-02-22 2019-06-18 湖南快乐阳光互动娱乐传媒有限公司 Video file downloading anti-stealing link method, system and medium capable of preventing pass from being stolen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8250232B2 (en) * 2008-09-19 2012-08-21 Limelight Networks, Inc. Intelligent content stream bandwidth determination
CN106330898A (en) * 2016-08-23 2017-01-11 厦门唯网网络科技有限公司 Video monitoring system and device scheduling method thereof, and server
CN108900871A (en) * 2018-08-27 2018-11-27 北京搜狐新动力信息技术有限公司 A kind of copyright managing method and system of video
CN109819337A (en) * 2019-02-02 2019-05-28 湖南快乐阳光互动娱乐传媒有限公司 Video file downloading anti-stealing link method, system and medium
CN109905731A (en) * 2019-02-22 2019-06-18 湖南快乐阳光互动娱乐传媒有限公司 Video file downloading anti-stealing link method, system and medium capable of preventing pass from being stolen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889445A (en) * 2019-11-22 2020-03-17 咪咕文化科技有限公司 Video CDN hotlinking detection method and device, electronic equipment and storage medium
CN110889445B (en) * 2019-11-22 2022-09-27 咪咕文化科技有限公司 Video CDN hotlinking detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109087104A (en) Block chain intelligence contract administration method and system, computer readable storage medium
CN101657823B (en) Content utilizes system and content Application way
DE60306210T2 (en) SYSTEM AND METHOD FOR THE LOCAL JOINT USE OF MULTIMEDIA CONTENT
CN103685186B (en) Resource data exchange method is used in cloud educational system and terminal, Cloud Server and education
CN102687459B (en) Long-term signature server, long-term signature terminal and long-term verification of signature server
CN102025749A (en) Anti-theft method of mobile streaming media service
CN101572707A (en) Method, apparatus and system for validating certificate state
CN104185067B (en) Digital right management method and system based on two-dimension codes
JP2009009540A (en) Authentication system, user terminal, authentication server, authentication method, and authentication program
CN107135077B (en) Software protecting method and device
CN108848496A (en) Authentication method, TEE terminal and the management platform of virtual eSIM card based on TEE
CN108965469A (en) Block chain network member dynamic management approach, device, equipment and storage medium
CN109617694B (en) Application program publishing method and device
CN109120611B (en) User authentication method, apparatus, system and medium for address generation server
CN109819337A (en) Video file downloading anti-stealing link method, system and medium
CN110083462A (en) Communication means, equipment and storage medium based on distributed application program
CN109905731A (en) Video file downloading anti-stealing link method, system and medium capable of preventing pass from being stolen
CN109257365A (en) A kind of information processing method, device, equipment and storage medium
CN110392060A (en) Playing control method, player, scheduling server and CDN file server
CN109299333A (en) Block chain network account book member management method, device, equipment and storage medium
CN103186721A (en) Digital copyright service control method, device and system
CN109726545A (en) A kind of information display method, equipment, computer readable storage medium and device
CN103384983A (en) Long-term-signature terminal, long-term-signature server, long-term-signature terminal program, and long-term-signature server program
CN110062044A (en) Distributed application program downloads verification method, equipment and storage medium
CN106027254A (en) Secret key use method for identity card reading terminal in identity card authentication system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191029

RJ01 Rejection of invention patent application after publication