CN107396141A - A kind of program playing management method, player method, device and playback terminal - Google Patents
A kind of program playing management method, player method, device and playback terminal Download PDFInfo
- Publication number
- CN107396141A CN107396141A CN201610321440.6A CN201610321440A CN107396141A CN 107396141 A CN107396141 A CN 107396141A CN 201610321440 A CN201610321440 A CN 201610321440A CN 107396141 A CN107396141 A CN 107396141A
- Authority
- CN
- China
- Prior art keywords
- program
- data
- request
- program data
- code stream
- 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
- 238000007726 management method Methods 0.000 title claims abstract description 32
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000005516 engineering process Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/16—Program or content traceability, e.g. by watermarking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- 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
-
- 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/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/254—Management at additional data server, e.g. shopping server, rights management server
- H04N21/2541—Rights Management
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4627—Rights management associated to the content
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/835—Generation of protective data, e.g. certificates
- H04N21/8358—Generation of protective data, e.g. certificates involving watermark
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The present invention provides a kind of program playing management method, player method, device and playback terminal.The program playing management method, including:Obtain the broadcasting that playback terminal is sent and record program request, the recording program request that plays is used to ask to play the program data prestored;Program request is recorded according to described play, program data is obtained in the recording program data prestored, and the program data is sent to the playback terminal.Such scheme, playback terminal is when playing DRM programs, managing device only need to be played to the program for belonging to same LAN with it and send solicited message, play managing device and the DRM programs of recording are sent to playback terminal, without playback terminal to DRM server application licence, reduce licence usage quantity, reduce the consumption of licence resources, reduce the cost of operator.
Description
Technical field
The present invention relates to Digital Rights Management Technology field, more particularly to a kind of program playing management method, broadcast
Put method, apparatus and playback terminal.
Background technology
More and more important, the digital copyright management (Digital Rights Management, DRM) of digital version adaptability in tactics
In set-top box application very extensively, DRM encryption technologies have a variety of technology.Wherein, it is a kind of mainly be with
Data encryption and the DRM technology that anti-copy is core, the implementation of the technology are:Only authorized user's
The key that can be decrypted, and key is bound with the hardware information of user, and encryption technology adds hardware
Binding technology prevents illegal copies, and this technology can effectively achieve the purpose of copyright protection, current domestic
The DRM system of outer most of company and research institution all uses this technology.Want the file of viewing encryption,
Firstly the need of mandate, set top box is registered firstly the need of in DRM system, and DRM server is to the machine
Top box is authorized, and a certificate and channel key (EMM) are issued to set top box, and server is to piece
When source is encrypted, ECM can be added in code stream, set top box is when being played to encryption file, according to itself
Channel key and ECM the reduction control word that the server of reception issues, so as to which encryption stream be decrypted, i.e.,
It can play out.
In one family LAN, general one family has multiple set top boxes, and basic function is roughly the same,
All set top boxes can be carried out recording, and viewing is live, viewing recording program, but an only set top box
With hard disk, we can be referred to as digital video recorder set top box (Digital Video Recorder-Set
Top Box, DVR STB), we are referred to as STB for the set top boxes of other no hard disks, and all recording programs are equal
It can be stored in DVR STB hard disk.The flow of DRM programs is played in present family lan is:Often
Individual set top box is registered, DRM server is its distribution license in start to DRM server
(licence), set top box interacts when playing DRM programs with DRM server, obtains key,
Played out after decryption, including it is also such to play the DRM programs recorded.
Under one family LAN, operator can limit family LAN access off the net by business account
The set top box and player of environment, i.e., unauthorized set top box can not be linked into the home network and environment to protect
The right of oneself is protected, multiple players are generally there are under each family lan, such as set top box, mobile phone, PAD,
Existing each player be required for when DRM programs play to DRM server application licence,
One licence resource commercially probably needs three cents, only for set top box, one family LAN
For, typically have the box of 4 or so, that is, need 12 cents, demand of so getting off be it is very huge, this
Kind mode can undoubtedly increase the cost of operator.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of program playing management method, player method, device
And playback terminal, to solve existing STB when carrying out DRM program playing requests, can be taken to DRM
Business device application licence resources, when the STB in same LAN is more, such a DRM programs play please
Ask mode that licence resource consumptions can be caused excessive, be unfavorable for the problem of operator is cost-effective.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of program playing management method, including:
Obtain the broadcasting that playback terminal is sent and record program request, the recording program request that plays is used to ask
Play the program data prestored;
Program request is recorded according to described play, program data is obtained in the recording program data prestored,
And the program data is sent to the playback terminal.
Further, it is described that program request is recorded according to described play, in the recording program data prestored
Middle acquisition program data, and be specially the step of the program data is sent into the playback terminal:
Number of programs corresponding with the broadcasting recording program request is searched in the recording program data prestored
According to;
The program data is decrypted, obtains ciphertext data;
The ciphertext data is sent to the playback terminal.
Further, the program data is decrypted described, before the step of obtaining ciphertext data,
The program playing management method also includes:
Judge whether the length of the program data is more than or equal to preset value;
If the length of the program data is more than or equal to preset value, execution solves to the program data
It is close, the step of obtaining ciphertext data.
Further, described the step of being decrypted to the program data, obtaining ciphertext data, includes:
It is successively read the code stream of the program data;
The code stream is decrypted, obtains ciphertext data.
Further, described the step of being decrypted to the code stream, obtaining ciphertext data, includes:
Obtain the key of the code stream of the program data;
The code stream of the program data is decrypted according to the key.
Further, the step of key of the code stream for obtaining the program data includes:
Entitlement Control Message field in the code stream of the program data, obtain the code of the program data
The key of stream.
Further, the program playing management method, in addition to:
Receive the stopping code stream that the playback terminal is sent and send request, the stopping code stream sending request as institute
Playback terminal is stated to generate when the ciphertext data length of reception is more than or equal to predetermined threshold value;
Request is sent according to the stopping code stream, stops the reading of the code stream to the program data.
Further, the described the step of ciphertext data is sent into the playback terminal, includes:
The ciphertext data is sent to the playback terminal by socket passage.
The embodiment of the present invention provides a kind of program and plays managing device, including:
Program request is recorded in acquisition module, the broadcasting for obtaining playback terminal transmission, and described play records section
Mesh is asked for asking to play the program data prestored;
Sending module is searched, for recording program request according to described play, in the recording program prestored
Program data is obtained in data, and the program data is sent to the playback terminal.
The embodiment of the present invention provides a kind of program broadcasting method, including:
Managing device is played to program and sends broadcasting recording program request, and the broadcasting is recorded program request and is used for
Request plays the program data prestored;
Receive the program and play the program data that managing device records program request feedback according to the broadcasting,
And the program data is played out.
Further, it is anti-according to the broadcasting recording program request to play managing device for the reception program
The program data of feedback, and include the step of played out to the program data:
Receive the program and play the decryption number that managing device is decrypted to obtain to the code stream of the program data
According to;
Decoding broadcasting is carried out to the ciphertext data.
Further, before described the step of decoding broadcasting is carried out to the ciphertext data, the program is broadcast
Putting method also includes:
The ciphertext data is cached;
Judge whether the ciphertext data length of caching is more than or equal to predetermined threshold value;
If the ciphertext data length of caching is more than or equal to predetermined threshold value, generation stops code stream and sends request,
And the stopping code stream being sent into request and is sent to the program broadcasting managing device.
The embodiment of the present invention provides a kind of playback terminal, including:
Sending module, broadcasting recording program request is sent for playing managing device to program, it is described to play record
Program request processed is used to ask to play the program data prestored;
Playing module is received, is asked for receiving the program broadcasting managing device according to the recording program that plays
Negate the program data of feedback, and the program data is played out.
The beneficial effects of the invention are as follows:
Such scheme, playback terminal only need to belong to the section of same LAN when playing DRM programs to it
Mesh plays managing device and sends solicited message, and the DRM programs of recording are sent to by program broadcasting managing device to be broadcast
Terminal is put, without playback terminal to DRM server application licence, reduces licence usage quantity,
The consumption of licence resources is reduced, reduces the cost of operator.
Brief description of the drawings
Fig. 1 represents the schematic flow sheet of the program playing management method of the embodiment of the present invention one;
Fig. 2 represents the detail flowchart of the embodiment of the present invention one in a particular application;
Fig. 3 represents to carry out data flow schematic diagram when DRM programs play;
Fig. 4 represents that DVR STB are playing idiographic flow schematic diagram when recording program;
Fig. 5 represents that the program of the embodiment of the present invention two plays the module diagram of managing device;
Fig. 6 represents the schematic flow sheet of the program broadcasting method of the embodiment of the present invention three;
Fig. 7 represents the module diagram of the playback terminal of the embodiment of the present invention four.
Embodiment
It is below in conjunction with accompanying drawing and specifically real to make the object, technical solutions and advantages of the present invention clearer
Applying example, the present invention will be described in detail.
The present invention is directed to existing STB when carrying out DRM program playing requests, can be to DRM server Shen
Please licence resources, when the STB in same LAN is more, such a DRM programs playing request mode
Licence resource consumptions can be caused excessive, be unfavorable for the problem of operator is cost-effective, there is provided a kind of program is broadcast
Put management method, player method, device and playback terminal.
Embodiment one
As shown in figure 1, the program playing management method of the embodiment of the present invention one, plays applied to a program and manages
Device is managed, including:
Step 110, obtain the broadcasting that playback terminal is sent and record program request;
It should be noted that described play records the program data that program request is used to ask broadcasting to prestore;
And the program data can be stored in program and play in managing device, management dress can also be played independently of program
Independent storage is put, and the program data is commonly referred to as DRM programs.
Step 120, program request is recorded according to described play, obtained in the recording program data prestored
Program data, and the program data is sent to the playback terminal.
It should be noted that playback terminal described in such scheme plays managing device positioned at same with program
In LAN, the same LAN refers to that the playback terminal under an interchanger plays managing device with program
The one family LAN of composition, the program, which plays managing device, to be DVR STB, and playback terminal can
Think STB, PAD, mobile phone etc..DVR STB interact in start with DRM server, obtain
Certificate and key only have a DVR STB, it is necessary to explanation in one family LAN, remaining
Playback terminal can carry out performance recording, and the content of recording is stored in DVR STB hard disk.Also need to
Bright, in order to prevent the access of illegality equipment, operator is limited under an interchanger by distributing account
STB and other players access, for example, operator be family LAN each STB off the net and other
Player all distributes account, is one father's account of one family LAN application in the account management page, is
The family LAN each equipment off the net distributes a sub- account, builds the equipment under the same family LAN
It is vertical to belong to relation together, and physical address (i.e. MAC Address) of each account with equipment is bound, and sets the family
The equipment with sub- account under the LAN of front yard can access DVR STB, father's account of the non-family lan
Equipment or account and the unmatched equipment of MAC Address under number can not be all linked into the family lan.
Alternatively, before step 110, the player method also includes:
Step 101, the reservation information in subscription server is obtained;
Step 102, according to the reservation information, code stream application is carried out to digital copyright management server;
Step 103, the encryption code stream that the digital copyright management server is sent according to the code stream application is received,
And the encrypted code stream is subjected to storage generation and records program data.
It should be noted that all equipment in subscription server reception family lan are according to recording operation
And the recording plan generated, then judge whether to need to issue reservation information according to the recording plan, herein in advance
What about server was substantially carried out is the detection of conflict, is being recorded or without available when recording program in the works
Recording resource when, subscription server will not issue the reservation information of the recording plan.
It should also be noted that, the program that DVR STB when being recorded, will obtain from DRM server
Content is stored in a manner of burst indexes, and such a storage mode will not change program data, if
Encryption data, when recording, deposited in an encrypted form.For example, it is desired to recorded program data volume ratio
It is huger, the data of the primary reception in a program are divided into multiple fragments, the corresponding rope of each fragment
Draw, after the completion of program data is stored, the storage mode that DVR STB take can be:Call number+section
The storage location of mesh title+specific data slot, then program data generations of the DVR STB according to storage
One fileinfo, the constituted mode of this document information are:Programm name.
In order that miscellaneous equipment can be smoothed out order request, DVR STB are needed the fileinfo of recording
Other equipment is informed, specifically, the player method, in addition to:
The fileinfo of the recording program data is sent to playback terminal, make it that the playback terminal can
With the fileinfo according to reception and then generate broadcasting recording program request.
The recorded content that other equipment can check on DVR STB on the page of itself, then according to the record
Content processed plays out the selection of program.
It should be noted that in the application, mainly by taking the DRM programs for recording of playback terminal application as an example
Illustrate.
Alternatively, the step 120 specific implementation when, including:
Step 121, searched in the recording program data prestored corresponding with the broadcasting recording program request
Program data;
Step 122, the program data is decrypted, obtains ciphertext data;
Step 123, the ciphertext data is sent to the playback terminal.
In above-mentioned steps, when DVR STB find the program data of playback terminal application in the hard disk of itself
When, it is necessary first to the program data is extracted, it is necessary to illustrate, the number of programs of possible user's request
Recorded according to the data for failing correctly to be stored or user asks, only when program data meets to preset
It can just be normally carried out playing during length, therefore, before step 122, in addition to:Judge the number of programs
According to length whether be more than or equal to preset value;If the length of the program data is more than or equal to preset value,
Then perform step 122.The specific implementation of the step 122 is:It is successively read the code stream of the program data;
The code stream is decrypted, obtains ciphertext data.It should be noted that herein first by the code of program data
Stream is cached, and then the code stream of caching is decrypted, when the code stream of program data is cached,
Under normal circumstances, the code stream of the program data of extraction is buffered in the first buffer area (buffer1), then
Whether the data for judging to store in buffer1 are encryption data (whether being the DRM program datas encrypted),
, it is necessary to which the encryption data is decrypted during if encryption data, the specific reality when carrying out code stream decryption
Now mode is:
Obtain the key of the code stream of the program data;
It should be noted that it is mainly the Entitlement Control Message in the code stream according to the program data herein
(ECM) field obtains the key of the code stream of the program data.
The code stream of the program data is decrypted according to the key.
Generally after decryption, it is necessary to be cached to the ciphertext data, in specific implementation, generally by decryption
Data buffer storage is in the second buffer area (buffer2), i.e. the clear stream for DRM programs that is stored in buffer2
Data, the clear stream data are then sent to playback terminal by socket (Socket) passage, realized with this
Transmission of the DRM programs by DVR STB to playback terminal.
It should be noted that it is excessive in order to avoid being transferred to the ciphertext data of playback terminal, cause playback terminal
The problem of side resource occupation is big, the program playing management method of the present embodiment also include:
Receive the stopping code stream that the playback terminal is sent and send request, the stopping code stream sending request as institute
Playback terminal is stated to generate when the ciphertext data length of reception is more than or equal to predetermined threshold value;
Request is sent according to the stopping code stream, stops the reading of the code stream to the program data.
As shown in Fig. 2 below by taking STB application DVR STB recording program as an example, to the upper of the present invention
The method of stating is described as follows:
Step 2.1, DVR STB have been written into correct DRM parameter configurations, to DRM after first powering on
Server sends start-up logging message;
Whether step 2.2, DRM server detect the DVR STB legal;
If step 2.3, DVR STB are legal, DRM server record the DVR STB MAC Address,
Available machine time, key lease time, and the information such as certificate and channel key collection is handed down to DVR STB, make
Obtain the storage that DVR STB carry out relevant information;
Explanation is needed exist for, if DVR STB do not configure DRM parameters, Bu Huiyu when dispatching from the factory
DRM server interacts.
It should be noted that STB is first recorded, the recording scheduled synchronisation before DRM programs are entered
Into subscription server, subscription server carries out collision detection, if without reservation, notifies DVR
STB renewal reservation plans, the renewal operation of broadcast notice, DVR STB collect broadcast and disappeared in family lan
Breath, reservation plan is pulled down from subscription server and is recorded according to the information of recording plan, if plus
Code stream is encrypted, is sent in multicast group, machine top by password stream, DRM server plus ECM fields
Box adds the multicast group, and DVR STB store code stream in a hard disk in the form of burst indexes, and simultaneously will
Fileinfo is sent to STB, and now STB can start playing request.Specifically implementation process such as step 2.4-
Shown in step 2.12:
Step 2.4, STB receive the recording operation of user;
Step 2.5, STB issue recording plan to subscription server;
The conflict that step 2.6, subscription server carry out the recording plan judges;
If step 2.7, judgement obtain the recording plan Lothrus apterus, notice DVR STB carry out reservation plan
Download;
Step 2.8, DVR STB obtain code stream according to reservation plan to DRM server application;
Code stream insertion ECM is encrypted for step 2.9, DRM server;
The code stream of encryption is sent to DVR STB by step 2.10, DRM server;
Step 2.11, DVR STB, which start, to be recorded, and generates the fileinfo of the recorded file data of storage;
Step 2.12, DVR STB notify this document information to STB.
STB can play out recorded file request according to DVR STB fileinfo, and DVR STB are received
To the request of STB played files, a socket passage can be created, for transmitting data, in DVR STB
Address and filename of the interactive television VOD system (VOD) in request search this article in a hard disk
Part, if do not found (file is not present), VOD notices STB client reports an error, if file is present,
Judge whether the length of file meets to require, if meeting to require, conveying code stream to buffer1, VOD detects
Whether packet is encryption file, if encryption file, DVR STB are sent to by ECM fields in code stream
In control module, notice control module searches the key of the program, gives key to VOD, VOD is utilized
Key is decrypted, and by the clear stream data output after decryption into buffer2, while buffer2 is by after decryption
Clear stream data are transmitted to STB VOD by Socket passages, then carry out decoding broadcasting by STB;With this
Meanwhile DVR STB detection fixed disk file data whether run through, if do not run through continue read data are defeated
Go out into buffer1, VOD is detected, and the stopping transmitted until receiving control module, which is sent, to be required or count
Stop after according to reading.Specifically implementation process is as shown in step 2.13- steps 2.20:
Step 2.13, STB send to play and record program request, the broadcasting is recorded according to the fileinfo of reception
Program bookmarking (i.e. programm name) is carried in program request processed;
Step 2.14, DVR the STB storage location according to corresponding to programm name searches program, and export corresponding
The code stream of program data is to buffer1;
Step 2.15, DVR STB detect local certificate and key and whether there is, be legal or correct;
If step 2.16, local certificate and key are not present, are illegal or incorrect, to DRM server
Apply for more new authentication and key set;
Step 2.17, DRM server are to issuing licence under DVR STB and key set so that DVR STB
Carry out the renewal of certificate and key set;
Step 2.18, DVR STB carry out the decryption of code stream according to key, and the code stream after decryption is output to
buffer2;
Step 2.19, DVR STB are by the code stream in buffer2 with real time streaming transport protocol (RTSP) program request
The mode of stream is transferred to STB;
The code stream received is injected decoder by step 2.20, STB, carries out decoding broadcasting.
It should be noted that in actual applications, the video file that STB is played in DVR STB hard disks is main
It is related to VOD modules, VOD is related to two process service ends localserver and vplayer.
Localserver functions:The simple server between media file is provided for some VOD players, according to
Address, time, mode and speed that VOD is provided send the code stream required for VOD.
Vplayer functions:Vplayer uses thread isolating construction, and each sub-line journey is provided and played all the way, there is provided
Playing function.
As shown in figure 3, the data flow when carrying out DRM programs and playing is:
The Localserver of service end (DVR STB) is read out local hard drive data, reads 42 every time
Individual RTP (RTP) bag, and sent by protocol stack;Bit stream data is passed through Socket by DVR STB
Passage is sent in buffer1, is decrypted, and decryption completion is sent in buffer2;Client (STB)
Vplayer receives the data of the buffer2 transmissions of service end by protocol stack, while forwards the data to Vod
Buffer, data are read for decoder;STB decoders obtain data from shared drive, carry out decoding broadcasting.
STB decoder buffer capacity-threshold 10%-80% are set herein, will be fed back to more than threshold value 80%
Vod buffer stop sending data;Vod buffer capacity-threshold 10%-40%, more than threshold range 40%,
The information for stopping sending data is then fed back to service end.
As shown in figure 4, idiographic flows of the DVR STB when playing recording program is:
After DVR STB receive STB request message, RTSP sessions are initialized, create Socket, are judged
The program file of STB requests whether there is, if program file is not present, notice STB clients report an error;
If program file is present, judge whether program file data are sent, if program file data have been sent
Finish, then notify STB client terminal playings to terminate;If program file data are not sent, output program text
Number of packages according to arrive buffer area, judge program file data in buffer area whether encryption data, if not encrypting number
According to program file data then are sent into STB and carry out decoding broadcasting;If encryption data, then itself is judged
The certificate and key of storage whether there is and legal, if certificate and key are not present or illegal, from DRM
Downloadable authentication and key on server so that DVR STB carry out the renewal of certificate and key;If certificate and close
Key exist and it is legal, then judge whether key set has renewal, if key set have update if update key set, if
Key set does not update, then judges whether certificate status is abnormal, if certificate status is abnormal, notice STB visitors
Family end reports an error;If certificate status is normal, the decryption of the program file data in buffer area is carried out, then will
The data of decryption are sent to STB and carry out decoding broadcasting.
It should be noted that in the present embodiment, STB is decrypted done by DVR STB in the process,
DVR STB CPU usage can so be made increase, average code stream solution secret agreement all the way adds 5%, utilizes
The hardware configuration of family LAN existing set top box off the net, if one family has 4 set top boxes, viewing is
The DRM programs of broadcasting, then there is the recording of three tunnels on DVR STB simultaneously, be decrypted simultaneously, CPU's accounts for
Reach 60% or so with rate is estimated, within DVR STB tolerance range.
The present embodiment has the beneficial effect that:
1st, operator can save cost by reducing licence resources in family lan, and licence is for fortune
It is a no small input for battalion business, in one family, averagely needing 4 boxes, originally 4 boxes
Son is required for licence, and an only box needs licence now, saves 3/4 licence resources.
2nd, in one family LAN, present top-set hardware is basically identical, DVR STB are only
A hard disk is only differed than STB hardware cost, but actually DVR STB need thing to be processed to compare
It is more, such as record, decrypt code stream, convey code stream, while being interacted with DRM server, also with
STB is interacted, the smoothness that guarantee STB is played, and performance requirement is higher;For one family local
In net, DVR STB account for ratio compares relatively low, we can be according to this feature, hardware configuration
It is combined together with performance, the DVR STB high to performance requirement, it is relatively more in hardware input, to property
The less demanding STB of energy hardware cost input so can take the overall of set top box with more slightly lower
With lowering.
3rd, mobile phone, pad etc. can be added by the method and broadcasting for DRM programs is carried out in family lan
Put, playing home network becomes colourful various.
Embodiment two
As shown in figure 5, the embodiment of the present invention two, which provides a kind of program, plays managing device, including:
Program request is recorded in acquisition module 51, the broadcasting for obtaining playback terminal transmission;Wherein, it is described to broadcast
Put and record the program data that program request is used to ask broadcasting to prestore;
Sending module 52 is searched, for recording program request according to described play, in the recording section prestored
Mesh number obtains program data in, and the program data is sent into the playback terminal.
Alternatively, the lookup sending module 52 includes:
Searching unit, asked for being searched in the recording program data prestored with the recording program that plays
Seek corresponding program data;
Decryption unit, for the program data to be decrypted, obtain ciphertext data;
Transmitting element, for the ciphertext data to be sent into the playback terminal.
Further, the lookup sending module 52 also includes:
Judging unit, for judging whether the length of the program data is more than or equal to preset value;
If the length of the program data is more than or equal to preset value, decryption unit is performed to the number of programs
According to being decrypted, ciphertext data is obtained.
Alternatively, the decryption unit is specifically used for:
It is successively read the code stream of the program data;
The code stream is decrypted, obtains ciphertext data.
Wherein, the code stream is decrypted, the specific implementation for obtaining ciphertext data is:
Obtain the key of the code stream of the program data;
It should be noted that it is mainly the Entitlement Control Message word in the code stream according to the program data herein
Section, obtain the key of the code stream of the program data.
The code stream of the program data is decrypted according to the key.
Alternatively, the lookup sending module 52 also includes:
Receiving unit, request, the stop code are sent for receiving the stopping code stream that the playback terminal is sent
Stream sends request and generated for the playback terminal when the ciphertext data length of reception is more than or equal to predetermined threshold value;
Stop element, for sending request according to the stopping code stream, stop the code stream to the program data
Reading.
Specifically, the transmitting element is specifically used for:
The ciphertext data is sent to the playback terminal by socket passage.
Alternatively, the program plays managing device and also included:
Reservation information acquisition module, for obtaining the reservation information in subscription server;
Code stream application module, for according to the reservation information, code stream to be carried out to digital copyright management server
Application;
Memory module, added for receiving the digital copyright management server according to what the code stream application was sent
Password stream, and the encrypted code stream is subjected to storage generation and records program data.
Alternatively, the program plays managing device and also included:
Fileinfo sending module, for the fileinfo of the recording program data to be sent into playback terminal.
It is the DVR STB in family lan that described program, which plays managing device, in the present embodiment.
It should be noted that the device embodiment be with the one-to-one device of above method embodiment, it is above-mentioned
All implementations of method can also reach identical technique effect suitable for the device embodiment.
Embodiment three
As shown in fig. 6, the embodiment of the present invention provides a kind of program broadcasting method, applied to playback terminal, bag
Include:
Step 61, play managing device to program and send broadcasting recording program request, described play records program
Ask for asking to play the program data prestored;
Step 62, receive the program and play managing device according to the section for playing and recording program request and feeding back
Mesh number evidence, and the program data is played out.
Specifically, the step 62 is when realizing, including:
Step 621, receive the program broadcasting managing device code stream of the program data is decrypted to obtain
Ciphertext data;
Step 622, decoding broadcasting is carried out to the ciphertext data.
Alternatively, before step 622, the player method also includes:
The ciphertext data is cached;
Judge whether the ciphertext data length of caching is more than or equal to predetermined threshold value;
If the ciphertext data length of caching is more than or equal to predetermined threshold value, generation stops code stream and sends request,
And the stopping code stream being sent into request and is sent to the program broadcasting managing device.
Alternatively, before step 61, the player method, in addition to:
Receive the fileinfo that program plays the recording program data that managing device is sent.
Wherein, in above-described embodiment one, the description of all about playback terminal, suitable for the playback terminal
Program broadcasting method embodiment in, can also reach same technique effect.
Example IV
As shown in fig. 7, the embodiment of the present invention provides a kind of playback terminal, including:
Sending module 71, broadcasting recording program request, the broadcasting are sent for playing managing device to program
Program request is recorded to be used to ask to play the program data prestored;
Playing module 72 is received, managing device is played according to the broadcasting recording program for receiving the program
The program data of feedback is asked, and the program data is played out.
Specifically, the reception playing module 72 includes:
Ciphertext data receiving unit, code of the managing device to the program data is played for receiving the program
Obtained ciphertext data is decrypted in stream;
Broadcast unit is decoded, for carrying out decoding broadcasting to the ciphertext data.
Alternatively, the reception playing module 72 also includes:
Buffer unit, for being cached to the ciphertext data;
Length determining unit, for judging whether the ciphertext data length of caching is more than or equal to predetermined threshold value;
Stop request transmitting unit, if being more than or equal to predetermined threshold value for the ciphertext data length cached,
Generation stopping code stream sending request, and the stopping code stream being sent into request and is sent to the program broadcasting management
Device.
Alternatively, the playback terminal also includes:
Fileinfo receiving module, the text for the recording program data that managing device is sent is played for receiving program
Part information.
Wherein, the playback terminal described in the embodiment includes but is not limited to be to access in family lan
STB, mobile phone or PAD.
It should be noted that the playback terminal embodiment is corresponded with above-mentioned program broadcasting method embodiment
Playback terminal, all implementations of above-mentioned program broadcasting method suitable for the playback terminal embodiment,
Also identical technique effect can be reached.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the art
For member, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, these
Improvements and modifications are also within the scope of the present invention.
Claims (13)
- A kind of 1. program playing management method, it is characterised in that including:Obtain the broadcasting that playback terminal is sent and record program request, the recording program request that plays is used to ask Play the program data prestored;Program request is recorded according to described play, program data is obtained in the recording program data prestored, And the program data is sent to the playback terminal.
- 2. program playing management method according to claim 1, it is characterised in that described in the basis Play and record program request, obtain program data in the recording program data prestored, and by the section Mesh number according to be sent to the playback terminal the step of be specially:Number of programs corresponding with the broadcasting recording program request is searched in the recording program data prestored According to;The program data is decrypted, obtains ciphertext data;The ciphertext data is sent to the playback terminal.
- 3. program playing management method according to claim 2, it is characterised in that described to described Program data is decrypted, and before the step of obtaining ciphertext data, the program playing management method also includes:Judge whether the length of the program data is more than or equal to preset value;If the length of the program data is more than or equal to preset value, execution solves to the program data It is close, the step of obtaining ciphertext data.
- 4. program playing management method according to claim 2, it is characterised in that described to the section Mesh number includes according to the step of being decrypted, obtaining ciphertext data:It is successively read the code stream of the program data;The code stream is decrypted, obtains ciphertext data.
- 5. program playing management method according to claim 4, it is characterised in that described to the code Stream is decrypted, and the step of obtaining ciphertext data includes:Obtain the key of the code stream of the program data;The code stream of the program data is decrypted according to the key.
- 6. program playing management method according to claim 5, it is characterised in that described in the acquisition The step of key of the code stream of program data, includes:Entitlement Control Message field in the code stream of the program data, obtain the code of the program data The key of stream.
- 7. program playing management method according to claim 4, it is characterised in that also include:Receive the stopping code stream that the playback terminal is sent and send request, the stopping code stream sending request as institute Playback terminal is stated to generate when the ciphertext data length of reception is more than or equal to predetermined threshold value;Request is sent according to the stopping code stream, stops the reading of the code stream to the program data.
- 8. program playing management method according to claim 2, it is characterised in that described by the solution Ciphertext data, which is sent to the step of playback terminal, to be included:The ciphertext data is sent to the playback terminal by socket passage.
- 9. a kind of program plays managing device, it is characterised in that including:Program request is recorded in acquisition module, the broadcasting for obtaining playback terminal transmission, and described play records section Mesh is asked for asking to play the program data prestored;Sending module is searched, for recording program request according to described play, in the recording program prestored Program data is obtained in data, and the program data is sent to the playback terminal.
- A kind of 10. program broadcasting method, it is characterised in that including:Managing device is played to program and sends broadcasting recording program request, and the broadcasting is recorded program request and is used for Request plays the program data prestored;Receive the program and play the program data that managing device records program request feedback according to the broadcasting, And the program data is played out.
- 11. program broadcasting method according to claim 10, it is characterised in that described to receive the section Mesh plays managing device according to the program data for playing and recording program request and feeding back, and to the number of programs Include according to the step of playing out:Receive the program and play the decryption number that managing device is decrypted to obtain to the code stream of the program data According to;Decoding broadcasting is carried out to the ciphertext data.
- 12. program broadcasting method according to claim 11, it is characterised in that described to the solution Before ciphertext data carries out the step of decoding plays, the program broadcasting method also includes:The ciphertext data is cached;Judge whether the ciphertext data length of caching is more than or equal to predetermined threshold value;If the ciphertext data length of caching is more than or equal to predetermined threshold value, generation stops code stream and sends request, And the stopping code stream being sent into request and is sent to the program broadcasting managing device.
- A kind of 13. playback terminal, it is characterised in that including:Sending module, broadcasting recording program request is sent for playing managing device to program, it is described to play record Program request processed is used to ask to play the program data prestored;Playing module is received, is asked for receiving the program broadcasting managing device according to the recording program that plays Negate the program data of feedback, and the program data is played out.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610321440.6A CN107396141A (en) | 2016-05-16 | 2016-05-16 | A kind of program playing management method, player method, device and playback terminal |
PCT/CN2017/084578 WO2017198153A1 (en) | 2016-05-16 | 2017-05-16 | Program playing management method, playing method and apparatus, and playing terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610321440.6A CN107396141A (en) | 2016-05-16 | 2016-05-16 | A kind of program playing management method, player method, device and playback terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107396141A true CN107396141A (en) | 2017-11-24 |
Family
ID=60326428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610321440.6A Pending CN107396141A (en) | 2016-05-16 | 2016-05-16 | A kind of program playing management method, player method, device and playback terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107396141A (en) |
WO (1) | WO2017198153A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449349B (en) * | 2020-10-30 | 2023-07-25 | 深圳Tcl新技术有限公司 | Program recording method, device, equipment and computer readable storage medium |
CN114518977A (en) * | 2020-11-19 | 2022-05-20 | 青岛海信宽带多媒体技术有限公司 | Method, device and terminal for detecting and recovering data damage of high-security partition |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607655B (en) * | 2013-11-15 | 2017-02-01 | 乐视网信息技术(北京)股份有限公司 | A playback method for live programs and an electronic device |
CN103747285A (en) * | 2013-12-27 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Program playing method, server side and client |
CN104703023A (en) * | 2015-03-26 | 2015-06-10 | 天脉聚源(北京)传媒科技有限公司 | Method and device for sharing video |
CN104869428A (en) * | 2015-05-07 | 2015-08-26 | 深圳创维数字技术有限公司 | Resource sharing method and system, and related devices |
CN105142005A (en) * | 2015-09-21 | 2015-12-09 | 深圳市九洲电器有限公司 | Program recording sharing method and system |
-
2016
- 2016-05-16 CN CN201610321440.6A patent/CN107396141A/en active Pending
-
2017
- 2017-05-16 WO PCT/CN2017/084578 patent/WO2017198153A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017198153A1 (en) | 2017-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9014541B2 (en) | Content distribution server and content playback control terminal | |
US8595854B2 (en) | Processing recordable content in a stream | |
US8719921B2 (en) | User and device authentication for media services | |
CN101945249B (en) | Process stream in can recorded content | |
US20050210500A1 (en) | Method and apparatus for providing conditional access to recorded data within a broadband communication system | |
US7865723B2 (en) | Method and apparatus for multicast delivery of program information | |
US11490161B2 (en) | Content rights management for mobile devices | |
US20090044241A1 (en) | Broadcasting content protection/management system | |
US20150082463A1 (en) | Media rights management on multiple devices | |
US20100008502A1 (en) | Content distribution system, content reception terminal, content distribution method and processing method performed when viewing streaming contents | |
CN102111651A (en) | Method for recording program, method for broadcasting program, front end and terminal equipment | |
KR20090120118A (en) | Vod service system and method thereof | |
CN102427561A (en) | Method for preventing VOD (Video-On-Demand) programs from being illegally spread and shared | |
CN107396141A (en) | A kind of program playing management method, player method, device and playback terminal | |
KR101188765B1 (en) | Seamless broadcasting service system and method | |
JP2012514374A (en) | Digital broadcasting service method and apparatus | |
US9756400B1 (en) | Remixing content received by a set-top box | |
US9094734B2 (en) | Advertisement monitor system | |
CN102523503B (en) | Video-on-demand control method and relative device and system | |
CN201467344U (en) | Programme recording device and audience rating control device | |
KR101187386B1 (en) | Broadcasting Service System and Method Using VoD Content Channel | |
Nam et al. | Interlock system for DRM interoperability of streaming contents | |
KR20090036326A (en) | Method and terminal for storing broadcasting stream | |
KR101199873B1 (en) | Web based broadcasting service system and method | |
JP2011239054A (en) | Broadcast receiver and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171124 |