CN104618799A - Video playing method and video playing device - Google Patents

Video playing method and video playing device Download PDF

Info

Publication number
CN104618799A
CN104618799A CN201410046881.0A CN201410046881A CN104618799A CN 104618799 A CN104618799 A CN 104618799A CN 201410046881 A CN201410046881 A CN 201410046881A CN 104618799 A CN104618799 A CN 104618799A
Authority
CN
China
Prior art keywords
video
multimedia file
encryption key
labeling
decruption key
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.)
Granted
Application number
CN201410046881.0A
Other languages
Chinese (zh)
Other versions
CN104618799B (en
Inventor
何健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410046881.0A priority Critical patent/CN104618799B/en
Publication of CN104618799A publication Critical patent/CN104618799A/en
Application granted granted Critical
Publication of CN104618799B publication Critical patent/CN104618799B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a video playing method and a video playing device, belonging to the technical field of audio and video. The method comprises the steps of receiving a request to play a video; acquiring a multimedia file and a decryption key from a video server if the video comprises an encryption key; playing the acquired multimedia file; decrypting the video according to the decryption key; and playing the decrypted video when the multimedia file finishes playing. When an off-line video already downloaded to a terminal is playing, whether a current video is encrypted is known; when the video is encrypted by the encryption key, the terminal firstly needs to acquire and play the multimedia file pushed by the server, and then decodes the encrypted video according to the decryption key provided by the server, so as to play the decrypted video. When the video is played offline, the skip of the multimedia file resulting from playing schedule control is prevented, and the watch ratio of the multimedia file is guaranteed.

Description

Video broadcasting method and device
Technical field
The present invention relates to technical field of audio/video, particularly a kind of video broadcasting method and device.
Background technology
Along with the raising of domestic Copyright Awareness, the cost obtaining high-quality video becomes more and more higher, and when user watches video online, operator can pass through broadcast advertisement in advance, reclaims certain cost.But, when user watches the video downloaded under off-line state, by the mode propagated between user, copyright restrictions can be avoided.
In order to solve the problem, operator, at the head insertion of advertising of video, during user's off-line viewing video, also can see advertisement, also reach the object of publicity while cost recovery.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
When off-line viewing video, the offline video that terminal is play downloads to terminal storage, because advertisement is inserted in video title as the part of foradownloaded video, user is when watching video, can, by controlling playing progress rate, easily skip advertisements, advertisement be caused completely not play, even do not play, affect the viewing rate of advertisement.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of video broadcasting method and device.Described technical scheme is as follows:
First aspect, provides a kind of video broadcasting method, and described method comprises:
Receive the playing request to video;
When described video packets is containing encryption key, obtain multimedia file and decruption key;
The multimedia file got is play;
According to described decruption key, described video is decrypted;
At the end of described multimedia file is play, play the video after deciphering.
Second aspect, provides a kind of video broadcasting method, and described method comprises:
The acquisition request of receiving terminal, at least one in the encryption key of video and video labeling is carried in described acquisition request;
According at least one in described encryption key and video labeling, obtain multimedia file and decruption key;
Described multimedia file and decruption key is sent to described terminal, described terminal is play the multimedia file got, and according to described decruption key, described video is decrypted, at the end of described multimedia file is play, play the video after deciphering.
The third aspect, provides a kind of video play device, and described device comprises:
Playing request receiver module, for receiving the playing request to video;
Acquisition module, for when described video packets is containing encryption key, obtains multimedia file and decruption key;
Multimedia file playing module, for playing the multimedia file got;
Deciphering module, for being decrypted described video according to described decruption key;
Video playback module, at the end of playing when described multimedia file, plays the video after deciphering.
Fourth aspect, provides a kind of video play device, and described device comprises:
Obtain request receiving module, for the acquisition request of receiving terminal, at least one in the encryption key of video and video labeling is carried in described acquisition request;
Acquisition module, for according at least one in described encryption key and video labeling, obtains multimedia file and decruption key;
Sending module, for sending described multimedia file and decruption key to described terminal, described terminal being play the multimedia file got, and according to described decruption key, described video is decrypted, at the end of described multimedia file is play, play the video after deciphering.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By when broadcasting has downloaded to the offline video of terminal, know whether current video is in encrypted state, when this video is in the state with encryption keys, terminal needs first to obtain and plays by the multimedia file of server push, the decruption key provided according to server is again decrypted the video encrypted, video after deciphering can be play, avoid when off-line displaying video, the situations such as multimedia file of skipping caused due to operations such as playing progress rate controls, ensure that the viewing rate of multimedia file.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of video broadcasting method flow chart that the embodiment of the present invention provides;
Fig. 2 is a kind of video broadcasting method flow chart that the embodiment of the present invention provides;
Fig. 3 is the audio/video player system structural representation that the embodiment of the present invention provides;
The composition schematic diagram of the audio/video player system that Fig. 4 embodiment of the present invention provides;
Fig. 5 is a kind of video broadcasting method flow chart that the embodiment of the present invention provides;
Fig. 6 is the video play device structural representation that the embodiment of the present invention provides;
Fig. 7 is the video play device structural representation that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is a kind of video broadcasting method flow chart that the embodiment of the present invention provides.See Fig. 1, this embodiment comprises:
101, the playing request to video is received.
102, when this video packets is containing encryption key, multimedia file and decruption key is obtained.
103, the multimedia file got is play.
104, according to this decruption key, this video is decrypted.
105, at the end of this multimedia file is play, the video after deciphering is play.
The method that the embodiment of the present invention provides, by when broadcasting has downloaded to the offline video of terminal, know whether current video is in encrypted state, when this video is in the state with encryption keys, terminal needs first to obtain and plays by the multimedia file of server push, the decruption key provided according to server is again decrypted the video encrypted, video after deciphering can be play, avoid when off-line displaying video, the situations such as multimedia file of skipping caused due to operations such as playing progress rate controls, ensure that the viewing rate of multimedia file.
Alternatively, acquisition multimedia file and decruption key comprise:
According to the encryption key that this video comprises, obtain the multimedia file corresponding with this encryption key and the decruption key corresponding with this encryption key from video server; Or,
According to the encryption key that this video comprises, obtain the multimedia file corresponding with this encryption key from local terminal, and obtain the decruption key corresponding with this encryption key from video server; Or,
According to the video labeling of this video, obtain the multimedia file corresponding with this video labeling and the decruption key corresponding with this video labeling from video server; Or,
According to the video labeling of this video, from local terminal obtain the multimedia file corresponding with this video labeling and, and from the video server acquisition decruption key corresponding with this video labeling; Or,
According to video labeling and this encryption key of this video, obtain the multimedia file corresponding with this video labeling and the decruption key corresponding with this encryption key from video server; Or,
According to video labeling and this encryption key of this video, obtain the multimedia file corresponding with this video labeling from local terminal, and obtain the decruption key corresponding with this encryption key from video server.
Alternatively, the method also comprises:
When not receiving the multimedia file that this video server returns, prompting is play unsuccessfully; Or,
When not inquiring this multimedia file from local terminal, prompting is play unsuccessfully; Or,
Carrying out at this multimedia file in the process play, when receiving the playing progress rate control command to this multimedia file, not responding this playing progress rate control command.
Fig. 2 is a kind of video broadcasting method flow chart that the embodiment of the present invention provides.See Fig. 2, this embodiment comprises:
201, the acquisition request of receiving terminal, at least one in the encryption key of video and video labeling is carried in this acquisition request.
202, according at least one in this encryption key and video labeling, multimedia file and decruption key is obtained.
203, send this multimedia file and decruption key to this terminal, this terminal is play the multimedia file got, and according to this decruption key, this video is decrypted, at the end of this multimedia file is play, play the video after deciphering.
The method that the embodiment of the present invention provides, by when broadcasting has downloaded to the offline video of terminal, know whether current video is in encrypted state, when this video is in the state with encryption keys, terminal needs first to obtain and plays by the multimedia file of server push, the decruption key provided according to server is again decrypted the video encrypted, video after deciphering can be play, avoid when off-line displaying video, the situations such as multimedia file of skipping caused due to operations such as playing progress rate controls, ensure that the viewing rate of multimedia file.
Alternatively, according at least one in this encryption key and video labeling, acquisition multimedia file and decruption key comprise:
According to this video labeling, from preset video labeling and multimedia file corresponding relation, obtain the multimedia file corresponding with this video labeling; Or, according to this encryption key, from preset encryption key and multimedia file corresponding relation, obtain the multimedia file corresponding with this encryption key;
According to this video labeling, from preset video labeling and decruption key corresponding relation, obtain the decruption key corresponding with this video labeling; Or, according to this encryption key, from preset encryption key and decruption key corresponding relation, obtain the decruption key corresponding with this encryption key.
Alternatively, send this multimedia file to this terminal to comprise:
When obtaining multiple multimedia file, from the plurality of multimedia file, choosing a multimedia file, send the multimedia file chosen to this terminal.
Fig. 3 is the audio/video player system structural representation that the embodiment of the present invention provides.See Fig. 3, this audio/video player system comprises videoconference client and video server.Connected by network between this videoconference client and this video server.Wherein, this video server is provided by operator, in this video server, store multiple video, for user's online access.This videoconference client may be used for accessing video website, the video that this video server of online broadcasting provides, this videoconference client can also download by modes such as buffer memorys the video that this video server provides, to propagate between viewing or user under off-line state.
Fig. 4 is the composition schematic diagram of the audio/video player system that the embodiment of the present invention provides.See Fig. 4, in this audio/video player system:
(1) video server comprises decruption key administrative unit, video database and multimedia file transmitting element.
Wherein, this decruption key administrative unit is used for receiving and deciphering cipher key acquisition request, and obtains the encryption key asking to carry according to this decruption key, obtains the decruption key that this encryption key is corresponding; This video database is used for store video and multimedia file; This multimedia file transmitting element is used for sending to videoconference client the multimedia file obtained from this video database.
(2) videoconference client comprises encryption key management unit, video playback unit, multimedia file pull unit and memory cell.
Wherein, this encryption key management unit for obtaining the encryption key of video, and sends the decruption key acquisition request of carrying encryption key to this video server; This video playback unit is used for displaying video and multimedia file; This multimedia file pulls unit for pulling multimedia file from video server, and this memory cell is used for store video.
In embodiments of the present invention, this multimedia file can be dynamic picture, audio file or video file etc., and the embodiment of the present invention does not do concrete restriction.In embodiments of the present invention, this multimedia file as the background of video playback, also as advertisement, before video playback, can carry out advertising.Only be described for this multimedia file as advertisement below, details are as follows:
Fig. 5 is a kind of video broadcasting method flow chart that the embodiment of the present invention provides.This embodiment is the reciprocal process between terminal and video server, and see Fig. 5, this embodiment comprises:
501, terminal receives the playing request to video.
Wherein, this terminal can be fixed terminal or mobile terminal, fixed terminal can be PC(PersonalComputer, PC) or display device, mobile terminal can be smart mobile phone, panel computer, MP3(Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), PDA(Personal Digital Assistant, personal digital assistant) etc.
In embodiments of the present invention, this video is provided by video server.Wherein, this video can be when networking state, the video that this terminal is downloaded from this video server, also can be the video that this terminal copies from other-end, and such as, copy the video mobile phone from computer to, the embodiment of the present invention does not do concrete restriction.
In embodiments of the present invention, terminal use can utilize video playback to apply and read the memory address of this video at local terminal, by clicking the Play Control button of video playback application, triggering the playing request to this video.Terminal use also can by clicking the display icon of this video, and trigger the playing request to this video, the embodiment of the present invention does not do concrete restriction.
502, when this video packets is containing encryption key, terminal sends to video server the request of acquisition, and at least one in the encryption key of this video and video labeling is carried in this acquisition request.
Wherein, this encryption key can be a character string, and this video can utilize this encryption key to be encrypted by this terminal, also this encryption key can be utilized to be encrypted by this video server.In embodiments of the present invention, this terminal or this video server can adopt EFS(Encrypting File System, encrypted file system) or DEA(Data Encryption Algorithm, DEA) etc. cipher mode, this video is encrypted.
Wherein, this video labeling can be video ID(Identity, identification number).In embodiments of the present invention, this video server, according to this video labeling, can obtain the information such as the areal type of this video, duration, so that the follow-up advertisement different according to this information pushing such as areal type, duration.Such as, the areal type of this video is CHINESE REGION, then this video server can push the advertisement about travel in China.
In embodiments of the present invention, when this video packets is containing encryption key, terminal can determine that this video is encrypted, and now, terminal sends the request of acquisition, to obtain advertisement and decruption key to video server.Wherein, when terminal sends acquisition request to video server, the information that this acquisition request is carried can be encryption key; Now, require that this video server stores the advertisement corresponding with encryption key and the decruption key corresponding with encryption key, so that when this video server follow-up receives this acquisition request, obtain advertisement and decruption key according to this encryption key.In fact, the information that this acquisition request is carried also can be video labeling; Now, require that this video server stores the advertisement corresponding with video labeling and the decruption key corresponding with video labeling, so that when this video server follow-up receives this acquisition request, obtain advertisement and decruption key according to this video labeling.Certainly, the information that this acquisition request is carried also can be video labeling and encryption key; Now require that this video server stores the advertisement corresponding with video labeling and the decruption key corresponding with encryption key, so that when this video server follow-up receives this acquisition request, obtain advertisement and decruption key according to this video labeling and this encryption key.
Further alternatively, when this video does not comprise encryption key, terminal can determine that this video is not encrypted, and terminal can directly be play this video.
Again further alternatively, when terminal is asked unsuccessfully to this video server transmission acquisition, terminal can be pointed out and play unsuccessfully.
503, when this video server receives this acquisition request, according at least one in this encryption key and video labeling, advertisement and decruption key is obtained.
In embodiments of the present invention, the mode of this video server acquisition decruption key comprises following (503a)-(503b):
(503a) this video server is according to this encryption key, from preset encryption key and decruption key corresponding relation, obtain the decruption key corresponding with this encryption key.
As shown in table 1, this video server corresponding stored has encryption key and decruption key, when encryption key a is carried in this acquisition request, this video server from preset encryption key and decruption key corresponding relation, obtain the decruption key A corresponding with encryption key a.
Table 1
Encryption key Decruption key
Encryption key a Decruption key A
Encryption key b Decruption key B
(503b) this video server is according to this video labeling, from preset video labeling and decruption key corresponding relation, obtain the decruption key corresponding with this video labeling.
As shown in table 2, this video server corresponding stored has video labeling and decruption key, when video labeling a is carried in this acquisition request, this video server from preset video labeling and decruption key corresponding relation, obtain the decruption key C corresponding with video labeling a.
Table 2
Video labeling Decruption key
Video labeling a Decruption key C
Video labeling b Decruption key D
In embodiments of the present invention, the mode of this video server acquisition advertisement comprises (503c)-(503d):
(503c) this video server is according to this video labeling, from preset video labeling and advertisement corresponding relation, obtain the advertisement corresponding with this video labeling.
As shown in table 3, this video server corresponding stored has video labeling and advertisement, when video labeling a is carried in this acquisition request, this video server from preset video labeling and advertisement corresponding relation, obtain the advertisement A corresponding with video labeling a.
Table 3
Video labeling Advertisement
Video labeling a Advertisement A
Video labeling b Advertisement B
(503d) this video server is according to this encryption key, from preset encryption key and advertisement corresponding relation, obtain the advertisement corresponding with this encryption key.
As shown in table 4, this video server corresponding stored has encryption key and advertisement, when encryption key a is carried in this acquisition request, this video server from preset encryption key and advertisement corresponding relation, obtain the advertisement C corresponding with encryption key a.
Table 4
Encryption key Advertisement
Encryption key a Advertisement C
Encryption key b Advertisement D
It should be noted that, in embodiments of the present invention, a video labeling or encryption key can corresponding multiple advertisements.Such as, as shown in table 5, the corresponding advertisement 1 of video labeling a and advertisement 2, now, when video labeling a is carried in this acquisition request, this video server, from the corresponding relation of the video labeling preset and advertisement, obtains the advertisement 1 corresponding with encryption key a and advertisement 2.
Table 5
Video labeling Advertisement
Video labeling a Advertisement 1, advertisement 2
Video labeling b Advertisement 3, advertisement 4
In embodiments of the present invention, video server is according to video labeling, corresponding relation between advertisement and decruption key, to terminal advertisement, that is to say, when the video labeling of multiple video is identical, this video server pushes identical advertisement to the plurality of video place terminal, such as, for a TV play comprising multiple video, in this TV play of terminal plays during multiple video, all show same advertisement, the influence power of advertisement can be strengthened.
504, this video server sends this advertisement and decruption key to this terminal.
In embodiments of the present invention, when this video server obtains multiple advertisement, this video server chooses an advertisement from the plurality of advertisement, sends the advertisement chosen to this terminal.Wherein, the mode that this video server chooses an advertisement from the plurality of advertisement comprises: this video server chooses an advertisement at random from the plurality of advertisement; Or this video server, according to the priority of advertising presupposition, chooses the advertisement that priority is high from the plurality of advertisement; Or this video server, according to the broadcasting time of advertisement, chooses the advertisement that broadcasting time is minimum from the plurality of advertisement; Or, this video server can according to the advertisement play history of terminal, determine the Matrix of this terminal, the advertisement matched with Matrix is chosen from the plurality of advertisement, such as, the plurality of advertisement comprises advertisement for cosmetics and drink advertising, and the Matrix of this terminal plays is foodstuff, and drink advertising belongs to foodstuff, then this video server chooses drink advertising from the plurality of advertisement; Or, this video server can also according to the video playback history of terminal, determine the video preference of this terminal, from the plurality of advertisement, choose the advertisement with video match those, such as, the plurality of advertisement comprises advertisement for cosmetics and motion advertisement, the inclined women of video of this terminal plays, cosmetics are favorites of women, then this video server chooses advertisement for cosmetics from the plurality of advertisement, make advertisement putting have more specific aim.
505, when this terminal receives this advertisement and decruption key, this advertisement is play.
In embodiments of the present invention, when terminal receives this advertisement and decruption key, this advertisement is play, in the process that this advertisement is play, when receiving the playing progress rate control command to this multimedia file, do not respond this playing progress rate control command, that is to say in advertisement playing process, user cannot accelerate advertisement playing progress rate, also cannot skip advertisements, ensure that the viewing rate of advertisement.
Further alternatively, when terminal does not receive the advertisement that this video server returns, can point out and play unsuccessfully.
It should be noted that, the embodiment of the present invention only obtains advertisement for terminal from server simultaneously and decruption key is described, in another embodiment of the invention, terminal also first can obtain advertisement from server, after this advertisement is play, obtain decruption key from server again, the embodiment of the present invention does not do concrete restriction.
It should be noted that further, when this video packets is containing encryption key, the embodiment of the present invention is only described from video server acquisition multimedia file and decruption key for terminal, that is to say, the encryption key that terminal comprises according to this video, obtains the multimedia file corresponding with this encryption key and the decruption key corresponding with this encryption key from video server; Or terminal, according to the video labeling of this video, obtains the multimedia file corresponding with this video labeling and the decruption key corresponding with this video labeling from video server; Or terminal, according to the video labeling of this video and this encryption key, obtains the multimedia file corresponding with this video labeling and the decruption key corresponding with this encryption key from video server.In fact, in another embodiment of the invention, terminal also can obtain multimedia file from local terminal, and obtains decruption key from video server.Wherein, the mode that terminal obtains multimedia file from local terminal comprises: terminal is according to the encryption key of this video, from multiple multimedia files that local terminal stores, obtain the multimedia file corresponding with the encryption key of this video, or, terminal, according to the video labeling of this video, from multiple multimedia files that local terminal stores, obtains the multimedia file corresponding with the video labeling of this video.It is similar that terminal obtains from video server the mode that in the mode of decruption key and the present embodiment, terminal obtains decruption key from video server.
Particularly, the encryption key that terminal comprises according to this video, the encryption key preset from local terminal and the corresponding relation of multimedia file, obtain the multimedia file corresponding with this encryption key, and the corresponding relation of the encryption key preset from video server and multimedia file, obtain the decruption key corresponding with this encryption key; Or, the video labeling that terminal comprises according to this video, the video labeling preset from local terminal and the corresponding relation of multimedia file, obtain the multimedia file corresponding with this video labeling, and the corresponding relation of the video labeling preset from video server and multimedia file, obtain the decruption key corresponding with this video labeling; Or, terminal is according to the video labeling of this video and this encryption key, the video labeling preset from local terminal and the corresponding relation of multimedia file, obtain the multimedia file corresponding with this video labeling, and the corresponding relation of the encryption key preset from video server and multimedia file, obtain the decruption key corresponding with this encryption key.
In addition, the multimedia file of terminal storage can be in the process from foradownloaded video on video server, terminal is downloaded from video server, also can be at other times, as terminal is in wifi network connection status, and downloaded from video server by terminal when not watching video online.Terminal, can by the encryption key corresponding stored of this multimedia file and this video for this multimedia file downloaded, also can by the video labeling corresponding stored of this multimedia file and this video.
Only be specifically described for this multimedia file as advertisement below: this terminal, according to the encryption key of this video, obtains the advertisement corresponding with this encryption key from local terminal, and obtains the decruption key corresponding with this encryption key from video server; Or this terminal, according to the video labeling of this video, obtains the advertisement corresponding with this video labeling from local terminal, and obtains the decruption key corresponding with this video labeling from video server; Or this terminal, according to the video labeling of this video and encryption key, obtains the advertisement corresponding with this video labeling from local terminal, and obtains the decruption key corresponding with this encryption key from video server.Because this ad storage is in terminal, when playing this video, directly can play this advertisement, not needing after video server download, then this advertisement is play, avoiding the impact on this video playout speed.
506, terminal is decrypted this video according to this decruption key.
In embodiments of the present invention, terminal according to this decruption key, can press the deciphering of video time sequential segment to this video, make at the end of advertisement is play, if this video does not also decipher end, terminal can play decrypted partial video, can reduce the stand-by period of user.
507, at the end of this advertisement is play, the video after terminal plays deciphering.
In embodiments of the present invention, the process of terminal to the process of this decryption of video and terminal advertising-playing can be carried out simultaneously.That is to say, in the process of terminal advertising-playing, terminal is decrypted this video simultaneously, and at the end of advertisement is play, terminal plays the video after deciphering again.If at the end of advertisement is play, terminal does not terminate this decryption of video, now, can continue to be decrypted this video, at the end of deciphering, then play this video, terminal also first can play decrypted partial video, proceed deciphering to remaining the video do not deciphered, until deciphering terminates simultaneously.The process of terminal to the process of this decryption of video and this terminal advertising-playing also can be carried out sequentially.That is to say, terminal first plays the advertisement of acquisition, at the end of advertisement is play, then is decrypted video according to the decruption key obtained, and at the end of deciphering, plays the video after deciphering.
In embodiments of the present invention, terminal, when off-line plays the encrypted video downloaded, must first play the advertisement pushed by video server, and advertisement could be play the video after deciphering, ensure that the cost recovery of high-quality video content after being play and terminating.
The method that the embodiment of the present invention provides, by when broadcasting has downloaded to the offline video of terminal, know whether current video is in encrypted state, when this video is in the state with encryption keys, terminal needs first to obtain and plays by the advertisement of server push, the decruption key provided according to server is again decrypted the video encrypted, video after deciphering can be play, avoid when off-line displaying video, the situations such as the skip advertisements caused due to operations such as playing progress rate controls, ensure that the viewing rate of advertisement.
Fig. 6 is a kind of video play device structural representation that the embodiment of the present invention provides.See Fig. 6, this device comprises playing request receiver module 601, acquisition module 602, multimedia file playing module 603, deciphering module 604 and video playback module 605.Wherein:
Playing request receiver module 601 is for receiving the playing request to video; Playing request receiver module 601 is connected with acquisition module 602, and acquisition module 602, for when this video packets is containing encryption key, obtains multimedia file and decruption key; Acquisition module 602 is connected with multimedia file playing module 603, and multimedia file playing module 603 is for playing the multimedia file got; Multimedia file playing module 603 is connected with deciphering module 604, and deciphering module 604 is for being decrypted this video according to this decruption key; Deciphering module 604 is connected with video playback module 605, and video playback module 605, at the end of the broadcasting of this multimedia file, plays the video after deciphering.
Alternatively, the encryption key of this acquisition module 602 for comprising according to this video, obtains the multimedia file corresponding with this encryption key and the decruption key corresponding with this encryption key from video server; Or the encryption key of this acquisition module 602 also for comprising according to this video, obtains the multimedia file corresponding with this encryption key from local terminal, and obtains the decruption key corresponding with this encryption key from video server; Or this acquisition module 602, also for the video labeling according to this video, obtains the multimedia file corresponding with this video labeling and the decruption key corresponding with this video labeling from video server; Or, this acquisition module 602 also for the video labeling according to this video, from local terminal obtain the multimedia file corresponding with this video labeling and, and from the video server acquisition decruption key corresponding with this video labeling; Or this acquisition module 602 also for according to the video labeling of this video and this encryption key, obtains the multimedia file corresponding with this video labeling and the decruption key corresponding with this encryption key from video server; Or this acquisition module 602 also for according to the video labeling of this video and this encryption key, obtains the multimedia file corresponding with this video labeling from local terminal, and the decruption key corresponding with this encryption key from video server acquisition.
Alternatively, this device also comprises: reminding module, and for when not receiving the multimedia file that this video server returns, prompting is play unsuccessfully; Or this reminding module is not also for when inquiring this multimedia file from local terminal, prompting is play unsuccessfully; Playing progress rate control module, in the playing process of this multimedia file, when receiving the playing progress rate control command to this multimedia file, does not respond this playing progress rate control command.
The device that the embodiment of the present invention provides, by when broadcasting has downloaded to the offline video of terminal, know whether current video is in encrypted state, when this video is in the state with encryption keys, terminal needs first to obtain and plays by the multimedia file of server push, the decruption key provided according to server is again decrypted the video encrypted, video after deciphering can be play, avoid when off-line displaying video, the situations such as multimedia file of skipping caused due to operations such as playing progress rate controls, ensure that the viewing rate of multimedia file.
Fig. 7 is a kind of video play device structural representation that the embodiment of the present invention provides.See Fig. 7, this device comprises acquisition request receiving module 701, acquisition module 702 and sending module 703.Wherein:
Obtain the acquisition request of request receiving module 701 for receiving terminal, at least one in the encryption key of video and video labeling is carried in this acquisition request; Obtain request receiving module 701 to be connected with acquisition module 702, acquisition module 702, for according at least one in this encryption key and video labeling, obtains multimedia file and decruption key; Acquisition module 702 is connected with sending module 703, sending module 703 is for sending this multimedia file and decruption key to this terminal, this terminal is play the multimedia file got, and according to this decruption key, this video is decrypted, at the end of this multimedia file is play, play the video after deciphering.
Alternatively, this acquisition module 702, also for according to this video labeling, from the corresponding relation of the video labeling preset and multimedia file, obtains the multimedia file corresponding with this video labeling; Or this acquisition module 702, also for according to this encryption key, from the corresponding relation of the encryption key preset and multimedia file, obtains the multimedia file corresponding with this encryption key; According to this video labeling, from preset video labeling and decruption key corresponding relation, obtain the decruption key corresponding with this video labeling; Or this acquisition module 702, also for according to this encryption key, from the corresponding relation of the encryption key preset and decruption key, obtains the decruption key corresponding with this encryption key.
Alternatively, this sending module 703 also for when obtaining multiple multimedia file, being chosen a multimedia file, being sent the multimedia file chosen to this terminal from the plurality of multimedia file.
The device that the embodiment of the present invention provides, by when broadcasting has downloaded to the offline video of terminal, know whether current video is in encrypted state, when this video is in the state with encryption keys, terminal needs first to obtain and plays by the multimedia file of server push, the decruption key provided according to server is again decrypted the video encrypted, video after deciphering can be play, avoid when off-line displaying video, the situations such as multimedia file of skipping caused due to operations such as playing progress rate controls, ensure that the viewing rate of multimedia file.
It should be noted that: the video play device that above-described embodiment provides is when video playback, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the device of the video playback that above-described embodiment provides and the embodiment of the method for video playback belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a video broadcasting method, is characterized in that, described method comprises:
Receive the playing request to video;
When described video packets is containing encryption key, obtain multimedia file and decruption key;
The multimedia file got is play;
According to described decruption key, described video is decrypted;
At the end of described multimedia file is play, play the video after deciphering.
2. method according to claim 1, is characterized in that, acquisition multimedia file and decruption key comprise:
According to the encryption key that described video comprises, obtain the multimedia file corresponding with described encryption key and the decruption key corresponding with described encryption key from video server; Or,
According to the encryption key that described video comprises, obtain the multimedia file corresponding with described encryption key from local terminal, and obtain the decruption key corresponding with described encryption key from video server; Or,
According to the video labeling of described video, obtain the multimedia file corresponding with described video labeling and the decruption key corresponding with described video labeling from video server; Or,
According to the video labeling of described video, from local terminal obtain the multimedia file corresponding with described video labeling and, and from the video server acquisition decruption key corresponding with described video labeling; Or,
According to video labeling and the described encryption key of described video, obtain the multimedia file corresponding with described video labeling and the decruption key corresponding with described encryption key from video server; Or,
According to video labeling and the described encryption key of described video, obtain the multimedia file corresponding with described video labeling from local terminal, and obtain the decruption key corresponding with described encryption key from video server.
3. method according to claim 1, is characterized in that, described method also comprises:
When not receiving the multimedia file that described video server returns, prompting is play unsuccessfully; Or,
When not inquiring described multimedia file from local terminal, prompting is play unsuccessfully; Or,
In the playing process of described multimedia file, when receiving the playing progress rate control command to described multimedia file, do not respond described playing progress rate control command.
4. a video broadcasting method, is characterized in that, described method comprises:
The acquisition request of receiving terminal, at least one in the encryption key of video and video labeling is carried in described acquisition request;
According at least one in described encryption key and video labeling, obtain multimedia file and decruption key;
Described multimedia file and decruption key is sent to described terminal, described terminal is play the multimedia file got, and according to described decruption key, described video is decrypted, at the end of described multimedia file is play, play the video after deciphering.
5. method according to claim 4, is characterized in that, according at least one in described encryption key and video labeling, acquisition multimedia file and decruption key comprise:
According to described video labeling, from preset video labeling and multimedia file corresponding relation, obtain the multimedia file corresponding with described video labeling; Or, according to described encryption key, from preset encryption key and multimedia file corresponding relation, obtain the multimedia file corresponding with described encryption key;
According to described video labeling, from preset video labeling and decruption key corresponding relation, obtain the decruption key corresponding with described video labeling; Or, according to described encryption key, from preset encryption key and decruption key corresponding relation, obtain the decruption key corresponding with described encryption key.
6. method according to claim 4, is characterized in that, sends described multimedia file comprise to described terminal:
When obtaining multiple multimedia file, from described multiple multimedia file, choosing a multimedia file, send the multimedia file chosen to described terminal.
7. a video play device, is characterized in that, described device comprises:
Playing request receiver module, for receiving the playing request to video;
Acquisition module, for when described video packets is containing encryption key, obtains multimedia file and decruption key;
Multimedia file playing module, for playing the multimedia file got;
Deciphering module, for being decrypted described video according to described decruption key;
Video playback module, at the end of playing when described multimedia file, plays the video after deciphering.
8. device according to claim 7, it is characterized in that, described acquisition module is used for the encryption key comprised according to described video, obtains the multimedia file corresponding with described encryption key and the decruption key corresponding with described encryption key from video server; Or the encryption key of described acquisition module also for comprising according to described video, obtains the multimedia file corresponding with described encryption key from local terminal, and obtains the decruption key corresponding with described encryption key from video server; Or described acquisition module, also for the video labeling according to described video, obtains the multimedia file corresponding with described video labeling and the decruption key corresponding with described video labeling from video server; Or, described acquisition module also for the video labeling according to described video, from local terminal obtain the multimedia file corresponding with described video labeling and, and from the video server acquisition decruption key corresponding with described video labeling; Or described acquisition module also for according to the video labeling of described video and described encryption key, obtains the multimedia file corresponding with described video labeling and the decruption key corresponding with described encryption key from video server; Or described acquisition module also for according to the video labeling of described video and described encryption key, obtains the multimedia file corresponding with described video labeling from local terminal, and the decruption key corresponding with described encryption key from video server acquisition.
9. device according to claim 7, is characterized in that, described device also comprises:
Reminding module, for when not receiving the multimedia file that described video server returns, prompting is play unsuccessfully; Or described reminding module is not also for when inquiring described multimedia file from local terminal, and prompting is play unsuccessfully;
Playing progress rate control module, in the playing process of described multimedia file, when receiving the playing progress rate control command to described multimedia file, does not respond described playing progress rate control command.
10. a video play device, is characterized in that, described device comprises:
Obtain request receiving module, for the acquisition request of receiving terminal, at least one in the encryption key of video and video labeling is carried in described acquisition request;
Acquisition module, for according at least one in described encryption key and video labeling, obtains multimedia file and decruption key;
Sending module, for sending described multimedia file and decruption key to described terminal, described terminal being play the multimedia file got, and according to described decruption key, described video is decrypted, at the end of described multimedia file is play, play the video after deciphering.
11. devices according to claim 10, is characterized in that, described acquisition module, also for according to described video labeling, from the corresponding relation of the video labeling preset and multimedia file, obtains the multimedia file corresponding with described video labeling; Or described acquisition module, also for according to described encryption key, from the corresponding relation of the encryption key preset and multimedia file, obtains the multimedia file corresponding with described encryption key; According to described video labeling, from preset video labeling and decruption key corresponding relation, obtain the decruption key corresponding with described video labeling; Or described acquisition module, also for according to described encryption key, from the corresponding relation of the encryption key preset and decruption key, obtains the decruption key corresponding with described encryption key.
12. devices according to claim 10, is characterized in that, described sending module also for when obtaining multiple multimedia file, being chosen a multimedia file, being sent the multimedia file chosen to described terminal from described multiple multimedia file.
CN201410046881.0A 2014-02-10 2014-02-10 Video broadcasting method and device Active CN104618799B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410046881.0A CN104618799B (en) 2014-02-10 2014-02-10 Video broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410046881.0A CN104618799B (en) 2014-02-10 2014-02-10 Video broadcasting method and device

Publications (2)

Publication Number Publication Date
CN104618799A true CN104618799A (en) 2015-05-13
CN104618799B CN104618799B (en) 2018-01-09

Family

ID=53153042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410046881.0A Active CN104618799B (en) 2014-02-10 2014-02-10 Video broadcasting method and device

Country Status (1)

Country Link
CN (1) CN104618799B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430431A (en) * 2015-11-06 2016-03-23 华为技术有限公司 Multimedia data playing method and device
CN106060604A (en) * 2016-06-28 2016-10-26 暴风集团股份有限公司 Method and system for realizing digital rights management play based on BHD file
CN107197338A (en) * 2017-05-05 2017-09-22 中广热点云科技有限公司 It is a kind of to ensure the method for advertisement playing duration
CN107613317A (en) * 2017-09-08 2018-01-19 康佳集团股份有限公司 A kind of method, storage medium and intelligent television for playing local cipher media
CN108156152A (en) * 2017-12-22 2018-06-12 北京百度网讯科技有限公司 Streaming Media downloads method, apparatus, storage medium and the terminal device with playing
CN108322469A (en) * 2018-02-05 2018-07-24 北京百度网讯科技有限公司 Information processing system, method and apparatus
CN110740360A (en) * 2018-07-20 2020-01-31 北京优酷科技有限公司 Multimedia resource playing method and device
CN111582925A (en) * 2020-04-30 2020-08-25 成都新潮传媒集团有限公司 Advertisement monitoring method and multimedia monitoring terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030156108A1 (en) * 2002-02-20 2003-08-21 Anthony Vetro Consistent digital item adaptation
CN101141246A (en) * 2006-09-05 2008-03-12 华为技术有限公司 Service key obtaining method and subscription management server
CN101196970A (en) * 2007-12-29 2008-06-11 武汉理工大学 Digital copyright management system based on digital watermarking and mobile proxy
CN101257326A (en) * 2007-02-27 2008-09-03 深圳Tcl新技术有限公司 Method and system for matching pair of wireless transmitting kit and wireless receiving kit
JP2009033411A (en) * 2007-07-26 2009-02-12 Sharp Corp Broadcast receiver and pay program providing system
CN101901447A (en) * 2008-11-27 2010-12-01 三星电子株式会社 System and method for providing a digital content service
US20120011556A1 (en) * 2009-01-15 2012-01-12 Electronics And Telecommunications Research Institute Method and apparatus for providing broadcasting service

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030156108A1 (en) * 2002-02-20 2003-08-21 Anthony Vetro Consistent digital item adaptation
CN101141246A (en) * 2006-09-05 2008-03-12 华为技术有限公司 Service key obtaining method and subscription management server
CN101257326A (en) * 2007-02-27 2008-09-03 深圳Tcl新技术有限公司 Method and system for matching pair of wireless transmitting kit and wireless receiving kit
JP2009033411A (en) * 2007-07-26 2009-02-12 Sharp Corp Broadcast receiver and pay program providing system
CN101196970A (en) * 2007-12-29 2008-06-11 武汉理工大学 Digital copyright management system based on digital watermarking and mobile proxy
CN101901447A (en) * 2008-11-27 2010-12-01 三星电子株式会社 System and method for providing a digital content service
US20120011556A1 (en) * 2009-01-15 2012-01-12 Electronics And Telecommunications Research Institute Method and apparatus for providing broadcasting service

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430431B (en) * 2015-11-06 2018-11-13 华为技术有限公司 multimedia data playing method and device
CN105430431A (en) * 2015-11-06 2016-03-23 华为技术有限公司 Multimedia data playing method and device
CN106060604A (en) * 2016-06-28 2016-10-26 暴风集团股份有限公司 Method and system for realizing digital rights management play based on BHD file
CN107197338A (en) * 2017-05-05 2017-09-22 中广热点云科技有限公司 It is a kind of to ensure the method for advertisement playing duration
CN107197338B (en) * 2017-05-05 2019-11-26 中广热点云科技有限公司 A method of ensuring advertisement playing duration
CN107613317A (en) * 2017-09-08 2018-01-19 康佳集团股份有限公司 A kind of method, storage medium and intelligent television for playing local cipher media
CN108156152A (en) * 2017-12-22 2018-06-12 北京百度网讯科技有限公司 Streaming Media downloads method, apparatus, storage medium and the terminal device with playing
CN108322469A (en) * 2018-02-05 2018-07-24 北京百度网讯科技有限公司 Information processing system, method and apparatus
CN108322469B (en) * 2018-02-05 2019-07-19 北京百度网讯科技有限公司 Information processing system, method and apparatus
CN110740360A (en) * 2018-07-20 2020-01-31 北京优酷科技有限公司 Multimedia resource playing method and device
CN110740360B (en) * 2018-07-20 2021-09-14 阿里巴巴(中国)有限公司 Multimedia resource playing method and device
CN111582925A (en) * 2020-04-30 2020-08-25 成都新潮传媒集团有限公司 Advertisement monitoring method and multimedia monitoring terminal
CN111582925B (en) * 2020-04-30 2023-04-07 成都新潮传媒集团有限公司 Advertisement monitoring method and multimedia monitoring terminal

Also Published As

Publication number Publication date
CN104618799B (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN104618799A (en) Video playing method and video playing device
CN101467141B (en) Advertising transfer and playback on portable devices
CN202282838U (en) Receiving equipment, transmitting equipment and broadcasting system
US8341550B2 (en) User generated targeted advertisements
US20100036854A1 (en) Sharing Television Clips
US20170085962A1 (en) Methods and systems for measuring efficiency of retargeting across platforms
JP4380924B2 (en) A system that provides video on demand
KR20140107199A (en) Terminal apparatus, server apparatus, information processing method, program, and linking application supply system
CN102474652A (en) Systems and methods for managing content in real-time
EP3375192A1 (en) Similar introduction caching mechanism
CN101489114A (en) Request program playing method, system and request program sending server
CN105100912A (en) Streaming media processing method and streaming media processing apparatus
US10979763B2 (en) Systems, methods and computer-readable media for local content storage within a media network
CN104023273A (en) Video-on-demand method and video-on-demand device
US20170083935A1 (en) Methods and systems for determining a retargeting sequence of advertisements across platforms
CN100370820C (en) Providing multimedia on demand in a near on demand environment
CN101124825A (en) Method and apparatus for secure transfer and playback of multimedia content
CN101459976B (en) Method, equipment and system for stream media playing control
CN101505406A (en) Video on demand method for cable TV network
CN103841449A (en) Television program information processing method and device
GB2500653A (en) Broadcast audio video content distribution system with associated metadata defining links to other content
TW201233148A (en) Cascading dynamic crypto periods
CN101459823A (en) Method, apparatus and system for program presetting
KR101187386B1 (en) Broadcasting Service System and Method Using VoD Content Channel
US20130142498A1 (en) Optimizing recording space in digital video recording of television programs containing commercials

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant