CN103024449A - Method for processing video frame stream, video server and terminal equipment - Google Patents

Method for processing video frame stream, video server and terminal equipment Download PDF

Info

Publication number
CN103024449A
CN103024449A CN2011102939839A CN201110293983A CN103024449A CN 103024449 A CN103024449 A CN 103024449A CN 2011102939839 A CN2011102939839 A CN 2011102939839A CN 201110293983 A CN201110293983 A CN 201110293983A CN 103024449 A CN103024449 A CN 103024449A
Authority
CN
China
Prior art keywords
frame
video
stream
processing
orderization
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
CN2011102939839A
Other languages
Chinese (zh)
Other versions
CN103024449B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201110293983.9A priority Critical patent/CN103024449B/en
Priority to PCT/CN2012/082014 priority patent/WO2013044800A1/en
Publication of CN103024449A publication Critical patent/CN103024449A/en
Application granted granted Critical
Publication of CN103024449B publication Critical patent/CN103024449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/167Systems rendering the television signal unintelligible and subsequently intelligible
    • H04N7/1675Providing digital key or authorisation information for generation or regeneration of the scrambling sequence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2351Processing of additional data, e.g. scrambling of additional data or processing content descriptors involving encryption of additional data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4353Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving decryption of additional data

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method for processing video frame stream, a video server and terminal equipment. The method comprises the following steps: disorder processing is performed on the video frame in a first video frame stream which is requested by the terminal equipment; the frame sequence information of various video frames in the first video frame stream before the disorder processing in the first video frame stream after the disorder processing is acquired; and according to the encryption algorithm and the encryption key which are negotiated in advance with the terminal equipment, the obtained frame sequence information is encrypted to generate the video certificate corresponding to the first video frame stream. The technical scheme of the invention provides a specific realization scheme for copyright protection of video files.

Description

Stream of video frames processing method, video server and terminal equipment
Technical field
The present invention relates to the multi-media safety technical field, relate in particular to a kind of stream of video frames processing method, video server and terminal equipment.
Background technology
Development along with computer technology and network technology, the user not only can watch the video file of storing in the terminal equipment that self uses, can also watch the video file of network side, wherein, store the video file that can be transferred to the user in the video server of network side, when the user wants to watch the video file of storing in the video server of network side, can send the transmission of video request to video server by the terminal equipment that uses, after video server receives the transmission of video request, the video file of correspondence is transferred to this terminal equipment, and terminal equipment is play the video file that receives.Video file is comprised of a series of orderly frame of video (being the tableaux of single width), so video file also can be called stream of video frames.
As shown in Figure 1, be the transmission method flow chart of stream of video frames in the prior art, its concrete handling process is as follows:
Step 11, when the user wants to watch the video file of storing in the video server, send the transmission of video request by the terminal equipment that uses to video server, carry file identification and this user's user profile or the facility information of this terminal equipment of the video file of request transmission in this transmission of video request;
Step 12, after video server receives the transmission of video request, according to the user profile of carrying in the transmission of video request, this user is carried out authentication, judge that whether this user is authorized user, perhaps according to the facility information that carries in the transmission of video request, this terminal equipment is carried out authentication, judge that whether this terminal equipment is authorisation device;
Step 13, if pass through authentication, namely this user is authorisation device for authorized user or this terminal equipment, and then video server is searched the video file that need to be transferred to this user according to the file identification that carries in the transmission of video request in each video file of storage;
Step 14, video server are divided into each frame of video group according to the order of each frame of video in the stream of video frames with stream of video frames corresponding to video file that finds, and the number of the frame of video that comprises in each frame of video group is identical;
Step 15, video server according to each frame of video group in described stream of video frames by the order after arriving first, each frame of video group is sent to terminal equipment successively;
Step 16, terminal equipment whenever receive a frame of video group, just this frame of video group are carried out buffer memory, then according to frame of video in the frame of video group by the order after arriving first, play successively each frame of video in this frame of video group.
Therefore, although prior art has realized video server stream of video frames being transferred to terminal equipment, any terminal equipment can both obtain video file and plays to video server.Along with the development of computer technology, how to protect the copyright of video file, prevent the important problem that becomes of the problems such as piracy, robber's chain.Prior art does not also have to propose video file is carried out the specific implementation of copyright protection.
Summary of the invention
The embodiment of the invention provides a kind of stream of video frames processing method, video server and terminal equipment, in order to propose a kind of specific implementation of video file being carried out copyright protection.
Embodiment of the invention technical scheme is as follows:
A kind of stream of video frames processing method, the method comprises: the frame of video in the first stream of video frames of terminal equipment request is carried out out of orderization processing; And obtain frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first stream of video frames before the out of orderization processing; According to cryptographic algorithm and the encryption key consulted in advance with described terminal equipment, the frame sequential information that obtains is encrypted, generate video certificate corresponding to described the first stream of video frames.
A kind of video server comprises: out of orderization processing unit is used for the frame of video of the first stream of video frames of terminal equipment request is carried out out of orderization processing; Frame sequential information acquisition unit is for the frame sequential information in first stream of video frames of each frame of video after out of orderization processing that obtains the first front stream of video frames of out of orderization processing; Ciphering unit, for cryptographic algorithm and encryption key that basis and described terminal equipment are consulted in advance, the frame sequential information that frame sequential information acquisition unit is obtained is encrypted, and generates video certificate corresponding to described the first stream of video frames.
A kind of stream of video frames processing method, the method comprises: terminal equipment obtains the first stream of video frames and video certificate corresponding to the first stream of video frames after the out of orderization processing; Described terminal equipment is according to cryptographic algorithm and the encryption key consulted in advance with the equipment that described the first stream of video frames is carried out out of orderization processing, the described video certificate that obtains is decrypted, obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing; And the described frame sequential information that obtains according to deciphering, to processings of sorting of each frame of video in the first stream of video frames after the out of orderization processing that obtains, obtain the first front stream of video frames of out of orderization processing; And the first stream of video frames before the out of orderization processing that obtains after the broadcast ordering processing.
A kind of terminal equipment comprises: obtain the unit, be used for obtaining the first stream of video frames and video certificate corresponding to the first stream of video frames after the out of orderization processing; Video certificate decryption unit, be used for according to and the equipment that described the first stream of video frames is carried out out of orderization processing cryptographic algorithm and the encryption key consulted in advance, the described video certificate that obtains the unit acquisition is decrypted, obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing; The ordering processing unit, be used for the described frame sequential information that deciphering obtains according to video certificate decryption unit, to obtaining processings of sorting of each frame of video in the first stream of video frames after the out of orderization processing that the unit obtains, obtain the first front stream of video frames of out of orderization processing; Broadcast unit, the first stream of video frames before the out of orderization processing that is used for obtaining after the ordering of broadcast ordering processing unit is processed.
Beneficial effect of the present invention is as follows:
In the embodiment of the invention technical scheme; when the first stream of video frames of terminal equipment request is processed; first the frame of video in this first stream of video frames is carried out out of orderization processing; obtain the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing; then also will be according to cryptographic algorithm and the encryption key consulted in advance with described terminal equipment; the frame sequential information that obtains is encrypted; generate video certificate corresponding to described the first stream of video frames; follow-up terminal equipment receives after this first stream of video frames; can not play-over; but to obtain first video certificate corresponding to this first stream of video frames; then according to above-mentioned cryptographic algorithm and encryption key; the video certificate is decrypted; obtain the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing; again according to the described frame sequential information that obtains; to the processing of sorting of each frame of video in the first stream of video frames after the out of orderization processing; thereby obtain the first stream of video frames before the out of orderization processing; at this moment terminal equipment can be play this first stream of video frames; therefore; in the embodiment of the invention technical scheme; the stream of video frames that terminal equipment receives is through out of orderization processing; the video certificate that terminal equipment can only be bought first this stream of video frames broadcast of just sorting; do not steal stream of video frames before stream of video frames after the out of orderization processing also can't revert to the stream of video frames after the out of orderization processing out of orderization processing even buy the terminal equipment of video certificate; therefore just can't play the stream of video frames that steals; to sum up; embodiment of the invention technical scheme has been protected the copyright of video file effectively, has prevented piracy; steal the generation of the problems such as chain.
Description of drawings
Fig. 1 is in the prior art, the transmission method schematic flow sheet of stream of video frames;
Fig. 2 is in the embodiment of the invention one, and video server is to the network architecture schematic diagram of terminal equipment transmission of video frame stream;
Fig. 3 is in the embodiment of the invention two, the stream of video frames transmission method schematic flow sheet of video server side;
Fig. 4 is in the embodiment of the invention three, the video server structural representation;
Fig. 5 is in the embodiment of the invention four, the stream of video frames transmission method schematic flow sheet of terminal equipment side;
Fig. 6 is in the embodiment of the invention five, the terminal equipment structural representation.
Embodiment
At length set forth to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
Embodiment one
As shown in Figure 2, in the embodiment of the invention one, video server is to the network architecture schematic diagram of terminal equipment transmission of video frame stream, comprise video server 21 and several terminal equipments 22, can communicate by communication network between video server 21 and each terminal equipment 22, store a large amount of stream of video frames in the video server 21, can answer the request of terminal equipment that corresponding stream of video frames is transferred to terminal equipment.
Communication network among Fig. 2 can but be not limited to cordless communication network, code division multiple access (CDMA for example, Code Division Multiple Access) network, general packet radio service (GPRS, General Packet Radio Service) network, Wireless Fidelity (WIFI, Wireless Fidelity) network etc.
Embodiment two
As shown in Figure 3, be the stream of video frames process flow schematic diagram that the embodiment of the invention two proposes, its concrete handling process is as follows:
Step 31 is carried out out of orderization processing with the frame of video in the first stream of video frames of terminal equipment request;
Wherein, the executive agent of stream of video frames processing method shown in Figure 3 can but be not limited to the video server of network side, be that video server carries out out of orderization processing with the frame of video in the first stream of video frames of terminal equipment request, can also be other equipment, for example other-end equipment.Below description all illustrate that take executive agent as video server as example the processing mode when executive agent is other equipment similarly.
When the user wants to watch certain video file of storing in the video server, can pass through employed terminal equipment, send the transmission of video request to video server, carry the file identification of the video file of request transmission in this transmission of video request, and the facility information of this user's user profile and/or this terminal equipment, after video server receives the transmission of video request of terminal equipment transmission, can carry out first authentication process, wherein, video server carry out authentication process processing mode can but be not limited to comprise following three kinds, concrete:
The first processing mode, the user who uses terminal equipment is carried out authentication, judge that namely whether this user is authorized user, the transmission of video request that only receives is that the employed terminal equipment of authorized user sends, just stream of video frames corresponding to video file with request is transferred to this terminal equipment, if to be unauthorized user employed that terminal equipment sends in the transmission of video request that receives, then do not respond.
In the transmission of video request that video server receives, except the file identification that comprises the video file of asking transmission, the user profile that also comprises this user, after video server receives the transmission of video request, judge that whether the user profile of carrying in the transmission of video request be the user profile of authorized user, if judged result is yes, confirm that then this user is authorized user, if the determination result is NO, confirm that then this user is unauthorized user.
The second processing mode, terminal equipment is carried out authentication, judge that namely whether terminal equipment is authorisation device, the transmission of video request that only receives is that authorisation device sends, just stream of video frames corresponding to video file with request is transferred to this terminal equipment, send if the transmission of video request that receives is unauthorized device, then do not respond.
In the transmission of video request that video server receives, except the file identification that comprises the video file of asking transmission, the facility information that also comprises this terminal equipment, after video server receives the transmission of video request, judge that whether the facility information that carries in the transmission of video request is the facility information of authorisation device, if judged result is yes, confirm that then this terminal equipment is authorisation device, if the determination result is NO, confirm that then this terminal equipment is unauthorized device.
The third processing mode, the user who uses terminal equipment is carried out authentication, simultaneously, terminal equipment is carried out authentication, judge that namely whether this user is authorized user, and whether this terminal equipment is authorisation device, the transmission of video request that only receives is that authorized user passes through authorisation device transmission, just stream of video frames corresponding to video file with request is transferred to this terminal equipment, if being unauthorized user, the transmission of video request that receives passes through that authorisation device sends, perhaps unauthorized user sends by unauthorized device, perhaps authorized user sends by unauthorized device, does not then respond.
In the transmission of video request that video server receives, except the file identification that comprises the video file of asking transmission, also comprise this user's user profile and the facility information of this terminal equipment, after video server receives the transmission of video request, judge that whether the user profile of carrying in the transmission of video request be the user profile of authorized user, and whether the facility information that carries in the transmission of video request is the facility information of authorisation device, if judged result is be, confirm that then this user is authorized user, and this terminal equipment is authorisation device.
If it is that authentication is passed through that video server carries out the result of authentication process, then video server is according to the file identification that carries in the transmission of video request that receives, search video file corresponding to this document sign in each video file of storage, the stream of video frames that the video file that finds is corresponding is above-mentioned the first stream of video frames.
After video server obtains described the first stream of video frames, frame of video in this first stream of video frames is carried out out of orderization processing, wherein, to each frame of video in the first stream of video frames carry out out of orderization processing specific implementation can but be not limited to comprise following two kinds, the below is introduced respectively.
Out of orderization of the first processing mode is directly carried out out of orderization processing to all frame of video in above-mentioned the first stream of video frames, and the arbitrary frame of video in the first stream of video frames before namely out of order can appear at the optional position in the first stream of video frames after out of order.
Out of orderization of the second processing mode, at first according to frame of video in the first stream of video frames by the order after arriving first, each frame of video in the first stream of video frames is divided into each frame of video group, the number of included frame of video is identical in each frame of video group, this number can be predefined according to the performance of terminal equipment and player by video server, can be on terminal equipment continuously with stream of video frames, play smoothly and be benchmark, for example this number is set as 4, be to comprise 4 frame of video in each frame of video group, after video server is divided into each frame of video group with each frame of video in the first stream of video frames, for each the frame of video group that marks off, respectively each frame of video in this frame of video group is carried out out of orderization processing, be that arbitrary frame of video in this frame of video group in the first stream of video frames before out of order can only appear at the optional position in this frame of video group in the first stream of video frames after out of order, and can not appear in other frame of video groups.
Step 32 obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing;
If video server adopts above-mentioned out of orderization of the first processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, namely directly all frame of video in above-mentioned the first stream of video frames are carried out out of orderization processing, then video server directly obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first stream of video frames before the out of orderization processing, the frame sequential information that namely each frame of video is correct;
If video server adopts above-mentioned out of orderization of the second processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, namely at first each frame of video in the first stream of video frames is divided into each frame of video group, for each the frame of video group that marks off, respectively each frame of video in this frame of video group is carried out out of orderization processing, when then video server obtains frame sequential information, first will be for each the frame of video group that marks off, obtain respectively the frame sequential information in each frame of video this frame of video group after out of orderization processing in this front frame of video group of out of orderization processing, the frame sequential information that each frame of video group that then will mark off is corresponding is defined as the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing.
For the time that can watch in the first stream of video frames the user is controlled, the embodiment of the invention two proposes, when video server adopts above-mentioned out of orderization of the second processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, if terminal equipment only has the authority of the partial video frame stream of playing in the first stream of video frames, then in first stream of video frames of described video server elder generation before out of orderization processing, determine the stream of video frames (i.e. the second stream of video frames) that this terminal equipment can be play, then in each the frame of video group that marks off, determine each frame of video group corresponding to described the second stream of video frames, again for each frame of video group of determining, obtain respectively the frame sequential information in each frame of video this frame of video group after out of orderization processing in this front frame of video group of out of orderization processing, the frame sequential information that each frame of video group of determining is corresponding is defined as the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing.
Wherein, determine the second stream of video frames process can but be not limited to following two kinds:
The first is determined mode: store the corresponding relation between facility information and the viewing time section in the video server, as shown in table 1:
Table 1:
Facility information The viewing time section
Terminal equipment
1 The 10th minute~the 20th minute
Terminal equipment
2 The 5th minute~the 15th minute
Video server is according to the facility information of this terminal equipment, in the said equipment information and the corresponding relation between the viewing time section of storage, search the time period that this terminal equipment can be watched in the first stream of video frames, and then according to the viewing time section that finds, determine the second stream of video frames;
The second is determined mode: store the corresponding relation between user profile and the viewing time section in the video server, as shown in table 2:
Table 2:
User profile The viewing time section
The user 1 The 10th minute~the 20th minute
The user 2 The 5th minute~the 15th minute
Video server is according to user's user profile, in the above-mentioned user profile and the corresponding relation between the viewing time section of storage, search the time period that this user can watch in the first stream of video frames, and then according to the viewing time section that finds, determine the second stream of video frames.
In the embodiment of the invention two, the correct frame sequential information of each frame of video in the frame of video group is the frame sequential information in each frame of video this frame of video group after out of orderization processing in this frame of video group before the out of orderization processing, for example: comprise 4 frame of video in each frame of video group, before out of orderization processing, the order of each frame of video in the frame of video group is:
Table 3:
1 2 3 4
After this frame of video group carried out out of orderization processing, the order of each frame of video was:
Table 4:
4 2 1 3
Suppose that a frame sequential information corresponding to frame of video group takies a byte, then per two bits represent the position of frame of video after out of orderization processing of the front relevant position of out of orderization processing, if the position of frame of video after out of orderization processing of the front relevant position of 00 expression out of orderization processing is the 1st frame, the position of frame of video after out of orderization processing of the front relevant position of 01 expression out of orderization processing is the 2nd frame, the position of frame of video after out of orderization processing of the front relevant position of 10 expression out of orderization processing is the 3rd frame, the position of frame of video after out of orderization processing of the front relevant position of 11 expression out of orderization processing is the 4th frame, and frame sequential information corresponding to this frame of video group is so:
Table 5:
1 0 0 1 1 1 0 0
Step 33 according to cryptographic algorithm and the encryption key consulted in advance with described terminal equipment, is encrypted the frame sequential information that obtains, and generates video certificate corresponding to described the first stream of video frames.
If video server adopts above-mentioned out of orderization of the first processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, then video server is directly according to cryptographic algorithm and the encryption key consulted in advance with terminal equipment, the frame sequential information that obtains is encrypted, generates video certificate corresponding to the first stream of video frames;
If video server adopts above-mentioned out of orderization of the second processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, and terminal equipment only has the authority of the partial video frame stream (the second stream of video frames) of playing in the first stream of video frames, then video server is at first determined the positional information in first stream of video frames of the second stream of video frames before out of orderization processing, and according to cryptographic algorithm and the encryption key consulted in advance with described terminal equipment, the frame sequential information that obtains and the positional information of determining are encrypted, generate video certificate corresponding to described the first stream of video frames.
Wherein, video server determine in first stream of video frames of the second stream of video frames before out of orderization processing positional information can but be not limited to realize by following dual mode:
The first is determined mode, video server is with number and the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing of the frame of video that comprises in each frame of video group, be defined as the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing, for example, the number of the frame of video that comprises in each frame of video group is 4, the position of the start frame of the second stream of video frames in the first stream of video frames is the 400th frame, and the position of the end frame of the second stream of video frames in the first stream of video frames is the 50000th frame;
The second is determined mode, video server is with the number of the frame of video that comprises in each frame of video group, time started dot information and concluding time dot information in first stream of video frames of described the second stream of video frames before out of orderization processing, and the frame rate information of described the first stream of video frames, be defined as the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing, for example, the number of the frame of video that comprises in each frame of video group is 4, the time started point of the second stream of video frames is the 5th second, the concluding time point of the second stream of video frames is the 10th second, and frame rate was 25 frame/seconds.
In the embodiment of the invention two, after generating video certificate corresponding to described the first stream of video frames, the described video certificate of the first stream of video frames after the out of orderization processing and generation can be transferred to described terminal equipment, if video server adopts above-mentioned out of orderization of the first processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, then video server directly is transferred to terminal equipment with the first stream of video frames after the out of orderization processing; If video server adopts above-mentioned out of orderization of the second processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, then video server according to the frame of video group in the first stream of video frames by the order after arriving first, successively each the frame of video group after the out of orderization processing is transferred to terminal equipment.Wherein, first stream of video frames and the video certificate of generation when being transferred to terminal equipment of video server after with out of orderization processing, can transmit first the first stream of video frames after the out of orderization processing, transmit again the video certificate that generates, also can transmit first the video certificate of generation, transmit again the first stream of video frames after the out of orderization processing, can also be simultaneously the video certificate of the first stream of video frames after the out of orderization processing and generation be transferred to terminal equipment, the embodiment of the invention two does not specifically limit the sequencing that transmits the first stream of video frames and video certificate.
In addition, video server also can be with the described video certificate issuance of the first stream of video frames after the out of orderization processing and the generation steaming media platform to network side, and above-mentioned terminal equipment can obtain the first stream of video frames after the out of orderization processing and the described video certificate of generation from steaming media platform.
Embodiment three
Accordingly, the embodiment of the invention three provides a kind of video server, and its structure comprises as shown in Figure 4:
Out of orderization processing unit 41 is used for the frame of video of the first stream of video frames of terminal equipment request is carried out out of orderization processing;
Frame sequential information acquisition unit 42 is for the frame sequential information in first stream of video frames of each frame of video after out of orderization processing that obtains the first front stream of video frames of out of orderization processing;
Ciphering unit 43, for cryptographic algorithm and encryption key that basis and described terminal equipment are consulted in advance, the frame sequential information that frame sequential information acquisition unit 42 is obtained is encrypted, and generates video certificate corresponding to described the first stream of video frames.
Preferably, described out of orderization processing unit 41 specifically comprises:
The frame of video group is divided subelement, is used for each frame of video of the first stream of video frames of terminal equipment request is divided into each frame of video group;
Out of orderization processing subelement is used for dividing each frame of video group that subelement marks off for the frame of video group, respectively each frame of video in this frame of video group is carried out out of orderization processing.
More preferably, frame sequential information acquisition unit 42 specifically comprises:
The first frame sequential information acquisition subelement is used for dividing each frame of video group that subelement marks off for the frame of video group, obtains respectively the frame sequential information in each frame of video this frame of video group after out of orderization processing in this front frame of video group of out of orderization processing;
The first frame sequential information is determined subelement, be used for to divide frame sequential information corresponding to each frame of video group that subelement marks off, be defined as the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing.
More preferably, frame sequential information acquisition unit 42 specifically comprises:
Stream of video frames is determined subelement, is used for the first stream of video frames before out of orderization processing unit 41 carries out out of orderization processing, determines the second stream of video frames that described terminal equipment can be play;
The frame of video group is determined subelement, is used for dividing each frame of video group that subelement marks off in the frame of video group, determines each frame of video group that described the second stream of video frames is corresponding;
The second frame sequential information acquisition subelement is used for determining each frame of video group that subelement is determined for the frame of video group, obtains respectively the frame sequential information in each frame of video this frame of video group after out of orderization processing in this front frame of video group of out of orderization processing;
The second frame sequential information is determined subelement, be used for the frame of video group is determined frame sequential information corresponding to each frame of video group that subelement is determined, be defined as the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing.
More preferably, described ciphering unit 43 specifically comprises:
Positional information is determined subelement, is used for determining the positional information of first stream of video frames of described the second stream of video frames before out of orderization processing unit 41 carries out out of orderization processing;
Encrypt subelement, be used for according to and described terminal equipment cryptographic algorithm and the encryption key consulted in advance, frame sequential information and positional information that frame sequential information acquisition unit 42 obtains are determined that the described positional information that subelement is determined is encrypted, generate video certificate corresponding to described the first stream of video frames.
More preferably, described positional information is determined subelement, number and the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing unit 42 carries out out of orderization processing of concrete frame of video for each frame of video group is comprised are defined as the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing unit 41 carries out out of orderization processing.
More preferably, described positional information is determined subelement, the number of concrete frame of video for each frame of video group is comprised, the time started dot information in first stream of video frames of described the second stream of video frames before out of orderization processing unit 41 carries out out of orderization processing and the frame rate information of concluding time dot information and described the first stream of video frames are defined as the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing unit 41 carries out out of orderization processing.
Preferably, described video server also comprises transmission unit 44, is used for that out of orderization processing unit 41 is carried out the described video certificate that the first stream of video frames after the out of orderization processing and ciphering unit 43 generate and is transferred to described terminal equipment.
Embodiment four
As shown in Figure 5, for the embodiment of the invention four proposes, the stream of video frames process flow schematic diagram of terminal equipment side, its concrete handling process is as follows:
Step 51, terminal equipment obtain the first stream of video frames and video certificate corresponding to the first stream of video frames after the out of orderization processing;
In the embodiment of the invention four, to the first stream of video frames carry out out of orderization processing equipment can but be not limited to video server, can also be other equipment, for example other-end equipment.Below description illustrate as video server as example take the equipment that the first stream of video frames is carried out out of orderization processing that all the processing mode of the equipment that the first stream of video frames is carried out out of orderization processing during for other equipment similarly.
When the user wants to watch certain video file of storing in the video server, can pass through employed terminal equipment, send the transmission of video request to video server, carry the file identification of the video file of request transmission in this transmission of video request, and the facility information of this user's user profile and/or this terminal equipment, wherein, file identification is used for video server and searches corresponding stream of video frames, and user profile and facility information are used for video server and carry out authentication process.
In the embodiment of the invention four, terminal equipment can obtain first the first stream of video frames after the out of orderization processing, the video certificate of the correspondence of reentrying, also can obtain first the video certificate, the first stream of video frames after out of orderization of the reentrying processing, can also obtain simultaneously the first stream of video frames and corresponding video certificate after the out of orderization processing, the embodiment of the invention four does not specifically limit the sequencing that obtains the first stream of video frames and video certificate.
If video server adopts above-mentioned out of orderization of the second processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, then terminal equipment according to the frame of video group in the first stream of video frames by the order after arriving first, receiver, video server each frame of video group that send, after the out of orderization processing successively.
Step 52, described terminal equipment is according to cryptographic algorithm and the encryption key consulted in advance with the equipment that described the first stream of video frames is carried out out of orderization processing, the described video certificate that obtains is decrypted, obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing;
If video server adopts above-mentioned out of orderization of the second processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, then described terminal equipment is according to cryptographic algorithm and the encryption key consulted in advance with described video server, the described video certificate that obtains is decrypted, each the frame of video group that obtains the first stream of video frames is corresponding frame sequential information respectively, and wherein frame sequential information corresponding to frame of video group is the frame sequential information in each frame of video this frame of video group after out of orderization processing in this frame of video group before the out of orderization processing;
If video server adopts above-mentioned out of orderization of the second processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, and terminal equipment only has the authority of the partial video frame stream (the second stream of video frames) of playing in the first stream of video frames, then described terminal equipment is according to cryptographic algorithm and the encryption key consulted in advance with described video server, the described video certificate that obtains is decrypted, obtain in the first stream of video frames the frame sequential information that each frame of video group difference of the second stream of video frames that described terminal equipment can be play is corresponding and the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing.
Wherein, the described positional information that obtains of terminal equipment deciphering can but be not limited to following two kinds:
The first positional information, the frame position information in the number of the frame of video that comprises in each frame of video group and the start frame of described the second stream of video frames and first stream of video frames of end frame before out of orderization processing;
The second positional information, the time started dot information in the number of the frame of video that comprises in each frame of video group, first stream of video frames of described the second stream of video frames before out of orderization processing and the frame rate information of concluding time dot information and described the first stream of video frames.Wherein, described time started dot information, concluding time dot information, frame rate information, be used for determining the position of start frame in the first stream of video frames and the position of end frame in the first stream of video frames of the second stream of video frames of the second stream of video frames, be specially: frame rate multiply by the time started point, obtain the position of start frame in the first stream of video frames of the second stream of video frames, frame rate multiply by the concluding time point, obtains the position of end frame in the first stream of video frames of the second stream of video frames.
Step 53, the described frame sequential information that obtains according to deciphering to processings of sorting of each frame of video in the first stream of video frames after the out of orderization processing that obtains, obtains the first front stream of video frames of out of orderization processing;
If described terminal equipment is decrypted the video certificate, obtain the frame sequential information corresponding to each frame of video group difference of the first stream of video frames, then terminal equipment sorts when processing, for each the frame of video group that obtains, frame sequential information corresponding to this frame of video group that obtains according to deciphering respectively, to processings of sorting of each frame of video in this frame of video group that obtains, obtain this front frame of video group of out of orderization processing.
If terminal equipment is decrypted the video certificate, obtain in the first stream of video frames, the frame sequential information that each frame of video group difference of the second stream of video frames that described terminal equipment can be play is corresponding and the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing, then terminal equipment sorts when processing, at first will be according to described positional information, in each the frame of video group that obtains, determine each frame of video group corresponding to described the second stream of video frames, then for each frame of video group of determining, frame sequential information corresponding to this frame of video group that obtains according to deciphering respectively, to processings of sorting of each frame of video in this frame of video group that obtains, obtain this front frame of video group of out of orderization processing.
In the embodiment of the invention four, when the positional information that obtains when deciphering is above-mentioned the first positional information, can but be not limited to each frame of video group of determining that in the following way the second stream of video frames is corresponding:
At first according to the number of the frame of video that comprises in each frame of video group, determine respectively the start frame of each frame of video group that out of orderization processing is front and the frame position information in first stream of video frames of end frame before out of orderization processing, then (for example the position of the start frame of the second stream of video frames in the first stream of video frames is the 400th frame according to the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing, the position of the end frame of the second stream of video frames in the first stream of video frames is the 50000th frame), and the frame position information of determining, determine each frame of video group that described the second stream of video frames is corresponding.
In the embodiment of the invention four, when the positional information that obtains when deciphering is above-mentioned the second positional information, can but be not limited to each frame of video group of determining that in the following way the second stream of video frames is corresponding:
At first according to the number of the frame of video that comprises in each frame of video group, determine respectively the start frame of each frame of video group that out of orderization processing is front and the frame position information in first stream of video frames of end frame before out of orderization processing, then (for example point is the 5th second the time started of the second stream of video frames according to the time started dot information in first stream of video frames of described the second stream of video frames before out of orderization processing and concluding time dot information, the concluding time point of the second stream of video frames is the 10th second), and the frame rate information of described the first stream of video frames (for example frame rate was 25 frame/seconds), determine the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing, again according to the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing, and the start frame of each the frame of video group before the out of orderization processing and the frame position information in first stream of video frames of end frame before out of orderization processing, determine each frame of video group that described the second stream of video frames is corresponding.
If certain frame of video group that terminal equipment receives is as shown in table 4, frame sequential information corresponding to this frame of video group is as shown in table 5, then terminal equipment is when arranging processing to this frame of video group, at first according to the first two bit 10 in the table 5, definite needs obtain the 3rd frame in this frame of video group after the out of orderization processing, according to the first two bit 01 in the table 5, definite needs obtain the 2nd frame in this frame of video group after the out of orderization processing, according to the first two bit 11 in the table 5, definite needs obtain the 4th frame in this frame of video group after the out of orderization processing, according to the first two bit 00 in the table 5, definite needs obtain the 1st frame in this frame of video group after the out of orderization processing, and it is just as shown in table 3 to arrange this frame of video group that obtains after processing.
Step 54 is play the first front stream of video frames of out of orderization processing that obtains after ordering is processed.
If video server adopts above-mentioned out of orderization of the first processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, then after first stream of video frames of terminal equipment before obtaining out of orderization processing, play this first stream of video frames;
If video server adopts above-mentioned out of orderization of the second processing mode that each frame of video in the first stream of video frames is carried out out of orderization processing, then terminal equipment whenever receives a frame of video group, just this frame of video group is carried out buffer memory, then to the processing of sorting of each frame of video in this frame of video group, again according to frame of video in the frame of video group by the order after arriving first, play each frame of video in this frame of video group after ordering is processed.
The stream of video frames of mentioning in the embodiment of the invention four can be ordinary video frame stream, preferably, also can be three-dimensional (3D, 3 Dimensions) stream of video frames, in the 3D stream of video frames, each width of cloth picture presents with a right form of frame of video, each frame of video is to comprising a left video frame right frame of video corresponding with, video server is to terminal equipment transmission 3D stream of video frames the time, comprise several frame of video pair in each frame of video group of transmitting, and left video frame and right frame of video occur alternately, generally speaking, same frame of video centering, the left video framing bit is before right frame of video.After terminal equipment received the frame of video group, two frame of video that same frame of video is right were combined into a width of cloth picture and show.
By above-mentioned processing procedure as can be known; in the embodiment of the invention technical scheme; when the first stream of video frames of terminal equipment request is processed; first the frame of video in this first stream of video frames is carried out out of orderization processing; obtain the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing; then also will be according to cryptographic algorithm and the encryption key consulted in advance with described terminal equipment; the frame sequential information that obtains is encrypted; generate video certificate corresponding to described the first stream of video frames; follow-up terminal equipment receives after this first stream of video frames; can not play-over; but to obtain first video certificate corresponding to this first stream of video frames; then according to above-mentioned cryptographic algorithm and encryption key; the video certificate is decrypted; obtain the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing; again according to the described frame sequential information that obtains; to the processing of sorting of each frame of video in the first stream of video frames after the out of orderization processing; thereby obtain the first stream of video frames before the out of orderization processing; at this moment terminal equipment can be play this first stream of video frames; therefore; in the embodiment of the invention technical scheme; the stream of video frames that terminal equipment receives is through out of orderization processing; the video certificate that terminal equipment can only be bought first this stream of video frames broadcast of just sorting; do not steal stream of video frames before stream of video frames after the out of orderization processing also can't revert to the stream of video frames after the out of orderization processing out of orderization processing even buy the terminal equipment of video certificate; therefore just can't play the stream of video frames that steals; to sum up; embodiment of the invention technical scheme has been protected the copyright of video file effectively, has prevented piracy; steal the generation of the problems such as chain.
Embodiment five
Accordingly, the embodiment of the invention five provides a kind of terminal equipment, and its structure comprises as shown in Figure 6:
Obtain unit 61, be used for obtaining the first stream of video frames and video certificate corresponding to the first stream of video frames after the out of orderization processing;
Video certificate decryption unit 62, be used for according to and the equipment that described the first stream of video frames is carried out out of orderization processing cryptographic algorithm and the encryption key consulted in advance, the described video certificate that obtains unit 61 acquisitions is decrypted, obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing;
Ordering processing unit 63, be used for the described frame sequential information that 62 deciphering obtain according to video certificate decryption unit, to obtaining processings of sorting of each frame of video in the first stream of video frames after the out of orderization processing that unit 61 obtains, obtain the first front stream of video frames of out of orderization processing;
Broadcast unit 64, the first stream of video frames before the out of orderization processing that is used for obtaining after 63 orderings of broadcast ordering processing unit are processed.
Described to described the first stream of video frames carry out out of orderization processing equipment can but be not limited to video server.
Preferably, obtain unit 61, concrete being used for according to the frame of video group in the first stream of video frames by the order after arriving first, obtain successively each the frame of video group after the out of orderization processing.
More preferably, each the frame of video group that comprises described the first stream of video frames in the described frame sequential information that 62 deciphering of described video certificate decryption unit obtain is corresponding frame sequential information respectively, and wherein frame sequential information corresponding to frame of video group is the frame sequential information in each frame of video this frame of video group after out of orderization processing in this frame of video group before the out of orderization processing;
Described ordering processing unit 63, concrete being used for for each the frame of video group that obtains unit 61 acquisitions, frame sequential information corresponding to this frame of video group that 62 deciphering obtain according to video certificate decryption unit respectively, to obtaining processings of sorting of each frame of video in this frame of video group that unit 61 obtains, obtain this front frame of video group of out of orderization processing.
More preferably, described video certificate decryption unit 62, concrete being used for is decrypted the described video certificate that obtains, obtain in the first stream of video frames the frame sequential information that each frame of video group difference of the second stream of video frames that described terminal equipment can be play is corresponding and the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing;
Ordering processing unit 63 specifically comprises:
The frame of video group is determined subelement, is used for according to described positional information, in each the frame of video group that obtains, determines each frame of video group corresponding to described the second stream of video frames;
Subelement is processed in ordering, be used for determining each frame of video group that subelement is determined for the frame of video group, frame sequential information corresponding to this frame of video group that deciphering obtains according to video certificate decryption unit respectively, to processings of sorting of each frame of video in this frame of video group that obtains, obtain this front frame of video group of out of orderization processing.
More preferably, video certificate decryption unit 62 is deciphered number and the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing that the described positional information that obtains comprises the frame of video that comprises in each frame of video group;
The frame of video group determines that subelement specifically comprises:
The first frame position information determination module for the number of the frame of video that comprises according to each frame of video group, is determined respectively the start frame of each frame of video group that out of orderization processing is front and the frame position information in first stream of video frames of end frame before out of orderization processing;
The first frame of video group determination module, be used for according to the start frame of described the second stream of video frames and the frame position information of first stream of video frames of end frame before out of orderization processing, and the frame position information determined of frame position information determination module, determine each frame of video group that described the second stream of video frames is corresponding.
More preferably, the described positional information that obtains of video certificate decryption unit 62 deciphering comprises time started dot information in the number of the frame of video that comprises in each frame of video group, first stream of video frames of described the second stream of video frames before out of orderization processing and the frame rate information of concluding time dot information and described the first stream of video frames;
The frame of video group determines that subelement specifically comprises:
The second frame position information determination module for the number of the frame of video that comprises according to each frame of video group, is determined respectively the start frame of each frame of video group that out of orderization processing is front and the frame position information in first stream of video frames of end frame before out of orderization processing;
The 3rd frame position information determination module, be used for time started dot information and concluding time dot information according to first stream of video frames of described the second stream of video frames before out of orderization processing, and the frame rate information of described the first stream of video frames, determine the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing;
The second frame of video group determination module is used for the frame position information determined according to the 3rd frame position information determination module, and the frame position information determined of the second frame position information determination module, determines each frame of video group that described the second stream of video frames is corresponding.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic creative concept of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (28)

1. a stream of video frames processing method is characterized in that, comprising:
Frame of video in the first stream of video frames of terminal equipment request is carried out out of orderization processing; And
Obtain the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing;
According to cryptographic algorithm and the encryption key consulted in advance with described terminal equipment, the frame sequential information that obtains is encrypted, generate video certificate corresponding to described the first stream of video frames.
2. the method for claim 1 is characterized in that, the frame of video in the first stream of video frames of terminal equipment request is carried out out of orderization processing, specifically comprises:
Each frame of video in the first stream of video frames of terminal equipment request is divided into each frame of video group;
For each the frame of video group that marks off, respectively each frame of video in this frame of video group is carried out out of orderization processing.
3. method as claimed in claim 2 is characterized in that, described the first stream of video frames is three-dimensional 3D stream of video frames;
Comprise respectively several frame of video pair in each the frame of video group that marks off, each frame of video is to comprising the right frame of video of a left video frame and a correspondence.
4. method as claimed in claim 2 is characterized in that, obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing, specifically comprises:
For each the frame of video group that marks off, obtain respectively the frame sequential information in each frame of video this frame of video group after out of orderization processing in this front frame of video group of out of orderization processing;
The frame sequential information that each the frame of video group that marks off is corresponding is defined as the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing.
5. method as claimed in claim 2 is characterized in that, obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing, specifically comprises:
In the first stream of video frames before out of orderization processing, determine the second stream of video frames that described terminal equipment can be play; And
In each the frame of video group that marks off, determine each frame of video group that described the second stream of video frames is corresponding;
For each frame of video group of determining, obtain respectively the frame sequential information in each frame of video this frame of video group after out of orderization processing in this front frame of video group of out of orderization processing;
The frame sequential information that each frame of video group of determining is corresponding is defined as the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing.
6. method as claimed in claim 5 is characterized in that, according to cryptographic algorithm and the encryption key consulted in advance with described terminal equipment, the frame sequential information that obtains is encrypted, and specifically comprises:
Determine the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing; And
According to cryptographic algorithm and the encryption key consulted in advance with described terminal equipment, the frame sequential information that obtains and the described positional information of determining are encrypted, generate video certificate corresponding to described the first stream of video frames.
7. method as claimed in claim 6 is characterized in that, determines the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing, specifically comprises:
Number and the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing with the frame of video that comprises in each frame of video group are defined as the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing.
8. method as claimed in claim 6 is characterized in that, determines the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing, specifically comprises:
With the number of the frame of video that comprises in each frame of video group, time started dot information in first stream of video frames of described the second stream of video frames before out of orderization processing and the frame rate information of concluding time dot information and described the first stream of video frames, be defined as the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing.
9. the method for claim 1 is characterized in that, also comprises:
The described video certificate of the first stream of video frames after the out of orderization processing and generation is transferred to described terminal equipment.
10. a video server is characterized in that, comprising:
Out of orderization processing unit is used for the frame of video of the first stream of video frames of terminal equipment request is carried out out of orderization processing;
Frame sequential information acquisition unit is for the frame sequential information in first stream of video frames of each frame of video after out of orderization processing that obtains the first front stream of video frames of out of orderization processing;
Ciphering unit, for cryptographic algorithm and encryption key that basis and described terminal equipment are consulted in advance, the frame sequential information that frame sequential information acquisition unit is obtained is encrypted, and generates video certificate corresponding to described the first stream of video frames.
11. video server as claimed in claim 10 is characterized in that, described out of orderization processing unit specifically comprises:
The frame of video group is divided subelement, is used for each frame of video of the first stream of video frames of terminal equipment request is divided into each frame of video group;
Out of orderization processing subelement is used for dividing each frame of video group that subelement marks off for the frame of video group, respectively each frame of video in this frame of video group is carried out out of orderization processing.
12. video server as claimed in claim 11 is characterized in that, frame sequential information acquisition unit specifically comprises:
The first frame sequential information acquisition subelement is used for dividing each frame of video group that subelement marks off for the frame of video group, obtains respectively the frame sequential information in each frame of video this frame of video group after out of orderization processing in this front frame of video group of out of orderization processing;
The first frame sequential information is determined subelement, be used for to divide frame sequential information corresponding to each frame of video group that subelement marks off, be defined as the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing.
13. video server as claimed in claim 11 is characterized in that, frame sequential information acquisition unit specifically comprises:
Stream of video frames is determined subelement, is used for the first stream of video frames before out of orderization processing unit carries out out of orderization processing, determines the second stream of video frames that described terminal equipment can be play;
The frame of video group is determined subelement, is used for dividing each frame of video group that subelement marks off in the frame of video group, determines each frame of video group that described the second stream of video frames is corresponding;
The second frame sequential information acquisition subelement is used for determining each frame of video group that subelement is determined for the frame of video group, obtains respectively the frame sequential information in each frame of video this frame of video group after out of orderization processing in this front frame of video group of out of orderization processing;
The second frame sequential information is determined subelement, be used for the frame of video group is determined frame sequential information corresponding to each frame of video group that subelement is determined, be defined as the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing.
14. video server as claimed in claim 13 is characterized in that, described ciphering unit specifically comprises:
Positional information is determined subelement, is used for determining the positional information of first stream of video frames of described the second stream of video frames before out of orderization processing unit carries out out of orderization processing;
Encrypt subelement, be used for according to and described terminal equipment cryptographic algorithm and the encryption key consulted in advance, frame sequential information and positional information that frame sequential information acquisition unit obtains are determined that the described positional information that subelement is determined is encrypted, generate video certificate corresponding to described the first stream of video frames.
15. video server as claimed in claim 10 is characterized in that, also comprises:
Transmission unit is used for that out of orderization processing unit is carried out the described video certificate that the first stream of video frames after the out of orderization processing and ciphering unit generate and is transferred to described terminal equipment.
16. a stream of video frames processing method is characterized in that, comprising:
Terminal equipment obtains the first stream of video frames and video certificate corresponding to the first stream of video frames after the out of orderization processing;
Described terminal equipment is according to cryptographic algorithm and the encryption key consulted in advance with the equipment that described the first stream of video frames is carried out out of orderization processing, the described video certificate that obtains is decrypted, obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing; And
The described frame sequential information that obtains according to deciphering to processings of sorting of each frame of video in the first stream of video frames after the out of orderization processing that obtains, obtains the first front stream of video frames of out of orderization processing; And
Play the first front stream of video frames of out of orderization processing that obtains after ordering is processed.
17. method as claimed in claim 16 is characterized in that, terminal equipment obtains the first stream of video frames after the out of orderization processing, specifically comprises:
Terminal equipment according to the frame of video group in the first stream of video frames by the order after arriving first, obtain successively each the frame of video group after the out of orderization processing.
18. method as claimed in claim 17 is characterized in that, described the first stream of video frames is three-dimensional 3D stream of video frames;
Comprise respectively several frame of video pair in each the frame of video group that obtains, each frame of video is to comprising the right frame of video of a left video frame and a correspondence.
19. method as claimed in claim 17, it is characterized in that, each the frame of video group that comprises described the first stream of video frames in the described frame sequential information that the deciphering of described terminal equipment obtains is corresponding frame sequential information respectively, and wherein frame sequential information corresponding to frame of video group is the frame sequential information in each frame of video this frame of video group after out of orderization processing in this frame of video group before the out of orderization processing;
The described frame sequential information that obtains according to deciphering to the processing of sorting of each frame of video in the first stream of video frames after the out of orderization processing that obtains, specifically comprises:
For each the frame of video group that obtains, frame sequential information corresponding to this frame of video group that obtains according to deciphering respectively to processings of sorting of each frame of video in this frame of video group that obtains, obtains this front frame of video group of out of orderization processing.
20. method as claimed in claim 17 is characterized in that, described terminal equipment is decrypted the described video certificate that obtains, and specifically comprises:
Described terminal equipment is decrypted the described video certificate that obtains, obtain in the first stream of video frames the frame sequential information that each frame of video group difference of the second stream of video frames that described terminal equipment can be play is corresponding and the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing;
The described frame sequential information that obtains according to deciphering to the processing of sorting of each frame of video in the first stream of video frames after the out of orderization processing that obtains, specifically comprises:
According to described positional information, in each the frame of video group that obtains, determine each frame of video group corresponding to described the second stream of video frames;
For each frame of video group of determining, frame sequential information corresponding to this frame of video group that obtains according to deciphering respectively to processings of sorting of each frame of video in this frame of video group that obtains, obtains this front frame of video group of out of orderization processing.
21. method as claimed in claim 20, it is characterized in that the described positional information that deciphering obtains comprises number and the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing of the frame of video that comprises in each frame of video group;
According to described positional information, in each the frame of video group that obtains, determine each frame of video group corresponding to described the second stream of video frames, specifically comprise:
According to the number of the frame of video that comprises in each frame of video group, determine respectively the start frame of each frame of video group that out of orderization processing is front and the frame position information in first stream of video frames of end frame before out of orderization processing;
According to the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing, and the start frame of each the frame of video group before the out of orderization processing and the frame position information in first stream of video frames of end frame before out of orderization processing, determine each frame of video group that described the second stream of video frames is corresponding.
22. method as claimed in claim 20, it is characterized in that the described positional information that obtains of deciphering comprises time started dot information in the number of the frame of video that comprises in each frame of video group, first stream of video frames of described the second stream of video frames before out of orderization processing and the frame rate information of concluding time dot information and described the first stream of video frames;
According to described positional information, in each the frame of video group that obtains, determine each frame of video group corresponding to described the second stream of video frames, specifically comprise:
According to the number of the frame of video that comprises in each frame of video group, determine respectively the start frame of each frame of video group that out of orderization processing is front and the frame position information in first stream of video frames of end frame before out of orderization processing;
According to time started dot information and the concluding time dot information in first stream of video frames of described the second stream of video frames before out of orderization processing, and the frame rate information of described the first stream of video frames, determine the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing;
According to the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing, and the start frame of each the frame of video group before the out of orderization processing and the frame position information in first stream of video frames of end frame before out of orderization processing, determine each frame of video group that described the second stream of video frames is corresponding.
23. a terminal equipment is characterized in that, comprising:
Obtain the unit, be used for obtaining the first stream of video frames and video certificate corresponding to the first stream of video frames after the out of orderization processing;
Video certificate decryption unit, be used for according to and the equipment that described the first stream of video frames is carried out out of orderization processing cryptographic algorithm and the encryption key consulted in advance, the described video certificate that obtains the unit acquisition is decrypted, obtains the frame sequential information in first stream of video frames of each frame of video after out of orderization processing in the first front stream of video frames of out of orderization processing;
The ordering processing unit, be used for the described frame sequential information that deciphering obtains according to video certificate decryption unit, to obtaining processings of sorting of each frame of video in the first stream of video frames after the out of orderization processing that the unit obtains, obtain the first front stream of video frames of out of orderization processing;
Broadcast unit, the first stream of video frames before the out of orderization processing that is used for obtaining after the ordering of broadcast ordering processing unit is processed.
24. terminal equipment as claimed in claim 23 is characterized in that, obtains the unit, concrete being used for according to the frame of video group in the first stream of video frames by the order after arriving first, obtains successively each the frame of video group after the out of orderization processing.
25. terminal equipment as claimed in claim 24, it is characterized in that, each the frame of video group that comprises described the first stream of video frames in the described frame sequential information that the deciphering of described video certificate decryption unit obtains is corresponding frame sequential information respectively, and wherein frame sequential information corresponding to frame of video group is the frame sequential information in each frame of video this frame of video group after out of orderization processing in this frame of video group before the out of orderization processing;
Described ordering processing unit, concrete being used for for each the frame of video group that obtains the unit acquisition, frame sequential information corresponding to this frame of video group that deciphering obtains according to video certificate decryption unit respectively, to obtaining processings of sorting of each frame of video in this frame of video group that the unit obtains, obtain this front frame of video group of out of orderization processing.
26. terminal equipment as claimed in claim 24, it is characterized in that, described video certificate decryption unit, concrete being used for is decrypted the described video certificate that obtains, obtain in the first stream of video frames the frame sequential information that each frame of video group difference of the second stream of video frames that described terminal equipment can be play is corresponding and the positional information in first stream of video frames of described the second stream of video frames before out of orderization processing;
The ordering processing unit specifically comprises:
The frame of video group is determined subelement, is used for according to described positional information, in each the frame of video group that obtains, determines each frame of video group corresponding to described the second stream of video frames;
Subelement is processed in ordering, be used for determining each frame of video group that subelement is determined for the frame of video group, frame sequential information corresponding to this frame of video group that deciphering obtains according to video certificate decryption unit respectively, to processings of sorting of each frame of video in this frame of video group that obtains, obtain this front frame of video group of out of orderization processing.
27. terminal equipment as claimed in claim 26, it is characterized in that the described positional information that the deciphering of video certificate decryption unit obtains comprises number and the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing of the frame of video that comprises in each frame of video group;
The frame of video group determines that subelement specifically comprises:
The first frame position information determination module for the number of the frame of video that comprises according to each frame of video group, is determined respectively the start frame of each frame of video group that out of orderization processing is front and the frame position information in first stream of video frames of end frame before out of orderization processing;
The first frame of video group determination module, be used for according to the start frame of described the second stream of video frames and the frame position information of first stream of video frames of end frame before out of orderization processing, and the frame position information determined of frame position information determination module, determine each frame of video group that described the second stream of video frames is corresponding.
28. terminal equipment as claimed in claim 26, it is characterized in that the described positional information that video certificate decryption unit deciphering obtains comprises time started dot information in the number of the frame of video that comprises in each frame of video group, first stream of video frames of described the second stream of video frames before out of orderization processing and the frame rate information of concluding time dot information and described the first stream of video frames;
The frame of video group determines that subelement specifically comprises:
The second frame position information determination module for the number of the frame of video that comprises according to each frame of video group, is determined respectively the start frame of each frame of video group that out of orderization processing is front and the frame position information in first stream of video frames of end frame before out of orderization processing;
The 3rd frame position information determination module, be used for time started dot information and concluding time dot information according to first stream of video frames of described the second stream of video frames before out of orderization processing, and the frame rate information of described the first stream of video frames, determine the start frame of described the second stream of video frames and the frame position information in first stream of video frames of end frame before out of orderization processing;
The second frame of video group determination module is used for the frame position information determined according to the 3rd frame position information determination module, and the frame position information determined of the second frame position information determination module, determines each frame of video group that described the second stream of video frames is corresponding.
CN201110293983.9A 2011-09-28 2011-09-28 Stream of video frames processing method, video server and terminal equipment Active CN103024449B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110293983.9A CN103024449B (en) 2011-09-28 2011-09-28 Stream of video frames processing method, video server and terminal equipment
PCT/CN2012/082014 WO2013044800A1 (en) 2011-09-28 2012-09-26 Video frame stream processing method, video server and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110293983.9A CN103024449B (en) 2011-09-28 2011-09-28 Stream of video frames processing method, video server and terminal equipment

Publications (2)

Publication Number Publication Date
CN103024449A true CN103024449A (en) 2013-04-03
CN103024449B CN103024449B (en) 2015-08-19

Family

ID=47972509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110293983.9A Active CN103024449B (en) 2011-09-28 2011-09-28 Stream of video frames processing method, video server and terminal equipment

Country Status (2)

Country Link
CN (1) CN103024449B (en)
WO (1) WO2013044800A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065968A (en) * 2014-07-02 2014-09-24 哈尔滨海能达科技有限公司 Video data encryption method, video data decryption method, video data encryption device and video data decryption device
CN105049877A (en) * 2015-06-02 2015-11-11 阔地教育科技有限公司 Encryption method and device for live and recorded broadcast interaction system
CN105847881A (en) * 2016-03-31 2016-08-10 武汉斗鱼网络科技有限公司 Illegal-playing-prevention video player, server and system
CN107318045A (en) * 2016-04-27 2017-11-03 阿里巴巴集团控股有限公司 The method and device of playing video data stream
CN108645450A (en) * 2018-06-29 2018-10-12 张家港市鸿嘉数字科技有限公司 A kind of smart city environment friendly system and its working method
CN108648386A (en) * 2018-07-02 2018-10-12 张家港市鸿嘉数字科技有限公司 A kind of smart home anti-theft monitoring system and its working method
CN108668133A (en) * 2017-03-31 2018-10-16 鸿富锦精密工业(深圳)有限公司 The method and device of video-encryption and decryption
CN108803744A (en) * 2018-07-02 2018-11-13 张家港市鸿嘉数字科技有限公司 A kind of market environmental monitoring system and its working method
CN108801352A (en) * 2018-06-29 2018-11-13 张家港市鸿嘉数字科技有限公司 A kind of bathing pool environmental monitoring system and its working method
CN108881258A (en) * 2018-06-29 2018-11-23 张家港市鸿嘉数字科技有限公司 A kind of intelligence system for network file safe transmission
CN108894915A (en) * 2018-07-02 2018-11-27 张家港市鸿嘉数字科技有限公司 A kind of wind-power electricity generation remote monitoring system and its working method
CN110035327A (en) * 2019-04-17 2019-07-19 深圳市摩天之星企业管理有限公司 A kind of safe playback method
TWI679884B (en) * 2017-03-31 2019-12-11 鴻海精密工業股份有限公司 A video encryption and decryption method and device
CN114416407A (en) * 2022-03-29 2022-04-29 树根互联股份有限公司 Real-time data out-of-order repair system and method and computer equipment
CN114697758A (en) * 2020-12-30 2022-07-01 北京金山云网络技术有限公司 Video processing method and device and electronic equipment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763887A (en) * 2015-12-17 2016-07-13 国家电网公司 Blowfish algorithm-based H.264 video coding method and transmission encryption system
CN107027055A (en) * 2017-04-28 2017-08-08 安徽四创电子股份有限公司 A kind of video based on digital watermark is traced to the source and encryption method
CN109600631B (en) * 2018-12-07 2021-09-28 深圳市云歌人工智能技术有限公司 Video file encryption and publishing method and device
CN110430447B (en) * 2019-08-09 2021-11-26 广东工业大学 Video encryption method and device, camera equipment and readable storage medium
CN112733160A (en) * 2020-12-30 2021-04-30 武汉海昌信息技术有限公司 Encryption read-write method and device based on database and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617584A (en) * 2004-12-06 2005-05-18 武汉大学 Dynamic random mess correction and enciphering-deenciphering method for video frequency information
CN1949863A (en) * 2006-11-21 2007-04-18 北京中星微电子有限公司 Video monitoring system and method for implementing signal encription
US20090041235A1 (en) * 1998-08-20 2009-02-12 Akikaze Technologies, Llc Secure Information Distribution System Utilizing Information Segment Scrambling
US20100189257A1 (en) * 2009-01-28 2010-07-29 Ulf Bjorkengren Lightweight Streaming Protection by Sequence Number Scrambling

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR9913996A (en) * 1998-09-21 2001-07-03 Gen Instrument Corp Method of shuffling video lines, and method of writing data into memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090041235A1 (en) * 1998-08-20 2009-02-12 Akikaze Technologies, Llc Secure Information Distribution System Utilizing Information Segment Scrambling
CN1617584A (en) * 2004-12-06 2005-05-18 武汉大学 Dynamic random mess correction and enciphering-deenciphering method for video frequency information
CN1949863A (en) * 2006-11-21 2007-04-18 北京中星微电子有限公司 Video monitoring system and method for implementing signal encription
US20100189257A1 (en) * 2009-01-28 2010-07-29 Ulf Bjorkengren Lightweight Streaming Protection by Sequence Number Scrambling

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065968B (en) * 2014-07-02 2017-11-24 哈尔滨海能达科技有限公司 A kind of video data encryption and decryption method and device
CN104065968A (en) * 2014-07-02 2014-09-24 哈尔滨海能达科技有限公司 Video data encryption method, video data decryption method, video data encryption device and video data decryption device
CN105049877A (en) * 2015-06-02 2015-11-11 阔地教育科技有限公司 Encryption method and device for live and recorded broadcast interaction system
CN105847881B (en) * 2016-03-31 2019-07-09 武汉斗鱼网络科技有限公司 A kind of illegal-broadcast preventing video player and server and system
CN105847881A (en) * 2016-03-31 2016-08-10 武汉斗鱼网络科技有限公司 Illegal-playing-prevention video player, server and system
CN107318045A (en) * 2016-04-27 2017-11-03 阿里巴巴集团控股有限公司 The method and device of playing video data stream
CN108668133B (en) * 2017-03-31 2020-11-03 鸿富锦精密工业(深圳)有限公司 Video encryption and decryption method and device
TWI679884B (en) * 2017-03-31 2019-12-11 鴻海精密工業股份有限公司 A video encryption and decryption method and device
CN108668133A (en) * 2017-03-31 2018-10-16 鸿富锦精密工业(深圳)有限公司 The method and device of video-encryption and decryption
CN108881258A (en) * 2018-06-29 2018-11-23 张家港市鸿嘉数字科技有限公司 A kind of intelligence system for network file safe transmission
CN108801352A (en) * 2018-06-29 2018-11-13 张家港市鸿嘉数字科技有限公司 A kind of bathing pool environmental monitoring system and its working method
CN108645450A (en) * 2018-06-29 2018-10-12 张家港市鸿嘉数字科技有限公司 A kind of smart city environment friendly system and its working method
CN108894915A (en) * 2018-07-02 2018-11-27 张家港市鸿嘉数字科技有限公司 A kind of wind-power electricity generation remote monitoring system and its working method
CN108803744A (en) * 2018-07-02 2018-11-13 张家港市鸿嘉数字科技有限公司 A kind of market environmental monitoring system and its working method
CN108648386A (en) * 2018-07-02 2018-10-12 张家港市鸿嘉数字科技有限公司 A kind of smart home anti-theft monitoring system and its working method
CN110035327A (en) * 2019-04-17 2019-07-19 深圳市摩天之星企业管理有限公司 A kind of safe playback method
CN114697758A (en) * 2020-12-30 2022-07-01 北京金山云网络技术有限公司 Video processing method and device and electronic equipment
CN114416407A (en) * 2022-03-29 2022-04-29 树根互联股份有限公司 Real-time data out-of-order repair system and method and computer equipment

Also Published As

Publication number Publication date
CN103024449B (en) 2015-08-19
WO2013044800A1 (en) 2013-04-04

Similar Documents

Publication Publication Date Title
CN103024449A (en) Method for processing video frame stream, video server and terminal equipment
US8712041B2 (en) Content protection apparatus and content encryption and decryption apparatus using white-box encryption table
CN1723501B (en) Method and system for protecting content and method for accessing protected contents
US8396218B2 (en) Cryptographic module distribution system, apparatus, and program
CN101977190B (en) Digital content encryption transmission method and server side
CN103841469B (en) A kind of digital movie copyright protection method and apparatus
CN101018320A (en) A digital TV condition receiving system and its encryption method
CN103457727A (en) Method, device and system for processing media data
CN101448130A (en) Method, system and device for protecting data encryption in monitoring system
ATE319242T1 (en) METHOD AND DEVICE FOR SECURE CRYPTOGRAPHIC COMMUNICATION
CN103207971A (en) Cloud storage-based data security protection system and method
CN101361057A (en) Method and apparatus for importing a transport stream
CN103237010B (en) The server end of digital content is cryptographically provided
CN102368850A (en) Method for carrying out encryption and decryption on video file on mobile phone
CN103828289A (en) Management of group secrets by group members
CN102648625B (en) Method, device and system for implementing the grouping of broadcast services
CN102035829B (en) Encryption apparatus, decryption apparatus, licensing apparatus and content data generation method
CN101132408B (en) Stream media content processing method, equipment and system
US20090238368A1 (en) Key distribution system
CN101562520B (en) Method and system for distributing service secret keys
CN100461199C (en) Method and device for encrypting and de-encrypting digital content
CN103237011A (en) Digital-content encryption transmission method and server side
CN101331768B (en) Method for transmitting conditional access content
CN101800878A (en) System and method for encrypting and decrypting MPEG (Moving Picture Experts Group) video based on position files
US8458454B2 (en) Conditional access apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant