CN103428583A - Stream media file protection method and digital television terminal - Google Patents

Stream media file protection method and digital television terminal Download PDF

Info

Publication number
CN103428583A
CN103428583A CN2013103500743A CN201310350074A CN103428583A CN 103428583 A CN103428583 A CN 103428583A CN 2013103500743 A CN2013103500743 A CN 2013103500743A CN 201310350074 A CN201310350074 A CN 201310350074A CN 103428583 A CN103428583 A CN 103428583A
Authority
CN
China
Prior art keywords
stream media
files
facility information
key file
certificate
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
CN2013103500743A
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.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN2013103500743A priority Critical patent/CN103428583A/en
Publication of CN103428583A publication Critical patent/CN103428583A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

An embodiment of the invention discloses a stream media file protection method and a digital television terminal. The method includes the steps: adding device information and a digital certificate into an HLS (HTTP live stream) player; transmitting a download request to a server through the HLS player and transmitting the device information and the digital certificate to the server through the HLS player; receiving a stream media file returned by the server and a key file for decoding the stream media file. The returned stream media file and the key file for decoding the stream media file are returned as the server responds to the download request after the device information and the digital certificate pass verification. By the method, safety of the key file and the stream media file can be effectively ensured.

Description

A kind of guard method to files in stream media and digital TV terminal
Technical field
The present invention relates to communication technical field, relate in particular to a kind of guard method to files in stream media and digital TV terminal.
Background technology
HLS(HTTP Live Stream, the stream media network host-host protocol based on HTTP) allow the content provider to provide and approach real-time audio and video stream media service by the network server to client end, comprise live and program request.HLS supports same program is encoded to a plurality of replacement streams of different code checks, and client software can carry out the intelligence switching according to the variation of the network bandwidth between the replacement stream of these different code checks.HLS supports to reach medium copyright protection by the mode of media encryption.
In the prior art; adopt AES-128(Advanced Encryption Standard; Advanced Encryption Standard) files in stream media that algorithm protection HLS plays; but the single protected mode to files in stream media employing AES-128 algorithm for encryption; can not guarantee the safety of key file, key file is dangerous just has influence on the fail safe of files in stream media possibly.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of guard method to Streaming Media and digital TV terminal are provided, and can effectively guarantee the fail safe of key file and files in stream media.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of guard method to files in stream media, comprising:
Add facility information and digital certificate in the HLS player;
Send download request to server by described HLS player, and by described HLS player, described facility information and described digital certificate are sent to described server;
Receive files in stream media that described server returns and for deciphering the key file of described files in stream media;
Wherein, the described files in stream media returned and be described server to after being verified of described facility information and described digital certificate for the key file of deciphering described files in stream media, respond that described download request returns.
Wherein, described facility information and the digital certificate of adding in the HLS player comprises:
Whether the URL address of judgement input is present in play list file;
Be present in play list file if determine described URL address, in described HLS player, add facility information, and further judge whether described URL address belongs to the HTTPS access;
Belong to the HTTPS access if determine described URL address, in described HLS player, add digital certificate.
Wherein, describedly in described HLS player, add facility information, comprising:
Obtain the operation system information of local terminal as facility information, and by default interface, described facility information is set;
Add set facility information to described HLS player.
Wherein, describedly in described HLS player, add digital certificate, comprising:
Add the digital certificate of encryption, certificate key file, certificate key file pass phrase to described HLS player;
Control described HLS player and by described certificate key file pass phrase, described certificate key file is decrypted, the certificate key file after being deciphered;
Control again described HLS player and by the certificate key file after deciphering, the digital certificate of encrypting is decrypted, the digital certificate after being deciphered.
Wherein, the files in stream media returned at the described server of described reception and for the key file of deciphering described files in stream media after, also comprise:
By described, for the key file of deciphering described files in stream media, described files in stream media is decrypted;
Files in stream media after deciphering is decoded, and decoded files in stream media is play.
Correspondingly, the embodiment of the present invention also provides a kind of digital TV terminal, comprising:
Add module, at the HLS player, adding facility information and digital certificate;
Sending module, for by described HLS player, sending download request to server, and send to described server by described HLS player by described facility information and described digital certificate;
Receiver module, for receiving files in stream media that described server returns and for deciphering the key file of described files in stream media;
Wherein, the described files in stream media returned in described receiver module and be described server to after being verified of described facility information and described digital certificate for the key file of deciphering described files in stream media, respond that described download request returns.
Wherein, described interpolation module comprises:
Whether the first judging unit, be present in play list file for the URL address that judges input;
The first adding device if be present in play list file for described the first judgment unit judges to described URL address, adds facility information in described HLS player;
Whether the second judging unit, belong to the HTTPS access for judging described URL address;
The second adding device if belong to the HTTPS access to described URL address for described the second judgment unit judges, adds digital certificate in described HLS player.
Wherein, described the first adding device comprises:
Obtain subelement is set, for the operation system information of obtaining local terminal, as facility information, and by default interface, described facility information is set;
Information is added subelement, for the facility information by set, adds described HLS player to.
Wherein, described the second adding device comprises:
Certificate adds subelement, for the digital certificate by encryption, certificate key file, certificate key file pass phrase, adds described HLS player to;
First controls subelement, by described certificate key file pass phrase, described certificate key file is decrypted the certificate key file after being deciphered for controlling described HLS player;
Second controls subelement, by the certificate key file after deciphering, the digital certificate of encrypting is decrypted the digital certificate after being deciphered for controlling described HLS player.
Wherein, also comprise:
Deciphering module, for being decrypted described files in stream media for the key file of deciphering described files in stream media by described;
The decoding playing module, decoded for the files in stream media to after deciphering, and decoded files in stream media play.
Implement the embodiment of the present invention, there is following beneficial effect:
The embodiment of the present invention is by adding facility information and digital certificate to the HLS player, send this facility information and digital certificate to control the HLS player to server, and by server, it is verified, after the legitimacy of the described facility information of checking and digital certificate is passed through, digital TV terminal just can the download stream media file and corresponding key file, makes the fail safe that by increasing, can better guarantee key file and files in stream media to the checking of facility information and digital certificate.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of guard method to files in stream media of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind that provides of the embodiment of the present invention to the guard method of files in stream media;
Fig. 3 is wherein a kind of schematic flow sheet that adds the method for facility information that the embodiment of the present invention provides;
Fig. 4 is wherein a kind of schematic flow sheet that adds the method for digital certificate that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of digital TV terminal of providing of the embodiment of the present invention;
Fig. 6 is the structural representation of the another kind of digital TV terminal that provides of the embodiment of the present invention;
Fig. 7 is a kind of structural representation that adds module that the embodiment of the present invention provides;
Fig. 8 is the structural representation of a kind of the first adding device of providing of the embodiment of the present invention;
Fig. 9 is the structural representation of a kind of the second adding device of providing of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Referring to Fig. 1, is the schematic flow sheet of a kind of guard method to files in stream media of providing of the embodiment of the present invention, and described method comprises:
S101 adds facility information and digital certificate in the HLS player;
Concrete, URL(Uniform Resource Locator when user's input, URL(uniform resource locator)) the corresponding resource in address belongs to while utilizing HLS to play, digital TV terminal can add facility information and digital certificate to described HLS player, described facility information can comprise operating system version and/or hardware version, described digital certificate can be SSL(Secure socket layer, security socket layer) certificate.
S102, send download request to server by described HLS player, and by described HLS player, described facility information and described digital certificate sent to described server;
Concrete, after described HLS player has added facility information and digital certificate, can send download request to server by described HLS player, with request download stream media file and for deciphering the key file of described files in stream media.When sending download request, can also add facility information and described digital certificate be sent to described server by described HLS player; Perhaps, when controlling described HLS player transmission download request, add described facility information and described digital certificate in described download request, make the described download request of server parses, and obtain facility information and digital certificate in download request.
S103, receive files in stream media that described server returns and for deciphering the key file of described files in stream media;
Concrete, sending download request, facility information and digital certificate after server by described HLS player, digital TV terminal can receive files in stream media that described server returns and for deciphering the key file of described files in stream media, wherein, the described files in stream media returned and be described server to after being verified of described facility information and described digital certificate for the key file of deciphering described files in stream media, respond that described download request returns.When server to the checking of facility information and/or digital certificate by the time, described digital TV terminal can't be downloaded this files in stream media and for deciphering the key file of described files in stream media.
The embodiment of the present invention is by adding facility information and digital certificate to the HLS player, send this facility information and digital certificate to control the HLS player to server, and by server, it is verified, after the legitimacy of the described facility information of checking and digital certificate is passed through, digital TV terminal just can the download stream media file and corresponding key file, makes the fail safe that by increasing, can better guarantee key file and files in stream media to the checking of facility information and digital certificate.
Referring to Fig. 2, is the schematic flow sheet of the another kind that provides of the embodiment of the present invention to the guard method of files in stream media again, and described method comprises:
S201, whether the URL address of judgement input is present in play list file;
Concrete, described play list file can be the m3u8 file, this m3u8 file belongs to the m3u8 file while utilizing HLS to play.Described play list file can comprise the URL address that a plurality of HLS of utilization play, whether the URL address of judgement input is present in play list file, i.e. whether the URL address of judgement input is one of them the URL address that utilizes HLS to play in play list file.
S202 adds facility information in described HLS player;
When the URL address of judgement input is present in play list file, can in described HLS player, add facility information, described facility information can comprise operating system version and/or hardware version, for example, in described HLS player, adds the facility information that operating system is Android 4.0.When the URL address of judgement input does not exist in play list file, described HLS player is not added to facility information, and the URL address of waiting for input next time, until the URL address of input while being present in play list file, just starts to described HLS player interpolation facility information.
S203, judge whether described URL address belongs to the HTTPS access;
After described HLS player adds facility information, further can judge whether described URL address belongs to HTTPS(Hypertext Transfer Protocol over Secure Socket Layer, hypertext transfer protocol secure socket layer) access.
S204 adds digital certificate in described HLS player;
When judgement described URL address belongs to the HTTPS access, add digital certificate in described HLS player, described digital certificate can be the SSL certificate.
S205, send download request to server by described HLS player, and by described HLS player, described facility information and described digital certificate sent to described server;
Concrete, after described HLS player has added facility information and digital certificate, can send download request to server by described HLS player, with request download stream media file and for deciphering the key file of described files in stream media.When sending download request, can also add facility information and described digital certificate be sent to described server by described HLS player; Perhaps, when controlling described HLS player transmission download request, add described facility information and described digital certificate in described download request, after making the described download request of server parses, server can be verified the facility information in download request and digital certificate.
S206, receive files in stream media that described server returns and for deciphering the key file of described files in stream media;
Concrete, sending download request, facility information and digital certificate after server by described HLS player, digital TV terminal can receive files in stream media that described server returns and for deciphering the key file of described files in stream media, wherein, the described files in stream media returned and be described server to after being verified of described facility information and described digital certificate for the key file of deciphering described files in stream media, respond that described download request returns.When server to the checking of facility information and/or digital certificate by the time, described digital TV terminal can't be downloaded this files in stream media and for deciphering the key file of described files in stream media.For example, when server receives facility information and digital certificate, server first verifies whether facility information meets, if do not meet, the refusal digital TV terminal is downloaded, if facility information meets, whether correctly continue the checking digital certificate, if digital certificate is incorrect, the refusal digital TV terminal is downloaded, if digital certificate is correct, allow digital TV terminal to be downloaded.
S207, be decrypted described files in stream media for the key file of deciphering described files in stream media by described;
Concrete, digital TV terminal is downloaded and is preserved described files in stream media and, for deciphering the key file of described files in stream media, then described files in stream media is decrypted for the key file of deciphering described files in stream media by described.
S208, decoded to the files in stream media after deciphering, and decoded files in stream media play;
Digital TV terminal is sent to central processing unit by the files in stream media after deciphering and is decoded, and decoded files in stream media is play.
The embodiment of the present invention is by adding facility information and digital certificate to the HLS player, send this facility information and digital certificate to control the HLS player to server, and by server, it is verified, after the legitimacy of the described facility information of checking and digital certificate is passed through, digital TV terminal just can the download stream media file and corresponding key file, makes the fail safe that by increasing, can better guarantee key file and files in stream media to the checking of facility information and digital certificate.
Further, then referring to Fig. 3, is wherein a kind of schematic flow sheet that adds the method for facility information that the embodiment of the present invention provides; The S202 of the described method of the embodiment of the present invention in can the embodiment corresponding corresponding to above-mentioned Fig. 2.The embodiment of the present invention is described in detail to add facility information.The described method of the embodiment of the present invention specifically comprises:
S301, obtain the operation system information of local terminal as facility information, and by default interface, described facility information is set;
Concrete, obtain the operation system information of local terminal as facility information, and by default interface, described facility information is set.For example, the operation system information of the local terminal got is Android 4.0, and it is Android 4.0 that described facility information will be set by default interface.Facility information can also comprise hardware version information.
S302, add set facility information to described HLS player;
Wherein, the files in stream media of playing for HLS is encrypted with the AES-128 algorithm in advance by supplier, and by the files in stream media encrypted be stored in the lump server for the key file of deciphering described files in stream media, and on described server the configuration specific facility information, when the facility information that is sent to server by digital TV terminal control HLS player mates with the specific facility information configured on described server, server just allows this digital TV terminal to continue access.
The embodiment of the present invention by adding facility information in the HLS player, make server can verify the correctness of the facility information sent by the HLS player, to judge whether having guaranteed the fail safe of files in stream media and key file to digital TV terminal transmission data.
Further, then referring to Fig. 4, is wherein a kind of schematic flow sheet that adds the method for digital certificate that the embodiment of the present invention provides; The S204 of the described method of the embodiment of the present invention in can the embodiment corresponding corresponding to above-mentioned Fig. 2.The embodiment of the present invention is described in detail to add digital certificate.The described method of the embodiment of the present invention specifically comprises:
S401, add the digital certificate of encryption, certificate key file, certificate key file pass phrase to described HLS player;
S402, control described HLS player and by described certificate key file pass phrase, described certificate key file be decrypted, the certificate key file after being deciphered;
Receive the digital certificate, certificate key file, certificate key file pass phrase of encryption at described HLS after, digital TV terminal can be controlled described HLS player and by described certificate key file pass phrase, described certificate key file is decrypted, and the certificate key file after being deciphered.
S403, then the digital certificate to encryption is decrypted by the certificate key file after deciphering to control described HLS player, the digital certificate after being deciphered;
After certificate key file after being deciphered, digital TV terminal can be controlled described HLS player and by the certificate key file after deciphering, the digital certificate of encrypting is decrypted, and the digital certificate after being deciphered.
The embodiment of the present invention by adding digital certificate in the HLS player, make server can verify the correctness of the digital certificate sent by the HLS player, to judge whether having guaranteed the fail safe of files in stream media and key file to digital TV terminal transmission data.
Referring to Fig. 5, is the structural representation of a kind of digital TV terminal 1 of providing of the embodiment of the present invention, and described digital TV terminal 1 can comprise: add module 10, sending module 20, receiver module 30;
Described interpolation module 10, for adding facility information and digital certificate at the HLS player;
Concrete, when the corresponding resource in URL address of user input belongs to while utilizing HLS to play, described interpolation module 10 can be added facility information and digital certificate to described HLS player, described facility information can comprise operating system version and/or hardware version, and described digital certificate can be the SSL certificate.
Described sending module 20, for by described HLS player, sending download request to server, and send to described server by described HLS player by described facility information and described digital certificate;
Concrete, in described interpolation module 10 after described HLS player has added facility information and digital certificate, described sending module 20 can send download request to server by described HLS player, with request download stream media file and for deciphering the key file of described files in stream media.Described sending module 20, when sending download request, can also send to described server by added facility information and described digital certificate by described HLS player; Perhaps, described sending module 20 is when controlling described HLS player transmission download request, add described facility information and described digital certificate in described download request, make the described download request of server parses, and obtain facility information and digital certificate in download request.
Described receiver module 30, for receiving files in stream media that described server returns and for deciphering the key file of described files in stream media;
Concrete, send download request, facility information and digital certificate at described sending module 20 after server by described HLS player, described receiver module 30 can receive files in stream media that described server returns and for deciphering the key file of described files in stream media, wherein, the described files in stream media returned in described receiver module 30 and be described server to after being verified of described facility information and described digital certificate for the key file of deciphering described files in stream media, respond that described download request returns.When server to the checking of facility information and/or digital certificate by the time, described digital TV terminal 1 can't be downloaded this files in stream media and for deciphering the key file of described files in stream media.
The embodiment of the present invention is by adding facility information and digital certificate to the HLS player, send this facility information and digital certificate to control the HLS player to server, and by server, it is verified, after the legitimacy of the described facility information of checking and digital certificate is passed through, digital TV terminal 1 just can the download stream media file and corresponding key file, makes the fail safe that by increasing, can better guarantee key file and files in stream media to the checking of facility information and digital certificate.
Refer to again Fig. 6, it is the structural representation of the another kind of digital TV terminal 1 that provides of the embodiment of the present invention, described digital TV terminal 1 can comprise interpolation module 10, sending module 20, the receiver module 30 in the corresponding embodiment of above-mentioned Fig. 5, further, the digital TV terminal 1 of the embodiment of the present invention can also comprise: deciphering module 40, decoding playing module 50.
Described deciphering module 40, for being decrypted described files in stream media for the key file of deciphering described files in stream media by described;
Concrete, described files in stream media is downloaded and preserved to digital TV terminal 1 and for deciphering the key file of described files in stream media, and for the key file of deciphering described files in stream media, described files in stream media is decrypted by described by described deciphering module 40.
Described decoding playing module 50, decoded for the files in stream media to after deciphering, and decoded files in stream media play;
Described decoding playing module 50 is sent to central processing unit by the files in stream media after deciphering and is decoded, and decoded files in stream media is play.
Further, refer to again Fig. 7, be a kind of structural representation that adds module 10 that the embodiment of the present invention provides, described interpolation module 10 can comprise: the first judging unit 101, the first adding device 102, the second judging unit 103, the second adding device 104;
Whether described the first judging unit 101, be present in play list file for the URL address that judges input;
Concrete, described play list file can be the m3u8 file, this m3u8 file belongs to the m3u8 file while utilizing HLS to play.Described play list file can comprise the URL address that a plurality of HLS of utilization play, whether the URL address of described the first judging unit 101 judgement inputs is present in play list file, i.e. whether the URL address of judgement input is one of them the URL address that utilizes HLS to play in play list file.
Described the first adding device 102, be present in play list file if determine described URL address for described the first judging unit 101, in described HLS player, adds facility information;
When the URL address of described the first judging unit 101 judgement inputs is present in play list file, described the first adding device 102 can add facility information in described HLS player, described facility information can comprise operating system version and/or hardware version, for example, described the first adding device 102 adds the facility information that operating system is Android 4.0 in described HLS player.When the URL address of described the first judging unit 101 judgement inputs does not exist in play list file, described the first adding device 102 does not add facility information to described HLS player, and the URL address of waiting for input next time, until the URL address of input while being present in play list file, just starts to described HLS player interpolation facility information.
Whether described the second judging unit 103, belong to the HTTPS access for judging described URL address;
After described HLS player adds facility information, further can judge whether described URL address belongs to the HTTPS access by described the second judging unit 103 at described the first adding device 102.
Described the second adding device 104, belong to the HTTPS access if determine described URL address for described the second judging unit 103, in described HLS player, adds digital certificate;
When described the second judging unit 103 judgement described URL addresses belong to the HTTPS access, described the second adding device 104 adds digital certificate in described HLS player, and described digital certificate can be the SSL certificate.
Further, then referring to Fig. 8, is the structural representation of a kind of the first adding device 102 of providing of the embodiment of the present invention, and described the first adding device 102 can comprise: obtain subelement 1021 is set, information is added subelement 1022;
Described obtaining arranges subelement 1021, for the operation system information of obtaining local terminal, as facility information, and by default interface, described facility information is set;
Concrete, described obtaining arranges operation system information that subelement 1021 obtains local terminal as facility information, and by default interface, described facility information is set.For example, described to obtain the operation system information that the local terminal that subelement 1021 gets is set be Android 4.0, and described obtaining arranges subelement 1021 described facility information will be set by default interface is Android 4.0.Facility information can also comprise hardware version information.
Described information is added subelement 1022, for the facility information by set, adds described HLS player to.
Further, refer to again Fig. 9, be the structural representation of a kind of the second adding device 104 of providing of the embodiment of the present invention, described the second adding device 104 can comprise: certificate adds subelement 1041, first and controls subelement 1042, second and control subelement 1043;
Described certificate adds subelement 1041, for the digital certificate by encryption, certificate key file, certificate key file pass phrase, adds described HLS player to;
Described first controls subelement 1042, by described certificate key file pass phrase, described certificate key file is decrypted the certificate key file after being deciphered for controlling described HLS player;
Receive the digital certificate, certificate key file, certificate key file pass phrase of encryption at described HLS after, described the first control subelement 1042 can be controlled described HLS player and by described certificate key file pass phrase, described certificate key file is decrypted, and the certificate key file after being deciphered.
Described second controls subelement 1043, by the certificate key file after deciphering, the digital certificate of encrypting is decrypted the digital certificate after being deciphered for controlling described HLS player;
After certificate key file after being deciphered, described the second control subelement 1043 can be controlled described HLS player and by the certificate key file after deciphering, the digital certificate of encrypting is decrypted, and the digital certificate after being deciphered.
The embodiment of the present invention is by adding facility information and digital certificate to the HLS player, send this facility information and digital certificate to control the HLS player to server, and by server, it is verified, after the legitimacy of the described facility information of checking and digital certificate is passed through, digital TV terminal 1 just can the download stream media file and corresponding key file, makes the fail safe that by increasing, can better guarantee key file and files in stream media to the checking of facility information and digital certificate.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (10)

1. the guard method to files in stream media, is characterized in that, comprising:
Add facility information and digital certificate in the HLS player;
Send download request to server by described HLS player, and by described HLS player, described facility information and described digital certificate are sent to described server;
Receive files in stream media that described server returns and for deciphering the key file of described files in stream media;
Wherein, the described files in stream media returned and be described server to after being verified of described facility information and described digital certificate for the key file of deciphering described files in stream media, respond that described download request returns.
2. the method for claim 1, is characterized in that, described facility information and the digital certificate of adding in the HLS player comprises:
Whether the URL address of judgement input is present in play list file;
Be present in play list file if determine described URL address, in described HLS player, add facility information, and further judge whether described URL address belongs to the HTTPS access;
Belong to the HTTPS access if determine described URL address, in described HLS player, add digital certificate.
3. method as claimed in claim 2, is characterized in that, describedly in described HLS player, adds facility information, comprising:
Obtain the operation system information of local terminal as facility information, and by default interface, described facility information is set;
Add set facility information to described HLS player.
4. method as claimed in claim 2, is characterized in that, describedly in described HLS player, adds digital certificate, comprising:
Add the digital certificate of encryption, certificate key file, certificate key file pass phrase to described HLS player;
Control described HLS player and by described certificate key file pass phrase, described certificate key file is decrypted, the certificate key file after being deciphered;
Control again described HLS player and by the certificate key file after deciphering, the digital certificate of encrypting is decrypted, the digital certificate after being deciphered.
5. method as described as claim 1 to 4 any one, is characterized in that, the files in stream media returned at the described server of described reception and for the key file of deciphering described files in stream media after, also comprise:
By described, for the key file of deciphering described files in stream media, described files in stream media is decrypted;
Files in stream media after deciphering is decoded, and decoded files in stream media is play.
6. a digital TV terminal, is characterized in that, comprising:
Add module, at the HLS player, adding facility information and digital certificate;
Sending module, for by described HLS player, sending download request to server, and send to described server by described HLS player by described facility information and described digital certificate;
Receiver module, for receiving files in stream media that described server returns and for deciphering the key file of described files in stream media;
Wherein, the described files in stream media returned in described receiver module and be described server to after being verified of described facility information and described digital certificate for the key file of deciphering described files in stream media, respond that described download request returns.
7. digital TV terminal as claimed in claim 6, is characterized in that, described interpolation module comprises:
Whether the first judging unit, be present in play list file for the URL address that judges input;
The first adding device if be present in play list file for described the first judgment unit judges to described URL address, adds facility information in described HLS player;
Whether the second judging unit, belong to the HTTPS access for judging described URL address;
The second adding device if belong to the HTTPS access to described URL address for described the second judgment unit judges, adds digital certificate in described HLS player.
8. digital TV terminal as claimed in claim 7, is characterized in that, described the first adding device comprises:
Obtain subelement is set, for the operation system information of obtaining local terminal, as facility information, and by default interface, described facility information is set;
Information is added subelement, for the facility information by set, adds described HLS player to.
9. digital TV terminal as claimed in claim 7, is characterized in that, described the second adding device comprises:
Certificate adds subelement, for the digital certificate by encryption, certificate key file, certificate key file pass phrase, adds described HLS player to;
First controls subelement, by described certificate key file pass phrase, described certificate key file is decrypted the certificate key file after being deciphered for controlling described HLS player;
Second controls subelement, by the certificate key file after deciphering, the digital certificate of encrypting is decrypted the digital certificate after being deciphered for controlling described HLS player.
10. digital TV terminal as described as claim 6 to 9 any one, is characterized in that, also comprises:
Deciphering module, for being decrypted described files in stream media for the key file of deciphering described files in stream media by described;
The decoding playing module, decoded for the files in stream media to after deciphering, and decoded files in stream media play.
CN2013103500743A 2013-08-12 2013-08-12 Stream media file protection method and digital television terminal Pending CN103428583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103500743A CN103428583A (en) 2013-08-12 2013-08-12 Stream media file protection method and digital television terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103500743A CN103428583A (en) 2013-08-12 2013-08-12 Stream media file protection method and digital television terminal

Publications (1)

Publication Number Publication Date
CN103428583A true CN103428583A (en) 2013-12-04

Family

ID=49652638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103500743A Pending CN103428583A (en) 2013-08-12 2013-08-12 Stream media file protection method and digital television terminal

Country Status (1)

Country Link
CN (1) CN103428583A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141984A (en) * 2015-08-21 2015-12-09 湖南亿谷科技发展股份有限公司 Network video obtaining system and network video obtaining method
WO2016062092A1 (en) * 2014-10-24 2016-04-28 中兴通讯股份有限公司 Method and mobile terminal for processing encrypted video
CN106936770A (en) * 2015-12-30 2017-07-07 玲珑视界科技(北京)有限公司 A kind of HLS index lists encrypted antitheft catenary system and method
CN109672670A (en) * 2018-12-11 2019-04-23 中新金桥数字科技(北京)有限公司 A method of based on mobile phone H5 safe web page playing stream media
WO2019153433A1 (en) * 2018-02-09 2019-08-15 网宿科技股份有限公司 Secret key providing method, video playback method, server and client
CN110875820A (en) * 2018-09-03 2020-03-10 国家广播电视总局广播电视科学研究院 Management method and system for multimedia content protection key and key agent device
CN111355980A (en) * 2020-04-16 2020-06-30 中奥科技发展(深圳)有限公司 Copyright attribution processing method, middleware and system for digital video product
CN113179323A (en) * 2021-04-29 2021-07-27 杭州迪普科技股份有限公司 HTTPS request processing method, device and system for load balancing equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242080A1 (en) * 2005-04-22 2006-10-26 Microsoft Corporation Rights management system for streamed multimedia content
CN101534433A (en) * 2009-04-22 2009-09-16 北京航空航天大学 Streaming media encryption method
CN101552903A (en) * 2009-05-04 2009-10-07 中兴通讯股份有限公司 Television program distribution method and system
US20100064378A1 (en) * 2008-09-05 2010-03-11 Samsung Electronics Co., Ltd. Method and apparatus for managing digital rights management module
CN101958904A (en) * 2010-10-12 2011-01-26 高斯贝尔数码科技股份有限公司 User identity (Id) security authentication system and method for interactive digital television system
CN102238179A (en) * 2010-04-07 2011-11-09 苹果公司 Real-time or near real-time streaming
CN102546528A (en) * 2010-12-08 2012-07-04 中国移动通信集团公司 Stream media playing method and stream media playing equipment
CN102595213A (en) * 2012-02-22 2012-07-18 深圳创维-Rgb电子有限公司 Security certificate method and system of credible TV terminal
CN103152321A (en) * 2011-12-06 2013-06-12 索尼公司 Digital rights management of streaming contents and services

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242080A1 (en) * 2005-04-22 2006-10-26 Microsoft Corporation Rights management system for streamed multimedia content
US20100064378A1 (en) * 2008-09-05 2010-03-11 Samsung Electronics Co., Ltd. Method and apparatus for managing digital rights management module
CN101534433A (en) * 2009-04-22 2009-09-16 北京航空航天大学 Streaming media encryption method
CN101552903A (en) * 2009-05-04 2009-10-07 中兴通讯股份有限公司 Television program distribution method and system
CN102238179A (en) * 2010-04-07 2011-11-09 苹果公司 Real-time or near real-time streaming
CN101958904A (en) * 2010-10-12 2011-01-26 高斯贝尔数码科技股份有限公司 User identity (Id) security authentication system and method for interactive digital television system
CN102546528A (en) * 2010-12-08 2012-07-04 中国移动通信集团公司 Stream media playing method and stream media playing equipment
CN103152321A (en) * 2011-12-06 2013-06-12 索尼公司 Digital rights management of streaming contents and services
CN102595213A (en) * 2012-02-22 2012-07-18 深圳创维-Rgb电子有限公司 Security certificate method and system of credible TV terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016062092A1 (en) * 2014-10-24 2016-04-28 中兴通讯股份有限公司 Method and mobile terminal for processing encrypted video
CN105592355A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Method for realizing encrypted video processing, and mobile terminal
CN105141984A (en) * 2015-08-21 2015-12-09 湖南亿谷科技发展股份有限公司 Network video obtaining system and network video obtaining method
CN106936770B (en) * 2015-12-30 2019-06-14 玲珑视界科技(北京)有限公司 A kind of HLS index list encrypted antitheft catenary system and method
CN106936770A (en) * 2015-12-30 2017-07-07 玲珑视界科技(北京)有限公司 A kind of HLS index lists encrypted antitheft catenary system and method
WO2019153433A1 (en) * 2018-02-09 2019-08-15 网宿科技股份有限公司 Secret key providing method, video playback method, server and client
EP3557876A4 (en) * 2018-02-09 2020-02-12 Wangsu Science & Technology Co., Ltd. Secret key providing method, video playback method, server and client
US11055429B2 (en) 2018-02-09 2021-07-06 Wangsu Science & Technology Co., Ltd. Key providing method, video playing method, server and client
CN110875820A (en) * 2018-09-03 2020-03-10 国家广播电视总局广播电视科学研究院 Management method and system for multimedia content protection key and key agent device
CN109672670A (en) * 2018-12-11 2019-04-23 中新金桥数字科技(北京)有限公司 A method of based on mobile phone H5 safe web page playing stream media
CN111355980A (en) * 2020-04-16 2020-06-30 中奥科技发展(深圳)有限公司 Copyright attribution processing method, middleware and system for digital video product
CN111355980B (en) * 2020-04-16 2022-05-03 中奥科技发展(深圳)有限公司 Copyright attribution processing method and system for digital video product
CN113179323A (en) * 2021-04-29 2021-07-27 杭州迪普科技股份有限公司 HTTPS request processing method, device and system for load balancing equipment

Similar Documents

Publication Publication Date Title
CN103428583A (en) Stream media file protection method and digital television terminal
CN110138716B (en) Key providing method, video playing method, server and client
US9026782B2 (en) Token-based entitlement verification for streaming media decryption
CN106331751B (en) A kind of online encrypted slice video broadcasting method based on iOS operating system
TWI406569B (en) Unit for managing audio/video data and access control method for said data
CN101719910B (en) Terminal equipment for realizing content protection and transmission method thereof
US9479825B2 (en) Terminal based on conditional access technology
CN107707504B (en) Streaming media playing method and system, server and client
CA2977970C (en) Pc secure video path
US20170303075A1 (en) System and method for playing licensed music based on bluetooth communication cross-reference to related application
US20170093572A1 (en) Systems and methods for utilizing hardware assisted protection for media content
WO2013056622A1 (en) Method for verifying access identity of set top box and authentication server
JP4666015B2 (en) Content distribution system, content receiving terminal, and content distribution method
CN110011950B (en) Authentication method and device for video stream address
US20110197264A1 (en) System and method for remote media access
WO2017054620A1 (en) Dvb-based multi-terminal program playing method and system, set top box and mobile terminal
CN104298896A (en) Method and system for managing and distributing digital rights
CN101207794B (en) Method for enciphering and deciphering number copyright management of IPTV system
CN101202883B (en) System for numeral copyright management of IPTV system
US20140108804A1 (en) System and method for verifying the authenticity of an electronic device
CN102149018B (en) Safe protection processing method and system applying HSML (Hot Spot Markup Language) analyzing engine
WO2018072685A1 (en) Method and device for playing back data stream playback, method and device for transmitting type information of data stream
CN103873887A (en) Request program playing method, device and system
CN114189706B (en) Media playing method, system, device, computer equipment and storage medium
CN105657454A (en) Audio and video terminal network EPG receiving method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131204