CN105939491A - Video playing method and device - Google Patents
Video playing method and device Download PDFInfo
- Publication number
- CN105939491A CN105939491A CN201610353965.8A CN201610353965A CN105939491A CN 105939491 A CN105939491 A CN 105939491A CN 201610353965 A CN201610353965 A CN 201610353965A CN 105939491 A CN105939491 A CN 105939491A
- Authority
- CN
- China
- Prior art keywords
- video
- address
- unit
- service plug
- agency service
- 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
Classifications
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42607—Internal components of the client ; Characteristics thereof for processing the incoming bitstream
- H04N21/42623—Internal components of the client ; Characteristics thereof for processing the incoming bitstream involving specific decryption arrangements
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4405—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6125—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
Abstract
The embodiment of the invention discloses a video playing method. After determining that a to-be-played video file is an encrypted video file, the video client obtains authentication data according to an obtained decryption authentication address and sends the authentication data to a proxy server plug-in, and the proxy server plug-in verifies the authentication data. After the proxy server plug-in successfully verifies the authentication data, the proxy server plug-in obtains encrypted video stream and decrypts the encrypted video stream. The proxy server plug-in is installed in a terminal where the video client is located to form a middleware between the video client and a server, and the proxy server plug-in obtains the encrypted video stream from the server according to a video playing address sent by the video client and decrypts the encrypted video stream through the authentication data to obtain decrypted video stream; and the video client obtains the decrypted video stream from the proxy server plug-in and plays the decrypted video stream. Therefore, a video file can be decrypted by little logical modification of codes of the video client, so as to prevent the situation of piracy playing of the video stream.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of video broadcasting method and device.
Background technology
Along with network technology is fast-developing, network is watched film, TV play, competitive sports etc. and has become as a lot of people
Habitual entertainment way.
A lot of Internet firms can buy the copyright of the videos such as outstanding films and television programs or competitive sports, thus in home Web site
Play these videos such as films and television programs or competitive sports.In order to prevent the situation of bootlegging broadcasting video flowing from occurring, can be to broadcasting
Video flowing is encrypted.So, could play after needing deciphering when playing encrypted video stream, therefore, how make video
Client code logic changes minimum becomes the problem that decryption of video needs solution badly.
Summary of the invention
The embodiment of the present invention provides a kind of video broadcasting method and device, to realize increasing video flowing at videoconference client
During deciphering function, the code logic to videoconference client changes minimum.
In order to solve above-mentioned technical problem, the embodiment of the invention discloses following technical scheme:
First aspect, the embodiment of the present invention provides a kind of video broadcasting method, is applied in videoconference client, and described method includes:
Obtaining the video information of video file to be played, described video information includes the encrypted state letter of described video file to be played
Breath, video type, video playback address and deciphering authenticating address;
When determining that described video file to be played is encrypted video file according to described encrypted state information, recognize according to described deciphering
Card address acquisition authentication data, and described authentication data is sent to agency service plug-in unit, described agency service plug-in unit is arranged on institute
State in the terminal at videoconference client place, for described authentication data is verified;
After receiving described agency service plug-in unit transmission verification successful result, by described video type and described video playback address
It is sent to agency service plug-in unit, so that described agency service plug-in unit is corresponding from described videoconference client according to described video playback address
Server in obtain encrypted video stream and utilize the successful authentication data of described verification that described encrypted video stream is decrypted to obtain
The deciphering video flowing corresponding with described video type;
From described agency service plug-in unit, obtain described deciphering video flowing, and play described deciphering video flowing.
Alternatively, described from described agency service plug-in unit, obtain described deciphering video flowing, including:
Described videoconference client generates local broadcast address according to the address of described agency service plug-in unit;
Described videoconference client utilizes described local broadcast address to access described agency service plug-in unit, from described agency service plug-in unit
Obtain described deciphering video flowing.
Alternatively, described according to described decrypted authentication address acquisition authentication data, including:
Obtain the first data in described decrypted authentication address;
Described first data are decrypted, obtain new decrypted authentication address;
Obtain the authentication data in described new decrypted authentication address.
Alternatively, described method also includes:
When mistake occurs in any one step above-mentioned, the interface of described videoconference client is shown and plays Fail Type, and,
Obtain and play failure cause, described broadcasting failure cause is sent to described server.
Alternatively, before obtaining described deciphering video flowing from described agency service plug-in unit, described method also includes:
When video playback suspended market order being detected, delete the total data obtained in video display process, and, exit
Thread shared by video playback.
Second aspect, the embodiment of the present invention provides a kind of video play device, is applied in videoconference client, and described device includes:
First acquisition module, for obtaining the video information of video file to be played, described video information includes described to be played regard
The encrypted state information of frequency file, video type, video playback address and deciphering authenticating address;
Second acquisition module, for when determining that described video file to be played is encrypted video file according to described encrypted state information
Time, according to described decrypted authentication address acquisition authentication data, and described authentication data is sent to agency service plug-in unit, described generation
Reason service plug is arranged in the terminal at described videoconference client place, for verifying described authentication data;
Sending module, for after receiving described agency service plug-in unit transmission verification successful result, by described video type and institute
State video playback address and be sent to agency service plug-in unit so that described agency service plug-in unit according to described video playback address from described
The server that videoconference client is corresponding obtains encrypted video stream and utilizes the successful authentication data of described verification to described encrypted video
Stream is decrypted and obtains the deciphering video flowing corresponding with described video type;
3rd acquisition module, for obtaining described deciphering video flowing from described agency service plug-in unit;
Playing module, is used for playing described deciphering video flowing.
Alternatively, described 3rd acquisition module includes:
Address generates submodule, generates local broadcast address for the address according to described agency service plug-in unit;
First obtains submodule, for accessing described agency service plug-in unit, from described agency service according to described local broadcast address
Plug-in unit obtains described deciphering video flowing.
Alternatively, described second acquisition module, including:
Second obtains submodule, for obtaining the first data in described decrypted authentication address;
Deciphering submodule, for being decrypted described first data, obtains new decrypted authentication address;
3rd obtains submodule, for obtaining the authentication data in described new decrypted authentication address.
Alternatively, described device also includes:
Display module, for when mistake occurs in any one module above-mentioned, shows on the interface of described videoconference client and plays
Fail Type, and, obtain and play failure cause, described broadcasting failure cause is sent to described server.
Alternatively, described device also includes:
Removing module, for when video playback suspended market order being detected, deletes the whole numbers obtained in video display process
According to, and, exit the thread shared by video playback.
From above technical scheme, the video broadcasting method that the embodiment of the present invention provides, the video playback that the present embodiment provides
Method, after videoconference client determines that video file to be played is encrypted video file, the decrypted authentication address acquisition according to obtaining is recognized
Card Data Concurrent gives agency service plug-in unit, agency service plug-in unit verify authentication data.Agency service plug-in unit is to certification
After data check success, agency service plug-in unit obtain encrypted video stream and be decrypted.Agency service plug-in unit is arranged on video visitor
In the terminal at end place, family, forming the middleware between videoconference client and server, agency service plug-in unit is according to videoconference client
The video playback address sent obtains encrypted video stream from server, and utilizes authentication data to be decrypted encrypted video stream
To deciphering video flowing;Videoconference client obtains deciphering video flowing from agency service plug-in unit and plays.So, to videoconference client
Code logic amendment the least can be achieved with the deciphering to video file, thus prevent the situation of video flowing bootlegging broadcasting from occurring.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In technology description, the required accompanying drawing used is briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of video broadcasting method of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of embodiment of the present invention another kind video broadcasting method;
Fig. 3 is the block diagram of a kind of video play device of the embodiment of the present invention;
Fig. 4 is the block diagram of a kind of second acquisition module of the embodiment of the present invention;
Fig. 5 is the block diagram of a kind of 3rd acquisition module of the embodiment of the present invention;
Fig. 6 is the block diagram of embodiment of the present invention another kind video play device.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the present invention, implement below in conjunction with the present invention
Accompanying drawing in example, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described reality
Executing example is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, ability
The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, all should belong to this
The scope of invention protection.
Seeing Fig. 1, for the schematic flow sheet of a kind of video broadcasting method that the embodiment of the present invention provides, the method is applied to
In videoconference client, as it is shown in figure 1, the method comprises the following steps:
S110, obtains the video information of video file to be played.
Videoconference client receives the video play operation (such as, the clicking operation to the play control on videoconference client) of user
After, obtain user and select the video id of the video file play, obtain the video information of video file to be played according to video id.
This video information includes the encrypted state information of video file to be played, video type, video playback address and deciphering authenticating address.
S120, when determining that described video file to be played is encrypted video file according to encrypted state information, according to described deciphering
Authenticating address obtains authentication data, and described authentication data is sent to agency service plug-in unit, so that agency service plug-in unit is to described
Authentication data verifies.
After videoconference client obtains the video information of video file to be played, determine this video to be played literary composition according to encrypted state information
Whether part is encrypted video file, if it is determined that this video file to be played is encrypted video file, recognizes according to deciphering the most further
Card address acquisition authentication data, and it is sent to agency service plug-in unit.By agency service plug-in unit, authentication data is verified, permissible
Existing method of calibration is utilized to verify.Wherein, agency service plug-in unit (that is, proxy server) is arranged on described video visitor
In the terminal at end place, family.Data check is the integrity for ensureing data, with a kind of algorithm sender specified to initial data
The check value calculated, recipient calculates a check value with same algorithm, if calculated check value and with number
Identical according to the check value provided, illustrate that data are correct.
S130, by described video type and described after videoconference client receives the verification successful result that agency service plug-in unit sends
Video playback address is sent to agency service plug-in unit;So that agency service plug-in unit is objective from described video according to described video playback address
The server that family end is corresponding obtains encrypted video stream and utilizes the successful authentication data of described verification that described encrypted video stream is carried out
Deciphering obtains the deciphering video flowing corresponding with described video type.
This agency service plug-in unit obtains encrypted video stream, and profit according to video playback address from the server that videoconference client is corresponding
By authentication data described encrypted video stream is decrypted and obtains the deciphering video flowing corresponding with described video type.
Agency service plug-in unit obtains original encrypted video stream according to video playback address from server, then, according to obtain
Encrypted video stream is decrypted by authentication data, obtains the deciphering video flowing corresponding with video type, can will decipher video flowing
It is buffered in agency service plug-in unit.
S140, obtains described deciphering video flowing from described agency service plug-in unit, and plays described deciphering video flowing.
Videoconference client generates local broadcast address according to the address of agency service plug-in unit, i.e. with this locality of 127.0.0.1 beginning
Broadcast path, and the video player this this locality broadcast address being supplied in videoconference client, video player is according to this this locality
Broadcast address access agent service plug, obtains deciphering video flowing from agency service plug-in unit and plays.
The video broadcasting method that the present embodiment provides, after videoconference client determines that video file to be played is encrypted video file, root
According to obtain decrypted authentication address acquisition authentication data and be sent to agency service plug-in unit, agency service plug-in unit authentication data is entered
Row verification.After authentication data is verified successfully by agency service plug-in unit, agency service plug-in unit obtain encrypted video stream and be decrypted.
Agency service plug-in unit is arranged in the terminal at videoconference client place, forms the middleware between videoconference client and server, generation
Reason service plug obtains encrypted video stream according to the video playback address that videoconference client sends from server, and utilizes certification number
Obtain deciphering video flowing according to encrypted video stream is decrypted;Videoconference client obtains deciphering video flowing also from agency service plug-in unit
Play.So, the code logic of videoconference client is revised the least can be achieved with the deciphering to video file, thus prevents video
The situation of stream bootlegging broadcasting occurs.
Seeing Fig. 2, it is shown that the schematic flow sheet of embodiment of the present invention another kind video broadcasting method, the method is applied to include
In the system of terminal and server, wherein, videoconference client and agency service plug-in unit are installed in described terminal, as in figure 2 it is shown,
The method comprises the following steps:
S210, after videoconference client detects video play operation, obtains the video id of video file to be played.
Video id is the unique identification information of video file, user after videoconference client clicks on video file to be play, video
Client obtains the video id of this video file.
S220, videoconference client obtains the video information of described video file to be played according to video id.Video information includes encryption
Status information, video type, video playback address and deciphering authenticating address.
S230, according to encrypted state information, videoconference client judges whether video file to be played is encrypted video file;If treated
Playing video file is encrypted video, then perform S270;If video file to be played is not encrypted video, then perform S240;
S240, videoconference client sends playing request to server, and playing request includes video playback address.
S250, server obtains video file to be played according to broadcast address.
S260, videoconference client obtains described video file to be played from server, and this to be played regards by player plays
Frequency file.
Wherein, the playing process for non-encrypted video is identical with video broadcasting method of the prior art, and here is omitted.
S270, videoconference client judges whether video playback address and deciphering authenticating address are empty;If video playback address or solution
Close authenticating address is empty, then perform S2140;If video playback address and deciphering authenticating address are not empty, then perform S280.
In the embodiment of the present invention, the program relevant to decryption of video is packaged into deciphering manager, when judging video to be played
After file is encrypted video file, call deciphering manager decryption method, and by video playback address, decrypted authentication address,
Video type and readjustment class are supplied to decipher manager.
When calling deciphering manager for the first time, need to carry out the initialization of some data, such as, create file, be arranged on non-
The operation such as whether can run in official release.
S280, videoconference client is according to decrypted authentication address acquisition authentication data and is sent to agency service plug-in unit.
Deciphering manager obtains the information in decrypted authentication address, and in order to ensure safety, this information is nest information, i.e. from
The first data read in decrypted authentication address need first to be decrypted, and obtain a new decrypted authentication address, further according to new
Decrypted authentication address acquisition authentication data, then verifies authentication data, verifies its legitimacy, ageing etc..
S290, authentication data is verified, and check results is sent to videoconference client by agency service plug-in unit.
In some embodiments of the invention, after agency service plug-in unit receives authentication data, whether first determine whether this authentication data
Carried out verification, if this authentication data had carried out verification, then this check results was stored in agency service plug-in unit, under
When playing this video the most again, it is not necessary to again this authentication data is verified, thus save checking time, reduce user etc.
The time of video to be played.
If authentication data is verified unsuccessfully by agency service plug-in unit, then
S2100, when videoconference client receives verification successful result, is sent to agency's clothes by video type, video playback address
Business plug-in unit, and generate the player that local broadcast address is supplied in videoconference client.
Comprising the information required for agency service plug-in unit deciphering video file in authentication data, therefore, agency service plug-in unit needs root
According to the information in authentication data, encrypted video stream is decrypted.
In some embodiments of the invention, in the code that same video type is used in videoconference client and agency service plug-in unit
The code used differs, and therefore, videoconference client needed according to videoconference client and video type generation in agency service plug-in unit
Code corresponding relation, is converted into the code corresponding to agency service plug-in unit by video type code in videoconference client, in order to generation
Reason service plug deciphering video file obtains the deciphering video file identical with the type that videoconference client is asked.
In videoconference client generates local broadcast address, i.e. agency service plug-in unit according to the address of agency service plug-in unit, caching deciphering regards
The path of frequency file.Agency service plug-in unit is arranged in the terminal at videoconference client place, therefore, and delaying in agency service plug-in unit
Depositing address is terminal local path.
The player that videoconference client is supplied in videoconference client after generating local broadcast address, player is play according to this this locality
Address obtains deciphering video file from agency service plug-in unit.
S2110, agency service plug-in unit sends playing request to server, and this playing request includes video playback address.
Agency service plug-in unit obtains encrypted video file according to the video playback address in video information from server.
S2120, encrypted video file corresponding for video playback address is sent to agency service plug-in unit by server.
S2130, described encrypted video file is decrypted by agency service plug-in unit according to authentication data, it is thus achieved that corresponding with video type
Deciphering video file.
The encrypted video file obtained is decrypted by agency service plug-in unit according to the information in authentication data, it is thus achieved that described video class
The deciphering video file of type.
S2140, described player obtains deciphering video file from agency service plug-in unit according to local broadcast address, and plays this solution
Close video file.
Player in videoconference client obtains deciphering video file according to the local broadcast address obtained from agency service plug-in unit,
And play this deciphering video file.
S2150, prompting is play unsuccessfully, and is shown broadcasting Fail Type.
If the video playback address of incoming deciphering manager or decrypted authentication address are empty, then start readjustment class, to calling this
The interface of deciphering manager returns empty broadcast path, shows to play unsuccessfully.Such as, play Fail Type and include broadcast address
Obtain unsuccessfully, play unsuccessfully etc..
If mistake occurs in any one step in S270~S2140, all can be returned to call solution by error message with readjustment form
Close manager transfers interface, in order to videoconference client prompts the user with to be play unsuccessfully.
S2160, videoconference client obtains to be play failure cause and is sent to server.
Server obtains after playing failure cause, and R&D personnel can find according to the broadcasting failure cause of storage in server
Problem points, and solve this problem.Wherein, the concrete mistake that in failure cause i.e. S270~S2140, any one step occurs is play.
S2170, when videoconference client detects video playback suspended market order, obtained in deletion video display process is whole
Data, and exit the thread shared by video playback.
If exiting video playback during decryption of video, then calling the stop method of deciphering manager, destroying in deciphering
Total data, and exit the thread shared by video playback, discharge resource, it is ensured that terminal can smooth be run.
The video broadcasting method that the present embodiment provides, installation agent service plug in the terminal at videoconference client place, this agency
Service plug is arranged in the terminal at videoconference client place, forms the middleware between videoconference client and server, agency's clothes
The video playback address that business plug-in unit sends according to videoconference client obtains encrypted video stream from server, and flows to encrypted video
Row deciphering obtains deciphering video flowing;Videoconference client obtains deciphering video flowing from agency service plug-in unit and plays.So, to regarding
Frequently the code logic amendment of client is the least can be achieved with the deciphering to video file, thus prevents the situation of video flowing bootlegging broadcasting from occurring.
And, authentication data employs nested partitions method mode, further increases the safety of video file.If it is additionally, to be played
The authentication data that video file is corresponding had carried out verification, the most just this check results and had stored in videoconference client, next time
When playing this video again, it is not necessary to again this authentication data is verified, thus save checking time, reduce user's wait and broadcast
Put the time of video.
Corresponding with the video broadcasting method embodiment that the present invention provides, present invention also offers video play device embodiment.
Seeing Fig. 3, for the block diagram of a kind of video play device that the embodiment of the present invention provides, this device is applied to video visitor
In the end of family, as it is shown on figure 3, this device may include that first acquisition module the 110, second acquisition module 120, sending module
130, the 3rd acquisition module 140 and playing module 150.
First acquisition module 110, for obtaining the video information of video file to be played, described video information include described in wait to broadcast
Put the encrypted state information of video file, video type, video playback address and deciphering authenticating address.
Videoconference client receives the video play operation (such as, the clicking operation to the play control on videoconference client) of user
After, obtain user and select the video id of the video file play, obtain the video information of video file to be played according to video id.
Second acquisition module 120, for when determining that described video file to be played is encrypted video according to described encrypted state information
During file, according to described decrypted authentication address acquisition authentication data, and described authentication data is sent to agency service plug-in unit, institute
State in the terminal that agency service plug-in unit is arranged on described videoconference client place, for described authentication data is verified.
After videoconference client obtains the video information of video file to be played, determine this video to be played literary composition according to encrypted state information
Whether part is encrypted video file, if it is determined that this video file to be played is encrypted video file, recognizes according to deciphering the most further
Card address acquisition authentication data, and it is sent to agency service plug-in unit.By agency service plug-in unit, authentication data is verified, permissible
Existing method of calibration is utilized to verify.Wherein, agency service plug-in unit (that is, proxy server) is arranged on described video visitor
In the terminal at end place, family.Data check is the integrity for ensureing data, with a kind of algorithm sender specified to initial data
The check value calculated, recipient calculates a check value with same algorithm, if calculated check value and with number
Identical according to the check value provided, illustrate that data are correct.
In some embodiments of the invention, as shown in Figure 4, described second acquisition module 120 includes: the second acquisition submodule 121,
Deciphering submodule 122 and the 3rd obtains submodule 123.
Second obtains submodule 121, for obtaining the first data in described decrypted authentication address.
Deciphering submodule 122, for being decrypted described first data, obtains new decrypted authentication address.
3rd obtains submodule 123, for obtaining the authentication data in described new decrypted authentication address.
Sending module 130, for after receiving described agency service plug-in unit transmission verification successful result, by described video type
Be sent to agency service plug-in unit with described video playback address so that described agency service plug-in unit according to described video playback address from
The server that described videoconference client is corresponding obtains encrypted video stream and utilizes the successful authentication data of described verification to described encryption
Video flowing is decrypted and obtains the deciphering video flowing corresponding with described video type.
This agency service plug-in unit obtains encrypted video stream, and profit according to video playback address from the server that videoconference client is corresponding
By authentication data described encrypted video stream is decrypted and obtains the deciphering video flowing corresponding with described video type.
Agency service plug-in unit obtains original encrypted video stream according to video playback address from server, then, according to obtain
Encrypted video stream is decrypted by authentication data, obtains the deciphering video flowing corresponding with video type, can will decipher video flowing
It is buffered in agency service plug-in unit.
3rd acquisition module 140, for obtaining described deciphering video flowing from described agency service plug-in unit.
Videoconference client generates local broadcast address according to the address of agency service plug-in unit, i.e. with this locality of 127.0.0.1 beginning
Broadcast path, and the video player this this locality broadcast address being supplied in videoconference client, video player is according to this this locality
Broadcast address access agent service plug, obtains deciphering video flowing from agency service plug-in unit and plays.
Seeing Fig. 5, described 3rd acquisition module 140 includes: address generates submodule 141 and first and obtains submodule 142.
Address generates submodule 141, generates local broadcast address for the address according to described agency service plug-in unit;
First obtains submodule 142, for accessing described agency service plug-in unit, from described agency according to described local broadcast address
Service plug obtains described deciphering video flowing.
Playing module 150, is used for playing described deciphering video flowing.
The video play device that the present embodiment provides, after videoconference client determines that video file to be played is encrypted video file, root
According to obtain decrypted authentication address acquisition authentication data and be sent to agency service plug-in unit, agency service plug-in unit authentication data is entered
Row verification.After authentication data is verified successfully by agency service plug-in unit, agency service plug-in unit obtain encrypted video stream and be decrypted.
Agency service plug-in unit is arranged in the terminal at videoconference client place, forms the middleware between videoconference client and server, generation
Reason service plug obtains encrypted video stream according to the video playback address that videoconference client sends from server, and utilizes certification number
Obtain deciphering video flowing according to encrypted video stream is decrypted;Videoconference client obtains deciphering video flowing also from agency service plug-in unit
Play.So, the code logic of videoconference client is revised the least can be achieved with the deciphering to video file, thus prevents video
The situation of stream bootlegging broadcasting occurs.
Seeing Fig. 6, for the block diagram of embodiment of the present invention another kind video play device, this device is at the base of embodiment illustrated in fig. 3
Display module 210 and removing module 220 is also included on plinth.
Display module 210, for when mistake occurs in any one module above-mentioned, showing on the interface of described videoconference client
Play Fail Type, and, obtain and play failure cause, described broadcasting failure cause is sent to described server.
Server obtains after playing failure cause, and R&D personnel can find according to the broadcasting failure cause of storage in server
Problem points, and solve this problem.
Removing module 220, for when video playback suspended market order being detected, obtained in deletion video display process is complete
Portion's data, and, exit the thread shared by video playback.
If exiting video playback during decryption of video, then calling the stop method of deciphering manager, destroying in deciphering
Total data, and exit the thread shared by video playback, discharge resource, it is ensured that terminal can smooth be run.
As seen from the above-described embodiment, this agency service plug-in unit is arranged in the terminal at videoconference client place, forms videoconference client
And the middleware between server, the video playback address that agency service plug-in unit sends according to videoconference client obtains from server
Encrypted video stream, and encrypted video stream is decrypted obtain decipher video flowing;Videoconference client obtains from agency service plug-in unit
Deciphering video flowing is also play.So, the code logic of videoconference client is revised the least can be achieved with the deciphering to video file,
Thus prevent the situation of video flowing bootlegging broadcasting from occurring.And, authentication data employs nested partitions method mode, further increases video
The safety of file.If additionally, authentication data corresponding to video file to be played had carried out verification, the most just this verification
Result stores in videoconference client, when playing this video the most again, it is not necessary to verify this authentication data again, thus
Save checking time, reduce the time of the videos to be played such as user.
By the description of above embodiment of the method, those skilled in the art is it can be understood that can borrow to the present invention
The mode helping software to add required general hardware platform realizes, naturally it is also possible to by hardware, but a lot of in the case of the former
It it is more preferably embodiment.Based on such understanding, prior art is made by technical scheme the most in other words
The part of contribution can embody with the form of software product, and this computer software product is stored in a storage medium,
Including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.)
Perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: read-only storage
The various media that can store program code such as device (ROM), random access memory (RAM), magnetic disc or CD.
Each embodiment in this specification all uses the mode gone forward one by one to describe, identical similar part between each embodiment
Seeing mutually, what each embodiment stressed is the difference with other embodiments.Especially for device
Or for system embodiment, owing to it is substantially similar to embodiment of the method, so describing fairly simple, relevant part ginseng
See that the part of embodiment of the method illustrates.Apparatus and system embodiment described above is only schematically, wherein
The described unit illustrated as separating component can be or may not be physically separate, the portion shown as unit
Part can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network
On unit.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
Those of ordinary skill in the art, in the case of not paying creative work, are i.e. appreciated that and implement.
The present invention can be described in the general context of computer executable instructions, such as program mould
Block.Usually, program module include perform particular task or realize the routine of particular abstract data type, program, object,
Assembly, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environment
In, the remote processing devices connected by communication network perform task.In a distributed computing environment, program
Module may be located in the local and remote computer-readable storage medium including storage device.
It should be noted that in this article, such as the relational terms of " first " and " second " or the like be used merely to by
One entity or operation separate with another entity or operating space, and not necessarily require or imply these entities or behaviour
Relation or the order of any this reality is there is between work.And, term " includes ", " comprising " or it is any
Other variants are intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Equipment not only includes those key elements, but also includes other key elements being not expressly set out, or also includes for this mistake
The key element that journey, method, article or equipment are intrinsic.In the case of there is no more restriction, statement " include one
It is individual ... " key element that limits, it is not excluded that there is also in including the process of described key element, method, article or equipment
Other identical element.
The above is only the detailed description of the invention of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications are also
Should be regarded as protection scope of the present invention.
Claims (10)
1. a video broadcasting method, is applied in videoconference client, it is characterised in that described method includes:
Obtaining the video information of video file to be played, described video information includes the encrypted state letter of described video file to be played
Breath, video type, video playback address and deciphering authenticating address;
When determining that described video file to be played is encrypted video file according to described encrypted state information, recognize according to described deciphering
Card address acquisition authentication data, and described authentication data is sent to agency service plug-in unit, described agency service plug-in unit is arranged on institute
State in the terminal at videoconference client place, for described authentication data is verified;
After receiving described agency service plug-in unit transmission verification successful result, by described video type and described video playback address
It is sent to agency service plug-in unit, so that described agency service plug-in unit is corresponding from described videoconference client according to described video playback address
Server in obtain encrypted video stream utilize the successful authentication data of described verification that described encrypted video stream is decrypted,
To the deciphering video flowing corresponding with described video type;
From described agency service plug-in unit, obtain described deciphering video flowing, and play described deciphering video flowing.
Method the most according to claim 1, it is characterised in that described obtain described deciphering from described agency service plug-in unit
Video flowing, including:
Described videoconference client generates local broadcast address according to the address of described agency service plug-in unit;
Described videoconference client utilizes described local broadcast address to access described agency service plug-in unit, from described agency service plug-in unit
Obtain described deciphering video flowing.
Method the most according to claim 1, it is characterised in that described according to described decrypted authentication address acquisition authentication data,
Including:
Obtain the first data in described decrypted authentication address;
Described first data are decrypted, obtain new decrypted authentication address;
Obtain the authentication data in described new decrypted authentication address.
Method the most according to claim 1, it is characterised in that described method also includes:
When mistake occurs in any one step above-mentioned, the interface of described videoconference client is shown and plays Fail Type, and,
Obtain and play failure cause, described broadcasting failure cause is sent to described server.
Method the most according to claim 1, it is characterised in that regard obtaining described deciphering from described agency service plug-in unit
Before frequency stream, described method also includes:
When video playback suspended market order being detected, delete the total data obtained in video display process, and, exit
Thread shared by video playback.
6. a video play device, is applied in videoconference client, it is characterised in that described device includes:
First acquisition module, for obtaining the video information of video file to be played, described video information includes described to be played regard
The encrypted state information of frequency file, video type, video playback address and deciphering authenticating address;
Second acquisition module, for when determining that described video file to be played is encrypted video file according to described encrypted state information
Time, according to described decrypted authentication address acquisition authentication data, and described authentication data is sent to agency service plug-in unit, described generation
Reason service plug is arranged in the terminal at described videoconference client place, for verifying described authentication data;
Sending module, for after receiving described agency service plug-in unit transmission verification successful result, by described video type and institute
State video playback address and be sent to agency service plug-in unit so that described agency service plug-in unit according to described video playback address from described
The server that videoconference client is corresponding obtains encrypted video stream and utilizes the successful authentication data of described verification to described encrypted video
Stream is decrypted and obtains the deciphering video flowing corresponding with described video type;
3rd acquisition module, for obtaining described deciphering video flowing from described agency service plug-in unit;
Playing module, is used for playing described deciphering video flowing.
Device the most according to claim 6, it is characterised in that described 3rd acquisition module includes:
Address generates submodule, generates local broadcast address for the address according to described agency service plug-in unit;
First obtains submodule, for accessing described agency service plug-in unit, from described agency service according to described local broadcast address
Plug-in unit obtains described deciphering video flowing.
Device the most according to claim 6, it is characterised in that described second acquisition module, including:
Second obtains submodule, for obtaining the first data in described decrypted authentication address;
Deciphering submodule, for being decrypted described first data, obtains new decrypted authentication address;
3rd obtains submodule, for obtaining the authentication data in described new decrypted authentication address.
Device the most according to claim 6, it is characterised in that described device also includes:
Display module, for when mistake occurs in any one module above-mentioned, shows on the interface of described videoconference client and plays
Fail Type, and, obtain and play failure cause, described broadcasting failure cause is sent to described server.
Device the most according to claim 6, it is characterised in that described device also includes:
Removing module, for when video playback suspended market order being detected, deletes the whole numbers obtained in video display process
According to, and, exit the thread shared by video playback.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610353965.8A CN105939491A (en) | 2016-05-25 | 2016-05-25 | Video playing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610353965.8A CN105939491A (en) | 2016-05-25 | 2016-05-25 | Video playing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105939491A true CN105939491A (en) | 2016-09-14 |
Family
ID=57152576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610353965.8A Pending CN105939491A (en) | 2016-05-25 | 2016-05-25 | Video playing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105939491A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686407A (en) * | 2016-12-13 | 2017-05-17 | 北京互动百科网络技术股份有限公司 | Automatic identification encryption and decryption method and system for video data transmission |
CN109167790A (en) * | 2018-09-14 | 2019-01-08 | 广西犇云科技有限公司 | A kind of cross-platform video on-demand system based on hadoop |
WO2019153432A1 (en) * | 2018-02-09 | 2019-08-15 | 网宿科技股份有限公司 | Method and terminal for playbacking video file |
CN112507373A (en) * | 2020-11-02 | 2021-03-16 | 北京迅达云成科技有限公司 | Remote access method for industrial field data in industrial internet |
CN113206841A (en) * | 2021-04-26 | 2021-08-03 | 杭州当虹科技股份有限公司 | AES decryption agent method and system based on HLS protocol |
CN113489729A (en) * | 2021-07-09 | 2021-10-08 | 福州数据技术研究院有限公司 | Webpage verification generation method and system based on preset video |
CN113613044A (en) * | 2021-07-20 | 2021-11-05 | 深圳Tcl新技术有限公司 | Video playing method and device, storage medium and electronic equipment |
CN115225934A (en) * | 2022-07-25 | 2022-10-21 | 未来电视有限公司 | Video playing method, system, electronic equipment and storage medium |
CN116647717A (en) * | 2023-07-27 | 2023-08-25 | 中启鼎铉科技(北京)有限公司 | Computer video leakage protection method and system based on encryption technology |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120163595A1 (en) * | 2010-12-22 | 2012-06-28 | Electronics And Telecommunications Research Institute | Method and system for providing layered access control for scalable media |
CN103154956A (en) * | 2010-10-12 | 2013-06-12 | 三星电子株式会社 | Method and apparatus for downloading digital rights management module |
CN104378657A (en) * | 2014-09-01 | 2015-02-25 | 国家电网公司 | Video security access system based on agency and isolation and method of video security access system |
CN104735158A (en) * | 2015-03-31 | 2015-06-24 | 北京奇艺世纪科技有限公司 | Sorted storage method and device for user behavior data |
CN104822090A (en) * | 2014-04-25 | 2015-08-05 | 腾讯科技(北京)有限公司 | Video playing method, device and system |
CN105338425A (en) * | 2015-10-29 | 2016-02-17 | 深圳云聚汇数码有限公司 | System and method for realizing video seamless switching between multiple screens |
-
2016
- 2016-05-25 CN CN201610353965.8A patent/CN105939491A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103154956A (en) * | 2010-10-12 | 2013-06-12 | 三星电子株式会社 | Method and apparatus for downloading digital rights management module |
US20120163595A1 (en) * | 2010-12-22 | 2012-06-28 | Electronics And Telecommunications Research Institute | Method and system for providing layered access control for scalable media |
CN104822090A (en) * | 2014-04-25 | 2015-08-05 | 腾讯科技(北京)有限公司 | Video playing method, device and system |
CN104378657A (en) * | 2014-09-01 | 2015-02-25 | 国家电网公司 | Video security access system based on agency and isolation and method of video security access system |
CN104735158A (en) * | 2015-03-31 | 2015-06-24 | 北京奇艺世纪科技有限公司 | Sorted storage method and device for user behavior data |
CN105338425A (en) * | 2015-10-29 | 2016-02-17 | 深圳云聚汇数码有限公司 | System and method for realizing video seamless switching between multiple screens |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106686407B (en) * | 2016-12-13 | 2019-07-23 | 北京互动百科网络技术股份有限公司 | A kind of automatic identification encrypting and decrypting method and system for video data transmission |
CN106686407A (en) * | 2016-12-13 | 2017-05-17 | 北京互动百科网络技术股份有限公司 | Automatic identification encryption and decryption method and system for video data transmission |
WO2019153432A1 (en) * | 2018-02-09 | 2019-08-15 | 网宿科技股份有限公司 | Method and terminal for playbacking video file |
CN109167790A (en) * | 2018-09-14 | 2019-01-08 | 广西犇云科技有限公司 | A kind of cross-platform video on-demand system based on hadoop |
CN112507373A (en) * | 2020-11-02 | 2021-03-16 | 北京迅达云成科技有限公司 | Remote access method for industrial field data in industrial internet |
CN113206841B (en) * | 2021-04-26 | 2022-08-23 | 杭州当虹科技股份有限公司 | AES decryption agent method and system based on HLS protocol |
CN113206841A (en) * | 2021-04-26 | 2021-08-03 | 杭州当虹科技股份有限公司 | AES decryption agent method and system based on HLS protocol |
CN113489729A (en) * | 2021-07-09 | 2021-10-08 | 福州数据技术研究院有限公司 | Webpage verification generation method and system based on preset video |
CN113489729B (en) * | 2021-07-09 | 2023-08-29 | 福州数据技术研究院有限公司 | Webpage verification generation method and system based on preset video |
CN113613044A (en) * | 2021-07-20 | 2021-11-05 | 深圳Tcl新技术有限公司 | Video playing method and device, storage medium and electronic equipment |
CN115225934A (en) * | 2022-07-25 | 2022-10-21 | 未来电视有限公司 | Video playing method, system, electronic equipment and storage medium |
CN115225934B (en) * | 2022-07-25 | 2023-11-28 | 未来电视有限公司 | Video playing method, system, electronic device and storage medium |
CN116647717A (en) * | 2023-07-27 | 2023-08-25 | 中启鼎铉科技(北京)有限公司 | Computer video leakage protection method and system based on encryption technology |
CN116647717B (en) * | 2023-07-27 | 2023-09-22 | 中启鼎铉科技(北京)有限公司 | Computer video leakage protection method and system based on encryption technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105939491A (en) | Video playing method and device | |
KR101716516B1 (en) | Software application verification | |
US10356204B2 (en) | Application based hardware identifiers | |
CN107801059B (en) | A kind of method for authenticating and server | |
CN108183907A (en) | A kind of authentication method, server and Verification System | |
TWI723736B (en) | Block chain-based copyright protection method, device and electronic equipment | |
US20080134297A1 (en) | Advanced content authentication and authorization | |
CN101729857A (en) | Method for accessing video service and video playing system | |
CN107145769B (en) | Digital Rights Management (DRM) method, equipment and system | |
CN106845161A (en) | The method and apparatus that broadcasting to multimedia file is encrypted | |
US11038884B2 (en) | Blockchain-based copyright protection method and apparatus, and electronic device | |
CN108260015B (en) | Voting data processing method and device and electronic equipment | |
WO2007139277A1 (en) | Method for executing digital right management and tracking using characteristic of virus and system for executing the method | |
CN112153410B (en) | High-concurrency testing method and system for streaming media service | |
CN104811773A (en) | Hotlinking prevention-based channel playing implementation method, system and equipment | |
CN107888623B (en) | Method and device for preventing hijacking of audio and video data streams of live broadcast software | |
US9820013B2 (en) | System and method for opaque metadata transmission | |
CN110381334A (en) | Anti-stealing link method, apparatus and system | |
CN102546528B (en) | Stream media playing method and stream media playing equipment | |
US20080313742A1 (en) | Method and system for restricting the users of media content | |
US8495154B2 (en) | Content usage tracking in superdistribution | |
CN107040799A (en) | The authorization check method and device of video playback | |
CN101836213B (en) | Protection against unauthorized copying of digital media content | |
CN108769749A (en) | A kind of determining method, client and server for stealing brush data | |
CN106572052B (en) | Verification method, set top box and system for Internet television playing content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160914 |
|
WD01 | Invention patent application deemed withdrawn after publication |