CN107613317A - A kind of method, storage medium and intelligent television for playing local cipher media - Google Patents
A kind of method, storage medium and intelligent television for playing local cipher media Download PDFInfo
- Publication number
- CN107613317A CN107613317A CN201710806357.2A CN201710806357A CN107613317A CN 107613317 A CN107613317 A CN 107613317A CN 201710806357 A CN201710806357 A CN 201710806357A CN 107613317 A CN107613317 A CN 107613317A
- Authority
- CN
- China
- Prior art keywords
- media
- local
- decrypted
- data
- address
- 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
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses method, storage medium and the intelligent television for playing local cipher media, wherein, method includes step:Pre-actuate media player, specified media address is received by the media player and sends media play request, intercept the media play request and therefrom parse media address, local media file is obtained according to the media address, the local media file is decrypted, media data after being decrypted, media data resulting after the decryption oprerations is back to the media player and played in real time.The problem of present invention solves when being played out in the prior art to the media encrypted, and exists and plays the time-consuming height of pre action, and period of reservation of number is longer.
Description
Technical field
The present invention relates to intelligent television multimedia play technology field, more particularly to play local cipher media method,
Storage medium and intelligent television.
Background technology
To the media file of encryption, the process that broadcasting is decrypted comprises the following steps prior art:Obtain matchmaker to be decrypted
Body file and key, the media file of required decryption is decrypted using the key, the media file after being decrypted, will
The storage location and then carry out media play that media file after decryption is moved to before encryption.
Prior art is when the media to encryption are decrypted, it is necessary to which that completes whole media is decrypted and stored in storage sky
Between in after, can just carry out media play, play the time-consuming height of pre action, period of reservation of number is longer.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of side for playing local cipher media
Method, storage medium and intelligent television, it is intended to solve prior art when the media to having encrypted play out, it is preposition to there is broadcasting
Operate the problem of time-consuming.
Technical scheme is as follows:
A kind of method for playing local cipher media, wherein, including step:
A, media player is pre-actuated, receives to specify media address and send media play by the media player and asks
Ask;
B, the media play request is intercepted, local media file is obtained according to the media address, to local media text
Part is decrypted, media data after being decrypted;
C, the media data after the decryption is back into the media player to be played in real time.
The method of described broadcasting local cipher media, wherein, the step B is specifically included:
B1, intercept media play request and therefrom parse media address, local media file is obtained according to the media address;
B2, the encryption information for reading the local media file and Intelligent television terminal unique identifier, and described will add
The unique identifier of confidential information and intelligent television is sent to server;
B3, server are authenticated to the unique identifier of the encryption information and Intelligent television terminal, return to local media
The decryption key of file;
B4, by it is described decryption secret key pair described in local media file be decrypted, media data after being decrypted accordingly.
The method of described broadcasting local cipher media, wherein, the step B4 is specifically included:
B41, according to media file ciphertext data initial address, data length, read local media file and correspond to initial address, number
According to the encrypting traffic of length;
B42, by it is described decryption secret key pair described in encrypting traffic be decrypted, media data after being decrypted accordingly.
The method of described broadcasting local cipher media, wherein, the local media file is decrypted and solved for segmentation
It is close.
The method of described broadcasting local cipher media, wherein, the step C is specifically included:
C1, parsing media rise and broadcast request message;
C2, risen according to media and to broadcast header and correspondingly fill medium response message, media data after filling decryption;
C3, the decryption media data after filling is back to the media player played in real time.
A kind of storage medium, wherein, a plurality of instruction is stored with, the instruction is suitable to be loaded and performed by processor:
Media player is pre-actuated, specified media address is received by the media player and sends media play request;
The media play request is intercepted, local media file is obtained according to the media address, to the local media file
It is decrypted, media data after being decrypted;
Media data after the decryption is back into the media player to be played in real time.
Described storage medium, wherein, a plurality of instruction is stored with, the instruction is suitable to be established and on holding by processor
OK:
Intercept media play request and therefrom parse media address, local media file is obtained according to the media address;
The encryption information of the local media file and the unique identifier of Intelligent television terminal are read, and the encryption is believed
The unique identifier of breath and intelligent television is sent to server;
Server is authenticated to the unique identifier of the encryption information and Intelligent television terminal, returns to local media file
Decryption key;
It is decrypted by local media file described in the decryption secret key pair, media data after being decrypted accordingly.
Described storage medium, wherein, a plurality of instruction is stored with, the instruction is suitable to be established and on holding by processor
OK:
According to media file ciphertext data initial address, data length, read local media file and correspond to initial address, data length
The encrypting traffic of degree;
It is decrypted by encrypting traffic described in the decryption secret key pair, media data after being decrypted accordingly.
Described storage medium, wherein, a plurality of instruction is stored with, the instruction is suitable to be established and on holding by processor
OK:
Parsing media, which rise, broadcasts request message;
Header, which is broadcast, according to media correspondingly fills medium response message, media data after filling decryption;
Decryption media data after filling is back into the media player to be played in real time.
A kind of intelligent television, wherein, including it is adapted for carrying out each instruction;And memory, it is described suitable for storing a plurality of instruction
Instruction is suitable to load as processor and described in performing above-mentioned any one the step of the method for broadcasting local cipher media.
Beneficial effect:The method provided by the invention for playing local cipher media, by pre-actuating media player, connects
The media address that user specifies is received, media play request is intercepted and therefrom parses media address, obtained according to the media address
Local media file is taken, the local media file is decrypted, media data after being decrypted, after the decryption oprerations
Resulting media data is back to the media player and played out.Solve and the media encrypted are entered in the prior art
When row plays, exist and play the problem of pre action is time-consuming high, and period of reservation of number is longer.
Brief description of the drawings
Fig. 1 is a kind of flow chart for the method preferred embodiment for playing local cipher media of the present invention.
Fig. 2 is a kind of structured flowchart of intelligent television preferred embodiment of the present invention.
Embodiment
The present invention provides a kind of method for playing local cipher media, to make the purpose of the present invention, technical scheme and effect
Clearer, clear and definite, the present invention is described in more detail below.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart for the method preferred embodiment for playing local cipher media of the present invention, such as
Shown in Fig. 1, a kind of method for playing local cipher media, including step:
S100, media player is pre-actuated, specified media address is received by the media player and sends media play
Request;
S200, the media play request is intercepted, local media file is obtained according to the media address, to the local media
File is decrypted, media data after being decrypted;
S300, the media data after the decryption is back to the media player played in real time.
Prior art is when the media to encryption are decrypted, by the medium storage decrypted in memory space, it is necessary to
After completing being decrypted and stored in memory space of whole media, media play can be just carried out;The present invention provides one kind and broadcast
The method for putting local cipher media, by pre-actuating media player, the media address that user specifies is received, intercept media and broadcast
Request is put, local media file is obtained according to the media address, the local media file is decrypted, by the decryption
Resulting media data is returned again to the media player and played out afterwards.Solves the matchmaker in the prior art to having encrypted
When body plays out, exist and play the problem of pre action is time-consuming high, and period of reservation of number is longer.
Further, in the present invention, the step S200 is specifically included:
S201, intercept media play request and therefrom parse media address, local media text is obtained according to the media address;
Specifically, the media play request that media player is sent is intercepted, from media play request, parses broadcasting
The media address specified by user received by device, the desired media file played of user is obtained by the media address,
Avoid player from directly obtaining media file to play out.
S202, the encryption information for reading the local media file and intelligent television unique identifier;
Specifically, the encryption information of the media file is read, reads intelligent television unique identifier, the intelligent television is unique
Identifier is the physical address of intelligent television.
S203, server are authenticated to the unique identifier of the encryption information and intelligent television, return to local matchmaker
The decryption key of body file;
Specifically, intelligent terminal is connected to server, it is whole using the step S202 media encryption information read and the intelligence
Unique identifier is held, request server high in the clouds is authenticated to the legitimacy of user identity, when the identity of user is legal then
The decruption key of media is obtained, when the identity of user then reminds user to re-start certification for illegal user, if certification is three times
Fail, then lock the account, avoid encrypted media from being stolen.
S204, by it is described decryption secret key pair described in local media file be decrypted, media data after being decrypted.
Further, in the present invention, the step S204 is specifically included:
According to media file ciphertext data initial address, data length, read local media file and correspond to initial address, data length
The encrypting traffic of degree;It is decrypted by encrypting traffic described in the decryption secret key pair, the matchmaker after being decrypted accordingly
Volume data.
Further, the local media file is decrypted and carried out for segmentation.
Specifically, media file can be divided according to fixed playing duration according to media file duration to be decrypted
Section, such as 5min are a decryption period, by the way that media file to be decrypted is segmented, facilitate decryption oprerations, reduce decrypting process
Stand-by period.
Further, in the present invention, the step S300 is specifically included:
Parsing media, which rise, broadcasts request message;Header is broadcast according to media and correspondingly fills medium response message, after filling decryption
Media data;Decryption media data after filling is back into the media player to be played in real time.
Specifically, the media transmitted to media player rise and broadcast request message(Request)Parsed, obtain media
The head for reporting text is acted, response message is correspondingly filled using the head of the media message(Response), after filling decryption
Media data, the decryption media data after filling is back to the media player and played in real time, realized and add to local
The purpose that close video plays in decryption.It is preferred that what Message Protocol took in the present invention is HTTP
(Hyper Text Transfer Protoco, abbreviation:HTTP), request message is broadcast as HTTP Request for described, it is described
Response message is HTTP Response, due to using HTTP transport protocol so that media, which rise, broadcasts request message and response report
Faster, transmission means is more flexible for the communication speed of text.
Based on the above-mentioned method for regarding and playing local cipher media, the present invention also provides a kind of storage medium, wherein, it is stored with
A plurality of instruction, the instruction are suitable to be loaded and performed by processor:
Media player is pre-actuated, specified media address is received by the media player and sends media play request;
The media play request is intercepted, local media file is obtained according to the media address, to the local media file
It is decrypted, media data after being decrypted;
Media data after the decryption is back into the media player to be played in real time.
Described storage medium, wherein, a plurality of instruction is stored with, the instruction is suitable to be established and on holding by processor
OK:
Intercept media play request and therefrom parse media address, local media file is obtained according to the media address;
The encryption information of the local media file and the unique identifier of Intelligent television terminal are read, and the encryption is believed
The unique identifier of breath and intelligent television is sent to server;
The unique identifier of the encryption information and Intelligent television terminal is authenticated by the server, returned local
The decryption key of media file;
It is decrypted by local media file described in the decryption secret key pair, media data after being decrypted accordingly.
Described storage medium, wherein, a plurality of instruction is stored with, the instruction is suitable to be established and on holding by processor
OK:
According to media file ciphertext data initial address, data length, read local media file and correspond to initial address, data length
The encrypting traffic of degree;
It is decrypted by encrypting traffic described in the decryption secret key pair, media data after being decrypted accordingly.
Described storage medium, wherein, a plurality of instruction is stored with, the instruction is suitable to be established and on holding by processor
OK:
Parsing media, which rise, broadcasts request message;
Header, which is broadcast, according to media correspondingly fills medium response message, media data after filling decryption;
Decryption media data after filling is back into the media player to be played in real time.
The present invention also provides a kind of intelligent television, wherein, as shown in Fig. 2 including processor 10, it is adapted for carrying out each instruction;
And storage device 20, suitable for storing a plurality of instruction, the instruction is suitable to be loaded by processor 10 and perform above-mentioned any one
The method of described broadcasting local cipher media.
Specifically, the processor 10 can be a central processing unit in certain embodiments, microprocessor or other
Data processing chip, for running the program code stored in the storage device 20 or processing data.
The storage device 20 can be the internal storage unit of described device in certain embodiments, such as the device
Hard disk or internal memory.
Further, the storage device 20 can also both include the internal storage unit of described device or be deposited including outside
Storage device.The storage device 20 is used to store the application software and Various types of data for being installed on described device.The storage device
20 can be also used for temporarily storing the data that has exported or will export.
In summary, the method provided by the invention for playing local cipher media, by pre-actuating media player, connects
The media address that user specifies is received, media play request is intercepted and therefrom parses media address, obtained according to the media address
Local media file is taken, the local media file is decrypted, media data after being decrypted, after the decryption oprerations
Resulting media data is returned again to the media player and played out.Solve the media in the prior art to having encrypted
When playing out, exist and play the problem of pre action is time-consuming high, and period of reservation of number is longer.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.
Claims (10)
- A kind of 1. method for playing local cipher media, it is characterised in that method includes:A, media player is pre-actuated, receives to specify media address and send media play by the media player and asks Ask;B, the media play request is intercepted, local media file is obtained according to the media address, to local media text Part is decrypted, media data after being decrypted;C, the media data after the decryption is back into the media player to be played in real time.
- 2. the method according to claim 1 for playing local cipher media, it is characterised in that the step B is specifically included:B1, intercept the media play request and therefrom parse media address, local media is obtained according to the media address File;B2, the encryption information for reading the local media file and intelligent television unique identifier, and the encryption is believed The unique identifier of breath and intelligent television is sent to server;B3, by the server unique identifier of the encryption information and intelligent television is authenticated, returned local The decryption key of media file;B4, by it is described decryption secret key pair described in local media file be decrypted, media data after being decrypted.
- 3. the method according to claim 2 for playing local cipher media, it is characterised in that the step B4 is specifically wrapped Include:B41, according to media file ciphertext data initial address, data length, read local media file and correspond to initial address, number According to the encrypting traffic of length;B42, by it is described decryption secret key pair described in encrypting traffic be decrypted, media data after being decrypted accordingly.
- 4. the method according to claim 1 for playing local cipher media, it is characterised in that to the local media file It is decrypted and is decrypted for segmentation.
- 5. the method according to claim 1 for playing local cipher media, it is characterised in that the step C is specifically included:C1, parsing media rise and broadcast request message;C2, risen according to media and to broadcast header and correspondingly fill medium response message, media data after filling decryption;C3, the decryption media data after filling is back to the media player played in real time.
- 6. a kind of storage medium, it is characterised in that be stored with a plurality of instruction, the instruction is suitable to be loaded and performed by processor:Media player is pre-actuated, specified media address is received by the media player and sends media play request;The media play request is intercepted, local media file is obtained according to the media address, to the local media file It is decrypted, media data after being decrypted;Media data after the decryption is back into the media player to be played in real time.
- 7. storage medium according to claim 6, it is characterised in that be stored with a plurality of instruction, the instruction be suitable to by Reason device is established and on performing:Intercept the media play request and therefrom parse media address, local media text is obtained according to the media address Part;The encryption information of the local media file and the unique identifier of Intelligent television terminal are read, and the encryption is believed The unique identifier of breath and intelligent television is sent to server;The unique identifier of the encryption information and Intelligent television terminal is authenticated by the server, returned local The decryption key of media file;It is decrypted by local media file described in the decryption secret key pair, media data after being decrypted accordingly.
- 8. storage medium according to claim 7, it is characterised in that be stored with a plurality of instruction, the instruction be suitable to by Reason device is established and on performing:According to media file ciphertext data initial address, data length, read local media file and correspond to initial address, data length The encrypting traffic of degree;It is decrypted by encrypting traffic described in the decryption secret key pair, media data after being decrypted accordingly.
- 9. storage medium according to claim 6, it is characterised in that be stored with a plurality of instruction, the instruction be suitable to by Reason device is established and on performing:Parsing media, which rise, broadcasts request message;Header, which is broadcast, according to media correspondingly fills medium response message, media data after filling decryption;Decryption media data after filling is back into the media player to be played in real time.
- 10. a kind of intelligent television, it is characterised in that including processor, be adapted for carrying out each instruction;And memory, suitable for storage A plurality of instruction, the instruction are suitable to be loaded by processor and perform any one of the claims 1-5 broadcasting local ciphers The method of media.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710806357.2A CN107613317A (en) | 2017-09-08 | 2017-09-08 | A kind of method, storage medium and intelligent television for playing local cipher media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710806357.2A CN107613317A (en) | 2017-09-08 | 2017-09-08 | A kind of method, storage medium and intelligent television for playing local cipher media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107613317A true CN107613317A (en) | 2018-01-19 |
Family
ID=61062326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710806357.2A Pending CN107613317A (en) | 2017-09-08 | 2017-09-08 | A kind of method, storage medium and intelligent television for playing local cipher media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107613317A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110460862A (en) * | 2018-05-07 | 2019-11-15 | 腾讯数码(天津)有限公司 | A kind of method, terminal device and the storage medium of live streaming processing |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101243686A (en) * | 2005-08-08 | 2008-08-13 | 松下电器产业株式会社 | Encrypted content and decryption key providing system |
CN101247506A (en) * | 2007-02-14 | 2008-08-20 | 中国科学院声学研究所 | File enciphering method and enciphered file structure in digital media broadcasting system |
CN101268692A (en) * | 2005-04-26 | 2008-09-17 | 皇家飞利浦电子股份有限公司 | A device for and a method of processing an encrypted data stream for trick play |
CN101271501A (en) * | 2008-04-30 | 2008-09-24 | 北京握奇数据系统有限公司 | Encryption and decryption method and device of digital media file |
CN101901447A (en) * | 2008-11-27 | 2010-12-01 | 三星电子株式会社 | System and method for providing a digital content service |
CN103825885A (en) * | 2014-01-23 | 2014-05-28 | 广东顺德中山大学卡内基梅隆大学国际联合研究院 | Internet content encryption release method and system |
CN104618799A (en) * | 2014-02-10 | 2015-05-13 | 腾讯科技(北京)有限公司 | Video playing method and video playing device |
CN104836656A (en) * | 2015-05-08 | 2015-08-12 | 厦门大学 | Method for storing and transmitting video file |
CN105704515A (en) * | 2015-06-03 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Fast playback starting method and device of media file |
CN106791935A (en) * | 2016-12-23 | 2017-05-31 | 中山大学 | A kind of Internet video first broadcast method and system |
CN106961614A (en) * | 2017-02-22 | 2017-07-18 | 北京奇艺世纪科技有限公司 | A kind of method and system of encrypted video netcast |
-
2017
- 2017-09-08 CN CN201710806357.2A patent/CN107613317A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101268692A (en) * | 2005-04-26 | 2008-09-17 | 皇家飞利浦电子股份有限公司 | A device for and a method of processing an encrypted data stream for trick play |
CN101243686A (en) * | 2005-08-08 | 2008-08-13 | 松下电器产业株式会社 | Encrypted content and decryption key providing system |
CN101247506A (en) * | 2007-02-14 | 2008-08-20 | 中国科学院声学研究所 | File enciphering method and enciphered file structure in digital media broadcasting system |
CN101271501A (en) * | 2008-04-30 | 2008-09-24 | 北京握奇数据系统有限公司 | Encryption and decryption method and device of digital media file |
CN101901447A (en) * | 2008-11-27 | 2010-12-01 | 三星电子株式会社 | System and method for providing a digital content service |
CN103825885A (en) * | 2014-01-23 | 2014-05-28 | 广东顺德中山大学卡内基梅隆大学国际联合研究院 | Internet content encryption release method and system |
CN104618799A (en) * | 2014-02-10 | 2015-05-13 | 腾讯科技(北京)有限公司 | Video playing method and video playing device |
CN104836656A (en) * | 2015-05-08 | 2015-08-12 | 厦门大学 | Method for storing and transmitting video file |
CN105704515A (en) * | 2015-06-03 | 2016-06-22 | 深圳Tcl数字技术有限公司 | Fast playback starting method and device of media file |
CN106791935A (en) * | 2016-12-23 | 2017-05-31 | 中山大学 | A kind of Internet video first broadcast method and system |
CN106961614A (en) * | 2017-02-22 | 2017-07-18 | 北京奇艺世纪科技有限公司 | A kind of method and system of encrypted video netcast |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110460862A (en) * | 2018-05-07 | 2019-11-15 | 腾讯数码(天津)有限公司 | A kind of method, terminal device and the storage medium of live streaming processing |
CN110460862B (en) * | 2018-05-07 | 2022-03-08 | 腾讯数码(天津)有限公司 | Live broadcast processing method, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9648027B2 (en) | Segment authentication for dynamic adaptive streaming | |
KR100859612B1 (en) | Method, apparatus and system for remote real-time access of multimedia content | |
EP3055805B1 (en) | System and method for signaling and verifying url signatures for both url authentication and url-based content access authorization in adaptive streaming | |
KR100930303B1 (en) | Digital media contents protection system and method thereof | |
KR101603136B1 (en) | Support for short cryptoperiods in template mode | |
US20120204023A1 (en) | Distribution system and method for distributing digital information | |
CN101945249B (en) | Process stream in can recorded content | |
CN110213669B (en) | Video content anti-theft system and method based on TS (transport stream) slices | |
CN109151507B (en) | Video playing system and method | |
US20110066843A1 (en) | Mobile media play system and method | |
CN108881966B (en) | Information processing method and related equipment | |
CN106303615A (en) | Play the methods, devices and systems of video | |
CN109120998A (en) | media data transmission method, device and storage medium | |
CN108989886A (en) | A kind of method and system playing encrypted video | |
US7886160B2 (en) | Information processing apparatus and method, and computer program | |
JP2015515192A (en) | Enabling delivery of protected content using an unsecured delivery service | |
TW200410540A (en) | Validity verification method for a local digital network key | |
CN112019935B (en) | Cross-platform video-on-demand file processing method and device and computing equipment | |
CN107613317A (en) | A kind of method, storage medium and intelligent television for playing local cipher media | |
CN110380843B (en) | Information processing method and related equipment | |
CN110912941A (en) | Transmission processing method and device for multicast data | |
EP2587756A1 (en) | Method, system and devices for media content consumption protection | |
CN113014956B (en) | Video playing method and device | |
CN108848402A (en) | A kind of data transmission method and equipment | |
CN114286130A (en) | Video encryption method, video processing method and device and electronic 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 |
Application publication date: 20180119 |
|
RJ01 | Rejection of invention patent application after publication |