CN105681865B - Automatic scrambling channel allocation method and system - Google Patents

Automatic scrambling channel allocation method and system Download PDF

Info

Publication number
CN105681865B
CN105681865B CN201511032896.2A CN201511032896A CN105681865B CN 105681865 B CN105681865 B CN 105681865B CN 201511032896 A CN201511032896 A CN 201511032896A CN 105681865 B CN105681865 B CN 105681865B
Authority
CN
China
Prior art keywords
stream
scrambled
scrambling
board
code rate
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.)
Active
Application number
CN201511032896.2A
Other languages
Chinese (zh)
Other versions
CN105681865A (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.)
WELLAV TECHNOLOGIES Ltd
Original Assignee
Huizhou Wellav Technologies 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 Huizhou Wellav Technologies Co ltd filed Critical Huizhou Wellav Technologies Co ltd
Priority to CN201511032896.2A priority Critical patent/CN105681865B/en
Publication of CN105681865A publication Critical patent/CN105681865A/en
Application granted granted Critical
Publication of CN105681865B publication Critical patent/CN105681865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • H04N21/43853Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]

Abstract

The invention discloses an automatic allocation method of scrambling channels, which comprises the following steps: accessing a digital program TS to an input daughter board; the input sub-board transmits the TS stream of the digital program to the main board; the main board checks the digital program TS stream, marks a TS stream to be scrambled, and transmits the TS stream to be scrambled to the scrambling sub-board; and the TS flow to be scrambled is identified through the scrambling sub-board, a scrambling channel is automatically distributed to the TS flow to be scrambled, and the scrambled TS flow is fed back to the main board and then is output from the output sub-board. The invention also provides an automatic scrambling channel distribution system. The technical scheme of automatic distribution of the scrambling channels provided by the invention can greatly reduce manual operation, automatically distribute and process the TS stream input to the scrambling daughter board, avoid multiple operations of the TS multiplexing code stream during scrambling, and improve the convenience of the scrambling operation of the TS stream of the digital program.

Description

Automatic scrambling channel allocation method and system
Technical Field
The invention relates to the technical field of digital televisions, in particular to a scrambling channel automatic allocation method and a scrambling channel automatic allocation system.
Background
At present, in a conventional digital front-end multiplexing device, functions of multiplexing, demultiplexing, scrambling, descrambling, encoding, modulating, and the like of a TS (Transport Stream) are mainly realized.
The scrambling is a very critical technology in the digital tv front-end multiplexer, and according to the existing processing mechanism of the digital tv System for outputting the multiplexed stream, a user is required to perform 2 operations on the digital tv program TS stream in a Network Management operation System (NMS), including: if the input stream needs to be scrambled, the TS stream to be scrambled must be dragged to the scrambling board for scrambling, and then the scrambled TS stream is dragged from the scrambling board to the output daughter board for output, so as to implement the scrambling function of the TS stream. The existing processing mechanism is quite troublesome for the manual operation of the user, and particularly under the condition of a large number of programs, a large number of frequent user operations are required. The scrambling sub-board is used as a middle over-functional sub-board, and for a user, the user does not care whether the TS multiplexing code stream enters or exits the scrambling sub-board, and only needs to care that the input TS multiplexing code stream is output after being scrambled. In view of this situation, the method for multiplexing the conventional scrambled TS stream is modified, and the scrambling operation of the digital television program TS stream is simplified, so as to facilitate the use of the user.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a technical scheme for realizing automatic allocation of scrambling channels in digital front-end multiplexing equipment, wherein a TS stream to be scrambled is identified on a main board, and the TS stream input to a scrambling sub-board is subjected to automatic shunting processing, so that multiple operations of a TS multiplexing code stream during scrambling are avoided, and the convenience of the scrambling operation of the TS stream of a digital program is improved.
In order to solve the above technical problem, in one aspect, an embodiment of the present invention provides an automatic scrambling channel allocation method, including:
accessing a digital program TS to an input daughter board;
the input sub-board transmits the TS stream of the digital program to a main board;
the main board checks the digital program TS stream, identifies a TS stream to be scrambled, and transmits the TS stream to be scrambled to a scrambling sub-board;
and the TS flow to be scrambled is identified through the scrambling sub-board, a scrambling channel is automatically distributed to the TS flow to be scrambled, and the scrambled TS flow is fed back to the main board and then output from the output sub-board.
Preferably, a custom packet header is arranged on the TS stream to be scrambled; identifying multiplexing processing information of the TS stream to be scrambled through the custom packet header; the multiplexing processing information comprises the program number, the destination information and the mark information to be scrambled of the TS stream to be scrambled.
In an implementation manner, the automatically allocating, by the scrambling daughter board, a scrambling channel to the TS stream to be scrambled, and feeding back the scrambled TS stream to the output daughter board for output includes:
extracting a synchronous clock from the TS stream to be scrambled;
monitoring the code rate change of the TS stream to be scrambled in real time according to the synchronous clock;
when detecting that the total code rate of the TS stream to be scrambled changes, carrying out code rate statistics on the digital program corresponding to the TS stream to be scrambled, of which the code rate changes according to the program number;
according to the code rate obtained by statistics, carrying out shunting processing on the TS stream to be scrambled, and carrying out channel distribution on a digital program corresponding to the TS stream to be scrambled; the TS stream to be scrambled comprises an audio data packet, a video data packet and a PCR packet;
and carrying out scrambling processing on the TS streams to be scrambled according to the channels which are respectively allocated.
Further, the automatically distributing a scrambling channel to the TS stream to be scrambled by the scrambling daughter board, and outputting the scrambled TS stream from the output daughter board after feeding back the scrambled TS stream to the main board, further includes:
multiplexing the TS stream after scrambling processing and ECM data or EMM data obtained by analysis, feeding back the multiplexed scrambled TS stream to the main board, and then outputting the scrambled TS stream from the output sub-board.
Further, the scrambling channel automatic allocation method further includes:
identifying a TS stream to be descrambled in the digital program TS through the scrambling daughter board;
performing descrambling processing on the TS stream to be descrambled, and releasing a corresponding code rate value from the total code rate of the channel where the TS stream to be descrambled is located so as to release the occupied space of the channel;
and directly transmitting the TS stream to be descrambled to the main board and then outputting the TS stream from the output sub-board.
On the other hand, an embodiment of the present invention further provides an automatic scrambling channel allocation system, including: the input sub-board, the output sub-board, the scrambling sub-board and the main board;
the input sub-board is used for accessing a digital program TS stream and transmitting the digital program TS stream to the main board;
the main board is used for checking the digital program TS, identifying TS to be scrambled and transmitting the TS to be scrambled to the scrambling sub-board;
the scrambling sub-board is used for identifying the TS stream to be scrambled, automatically distributing a scrambling channel to the TS stream to be scrambled, feeding the scrambled TS stream back to the main board and then outputting the TS stream from the output sub-board.
Preferably, a custom packet header is arranged on the TS stream to be scrambled; identifying multiplexing processing information of the TS stream to be scrambled through the custom packet header; the multiplexing processing information comprises the program number, the destination information and the mark information to be scrambled of the TS stream to be scrambled.
In one implementable manner, the scrambling daughter board comprises:
a synchronous clock extraction module, configured to extract a synchronous clock from the TS stream to be scrambled;
the code rate detection module is used for monitoring the code rate change of the TS stream to be scrambled in real time according to the synchronous clock;
the code rate counting module is used for carrying out code rate counting on the digital program corresponding to the TS stream to be scrambled, which has the changed code rate, according to the program number when the change of the total code rate of the TS stream to be scrambled is detected;
the channel distribution module is used for carrying out shunting processing on the TS stream to be scrambled according to the code rate obtained by statistics and carrying out channel distribution on the digital program corresponding to the TS stream to be scrambled; the TS stream to be scrambled comprises audio data packets, video data packets and PCR (Program Clock Reference) packets;
and the scrambling processing module is used for scrambling the TS streams to be scrambled according to the channels which are respectively distributed.
Further, the scramble sub-board further includes:
and the multiplexing module is used for multiplexing the TS stream subjected to scrambling processing and ECM data or EMM data obtained by analysis, feeding back the multiplexed scrambled TS stream to the main board, and then outputting the multiplexed scrambled TS stream from the output sub-board.
Further, the scrambling daughter board is further configured to:
identifying a TS stream to be descrambled in the digital program TS through the scrambling daughter board;
performing descrambling processing on the TS stream to be descrambled, and releasing a corresponding code rate value from the total code rate of the channel where the TS stream to be descrambled is located so as to release the occupied space of the channel;
and the output sub-board is also used for directly outputting the TS stream to be descrambled. According to the technical scheme for automatically distributing the scrambling channels, the TS stream to be scrambled is marked in the digital program TS stream through the main board, the TS stream to be scrambled is automatically transmitted to the scrambling sub-board, the scrambling sub-board identifies the TS stream to be scrambled in the digital program TS stream, and the operation that a user manually drags the TS stream to be scrambled to the scrambling sub-board is not needed; and the scrambling sub-board automatically distributes the scrambling channels to the TS streams to be scrambled, so that the automatic distribution of the scrambling channels can be realized, the scrambled TS streams are fed back to the main board and then output from the output sub-board, a large amount of manual operations are avoided, the scrambling process is simplified, and the scrambling efficiency of the digital television TS streams is improved. According to the technical scheme provided by the invention, because a user can not see the information of the scrambling daughter board and the mainboard in a network management operation interface and only inputs the information of the daughter board and the information of the daughter board, the user does not need to care about the implementation process of the scrambling daughter board, and the scrambling daughter board can automatically distribute channels according to the accessed TS stream to be scrambled, so that the operation of the user is greatly simplified, and the convenience of the operation is improved.
Drawings
Fig. 1 is a flowchart of steps of an embodiment of an automatic scrambling channel allocation method provided by the present invention.
Fig. 2 is a schematic diagram of an embodiment of a custom packet header of a general daughter board input TS stream provided by the present invention.
Fig. 3 is a schematic diagram of an embodiment of a custom packet header of a general daughter board output TS stream provided by the present invention.
Fig. 4 is a schematic diagram of an embodiment of a custom packet header of a TS stream of a scrambling daughter board provided by the present invention.
Fig. 5 is a flowchart of steps of an embodiment of the invention for performing channel automatic distribution in a scrambling daughter board.
Fig. 6 is a schematic structural diagram of an embodiment of the scrambling channel automatic distribution system provided by the present invention.
Fig. 7 is a schematic structural diagram of an embodiment of a scrambling daughter board provided by the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, it is a flowchart of the steps of an embodiment of the scrambling channel automatic allocation method provided in the present invention.
In this embodiment, the method for automatically allocating scrambling channels mainly includes the following steps S1 to S4:
step S1: accessing a digital program TS (Transport Stream) Stream to an input daughter board;
step S2: the input sub-board transmits the TS stream of the digital program to a main board;
step S3: the main board checks the digital program TS stream, marks a TS stream to be scrambled, and transmits the TS stream to be scrambled to the scrambling sub-board;
step S4: the scrambling daughter board identifies digital program TS flow to be scrambled, and the scrambled TS flow is fed back to the main board and then output from the output daughter board through automatically distributing scrambling channels to the TS flow to be scrambled.
In this embodiment, in order to distinguish the TS streams of each digital program, a custom packet header is set on the TS stream to be scrambled; identifying multiplexing processing information of the TS stream to be scrambled through the custom packet header; the multiplexing processing information includes, but is not limited to, a program number, direction-removing information, and mark information to be scrambled of the TS stream to be scrambled.
In a specific implementation, the digital television program TS stream may include a normal daughter board input TS stream, a normal daughter board output TS stream, and a scrambled daughter board input/output TS stream. Each TS stream is inserted with a custom header of 8 bytes for storing multiplexing information.
Fig. 2 is a schematic diagram of an embodiment of a custom packet header of a general daughter board input TS stream provided by the present invention; fig. 3 is a schematic diagram of an embodiment of a custom packet header of a general daughter board output TS stream provided by the present invention; referring to fig. 4, it is a schematic diagram of an embodiment of a custom packet header of an input/output TS stream of a scrambling daughter board provided in the present invention.
The custom packet header of the TS stream input by the common daughter board mainly comprises: the destination Information Dst _ channel and Dest _ slot of the TS stream, a bypass flag of a program Event Information Table (EIT) identifier, and a clock reference Time base; the custom packet header of the TS stream output by the common daughter board mainly comprises: temporary marking information Temp _ pid of a data packet of TS stream, destination information Dest _ slot, EIT identification bypass flag, clock reference Time base and reserved bytes of 11 bits; the self-defined packet header of the input and output TS stream of the scrambling daughter board comprises: program code Program _ num, TS stream flag information SCR _ flag to be scrambled, destination information Dst _ channel and Dest _ slot of the TS stream, EIT identification bypass flag, clock reference Time base and 1-bit reserved byte. When the value of the EIT identifier of 8 bytes in the custom packet headers of the three TS streams is set as 0x5A hexadecimal number, selecting the EIT of the program event information table; when the value is hexadecimal number 0x59, bypass communication setting is selected; for a TS Packet containing audio and video data (PES Packet), the system distinguishes that the TS data Packet cannot be distinguished due to PID collision when TS streams are multiplexed by using the temporary TS Packet marking information Temp _ PID of the TS, and the PID, namely a Packet Identifier (PID for short), extracts the data in the TS data Packet to combine into the audio and video of a program.
In specific implementation, when a TS stream to be scrambled enters the scrambling daughter board, information of final destination (destination of the output daughter board) must be carried, and the custom packet header of the TS stream must be consistent before and after input and output.
In this embodiment, the TS multiplexed stream to be scrambled has no channel information after being transmitted to the scrambling daughter board, and the multiplexed TS stream sent to the scrambling daughter board must be split due to the limitation of the scrambling daughter board in performing the bandwidth processing of the scrambling check data. In specific implementation, according to the code stream of the program, the multiplexing TS stream is automatically and evenly distributed to each channel through the scrambling daughter board.
Referring to fig. 5, it is a flowchart of the steps of one embodiment of the present invention for performing channel automatic distribution in the scrambling daughter board.
In one implementation, the step S4 includes:
step S41: and extracting a synchronous clock from the TS stream to be scrambled. The time reference allocated to a channel needs to be acquired, and the change of the code rate of the multiplexed code stream sent to the daughter board by the main board can be detected, for example, the change of the total code rate value is detected after the system is powered on or when the system is restarted or a user adds or cancels program scrambling.
Step S42: monitoring the total code rate change of the TS stream to be scrambled in real time according to a synchronous clock;
step S43: when detecting that the total code rate of the TS stream to be scrambled changes, carrying out code rate statistics on the digital program corresponding to the TS stream to be scrambled, of which the code rate changes according to the program number;
step S44: according to the code rate obtained by statistics, carrying out shunting processing on the TS stream to be scrambled, and carrying out channel distribution on a digital program corresponding to the TS stream to be scrambled; the TS stream to be scrambled comprises an audio data packet, a video data packet and a PCR packet;
step S45: and scrambling the TS stream to be scrambled according to the respectively allocated channels.
In specific implementation, the above channel allocation for the digital television program TS stream mainly includes three processing procedures:
first, code stream change detection is performed. Specifically, under the application scene that the equipment is powered on or restarted or a new program is added for scrambling or the scrambling of the program is canceled, code stream change detection can be carried out on TS (transport stream) streams sent to the scrambling daughter board; and starting a subsequent program channel distribution function after detecting that the total code rate is changed.
Then, program code stream statistics is carried out. When detecting that the total code rate changes, the code rate statistics needs to be carried out on the program with the changed code rate each time, so that the standby channel allocation module carries out channel allocation on the program according to the size of the code rate; the code rate statistics is according to program level statistics, and when the multiplexed stream is sent to the scrambling daughter board, each program needs to be numbered, so that the code rate statistics and the channel allocation are performed according to the program number during channel allocation. In the present embodiment, a Program number (Program _ num) is already inserted into the TS stream custom header (as shown in fig. 4). In this embodiment, the data stream to be sent to the scramble daughter board is only audio, video data packets, and PCR (Program Clock Reference) packets.
Thirdly, program channel allocation is achieved. And when the program code rate is counted, starting to distribute channels according to the program numbers.
Further, in this embodiment, the step S4 further includes:
step S46: multiplexing the TS stream after scrambling processing and ECM data or EMM data obtained by analysis, feeding back the multiplexed scrambled TS stream to the main board, and then outputting the scrambled TS stream from the output sub-board.
In a digital television system using the MPEG-2 standard, two data streams relating to a program stream CA (Conditional Access) system are: entitlement Control Message (ECM) and Entitlement Management Message (EMM).
The scrambler scrambles the code stream, mainly calculates partial data in the code stream, and scrambles the original sequence. Thus, if the decoding is performed directly according to the MPEG-2 format, the audio and video will not be decoded. The scrambler needs to send EMM data, and the set-top box can know whether the corresponding user has the right to watch the corresponding program according to the EMM data. If yes, allowing a series of operations such as subsequent descrambling; if no authority exists, descrambling is not carried out, and thus control over the user is achieved. If the user does not pay, the authorization information is not sent, so that the user cannot watch the program. The scrambler needs to send ECM data, and the set-top box can descramble the code stream according to the data, so that a normal MPEG-2 code stream can be recovered.
Further, in this embodiment, the method for automatically allocating scrambling channels further includes:
identifying a TS stream to be descrambled in the digital program TS through the scrambling daughter board;
performing descrambling processing on the TS stream to be descrambled, and releasing a corresponding code rate value from the total code rate of the channel where the TS stream to be descrambled is located so as to release the occupied space of the channel;
and directly transmitting the TS stream to be descrambled to the main board and then outputting the TS stream from the output sub-board.
Corresponding to the scrambling channel automatic allocation method provided by the embodiment, the embodiment of the invention also provides an automatic scrambling channel allocation system.
Referring to fig. 6, it is a schematic structural diagram of an embodiment of the scrambling channel automatic distribution system provided in the present invention.
In this embodiment, the system for automatically allocating scrambling channels includes: an input sub-board 10, an output sub-board 20, a scramble sub-board 30, and a main board 40.
The input daughter board 10 is configured to access a digital program TS stream and transmit the digital program TS stream to the main board 40;
the main board 40 is configured to check the digital program TS stream, mark a to-be-scrambled TS stream, and transmit the to-be-scrambled TS stream to the scrambling daughter board 30;
the scrambling daughter board 30 is configured to automatically allocate a scrambling channel to the TS stream to be scrambled, and feed back the scrambled TS stream to the motherboard 40;
the output sub-board 20 is configured to output the scrambled TS stream from the scrambled sub-board and the unscrambled TS stream from the input sub-board.
In specific implementation, a custom packet header is arranged on the TS stream to be scrambled; identifying multiplexing processing information of the TS stream to be scrambled through the custom packet header; the multiplexing processing information comprises the program number, the destination information and the mark information to be scrambled of the TS stream to be scrambled.
Referring to fig. 7, it is a schematic structural diagram of an embodiment of a scrambling daughter board provided in the present invention.
In one implementable manner, the scrambling daughter board 30 includes:
a synchronous clock extraction module 31, configured to extract a synchronous clock from the TS stream to be scrambled;
a code rate detection module 32, configured to monitor a code rate change of the TS stream to be scrambled in real time according to a synchronous clock;
the code rate statistics module 33 is configured to perform code rate statistics on a digital program corresponding to the TS stream to be scrambled, which has a changed code rate, according to the program number when detecting that the total code rate of the TS stream to be scrambled changes;
the channel allocation module 34 is configured to perform split processing on the TS stream to be scrambled according to the code rate obtained through statistics, and perform channel allocation on a digital program corresponding to the TS stream to be scrambled; the TS stream to be scrambled comprises an audio data packet, a video data packet and a PCR packet;
and a scrambling processing module 35, configured to perform scrambling processing on the TS streams to be scrambled according to the channels allocated to the TS streams.
In specific implementation, the scrambling daughter board 30 may further include a DDR cache and code stream adjustment functional module 36 and a pseudo random sequence tag (CW) query module 37 between the channel allocation module 34 and the scrambling processing module 35.
Preferably, the scramble sub-board 30 further includes: and a multiplexing module 38, configured to multiplex the scrambled TS stream with the ECM data or EMM data obtained through analysis, and feed back the multiplexed scrambled TS stream to the main board 40, and then output the scrambled TS stream from the output daughter board. After the channels are distributed (default 12 channels), all the TS streams sent to the scramble daughter board 30 are processed, and then sent to 12 scramble kernel boards for scrambling, and finally the parsed ECM or EMM data and the data scrambled by 12 channels are multiplexed into 1 for being sent back to the main board. Note that the custom headers for all TS data streams remain unchanged throughout.
Further, the scrambling sub-board 30 is further configured to: identifying a TS stream to be descrambled in the digital program TS through the scrambling daughter board 30; performing descrambling processing on the TS stream to be descrambled, and releasing a corresponding code rate value from the total code rate of the channel where the TS stream to be descrambled is located so as to release the occupied space of the channel; and the number of the first and second groups,
the output sub-board 20 is further configured to directly output the TS stream to be descrambled. That is, the TS stream to be descrambled or the TS stream not to be scrambled may be directly output from the output sub-board 20 without being processed by the scrambling sub-board 30, thereby saving resources of the scrambling sub-board 30.
It should be noted that the basic principle of the scrambling channel automatic allocation system provided in this embodiment is the same as that of the scrambling channel automatic allocation method provided in the foregoing embodiment, and details are not described here.
According to the technical scheme for automatically distributing the scrambling channels, the TS stream to be scrambled is marked in the digital program TS stream through the main board, the TS stream to be scrambled is automatically transmitted to the scrambling sub-board, the scrambling sub-board identifies the TS stream to be scrambled in the digital program TS stream, and the operation that a user manually drags the TS stream to be scrambled to the scrambling sub-board is not needed; and the scrambling sub-board automatically distributes the scrambling channels to the TS streams to be scrambled, so that the automatic distribution of the scrambling channels can be realized, the scrambled TS streams are fed back to the output sub-board to be output, a large amount of manual operation is avoided, the scrambling process is simplified, and the scrambling efficiency of the digital television TS streams is improved.
According to the technical scheme provided by the invention, because a user can not see the information of the scrambling daughter board in a network management operation interface and only inputs the information of the daughter board and the information of the output daughter board, the user does not need to care about the implementation process of the scrambling daughter board, in the digital front-end multiplexing system, the user only needs to directly scramble or cancel the scrambling operation on the program on the output daughter board, and the scrambling daughter board can automatically distribute channels according to the accessed TS stream to be scrambled, so that the operation of the user is greatly simplified, and the convenience of operation is improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (6)

1. A scrambling channel automatic allocation method is characterized by comprising the following steps:
accessing a digital program TS to an input daughter board;
the input sub-board transmits the TS stream of the digital program to a main board;
the main board checks the digital program TS stream, marks a TS stream to be scrambled, and transmits the TS stream to be scrambled to the scrambling sub-board;
the TS flow to be scrambled is identified through the scrambling sub-board, a scrambling channel is automatically distributed to the TS flow to be scrambled, the scrambled TS flow is fed back to the main board and then output from the output sub-board, and the method comprises the following steps:
extracting a synchronous clock from the TS stream to be scrambled;
monitoring the code rate change of the TS stream to be scrambled in real time according to the synchronous clock;
when detecting that the total code rate of the TS stream to be scrambled changes, carrying out code rate statistics on the digital program corresponding to the TS stream to be scrambled, of which the code rate changes according to the program number;
according to the code rate obtained by statistics, carrying out shunting processing on the TS stream to be scrambled, and carrying out channel distribution on a digital program corresponding to the TS stream to be scrambled; the TS stream to be scrambled comprises an audio data packet, a video data packet and a PCR packet;
scrambling TS flows to be scrambled according to the channels which are respectively distributed;
identifying a TS stream to be descrambled in the digital program TS through the scrambling daughter board;
performing descrambling processing on the TS stream to be descrambled, and releasing a corresponding code rate value from the total code rate of the channel where the TS stream to be descrambled is located so as to release the occupied space of the channel;
and directly transmitting the TS stream to be descrambled to the main board and then outputting the TS stream from the output sub-board.
2. The method for automatically distributing scrambling channels according to claim 1, wherein a custom packet header is set on the TS stream to be scrambled;
identifying multiplexing processing information of the TS stream to be scrambled through the custom packet header; the multiplexing processing information comprises the program number, the destination information and the mark information to be scrambled of the TS stream to be scrambled.
3. The method for automatically distributing scrambling channels according to claim 1, wherein the scrambling channels are automatically distributed to the TS streams to be scrambled by a scrambling daughter board, and the scrambled TS streams are fed back to the main board and then output from the output daughter board, further comprising:
multiplexing the TS stream after scrambling processing and ECM data or EMM data obtained by analysis, and outputting the multiplexed scrambled TS stream from the output sub-board after feeding back the multiplexed TS stream to the main board.
4. An automatic scrambling channel assignment system, comprising: the system comprises an input sub-board, an output sub-board, a main board and a scrambling sub-board;
the input sub-board is used for accessing a digital program TS stream and transmitting the digital program TS stream to the main board;
the main board is used for checking the digital program TS, identifying TS to be scrambled and transmitting the TS to be scrambled to the scrambling sub-board;
the scrambling daughter board is used for identifying the TS stream to be scrambled, automatically distributing a scrambling channel to the TS stream to be scrambled, feeding the scrambled TS stream back to the main board and then outputting the TS stream from the output daughter board,
the scrambling daughter board includes:
a synchronous clock extraction module, configured to extract a synchronous clock from the TS stream to be scrambled;
the code rate detection module is used for monitoring the code rate change of the TS stream to be scrambled in real time according to the synchronous clock;
the code rate counting module is used for carrying out code rate counting on the digital program corresponding to the TS stream to be scrambled, which has the changed code rate, according to the program number when the change of the total code rate of the TS stream to be scrambled is detected;
the channel distribution module is used for carrying out shunting processing on the TS stream to be scrambled according to the code rate obtained by statistics and carrying out channel distribution on the digital program corresponding to the TS stream to be scrambled; the TS stream to be scrambled comprises an audio data packet, a video data packet and a PCR packet;
the scrambling processing module is used for scrambling the TS streams to be scrambled according to the channels which are respectively distributed;
the scrambling daughterboard is further configured to:
identifying a TS stream to be descrambled in the digital program TS through the scrambling daughter board;
performing descrambling processing on the TS stream to be descrambled, and releasing a corresponding code rate value from the total code rate of the channel where the TS stream to be descrambled is located so as to release the occupied space of the channel; and the number of the first and second groups,
and the output sub-board is also used for directly outputting the TS stream to be descrambled.
5. The automatic distribution system of the scrambling channel of claim 4, wherein a custom packet header is set on the TS stream to be scrambled;
identifying multiplexing processing information of the TS stream to be scrambled through the custom packet header; the multiplexing processing information comprises the program number, the destination information and the mark information to be scrambled of the TS stream to be scrambled.
6. The scrambling channel automatic distribution system of claim 4 wherein said scrambling daughter board further comprises:
and the multiplexing module is used for multiplexing the TS stream subjected to scrambling processing and ECM data or EMM data obtained by analysis, feeding back the multiplexed scrambled TS stream to the main board, and then outputting the multiplexed scrambled TS stream from the output sub-board.
CN201511032896.2A 2015-12-31 2015-12-31 Automatic scrambling channel allocation method and system Active CN105681865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511032896.2A CN105681865B (en) 2015-12-31 2015-12-31 Automatic scrambling channel allocation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511032896.2A CN105681865B (en) 2015-12-31 2015-12-31 Automatic scrambling channel allocation method and system

Publications (2)

Publication Number Publication Date
CN105681865A CN105681865A (en) 2016-06-15
CN105681865B true CN105681865B (en) 2020-10-30

Family

ID=56298593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511032896.2A Active CN105681865B (en) 2015-12-31 2015-12-31 Automatic scrambling channel allocation method and system

Country Status (1)

Country Link
CN (1) CN105681865B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573104B (en) * 2021-07-15 2023-05-23 北京数字电视国家工程实验室有限公司 Method for branching and combining transmission code stream, code stream branching device, combining device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159437A (en) * 2006-10-04 2008-04-09 三星电子株式会社 Broadcasting receiving apparatus and control method thereof
CN101166262A (en) * 2006-10-19 2008-04-23 三星电子株式会社 Digital broadcasting receiver and scrambled channel determination method thereof
CN101527810A (en) * 2008-12-31 2009-09-09 赵照 MQAM multifunctional transmission system
JP2011139335A (en) * 2009-12-28 2011-07-14 Toshiba Corp Broadcast receiving apparatus and broadcast receiving method
CN104303422A (en) * 2012-01-27 2015-01-21 苹果公司 Methods and apparatus for intelligent scrambling of control symbols
CN105122343A (en) * 2013-03-15 2015-12-02 苹果公司 Methods and apparatus for scrambling symbols over multi-lane serial interfaces

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159437A (en) * 2006-10-04 2008-04-09 三星电子株式会社 Broadcasting receiving apparatus and control method thereof
CN101166262A (en) * 2006-10-19 2008-04-23 三星电子株式会社 Digital broadcasting receiver and scrambled channel determination method thereof
CN101527810A (en) * 2008-12-31 2009-09-09 赵照 MQAM multifunctional transmission system
JP2011139335A (en) * 2009-12-28 2011-07-14 Toshiba Corp Broadcast receiving apparatus and broadcast receiving method
CN104303422A (en) * 2012-01-27 2015-01-21 苹果公司 Methods and apparatus for intelligent scrambling of control symbols
CN105122343A (en) * 2013-03-15 2015-12-02 苹果公司 Methods and apparatus for scrambling symbols over multi-lane serial interfaces

Also Published As

Publication number Publication date
CN105681865A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN1174619C (en) Scrambling unit for digital transmission system
JP4557548B2 (en) Partial encryption and packet identifier mapping
US8165293B2 (en) Method and system providing scrambled content
JP5161862B2 (en) Decryption and decoding of partially encrypted data
JP2005515725A5 (en)
JP4448693B2 (en) Partial encryption of important packets
KR20000070915A (en) Data multiplexing device, program distribution system, program transmission system, pay broadcast system, program transmission method, conditional access system, and data reception device
JP2010051032A (en) Partial encryption, and packet identifier mapping
EP2373019A1 (en) Secure descrambling of an audio / video data stream
US20080095366A1 (en) Digital video receiver, ecm extract equipment, emm extract equipment, scramble key extract equipment, cci extract equipment, digital video receiving system, ecm extract method, emm extract method, scramble key extract method, cci extract method, digital video receiving method, and recording medium
JP4446743B2 (en) Elementary stream partial encryption
US9210383B2 (en) Conditional access to encrypted media content
JP2005515726A5 (en)
JP3348683B2 (en) Digital broadcast receiver
JP2005515694A5 (en)
JP2005516559A5 (en)
JP4446742B2 (en) Time division partial encryption
CN105681865B (en) Automatic scrambling channel allocation method and system
JP2005514886A5 (en)
JP2000124893A (en) Conversion method for enciphering/decoding algorithm, and transmitter and receiver in cipher communication system
EP2852169B1 (en) A multi-programme transport stream common interface controller
KR20140025134A (en) Method and apparatus for transmitting conditional access message in dmb system
US20090165071A1 (en) System and method for reducing audio video bandwidth in a home network
KR100672464B1 (en) Set-top box
CN102611934A (en) System and method coexisting card CA (Conditional Access) and cardless CA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 516025 No. 1, Shunchang Road, Huinan Industrial Park, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Patentee after: WELLAV TECHNOLOGIES Ltd.

Address before: 516006 Huitai Industrial Zone 63, Zhongkai High-tech Zone, Huizhou City, Guangdong Province

Patentee before: HUIZHOU WELLAV TECHNOLOGIES Co.,Ltd.