CN102238418A - Scrambled/descrambled-data-scattering-based video scrambling system - Google Patents

Scrambled/descrambled-data-scattering-based video scrambling system Download PDF

Info

Publication number
CN102238418A
CN102238418A CN 201110183567 CN201110183567A CN102238418A CN 102238418 A CN102238418 A CN 102238418A CN 201110183567 CN201110183567 CN 201110183567 CN 201110183567 A CN201110183567 A CN 201110183567A CN 102238418 A CN102238418 A CN 102238418A
Authority
CN
China
Prior art keywords
data
scrambling
descrambling
code stream
packet
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
CN 201110183567
Other languages
Chinese (zh)
Other versions
CN102238418B (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.)
KUNMING E_SHINE TECHNOLOGY Co Ltd
Original Assignee
KUNMING E_SHINE TECHNOLOGY 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 KUNMING E_SHINE TECHNOLOGY Co Ltd filed Critical KUNMING E_SHINE TECHNOLOGY Co Ltd
Priority to CN 201110183567 priority Critical patent/CN102238418B/en
Publication of CN102238418A publication Critical patent/CN102238418A/en
Application granted granted Critical
Publication of CN102238418B publication Critical patent/CN102238418B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a scrambled/descrambled-data-scattering-based video scrambling system. The system inputs a scrambled transport stream (TS) code stream meeting a moving picture experts group (MPEG) standard, outputs a scrambled/descrambled-data-scattering-processing-based scrambled TS code stream meeting the MPEG standard, and comprises a conditional access (CA) descrambler, a scrambled/descrambled stream synchronous processing module, a first MPEG system layer de-multiplexing module, a second MPEG system layer de-multiplexing module, a video data transcoding processing module, an audio data transcoding processing module and a scrambled/descrambled-data-packet-scattering-based MPEG system layer de-multiplexing module. The system can finish the secondary processing of a descrambled code stream without constructing a conditional access system (CAS) again, solves problems in the application of multimedia systems such as digital television systems and the like, reduces system cost, and improves the international primacy of China in the technical field; and audio/video data processed by the system meets different coding standards, wherein the standards for videos at least comprise MPEG-2, MPEG-4, H.264/advanced video coding (AVC), H.264 scalable video coding (SVC), H.264 multi-view video coding (MVC) and an audio video standard (AVS); and the standards for audios at least comprise MPEG-2, advanced audio coding (AAC), doblyAC-3 and the like.

Description

Based on the staggered video scrambling system of scrambling/descrambling data
Technical field
The present invention relates to the technical field of video coding of digital multimedia, particularly relate to encryption method digital video code flow.
Background technology
The digital multimedia technical development is rapid, and Digital Television, network flow-medium and mobile multimedia service will provide abundant audio frequency and video service for people in the near future.In order to protect program making merchant's making copyright, when the terminal use provides multimedia service, can carry out scrambling to programme content usually and handle, be about to multimedia code stream and carry out scrambling (encryption) processing.After the scrambling processing, the terminal use could normal program receiving after program provider has been paid corresponding expense.Otherwise the terminal use promptly can't watch program.
At present, the signal scrambling technique of multimedia code stream has obtained to use widely in digital television system, and signal scrambling technique also is developed according to the DVB standard.Though provide the domestic and international enterprise of scrambling algorithm very many, these scrambling systems (CAS) and algorithm have all been followed DVB common scrambling algorithm, difference with the processing mode of different system for scrambling control word (CW).But which kind of cas system no matter, the flow process that concrete multimedia bitstream flow data is handled is identical.
In the practical application, the employing cas system also needs audio-video frequency content is made amendment in the Network Transmission of different stage after data are carried out the scrambling processing usually.For example, video is carried out the processing once more of the insertion etc. of station symbol, captions.Demand for this class is handled once more to the audio-video code stream data need be reduced to descrambling code stream (not scrambling code stream, clear stream) by descrambler with scrambled code stream.After the descrambling code stream finished processing, also need to carry out scrambling again and handle, to guarantee the rights and interests of program supply and Virtual network operator to descrambling stream.Because it is very complicated to make up cas system, and with high costs, therefore once more scrambling to handle be a difficult problem in the present multimedia application.
Summary of the invention
Based on above-mentioned prior art, the present invention proposes a kind of based on the staggered video scrambling system of Jia Rao ∕ descrambling data, at meeting mpeg standard, the video encode stream of DVB standard and ATSC standard, proposed based on the staggered signal scrambling technique once more of Jia Rao ∕ descrambling data, this system does not need to be connected with scrambling machine, CA system and scrambling control word data such as (CW), can make system's output TS code stream possess the identical CA scrambling characteristic with the input TS of system.
What the present invention proposed is a kind of based on the staggered video scrambling system of scrambling/descrambling data, the TS code stream that meets mpeg standard that is input as scrambling of this system; Be output as the TS code stream that meets mpeg standard based on the staggered scrambling of handling of scrambling/descrambling data, input signal one road is delivered to the CA descrambler, and one the road delivers to and adds flow-disturbing ∕ and separate the flow-disturbing synchronous processing module; CA descrambler output connects the first mpeg system layer demultiplexing module respectively, add flow-disturbing ∕ separates the flow-disturbing synchronous processing module; Two outputs of the described first mpeg system layer demultiplexing module are connected to based on the staggered mpeg system layer demultiplexing module of Jia ∕ descrambling data bag through video data transcoded processing module and voice data transcoded processing module respectively, describedly add first output that flow-disturbing ∕ separates the flow-disturbing synchronous processing module and be connected to described based on adding the staggered mpeg system layer demultiplexing module of ∕ descrambling data bag through key parameter and packet extraction module, second output is connected to described based on the staggered mpeg system layer demultiplexing module of Jia ∕ descrambling data bag through the second mpeg system layer demultiplexing module, wherein: the CA descrambler, be used for the CA code stream is carried out scramble process, and the descrambling kilocalorie CAM of the identical CA type with input code flow of configuration; The first mpeg system layer demultiplexing module is used to meet the system layer demultiplexing processing of mpeg standard, and the descrambling code stream that is input as the output of CA descrambler of this module is output as audio frequency, the basic layer bit stream of video; Video data transcoded processing module, voice data transcoded processing module, be respectively applied for the basic layer bit stream of video, audio frequency that the above-mentioned first mpeg system layer demultiplexing mould demultiplexing is obtained and carry out the transcoding processing, this transcoding is handled and comprised: code check variation, icon, the captions in the video data of video data insert and handle, the code stream of video data splices processing, the sampling rate conversion of voice data, the rate conversion of voice data; Add flow-disturbing ∕ and separate the flow-disturbing synchronous processing module, the Synchronous Processing that is used for this system's input scrambled data streams and CA descrambler output descrambling code stream, the input of this module is the descrambling code stream of the TS code stream that meets mpeg standard of scrambling and the output of CA descrambler, and two-way output is arranged: one tunnel output is the scrambling code stream after synchronously; The output of another road is the descrambling code stream after synchronously; Key parameter and packet extraction module, be used for each packet of the scrambling code stream ∕ descrambling code flow data after synchronous is analyzed, each packet data in the analytic solution scrambler stream, the data after extracting this packet scrambling in the scrambling code stream after synchronously.The input of this module is adding after synchronously to disturb ∕ descrambling code stream, and output is the critical packet of scrambling;
The second mpeg system layer demultiplexing module, be used to realize meeting the system layer demultiplexing processing of mpeg system, this module be input as the described Synchronous Processing result that flow-disturbing ∕ separates flow-disturbing that adds that flow-disturbing ∕ separates flow-disturbing synchronous processing module output that adds, be output as audio frequency, the video data of scrambling; Audio frequency, the video elementary code stream of output will be used for follow-up transcoding, program splicing, and word curtain ∕ icon inserts to be handled;
Based on the staggered mpeg system layer Multiplexing module of Jia ∕ descrambling data bag, be used for meeting the processing of mpeg system layer demultiplexing based on staggered the finishing of Jia ∕ descrambling data bag, it is input as audio frequency, the video data of scrambling, and output is the mpeg transport stream of scrambling once more; Adopt scrambling/descrambling code stream interleave method to carry out MPEG scrambling once more, promptly reuse any part data in the scrambled data, making not, the scrambled code flow data possesses scrambling character; The code stream that possesses scrambling character must obtain legal CA and authorize when adopting decoding terminal to decode, and just can be correctly decoded, otherwise the phenomenons such as misdata occur of can't decoding or decode will appear in decoding terminal.Describedly add the Synchronous Processing flow process that flow-disturbing ∕ separates the flow-disturbing synchronous processing module and may further comprise the steps: step 1 intercepts the scrambling and the descrambling TS data flow of 5M byte respectively simultaneously; The 0x47 synchronous head of inquiry scrambling TS data flow, in data flow 50 of continuous-queries PID! The TS of 0x1FFF bag writes down the position of these 50 TS bags with respect to the 0x47 synchronous head, the PID of this TS bag is stored as PID0 and calculate each adjacent PID! Data break in the middle of the TS of=0x1FFF writes down and is stored as PID_INTER0 ~ PID_INTER48 respectively; Step 2, the 0x47 synchronous head of inquiry descrambling TS code stream, the TS bag of inquiry PID=PID0 in descrambling data, after being recorded as PID_NCA0 and finding PID_NCA0, sequential search follow-up 50 PID! The TS of=0x1FFF bag, and calculate each adjacent PID! Data break in the middle of the TS of=0x1FFF, write down and be stored as PID1_NCA_INTER0 ~ PID_NCA_INTER48 respectively, with PID_INTER0 ~ PID_INTER48 and PID1_NCA_INTER0 ~ PID_NCA_INTER48 comparison, identical at interval as all, think that then Synchronous Processing finishes; Step 3, if still can't finish after the execution in step two synchronously, then the TS of next PID=PID0 of sequential search wraps behind PID_NCA0, and be updated to PID_NCA0, rollback is to step 2, and finish follow-up comparison and handle, all PID=PID0 are updated to PID_NCA0 in 5M descrambling TS data; Step 4, if still can't finish after the execution in step three synchronously, then behind PID0 sequential search next PID! The TS of=0x1FFF bag, and be updated to PID0, rollback be to step 1, and finish follow-up comparison and handle, in 5M descrambling TS data all PID!=0x1FFF is updated to PID0.
Described key parameter and packet extraction module flow process may further comprise the steps: be used for the video critical data of scrambling in the descrambling code stream after step 1, the analysis synchronously in each TS bag, comprise Data Position; Data name, bit number and extraction data volume; After being resolved to above-mentioned data in step 2, the descrambling code stream after synchronously, extract corresponding TS packet in the scrambling code stream after synchronously synchronously, comprise following flow process:
If the TS packet number in the descrambling code stream synchronously is greater than or equal to 16, the initial packet sequence number of the TS packet that mates in the scrambling code stream after then being provided with synchronously is the 8th packet reciprocal; Otherwise the initial serial number of the TS packet that mates in the scrambling code stream after being provided with synchronously starts anew; If the TS packet number in the descrambling code stream synchronously deducts 8 smaller or equal to total TS packet number, the end packet serial number of the TS packet that mates in the scrambling code stream after then being provided with synchronously is 8 packets after the TS packet in the descrambling code stream after synchronously; Otherwise the end packet serial number of the TS packet that mates in the scrambling code stream after being provided with synchronously is last bag of the TS packet in the descrambling code stream after synchronously;
Cycle detection is carried out in the end of the TS packet that mates in the initial scrambling code stream after synchronously of the TS packet that mates the scrambling code stream after synchronously:
If the continuous counter numerical value in the scrambled data bag synchronously equals the continuous counter numerical value in the descrambling data bag, then data packet matched success; Otherwise, data packet matched failure; According to above-mentioned flow process, continuous counter numerical value con_conut_NCA according to the scrambled data bag after synchronous inquires about 16 TS packets in the scrambling code stream, the continuous counter numerical value con_conut_CA of the scrambled data bag after selecting synchronously with synchronously after the descrambling data bag in the descrambling data bag of continuous counter con_conut_NCA after synchronously in the packet that equates of continuous counter numerical value, as scrambled data bag after synchronous to be extracted.
Described based on add/the staggered multiplexing flow process of mpeg system layer of descrambling data bag may further comprise the steps: each TS bag data in the analytic solution scrambler stream, with the ordered series of numbers head SH in the MPEG-2 video coding is critical data, checks whether this TS bag comprises SH initial code 0x000001b3; Be resolved to initial code in the TS bag after, search next grammer synchronous code NS 0x000001 in the follow-up data in this bag, record TS bag is TSsnca; Correspondence position in the scrambling code stream after synchronously extracts scrambling TSsca packet, judges whether TSsca has identical PID and continues_counter with TSsnca, if identically promptly store TSsca, otherwise is considered as the descrambling mistake;
With scrambling De Yin ∕ video data not, scrambling De Yin ∕ video data, other data such as TSsca that obtains in the extraction module and PTS data, PCR data are sent into staggered Multiplexing module; This module need to be selected multiplexing to the data of exporting TS stream from above-mentioned difference input according to different settings;
For video data, staggered multiplexing algorithm may further comprise the steps: analyze not scrambling video data, location SH data original position is a cut-point with the SH original position, with the video data multiplex before the cut-point is an integer TS packet, writes down last TS bag and is TSsq; Next grammer synchronous code NS of inquiry behind the SH of scrambling video data not, filtering SH data starting point is to the video data between next grammer synchronous code NS;
Extract the back in TSsq packet critical data and insert corresponding TSsca, 4 bytes of head of TS bag are produced by staggered Multiplexing module, remain 184 bytes and determine according to the length of different critical datas; If SH has 10 bytes ~ 138 bytes, by the carrying of a TS bag; If SH is 132 bytes, then the Payload of this scrambling bag is 132 bytes, and remaining byte all is changed to 0xff.
Manageable respectively Yin Pin ∕ video data meets different coding standards in the described video data transcoding Chu reason Mo Kuai ∕ voice data transcoded processing module, video comprises at least: MPEG-2, MPEG-4, H.264 ∕ AVC, H.264 SVC, H.264 various video encoding standards such as MVC and AVS; Audio frequency comprises MPEG-2 at least, AAC, dobly AC-3.
Compared with prior art, the present invention does not need to make up once more cas system, can finish the processing once more of descrambling code stream; A difficult problem in the multimedia system practicalities such as solution digital television system reduces system cost, improves the leading in the world property of China in this technical field; Manageable Yin Pin ∕ video data meets different coding standards, and video comprises at least: MPEG-2, MPEG-4, H.264 ∕ AVC, H.264 SVC, H.264 various video encoding standards such as MVC and AVS; Audio frequency comprises MPEG-2 at least, AAC, dobly AC-3.
 
Description of drawings
Fig. 1 is based on the staggered video code flow scrambling processing system modules figure of Jia Rao ∕ descrambling data; The staggered multiplexing flow process of Fig. 2 mpeg system layer; Scrambling TS stream station symbol and captions insertion system in Fig. 3 digital television system.
Embodiment
For the bit stream data behind the descrambling is carried out scrambling once more, can adopt the scrambling number to finish the handling process of system such as figure below according to the staggered mode of ∕ descrambling data:
As shown in Figure 1, the mpeg transport stream that is input as scrambling of this system (as the TS code stream in the digital television system); And this system is output as the MEPG transport stream based on the staggered scrambling of handling of scrambling/descrambling data.B describes in detail the course of work of each module of native system respectively below.The video coding scrambling system that interlocks based on scrambling/descrambling data of the present invention comprises: CA descrambler 1, this module is carried out scramble process to the CA code stream that meets relevant criterion such as DVB CA, and the CAM(of the identical CA type with input code flow of needs configuration promptly, the descrambling kilocalorie); The first mpeg system layer demultiplexing module 2, this module are finished the system layer demultiplexing that meets mpeg system layer ISO-13818-1 standard and are handled, and the descrambling code stream that is input as the output of CA descrambler of module is output as audio frequency, the basic layer bit stream of video (ES); Audio frequency, the video elementary code stream of output will be used for follow-up transcoding, program splicing, processing such as Zi Mu ∕ icon insertion; Video data transcoded processing module 3, voice data transcoded processing module 4; These two modules are handled video, voice data that the above-mentioned first mpeg system layer demultiplexing module, 2 demultiplexings obtain; For instance, exemplary process comprises: code check variation, icon, the captions in the video data of video data insert and handle, the code stream of video data splices processing, the sampling rate conversion of voice data, the rate conversion of voice data etc.The present invention at scrambling be treated to the scrambling of mpeg system layer and handle, therefore, manageable respectively Yin Pin ∕ video data can meet different coding standards in the video data transcoding Chu reason Mo Kuai ∕ voice data transcoded processing module, video such as MPEG-2, MPEG-4, H.264 ∕ AVC, H.264 SVC, H.264 various video encoding standards such as MVC and AVS.Audio frequency is as MPEG-2, AAC, dobly AC-3 etc.If these different De Yin ∕ video encoding standards have adopted the mpeg system layer to carry out multiplexing and scrambling, the scrambling once more that algorithm then provided by the present invention can be finished after audio frequency and video are handled is handled.
Add flow-disturbing ∕ and separate flow-disturbing synchronous processing module 5, this module is finished the precise synchronization of scrambled data streams and descrambling data stream and is handled: because scrambling stream is by producing certain time-delay behind the CA descrambler, and the order of packet also may change, and therefore packet behind the descrambling and input packet need be carried out precise synchronization;
Key parameter and packet extraction module 6, this module is finished each packet data in the scrambling code stream ∕ descrambling code flow data that adds resulting TS packet alignment (each TS packet has identical PID) after the Synchronous Processing of disturbing ∕ descrambling code stream is analyzed, and extracts the critical data after this packet scrambling in each packet of scrambling code stream;
The second mpeg system layer demultiplexing module 7, this module is finished the system layer demultiplexing that meets mpeg system layer ISO-13818-1 standard and is handled, module be input as the above-mentioned Synchronous Processing result that flow-disturbing ∕ separates flow-disturbing that adds that flow-disturbing ∕ separates flow-disturbing synchronous processing module 5 output that adds, be output as audio frequency, the video data of scrambling; Audio frequency, the video elementary code stream of output will be used for follow-up transcoding, program splicing, processing such as Zi Mu ∕ icon insertion;
Based on the staggered mpeg system layer Multiplexing module 8 of Jia ∕ descrambling data bag, this module is handled based on the staggered system layer demultiplexing that meets mpeg system layer ISO-13818-1 standard of finishing of Jia ∕ descrambling data bag, its input is audio frequency, the video data of scrambling, and output is the mpeg transport stream of scrambling once more.
The algorithm steps of the key modules of this system is described in detail as follows.Add flow-disturbing ∕ and separate in the flow-disturbing synchronous processing module, concrete synchronized algorithm may further comprise the steps:
Step 1 intercepts the scrambling and the descrambling TS data flow of 5M byte respectively simultaneously; The 0x47(synchronization character of inquiry scrambling TS data flow), in data flow 50 of continuous-queries PID! The TS of 0x1FFF bag writes down the position of these 50 TS bags with respect to the 0x47 synchronous head, the PID of this TS bag is stored as PID0 and calculate each adjacent PID! Data break in the middle of the TS of=0x1FFF writes down and is stored as PID_INTER0 ~ PID_INTER48 respectively; Step 2, the 0x47 synchronous head of inquiry descrambling TS code stream, the TS bag of inquiry PID=PID0 in descrambling data, after being recorded as PID_NCA0 and finding PID_NCA0, sequential search follow-up 50 PID! The TS of=0x1FFF bag, and calculate each adjacent PID! Data break in the middle of the TS of=0x1FFF, write down and be stored as PID1_NCA_INTER0 ~ PID_NCA_INTER48 respectively, with PID_INTER0 ~ PID_INTER48 and PID1_NCA_INTER0 ~ PID_NCA_INTER48 comparison, identical at interval as all, think that then Synchronous Processing finishes; Step 3, if still can't finish after the execution in step two synchronously, then the TS of next PID=PID0 of sequential search wraps behind PID_NCA0, and be updated to PID_NCA0, rollback is to step 2, and finish follow-up comparison and handle, all PID=PID0 are updated to PID_NCA0 in 5M descrambling TS data; Step 4, if still can't finish after the execution in step three synchronously, then behind PID0 sequential search next PID! The TS of=0x1FFF bag, and be updated to PID0, rollback be to step 1, and finish follow-up comparison and handle, in 5M descrambling TS data all PID!=0x1FFF is updated to PID0.Because the processing such as transcoding of Yin Pin ∕ the video common only content and the partial parameters of Dui Yin ∕ video are made amendment, and the header information of code stream are not made amendment.For example: when video code flow was carried out rate conversion, the code stream after the conversion was removed outside the code check parameter, and all parameters (comprising spatial resolution, frame per second etc.) all do not change.Therefore, can in the scrambling code stream, extract the TS packet that those include key parameter, and these critical packet are inserted in the output code flow, reach purpose system's dateout scrambling.For decoder, all parameters all are to obtain in the code stream, if the partial parameters data are represented that by the scrambling TS packet that extracts in the former scrambling code stream then decoder must be equipped with legal CA descrambling mandate; Otherwise decoder can't normal decoder.Key parameter and packet extraction module, concrete handling process is as follows: each TS bag data in step 1, the analytic solution scrambler stream, with the MPEG-2 video coding is example, check whether this TS bag comprises the critical data in the following table, and other coding standards then establishing criteria extract corresponding critical data:
Table 1. is used for the video critical data (MPEG-2 video standard) of scrambling
Data Position Data name Data volume (bit number) Extract data volume
sequence_header sequence_header_code 32 184 bytes
sequence_header horizontal_size_value 12 184 bytes
sequence_header vertical_size_value 12 184 bytes
sequence_header frame_rate_code 4 184 bytes
sequence_header bit_rate_value 18 184 bytes
sequence_header marker_bit 1 184 bytes
sequence_header constrained_parameters_flag 1 184 bytes
sequence_header load_intra_quantiser_matrix 1 184 bytes
sequence_header intra_quantiser_matrix[64] 8*64 184 bytes
sequence_header load_non_intra_quantiser_matrix 1 184 bytes
sequence_header non_intra_quantiser_matrix[64] 8*64 184 bytes
group_of_pictures_header group_start_code 32 184 bytes
group_of_pictures_header time_code 25 184 bytes
group_of_pictures_header closed_gop 1 184 bytes
group_of_pictures_header broken_link 1 184 bytes
picture_header picture_start_code 32 184 bytes
picture_header temporal_reference 10 184 bytes
picture_header picture_coding_type 3 184 bytes
picture_header full_pel_forward_vector 1 184 bytes
picture_header forward_f_code 3 184 bytes
picture_header full_pel_backward_vector 1 184 bytes
picture_header backward_f_code 3 184 bytes
picture_coding_extension picture_ extension _start_code 32 184 bytes
picture_coding_extension f_code[0][0] 4 184 bytes
picture_coding_extension f_code[0][1] 4 184 bytes
picture_coding_extension f_code[1][0] 4 184 bytes
picture_coding_extension f_code[1][1] 4 184 bytes
picture_coding_extension intra_dc_precision 2 184 bytes
picture_coding_extension picture_structure 2 184 bytes
picture_coding_extension top_field_first 1 184 bytes
picture_coding_extension frame_pred_frame_dct 1 184 bytes
picture_coding_extension concealment_motion_vectors 1 184 bytes
picture_coding_extension q_scale_type 1 184 bytes
picture_coding_extension intra_vlc_format 1 184 bytes
picture_coding_extension alternate_scan 1 184 bytes
picture_coding_extension repeat_first_field 1 184 bytes
slice_header slice_start_code 32 184 bytes
slice_header quantiser_scale_code 5 184 bytes
slice_header intra_slice_flag 1 184 bytes
slice_header intra_slice 1 184 bytes
slice_header reserved_bits 7 184 bytes
Annotate: when using other Yin ∕ video standards, then select different key parameter data for use
Table 2. is used for the video critical data (H.264 ∕ AVC video standard) of scrambling
Data Position Data name Bit number Extract data volume
nal_unit forbidden_zero_bit 1 184 bytes
nal_unit nal_ref_idc 2 184 bytes
nal_unit nal_unit_type 5 184 bytes
sequence_parameter_set profile_idc 8 184 bytes
sequence_parameter_set constraint_set0_flag 1 184 bytes
sequence_parameter_set constraint_set0_flag 1 184 bytes
sequence_parameter_set constraint_set0_flag 1 184 bytes
sequence_parameter_set constraint_set0_flag 1 184 bytes
sequence_parameter_set reserved_zero_4bits 4 184 bytes
sequence_parameter_set level_idc 8 184 bytes
sequence_parameter_set seq_parameter_set_id - 184 bytes
sequence_parameter_set chroma_format_idc - 184 bytes
sequence_parameter_set residual_colour_transform_flag 1 184 bytes
sequence_parameter_set bit_depth_luma_minus8 - 184 bytes
sequence_parameter_set bit_depth_chroma_minus8 - 184 bytes
sequence_parameter_set qpprime_y_zero_transform_bypass_flag 1 184 bytes
sequence_parameter_set seq_scaling_matrix_present_flag 1 184 bytes
sequence_parameter_set seq_scaling_list_present_flag[8] 1*8 184 bytes
sequence_parameter_set log2_max_frame_num_minus4 - 184 bytes
sequence_parameter_set pic_order_cnt_type - 184 bytes
sequence_parameter_set log2_max_pic_order_cnt_lsb_minus4 - 184 bytes
sequence_parameter_set delta_pic_order_always_zero_flag 1 184 bytes
sequence_parameter_set offset_for_non_ref_pic - 184 bytes
sequence_parameter_set offset_for_top_to_bottom_field - 184 bytes
sequence_parameter_set num_ref_frames_in_pic_order_cnt_cycle - 184 bytes
sequence_parameter_set offset_for_ref_frame - 184 bytes
sequence_parameter_set num_ref_frames - 184 bytes
sequence_parameter_set gaps_in_frame_num_value_allowed_flag 1 184 bytes
sequence_parameter_set pic_width_in_mbs_minus1 - 184 bytes
sequence_parameter_set pic_height_in_map_units_minus1 - 184 bytes
sequence_parameter_set frame_mbs_only_flag 1 184 bytes
sequence_parameter_set mb_adaptive_frame_field_flag 1 184 bytes
sequence_parameter_set direct_8x8_inference_flag 1 184 bytes
sequence_parameter_set frame_cropping_flag 1 184 bytes
sequence_parameter_set frame_crop_left_offset - 184 bytes
sequence_parameter_set frame_crop_right_offset - 184 bytes
sequence_parameter_set frame_crop_top_offset - 184 bytes
sequence_parameter_set frame_crop_bottom_offset - 184 bytes
sequence_parameter_set vui_parameters_present_flag 1 184 bytes
scaling_list delta_scale - 184 bytes
sequence_parameter_set_extension seq_parameter_set_id - 184 bytes
sequence_parameter_set_extension aux_format_idc - 184 bytes
sequence_parameter_set_extension bit_depth_aux_minus8 - 184 bytes
sequence_parameter_set_extension alpha_incr_flag 1 184 bytes
sequence_parameter_set_extension alpha_opaque_value - 184 bytes
sequence_parameter_set_extension alpha_transparent_value - 184 bytes
sequence_parameter_set_extension additional_extension_flag 1 184 bytes
vui_parameters aspect_ratio_info_present_flag - 184 bytes
vui_parameters aspect_ratio_idc 8 184 bytes
vui_parameters sar_width 16 184 bytes
vui_parameters sar_height 16 184 bytes
vui_parameters overscan_info_present_flag 1 184 bytes
vui_parameters overscan_appropriate_flag 1 184 bytes
vui_parameters video_signal_type_present_flag 1 184 bytes
vui_parameters video_format 3 184 bytes
vui_parameters video_full_range_flag 1 184 bytes
vui_parameters colour_description_present_flag 1 184 bytes
vui_parameters colour_primaries 8 184 bytes
vui_parameters transfer_characteristics 8 184 bytes
vui_parameters matrix_coefficients 8 184 bytes
vui_parameters chroma_loc_info_present_flag 1 184 bytes
vui_parameters chroma_sample_loc_type_top_field - 184 bytes
vui_parameters chroma_sample_loc_type_bottom_field - 184 bytes
vui_parameters timing_info_present_flag 1 184 bytes
vui_parameters num_units_in_tick 32 184 bytes
vui_parameters time_scale 32 184 bytes
vui_parameters fixed_frame_rate_flag 1 184 bytes
vui_parameters nal_hrd_parameters_present_flag 1 184 bytes
vui_parameters vcl_hrd_parameters_present_flag 1 184 bytes
vui_parameters low_delay_hrd_flag 1 184 bytes
vui_parameters pic_struct_present_flag 1 184 bytes
vui_parameters bitstream_restriction_flag 1 184 bytes
vui_parameters motion_vectors_over_pic_boundaries_flag 1 184 bytes
vui_parameters max_bytes_per_pic_denom - 184 bytes
vui_parameters max_bits_per_mb_denom - 184 bytes
vui_parameters log2_max_mv_length_horizontal - 184 bytes
vui_parameters log2_max_mv_length_vertical - 184 bytes
vui_parameters num_reorder_frames - 184 bytes
vui_parameters max_dec_frame_buffering - 184 bytes
vui_parameters cpb_cnt_minus1 - 184 bytes
vui_parameters bit_rate_scale 4 184 bytes
vui_parameters cpb_size_scale 4 184 bytes
vui_parameters bit_rate_value_minus1 - 184 bytes
vui_parameters cpb_size_value_minus1 - 184 bytes
vui_parameters cbr_flag - 184 bytes
vui_parameters initial_cpb_removal_delay_length_minus1 5 184 bytes
vui_parameters cpb_removal_delay_length_minus1 5 184 bytes
vui_parameters dpb_output_delay_length_minus1 5 184 bytes
vui_parameters time_offset_length 5 184 bytes
picture_parameter_set pic_parameter_set_id - 184 bytes
picture_parameter_set seq_parameter_set_id - 184 bytes
picture_parameter_set entropy_coding_mode_flag 1 184 bytes
picture_parameter_set pic_order_present_flag 1 184 bytes
picture_parameter_set num_slice_groups_minus1 - 184 bytes
picture_parameter_set slice_group_map_type - 184 bytes
picture_parameter_set run_length_minus1 - 184 bytes
picture_parameter_set top_left - 184 bytes
picture_parameter_set bottom_right - 184 bytes
picture_parameter_set slice_group_change_direction_flag 1 184 bytes
picture_parameter_set slice_group_change_direction_flag - 184 bytes
picture_parameter_set pic_size_in_map_units_minus1 - 184 bytes
picture_parameter_set slice_group_id - 184 bytes
picture_parameter_set num_ref_idx_l0_active_minus1 - 184 bytes
picture_parameter_set num_ref_idx_l1_active_minus1 - 184 bytes
picture_parameter_set weighted_pred_flag 1 184 bytes
picture_parameter_set weighted_bipred_idc 2 184 bytes
picture_parameter_set pic_init_qp_minus26 - 184 bytes
picture_parameter_set pic_init_qs_minus26 - 184 bytes
picture_parameter_set chroma_qp_index_offset - 184 bytes
picture_parameter_set deblocking_filter_control_present_flag 1 184 bytes
picture_parameter_set constrained_intra_pred_flag 1 184 bytes
picture_parameter_set redundant_pic_cnt_present_flag 1 184 bytes
picture_parameter_set transform_8x8_mode_flag 1 184 bytes
picture_parameter_set pic_scaling_matrix_present_flag 1 184 bytes
picture_parameter_set pic_scaling_list_present_flag - 184 bytes
picture_parameter_set second_chroma_qp_index_offset - 184 bytes
slice_header first_mb_in_slice - 184 bytes
slice_header slice_type - 184 bytes
slice_header pic_parameter_set_id - 184 bytes
slice_header frame_num - 184 bytes
slice_header field_pic_flag 1 184 bytes
slice_header bottom_field_flag 1 184 bytes
slice_header idr_pic_id - 184 bytes
slice_header pic_order_cnt_lsb - 184 bytes
slice_header delta_pic_order_cnt_bottom - 184 bytes
slice_header delta_pic_order_cnt - 184 bytes
slice_header redundant_pic_cnt - 184 bytes
slice_header direct_spatial_mv_pred_flag 1 184 bytes
slice_header num_ref_idx_active_override_flag 1 184 bytes
slice_header num_ref_idx_l0_active_minus1 - 184 bytes
slice_header num_ref_idx_l1_active_minus1 - 184 bytes
slice_header cabac_init_idc - 184 bytes
slice_header slice_qp_delta - 184 bytes
slice_header disable_deblocking_filter_idc - 184 bytes
slice_header slice_alpha_c0_offset_div2 - 184 bytes
slice_header slice_beta_offset_div2 - 184 bytes
slice_header slice_group_change_cycle - 184 bytes
Annotate: when using H.264 ∕ AVC video standard, its header information adopts mutilation long codes mode more, and optional information is more.If surpass 184 bytes, two kinds of processing methods then arranged: 1) get 184 bytes that contain remaining header information in addition and handle; 2) do not consider to surpass the header information of 184 bytes, directly use 184 bytes to handle.
 
Step 2, in the descrambling code stream, be resolved to the table in data after, need in the scrambling code stream, extract synchronously the correspondence the TS packet.Because scramble process may cause the minor variations of TS packet sequence, following algorithm is adopted in the extraction of scrambling TS bag:
If the TS packet number in the descrambling code stream is greater than or equal to 16, the initial packet sequence number that the TS packet that mates in the scrambling code stream then is set is the 8th packet reciprocal; Otherwise the initial serial number that the TS packet that mates in the scrambling code stream is set starts anew; If the TS packet number in the descrambling code stream deducts 8 smaller or equal to total TS packet number, the end packet serial number that the TS packet that mates in the scrambling code stream then is set is TS packet 8 packets afterwards in the descrambling code stream; Otherwise the end packet serial number that the TS packet that mates in the scrambling code stream is set is last bag of the TS packet in the descrambling code stream;
Cycle detection is carried out in the end of the initial TS packet that mates in the scrambling code stream of the TS packet that mates from the scrambling code stream:
If the continuous counter numerical value in the scrambled data bag equals the continuous counter numerical value in the descrambling data bag, then data packet matched success; Otherwise, data packet matched failure.
Idiographic flow is with reference to as follows:
if(TSNum>=16)
begin?=?TSNum-8;
else
begin?=?TSNum;
if(TSNum<=Total_TS_Num-8)
end?=?TSNum+8;
else
end?=?TSNum;
index?=?begin;
for(index?=?begin;?index<end;?index++)
{
if((((con_conut_CA?==con_conut_NCA))
Return 0; The data packet matched success of ∕ ∕
}
Return 1; The data packet matched failure of ∕ ∕
Wherein, TSNum is the TS packet sequence number in the descrambling code stream, and begin and end serial number have provided the TS that mates respectively and unwrapped the beginning and finish serial number in the scrambling code stream.Con_conut_CA and con_conut_NCA are respectively the continuous counter numerical value in scrambled data bag and the descrambling packet, and this numerical value can be obtained by the header information of resolving the TS bag.Adopt above-mentioned algorithm, can inquire about 16 TS packets in the scrambling code stream according to con_conut_NCA, the packet of selecting con_conut_CA to equate with con_conut_NCA is a scrambled data bag to be extracted.
The staggered multiplexing flow process of mpeg system layer of ∕ descrambling data bag is as follows based on adding:
Each TS bag data in the analytic solution scrambler stream are with the Sequence_Header(SH in the MPEG-2 video coding) be critical data, check whether this TS bag comprises SH initial code 0x000001b3.Be resolved to initial code in the TS bag after, search next grammer synchronous code 0x000001 (NS) in the follow-up data in this bag, record TS bag is TSsnca;
Correspondence position in the scrambling code stream after synchronously extracts scrambling TSsca packet, judges whether TSsca has identical PID and continues_counter with TSsnca, if identically promptly store TSsca, otherwise is considered as the descrambling mistake;
With scrambling De Yin ∕ video data not, scrambling De Yin ∕ video data, other data such as TSsca that obtains in the extraction module and PTS data, PCR data are sent into staggered Multiplexing module.This module need to be selected multiplexing to the data of exporting TS stream from above-mentioned difference input according to different settings.For example, if system only handles (station symbol etc. superposes) to video data in video data, then staggered Multiplexing module is selected to be undertaken by the not video data that scrambling voice data and video code conversion module are exported multiplexing, and like this, the voice data among the output TS still is a scrambled data.For video data, be example with the SH parameter, staggered multiplexing algorithm such as Fig. 2:
Analyze not scrambling video data, location SH data original position is a cut-point with the SH original position, is an integer TS packet with the video data multiplex before the cut-point, writes down last TS bag and is TSsq;
NS under inquiry behind the SH of scrambling video data not, filtering SH data starting point is to the video data between the NS;
Extract the back in TSsq packet critical data and insert corresponding TSsca, because the order of TS bag is determined by multiplexing algorithm, TSsca can't directly be used, and 4 bytes of head of TS bag are produced by staggered Multiplexing module, remain 184 bytes and determine according to the length of different critical datas.SH has 10 bytes ~ 138 bytes, can be by the carrying of a TS bag.If SH is 132 bytes, then the Payload of this scrambling bag is 132 bytes, and remaining byte all is changed to 0xff.
According to the multiplexing mechanism of mpeg system layer, with not scrambling audio frequency and video and the output of other data multiplexs.
Be row with stream station symbol of the scrambling TS in the digital television system and captions insertion system below, provide a kind of application example of the present invention, the system handles block diagram is as follows.
As Fig. 3. shown in, digital television signal is sent into satellite set top box after being received by satellite antenna, the scrambling TS code stream of satellite set top box output ASI interface shape, when scrambling TS code stream enters CA kilocalorie descrambling system, also send into the captions inter-cut server, captions inter-cut server employing exclusive data receives the TS code stream that integrated circuit board is gathered scrambling and descrambling in real time, and the technology that adopts this patent to propose is finished staggered scrambling processing.The output of captions inter-cut server is sent into cable TV network after by the QAM modulator, is watched by user terminal.
The descrambler of experiment employing standard, product constructing systems such as set-top box and code stream transmitter.To NDS, multiple CA such as Irdeto and conax system experimentizes respectively.TS code stream after the scrambling of the different CA of employing system is obtained not scrambling code stream by descrambler descrambles, use software mode to carry out scrambling according to the scheme that this paper proposes.Code stream after the scrambling is sent into descrambler, code stream analysis is carried out in the output of descrambler, the bit stream syntax inerrancy.Simultaneously, use set-top box to cooperate the different CA that authorize to stick into the row experiment.During the CA card of use authority, can the normal decoder broadcast program, and undelegated CA card can't broadcast program.Technology in this example in Hubei when positive CHINA RFTCOM Co Ltd, Liaoning CHINA RFTCOM Co Ltd moves in a plurality of provincial, and municipal level television network broadcasts such as Tianjin CHINA RFTCOM Co Ltd, can support multiple CA system, has proved practicality of the present invention.
Beneficial effect of the present invention:
The application of multimedia service will be in Digital Television just in develop rapidly, and fields such as mobile multimedia and network flow-medium obtain to use widely.Technology-the signal scrambling technique of protection media resource will become the key technology that supports multimedia application.In the practical application, employing scrambling system (CAS) also needs audio-video frequency content is made amendment in the Network Transmission of different stage after data are carried out the scrambling processing usually.For example, video is carried out the processing such as insertion of station symbol, captions.The demand of the audio-video code stream data being handled once more for this class.Scrambled code stream need be reduced to descrambling code stream (not scrambling code stream or clear stream) by descrambler.After the descrambling code stream finished processing, also need to carry out scrambling again and handle, to guarantee the rights and interests of program supply and Virtual network operator to descrambling stream.Because it is very complicated to make up cas system, and with high costs, therefore once more scrambling to handle be a difficult problem in the present multimedia application.Provided by the invention-" disturbing the staggered MPEG code stream signal scrambling technique of ∕ descrambling code stream based on adding " can be finished the scrambling once more of high security and be handled, and system is simple, and cost is low, has avoided reusing the CW and the scrambling machine of CA system, and system is stable more and reliable.The output code flow of system is the scrambling stream format, the various ca parameters of compatible source code stream, and in the digital TV network of reality, used, will in digital multimedia system, obtain to use very widely.

Claims (5)

1. one kind based on the staggered video scrambling system of scrambling/descrambling data, the TS code stream that meets mpeg standard that is input as scrambling of this system; Be output as the TS code stream that meets mpeg standard based on the staggered scrambling of handling of scrambling/descrambling data, input signal one road is delivered to the CA descrambler, and one the road delivers to and adds flow-disturbing ∕ and separate the flow-disturbing synchronous processing module; CA descrambler output connects the first mpeg system layer demultiplexing module respectively, add flow-disturbing ∕ separates the flow-disturbing synchronous processing module; Two outputs of the described first mpeg system layer demultiplexing module are connected to based on the staggered mpeg system layer demultiplexing module of Jia ∕ descrambling data bag through video data transcoded processing module and voice data transcoded processing module respectively, describedly add first output that flow-disturbing ∕ separates the flow-disturbing synchronous processing module and be connected to described based on adding the staggered mpeg system layer demultiplexing module of ∕ descrambling data bag through key parameter and packet extraction module, second output is connected to described based on the staggered mpeg system layer demultiplexing module of Jia ∕ descrambling data bag through the second mpeg system layer demultiplexing module, wherein: the CA descrambler, be used for the CA code stream is carried out scramble process, and the descrambling kilocalorie CAM of the identical CA type with input code flow of configuration; The first mpeg system layer demultiplexing module is used to meet the system layer demultiplexing processing of mpeg standard, and the descrambling code stream that is input as the output of CA descrambler of this module is output as audio frequency, the basic layer bit stream of video; Video data transcoded processing module, voice data transcoded processing module, be respectively applied for the basic layer bit stream of video, audio frequency that the above-mentioned first mpeg system layer demultiplexing mould demultiplexing is obtained and carry out the transcoding processing, this transcoding is handled and comprised: code check variation, icon, the captions in the video data of video data insert and handle, the code stream of video data splices processing, the sampling rate conversion of voice data, the rate conversion of voice data; Add flow-disturbing ∕ and separate the flow-disturbing synchronous processing module, the Synchronous Processing that is used for this system's input scrambled data streams and CA descrambler output descrambling code stream, the input of this module is the descrambling code stream of the TS code stream that meets mpeg standard of scrambling and the output of CA descrambler, and two-way output is arranged: one tunnel output is the scrambling code stream after synchronously; The output of another road is the descrambling code stream after synchronously; Key parameter and packet extraction module, be used for each packet of the scrambling code stream ∕ descrambling code flow data after synchronous is analyzed, each packet data in the analytic solution scrambler stream, the data after extracting this packet scrambling in the scrambling code stream after synchronously; The input of this module is adding after synchronously to disturb ∕ descrambling code stream, and output is the critical packet of scrambling;
The second mpeg system layer demultiplexing module, be used to realize meeting the system layer demultiplexing processing of mpeg system, this module be input as the described Synchronous Processing result that flow-disturbing ∕ separates flow-disturbing that adds that flow-disturbing ∕ separates flow-disturbing synchronous processing module output that adds, be output as audio frequency, the video data of scrambling; Audio frequency, the video elementary code stream of output will be used for follow-up transcoding, program splicing, and word curtain ∕ icon inserts to be handled;
Based on the staggered mpeg system layer Multiplexing module of Jia ∕ descrambling data bag, be used for meeting the processing of mpeg system layer demultiplexing based on staggered the finishing of Jia ∕ descrambling data bag, it is input as audio frequency, the video data of scrambling, and output is the mpeg transport stream of scrambling once more; Adopt scrambling/descrambling code stream interleave method to carry out MPEG scrambling once more, promptly reuse any part data in the scrambled data, making not, the scrambled code flow data possesses scrambling character; The code stream that possesses scrambling character must obtain legal CA and authorize when adopting decoding terminal to decode, and just can be correctly decoded.
2. as claimed in claim 1ly it is characterized in that, describedly add the Synchronous Processing flow process that flow-disturbing ∕ separates the flow-disturbing synchronous processing module and may further comprise the steps based on the staggered video scrambling system of scrambling/descrambling data:
Step 1 intercepts the scrambling and the descrambling TS data flow of 5M byte respectively simultaneously; The 0x47 synchronous head of inquiry scrambling TS data flow, in data flow 50 of continuous-queries PID! The TS of 0x1FFF bag writes down the position of these 50 TS bags with respect to the 0x47 synchronous head, the PID of this TS bag is stored as PID0 and calculate each adjacent PID! Data break in the middle of the TS of=0x1FFF writes down and is stored as PID_INTER0 ~ PID_INTER48 respectively;
Step 2, the 0x47 synchronous head of inquiry descrambling TS code stream, the TS bag of inquiry PID=PID0 in descrambling data, after being recorded as PID_NCA0 and finding PID_NCA0, sequential search follow-up 50 PID! The TS of=0x1FFF bag, and calculate each adjacent PID! Data break in the middle of the TS of=0x1FFF, write down and be stored as PID1_NCA_INTER0 ~ PID_NCA_INTER48 respectively, with PID_INTER0 ~ PID_INTER48 and PID1_NCA_INTER0 ~ PID_NCA_INTER48 comparison, identical at interval as all, think that then Synchronous Processing finishes; Step 3, if still can't finish after the execution in step two synchronously, then the TS of next PID=PID0 of sequential search wraps behind PID_NCA0, and be updated to PID_NCA0, rollback is to step 2, and finish follow-up comparison and handle, all PID=PID0 are updated to PID_NCA0 in 5M descrambling TS data; Step 4, if still can't finish after the execution in step three synchronously, then behind PID0 sequential search next PID! The TS of=0x1FFF bag, and be updated to PID0, rollback be to step 1, and finish follow-up comparison and handle, in 5M descrambling TS data all PID!=0x1FFF is updated to PID0.
3. as claimed in claim 1 based on the staggered video scrambling system of scrambling/descrambling data, it is characterized in that described key parameter and packet extraction module flow process may further comprise the steps:
Be used for the video critical data of scrambling in the descrambling code stream after step 1, the analysis synchronously in each TS bag, comprise Data Position; Data name, bit number and extraction data volume;
After being resolved to above-mentioned data in step 2, the descrambling code stream after synchronously, extract corresponding TS packet in the scrambling code stream after synchronously synchronously, comprise following flow process:
If the TS packet number in the descrambling code stream synchronously is greater than or equal to 16, the initial packet sequence number of the TS packet that mates in the scrambling code stream after then being provided with synchronously is the 8th packet reciprocal; Otherwise the initial serial number of the TS packet that mates in the scrambling code stream after being provided with synchronously starts anew; If the TS packet number in the descrambling code stream synchronously deducts 8 smaller or equal to total TS packet number, the end packet serial number of the TS packet that mates in the scrambling code stream after then being provided with synchronously is 8 packets after the TS packet in the descrambling code stream after synchronously; Otherwise the end packet serial number of the TS packet that mates in the scrambling code stream after being provided with synchronously is last bag of the TS packet in the descrambling code stream after synchronously;
Cycle detection is carried out in the end of the TS packet that mates in the initial scrambling code stream after synchronously of the TS packet that mates the scrambling code stream after synchronously:
If the continuous counter numerical value in the scrambled data bag synchronously equals the continuous counter numerical value in the descrambling data bag, then data packet matched success; Otherwise, data packet matched failure; According to above-mentioned flow process, continuous counter numerical value con_conut_NCA according to the scrambled data bag after synchronous inquires about 16 TS packets in the scrambling code stream, the continuous counter numerical value con_conut_CA of the scrambled data bag after selecting synchronously with synchronously after the descrambling data bag in the descrambling data bag of continuous counter con_conut_NCA after synchronously in the packet that equates of continuous counter numerical value, as scrambled data bag after synchronous to be extracted.
4. as claimed in claim 1ly it is characterized in that based on the staggered video scrambling system of scrambling/descrambling data, described based on add/the staggered multiplexing flow process of mpeg system layer of descrambling data bag may further comprise the steps:
Each TS bag data is a critical data with the ordered series of numbers head SH in the MPEG-2 video coding in the analytic solution scrambler stream, checks whether this TS bag comprises SH initial code 0x000001b3; Be resolved to initial code in the TS bag after, search next grammer synchronous code NS 0x000001 in the follow-up data in this bag, record TS bag is TSsnca; Correspondence position in the scrambling code stream after synchronously extracts scrambling TSsca packet, judges whether TSsca and TSsnca have identical PID and continuous counter continues_counter, if identically promptly store TSsca, otherwise is considered as the descrambling mistake;
With scrambling De Yin ∕ video data not, scrambling De Yin ∕ video data, other data such as TSsca that obtains in the extraction module and PTS data, PCR data are sent into staggered Multiplexing module; This module need to be selected multiplexing to the data of exporting TS stream from above-mentioned difference input according to different settings;
For video data, staggered multiplexing algorithm may further comprise the steps:
Analyze not scrambling video data, location SH data original position is a cut-point with the SH original position, is an integer TS packet with the video data multiplex before the cut-point, writes down last TS bag and is TSsq; Next grammer synchronous code NS of inquiry behind the SH of scrambling video data not, filtering SH data starting point is to the video data between next grammer synchronous code NS;
Extract the back in TSsq packet critical data and insert corresponding TSsca, 4 bytes of head of TS bag are produced by staggered Multiplexing module, remain 184 bytes and determine according to the length of different critical datas; If SH has 10 bytes ~ 138 bytes, by the carrying of a TS bag; If SH is 132 bytes, then the Payload of this scrambling bag is 132 bytes, and remaining byte all is changed to 0xff.
5. as claimed in claim 1 based on the staggered video scrambling system of scrambling/descrambling data, it is characterized in that, manageable respectively Yin Pin ∕ video data meets different coding standards in the described video data transcoding Chu reason Mo Kuai ∕ voice data transcoded processing module, video comprises at least: MPEG-2, MPEG-4, H.264 ∕ AVC, H.264 SVC, H.264 various video encoding standards such as MVC and AVS; Audio frequency comprises MPEG-2 at least, AAC, dobly AC-3.
CN 201110183567 2011-07-01 2011-07-01 Scrambled/descrambled-data-scattering-based video scrambling system Expired - Fee Related CN102238418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110183567 CN102238418B (en) 2011-07-01 2011-07-01 Scrambled/descrambled-data-scattering-based video scrambling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110183567 CN102238418B (en) 2011-07-01 2011-07-01 Scrambled/descrambled-data-scattering-based video scrambling system

Publications (2)

Publication Number Publication Date
CN102238418A true CN102238418A (en) 2011-11-09
CN102238418B CN102238418B (en) 2013-04-10

Family

ID=44888557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110183567 Expired - Fee Related CN102238418B (en) 2011-07-01 2011-07-01 Scrambled/descrambled-data-scattering-based video scrambling system

Country Status (1)

Country Link
CN (1) CN102238418B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020132794A1 (en) * 2018-12-24 2020-07-02 Nokia Shanghai Bell Co., Ltd. Method, device and computer readable medium for diversity transmissions
CN112667195A (en) * 2021-01-05 2021-04-16 深圳市亿联智能有限公司 Method for descrambling feature scrambled data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269220B1 (en) * 1996-05-31 2001-07-31 Samsung Electronics Co., Ltd. System decoder and method using a single memory for a digital video disc playback device
CN1510922A (en) * 2002-12-24 2004-07-07 上海汉唐科技有限公司 Methof for sealing MPEG-4 compressive video frequency data and applied system thereof
CN101206897A (en) * 2006-12-21 2008-06-25 松下电器产业株式会社 Data transfer device
CN101729179A (en) * 2008-10-27 2010-06-09 深圳市爱国者嵌入式系统科技有限公司 Method for converting mobile multimedia broadcasting code stream to transport stream
CN101980541A (en) * 2010-11-23 2011-02-23 华亚微电子(上海)有限公司 Digital television receiving device and channel-switching method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269220B1 (en) * 1996-05-31 2001-07-31 Samsung Electronics Co., Ltd. System decoder and method using a single memory for a digital video disc playback device
CN1510922A (en) * 2002-12-24 2004-07-07 上海汉唐科技有限公司 Methof for sealing MPEG-4 compressive video frequency data and applied system thereof
CN101206897A (en) * 2006-12-21 2008-06-25 松下电器产业株式会社 Data transfer device
CN101729179A (en) * 2008-10-27 2010-06-09 深圳市爱国者嵌入式系统科技有限公司 Method for converting mobile multimedia broadcasting code stream to transport stream
CN101980541A (en) * 2010-11-23 2011-02-23 华亚微电子(上海)有限公司 Digital television receiving device and channel-switching method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020132794A1 (en) * 2018-12-24 2020-07-02 Nokia Shanghai Bell Co., Ltd. Method, device and computer readable medium for diversity transmissions
CN112667195A (en) * 2021-01-05 2021-04-16 深圳市亿联智能有限公司 Method for descrambling feature scrambled data

Also Published As

Publication number Publication date
CN102238418B (en) 2013-04-10

Similar Documents

Publication Publication Date Title
EP2454886B1 (en) Simulcast of stereoviews for 3d tv
US9756311B2 (en) Broadcast transmitter, broadcast receiver and 3D video data processing method thereof
CN104717479B (en) Broadcast receiver and 3D video data processing method thereof
US9398296B2 (en) Digital closed caption transport in standalone stream
US8665968B2 (en) Method and system for 3D video coding using SVC spatial scalability
US10623758B2 (en) Carriage systems encoding or decoding JPEG 2000 video
US8462197B2 (en) 3D video transforming device
US20110134214A1 (en) Method and system for 3d video coding using svc temporal and spatial scalabilities
CN104584562A (en) Transmission device, transmission method, reception device, and reception method
CN102484700A (en) 3d video coding formats
KR20150052029A (en) Transmitting device, transmitting method, receiving device and receiving method
KR20120044375A (en) Method of encoding video content
US10778995B2 (en) Transmission device, transmission method, reception device, and reception method
US20120154534A1 (en) Cable broadcast receiver and 3d video data processing method thereof
US8483271B2 (en) Method and system for 3D video pre-processing and post-processing
US20140049606A1 (en) Image data transmission device, image data transmission method, image data reception device, and image data reception method
MXPA01006991A (en) Sending progressive video sequences.
CN102238418A (en) Scrambled/descrambled-data-scattering-based video scrambling system
CN115550722A (en) Signaling replacement of video data units in a pip region
CN115550719A (en) Purpose of signaling preselection
Li et al. Real-time streaming and robust streaming h. 264/avc video
KR20230175242A (en) How to create/receive media files based on EOS sample group, how to transfer devices and media files
Tozer ’MPEG-2’
EP2868111A1 (en) Signalling information for consecutive coded video sequences that have the same aspect ratio but different picture resolutions

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130410

Termination date: 20160701

CF01 Termination of patent right due to non-payment of annual fee