CN110493611A - Dst player - Google Patents
Dst player Download PDFInfo
- Publication number
- CN110493611A CN110493611A CN201910742534.4A CN201910742534A CN110493611A CN 110493611 A CN110493611 A CN 110493611A CN 201910742534 A CN201910742534 A CN 201910742534A CN 110493611 A CN110493611 A CN 110493611A
- Authority
- CN
- China
- Prior art keywords
- media data
- module
- data
- sent
- encrypting
- 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
Links
- 238000000605 extraction Methods 0.000 claims abstract description 22
- 238000012544 monitoring process Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 8
- 238000000034 method Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 2
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0863—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2347—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses DST PLAYERs, including playing module, encrypting module and extraction module;The extraction module, for extracting media data from server and being sent to encrypting module;Encrypted media data for encrypting to the media data that extraction module is sent, and is sent to playing module by the encrypting module;The playing module for the media data that encrypting module is sent to be decrypted, and plays out the media data after decryption.The present invention its by being encrypted to the media data for being transmitted to playing module, increase the difficulty that criminal obtains media data content, protect the intellectual achievement of media data supplier.
Description
Technical field
The invention belongs to field of communication technology more particularly to a kind of DST PLAYERs.
Background technique
Streaming Media (streaming media) refer to by a series of media data compression after, by being segmented transmission on the net
Data, in instant online transmitting audio-video so that a kind of ornamental technology and process, this technology are able to data packet as flowing water one
Sample is sent;If not using this technology, must just the preceding entire media file of downloading be being used.
With social development, scientific and technical reference uses stream media technology for the online education of main implementation, makees
For a kind of form of long-distance education, it is sent to great expectations.
The stream media technology extensive application in adaptive on-line education system at present, but there are still it is following not
Foot: what the media data majority in on-line education system was all paid for watching or listening to, media data is quite valuable property,
If media data is illegally propagated, very big loss can be caused to media data supplier.
Summary of the invention
It is broadcast in view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is that providing a kind of Streaming Media
Device is put, by being encrypted to the media data for being transmitted to playing module, criminal is increased and obtains media data content
Difficulty, protect the intellectual achievement of media data supplier.
In order to solve the above technical problems, the technical solution adopted by the present invention is that: DST PLAYER, comprising: playing module,
Encrypting module and extraction module;
The extraction module, for extracting media data from server and being sent to encrypting module;
The encrypting module, for being encrypted to the media data that extraction module is sent, and by encrypted media
Data are sent to playing module;
The playing module, for the media data that encrypting module is sent to be decrypted, and to the media after decryption
Data play out.
Above-mentioned DST PLAYER further includes the monitoring module being monitored to the operating status of playing module.
Above-mentioned DST PLAYER further includes interrupting adding module, for adding to any time node in media data
It interrupts.
Above-mentioned DST PLAYER further includes data source switching module, there is multiple storage identical medias in the server
The data source of data, when the extraction module extracts media data generation mistake from a data source, data source switching module control
Extraction module processed extracts media data from another data source.
Above-mentioned DST PLAYER, when the encrypting module encrypts media data, by FFmpeg to media number
It is multiple media data pieces by media data cutting according to slicing treatment is carried out;Each media data piece after slicing treatment is made
Cryptographic operation is carried out with key key;Media data piece include one or more " m3u8 files ", one or more " .ts files ",
And key key file;Key key file configuration has permission to access, and accesses if user has permission to key key file,
Then playing module plays out the corresponding media data piece of key key file.
Compared with the prior art, the present invention has the following advantages: by using encrypting module to the matchmaker for being sent to playing module
Volume data is encrypted, so that criminal when being truncated to media data, can not be readily available in documented by media data
Hold, when making content documented by media data to be obtained, it is necessary to by playing module.Directly will compared to existing player
The data of unencryption are sent to playing module, so that criminal is truncated to the data of unencryption easily and propagate, this
Invention protects the intellectual achievement of media data supplier.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Fig. 1 is the principle of the present invention block diagram.
Description of symbols:
1-playing module;2-encrypting modules;3-extraction modules;
4-servers;5-interrupt adding module;6-monitoring modules;
7-data source switching modules.
Specific embodiment
Referring to Fig.1, the present invention will be described.
A kind of DST PLAYER, comprising: playing module 1, encrypting module 2 and extraction module 3.
The extraction module 3, for extracting media data from server 4 and being sent to encrypting module 2;
The encrypting module 2, the media data for sending to extraction module 3 encrypt, and by encrypted matchmaker
Volume data is sent to playing module 1;
The playing module 1, the media data for sending to encrypting module 2 are decrypted, and to the matchmaker after decryption
Volume data plays out.
It should be noted that the playing module 1 is laid in client, extraction module 3 and encryption mould in actual use
Block 2 is laid in server-side.By setting encrypting module 2, the data for keeping the media data for being sent to playing module 1 encrypted,
So that being by other means encrypted data in the media data that client is truncated to, prevent the content of media data from light
Easily it is transmitted.
In the present embodiment, when the encrypting module 2 encrypts media data, comprising the following steps:
Slicing treatment is carried out to media data by FFmpeg, is multiple media data pieces by media data cutting;
Cryptographic operation is carried out using key key to each media data piece after slicing treatment.
In the present embodiment, media data piece include one or more " m3u8 files ", one or more " .ts files ", with
And key key file.
In the present embodiment, key key file configuration has permission to access.
In actual use, it accesses if user has permission to key key file, playing module 1 is to key key text
The corresponding media data piece of part plays out.
It should be noted that the playing module 1 can be realized using Html5 technology, Html5 technology, which has, is saved locally
Resource does not have to the advantages of loading Flash plug-in unit.< video > </video > label of HTML5 provides for realizing common
The JavaScriptAPI of function realizes that playing module 1, the playing module 1 include at least by being packaged exploitation to API
The function of " beginning ", " pause " and " dragging " during being played out to media data.It pulls herein and refers to that user is playing boundary
In face of the dragging of playing progress bar.
Wherein, " beginning " function calls play method that can trigger play chain of events by calling play method to realize.
" pause " function is by calling pause method." dragging " function is by calling seekable method to realize.
It further include the monitoring module 6 being monitored to the operating status of playing module 1 in the present embodiment.
It should be noted that the monitoring module 6 is realized by Monitor component.
In actual use, default initialization (Monitor.init method) websocket first establishes monitoring module 6 and clothes
The communication of business device 4, monitoring module 6 call play method to report broadcast state information to server 4.Monitoring module 6 calls pause
Method reports halted state information to server 4.Monitoring module 6 reports media data by being packaged to seekable method
The dragging status information of broadcasting.
It further include interrupting adding module 5 in the present embodiment, for being interrupted to any time node addition in media data.
It should be noted that the interruption adding module 5 is realized by Marker component.By to it is any in media data when
Intermediate node addition is interrupted, and some interacting activities can be added in this node.Such as: it is being course teaching video when media data
When, examination question test, study condition information of the acquisition student to current course teaching video can be inserted into specific time node.
Further include data source switching module 7 in the present embodiment, there are multiple storage identical media data in the server 4
Data source, when the extraction module 3 extracts media data from data source mistake occurs, data source switching module 7 is controlled
Extraction module 3 extracts media data from another data source.
It should be noted that the data source switching module 7 access has a Log component, the purpose of access Log component be in order to
Facilitate and collect the error message that occurs in media data playing process, when showing extraction module 3 from one in an error message
When data source extracts media data generation mistake, changePlayerSource method is called, extraction module 3 from another is controlled
Data source extracts media data.
The above is only presently preferred embodiments of the present invention, is not intended to limit the invention in any way, it is all according to the present invention
Technical spirit any simple modification to the above embodiments, change and equivalent structural changes, still fall within skill of the present invention
In the protection scope of art scheme.
Claims (5)
1. DST PLAYER characterized by comprising playing module, encrypting module and extraction module;
The extraction module, for extracting media data from server and being sent to encrypting module;
The encrypting module, for being encrypted to the media data that extraction module is sent, and by encrypted media data
It is sent to playing module;
The playing module, for the media data that encrypting module is sent to be decrypted, and to the media data after decryption
It plays out.
2. DST PLAYER described in accordance with the claim 1, it is characterised in that: further include to the operating status of playing module into
The monitoring module of row monitoring.
3. DST PLAYER described in accordance with the claim 1, it is characterised in that: further include interrupting adding module, for matchmaker
The addition of any time node is interrupted in volume data.
4. DST PLAYER described in accordance with the claim 1, it is characterised in that: further include data source switching module, the clothes
There is the data source of multiple storage identical media data in business device, the extraction module extracts media data from a data source
When mistake, data source switching module controls extraction module and extracts media data from another data source.
5. DST PLAYER described in accordance with the claim 1, it is characterised in that: the encrypting module adds media data
When close, slicing treatment is carried out to media data by FFmpeg, is multiple media data pieces by media data cutting;At slice
Each media data piece after reason carries out cryptographic operation using key key;Media data piece includes one or more " m3u8 texts
Part ", one or more " .ts files " and key key file;Key key file configuration has permission to access, if user has the right
Limit accesses to key key file, then playing module plays out the corresponding media data piece of key key file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910742534.4A CN110493611A (en) | 2019-08-09 | 2019-08-09 | Dst player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910742534.4A CN110493611A (en) | 2019-08-09 | 2019-08-09 | Dst player |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110493611A true CN110493611A (en) | 2019-11-22 |
Family
ID=68550710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910742534.4A Pending CN110493611A (en) | 2019-08-09 | 2019-08-09 | Dst player |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110493611A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702725A (en) * | 2009-11-12 | 2010-05-05 | 清华大学 | System, method and device for transmitting streaming media data |
CN102149005A (en) * | 2011-04-29 | 2011-08-10 | 四川长虹电器股份有限公司 | Self-adaptive method for controlling network video quality |
CN102231730A (en) * | 2011-05-31 | 2011-11-02 | 电子科技大学 | Audio/video continuous play seamless switching system and method |
CN102546528A (en) * | 2010-12-08 | 2012-07-04 | 中国移动通信集团公司 | Stream media playing method and stream media playing equipment |
CN103810174A (en) * | 2012-11-06 | 2014-05-21 | 阿里巴巴集团控股有限公司 | Database switching method and database switching system |
CN104506497A (en) * | 2014-12-10 | 2015-04-08 | 青岛海信电器股份有限公司 | Information issuing method and system |
CN106055402A (en) * | 2016-07-20 | 2016-10-26 | 青岛海信电器股份有限公司 | Interrupt processing method and device |
CN106101866A (en) * | 2016-07-14 | 2016-11-09 | 观止云(北京)信息技术有限公司 | A kind of method of HLS Streaming Media DRM |
US20190028742A1 (en) * | 2014-12-31 | 2019-01-24 | DISH Technologies L.L.C. | Automated video content processing |
-
2019
- 2019-08-09 CN CN201910742534.4A patent/CN110493611A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702725A (en) * | 2009-11-12 | 2010-05-05 | 清华大学 | System, method and device for transmitting streaming media data |
CN102546528A (en) * | 2010-12-08 | 2012-07-04 | 中国移动通信集团公司 | Stream media playing method and stream media playing equipment |
CN102149005A (en) * | 2011-04-29 | 2011-08-10 | 四川长虹电器股份有限公司 | Self-adaptive method for controlling network video quality |
CN102231730A (en) * | 2011-05-31 | 2011-11-02 | 电子科技大学 | Audio/video continuous play seamless switching system and method |
CN103810174A (en) * | 2012-11-06 | 2014-05-21 | 阿里巴巴集团控股有限公司 | Database switching method and database switching system |
CN104506497A (en) * | 2014-12-10 | 2015-04-08 | 青岛海信电器股份有限公司 | Information issuing method and system |
US20190028742A1 (en) * | 2014-12-31 | 2019-01-24 | DISH Technologies L.L.C. | Automated video content processing |
CN106101866A (en) * | 2016-07-14 | 2016-11-09 | 观止云(北京)信息技术有限公司 | A kind of method of HLS Streaming Media DRM |
CN106055402A (en) * | 2016-07-20 | 2016-10-26 | 青岛海信电器股份有限公司 | Interrupt processing method and device |
Non-Patent Citations (2)
Title |
---|
杨磊,张艳霞等: "《网络视频监控技术》", 30 June 2017, 中国传媒大学出版社 * |
王超: "适于流媒体的DRM系统的实现", 《高新技术产业发展》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9038147B2 (en) | Progressive download or streaming of digital media securely through a localized container and communication protocol proxy | |
CN106331751B (en) | A kind of online encrypted slice video broadcasting method based on iOS operating system | |
CN104683884B (en) | A kind of stream media live broadcasting method and system | |
US10341692B2 (en) | Live streaming-TV content, acquisition, transformation, encryption, and distribution system, and method for its use | |
Wang et al. | Anatomy of a personalized livestreaming system | |
CN106375834B (en) | A kind of offline playback method of online encrypted slice video and device based on iOS operating system | |
KR101854919B1 (en) | Method and apparatus for providing drm service | |
CN101534433B (en) | Streaming media encryption method | |
McPherson et al. | CovertCast | |
CN104735473B (en) | A kind of detection method and device of video render | |
CN108881205A (en) | A kind of safety broadcasting system and playback method of HLS Streaming Media | |
US20170171166A1 (en) | Anti-hotlinking method and electronic device | |
CN107517411B (en) | Video playing method based on GSstreamer frame | |
CN105141984A (en) | Network video obtaining system and network video obtaining method | |
CN108989886A (en) | A kind of method and system playing encrypted video | |
CN109996095A (en) | Method, system and medium for preventing stealing link playing in network video on demand | |
CN110012260A (en) | A kind of video conference content guard method, device, equipment and system | |
CN108768920A (en) | A kind of recorded broadcast data processing method and device | |
US20180019978A1 (en) | Content inspection in privacy enhanced cloud conferencing | |
CN105306902A (en) | 4G network based end-to-end high-definition video safe transmission system and method | |
CN110493611A (en) | Dst player | |
CN106658062A (en) | Video segment encryption and playing method based on random encryption | |
US20080037782A1 (en) | Reduction of channel change time for digital media devices using key management and virtual smart cards | |
CN106203173B (en) | A kind of SWF file cracks means of defence and system | |
CN102843335B (en) | The processing method of streaming medium content and equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191122 |