CN112601111B - Data processing method and device and data transmission system - Google Patents
Data processing method and device and data transmission system Download PDFInfo
- Publication number
- CN112601111B CN112601111B CN202011305976.1A CN202011305976A CN112601111B CN 112601111 B CN112601111 B CN 112601111B CN 202011305976 A CN202011305976 A CN 202011305976A CN 112601111 B CN112601111 B CN 112601111B
- Authority
- CN
- China
- Prior art keywords
- data stream
- stream
- data
- processing
- characteristic code
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 35
- 230000005540 biological transmission Effects 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 claims description 46
- 230000008569 process Effects 0.000 claims description 41
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000003287 optical effect Effects 0.000 description 13
- 230000015654 memory Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000003909 pattern recognition Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a data processing method and device and a data transmission system. The data processing method includes, for example: selectively carrying out specified format coding processing on the original data stream to obtain a processed data stream; and carrying out multilayer scrambling coding processing on the processed data stream to obtain a target data stream for sending. The data processing method of the embodiment of the invention utilizes a multilayer scrambling technology to carry out multilayer scrambling on the processed data, selectively carry out coding and increase characteristic code streams, and can improve the data transmission efficiency and DC balance.
Description
Technical Field
The present invention relates to the field of data processing and transmission technologies, and in particular, to a data processing method, a data processing apparatus, and a data transmission system.
Background
At a data link layer of network communication, currently, data transmission basically adopts 8B/10B coding, 8B/9B coding or 64B/66B coding, for different data transmission protocols, the data transmission efficiency is different, the data transmission efficiency of the 8B/10B coding is about 80%, the data transmission efficiency of the 8B/9B coding is about 88.9%, the data transmission efficiency of the 64B/66B coding is about 96.9%, the corresponding decoding modes of different data transmission protocols are different, and the internal processing of the device performs data protocol format analysis by identifying corresponding feature code streams, namely data decoding.
One common data decoding process flow is: 1) Firstly, 8B/10B decoding is carried out on an input data stream, and if the 8B/10B coding characteristic code stream cannot be identified, the linear speed is switched; 2) Then 8B/9B decoding is carried out on the input data stream, and if the 8B/9B coding characteristic code stream cannot be identified, the linear speed is switched again; 3) Then, 64B/66B decoding is carried out on the input data stream, and if the 64B/66B coding feature stream cannot be identified, the linear speed is switched; and repeating the steps until the corresponding characteristic code stream is identified. In short, in the process of decoding the input data stream, the characteristic code stream is identified at regular time, if the corresponding characteristic code stream is not identified, the linear speed is switched, and then the next data coding format is identified. Wire Speed (Wire Speed) herein refers to the amount of data transmitted in 1 second, which is generally a criterion for the switching forwarding capability of a network device, and is the maximum amount of data that can be processed between a switch interface processor or interface card and a data bus.
Therefore, there are technical problems in the prior art, such as too long rate switching time, failure to stably operate in a fixed mode due to synchronous mode identification of input and output, and low effective data transmission efficiency, and therefore there is a need to improve the conventional data encoding and decoding process.
Disclosure of Invention
Therefore, an embodiment of the present invention provides a data processing method, a data processing apparatus, and a data transmission system.
Specifically, in a first aspect, a data processing method provided in an embodiment of the present invention includes: (i) Selectively carrying out specified format coding processing on the original data stream to obtain a processed data stream; and (ii) performing multi-layer scrambling coding processing on the processed data stream to obtain a target data stream for transmission, including: (ii-a) when the processed data stream contains the code characteristic code stream with the specified format, performing first scrambling processing on the processed data stream but not performing the first scrambling processing on the code characteristic code stream with the specified format contained in the processed data stream to obtain a scrambled data stream, and then performing second scrambling processing on data containing the code characteristic code stream with the specified format in the scrambled data stream; or, (ii-b) when the processed data stream does not contain the code characteristic code stream of the specified format, performing target format coding on the processed data stream and adding a code characteristic code stream of the target format to obtain a coded data stream, performing the first scrambling processing on the coded data stream without performing the first scrambling processing on the code characteristic code stream of the target format contained in the coded data stream to obtain a coded scrambled data stream, and performing the second scrambling processing on data containing the code characteristic code stream of the target format in the coded scrambled data stream.
The data processing method of the embodiment of the invention utilizes a multilayer scrambling technology to carry out multilayer scrambling on the processed data, selectively carry out coding and increase characteristic code streams, and can improve the data transmission efficiency and DC balance.
In an embodiment of the present invention, the selectively performing the specified-format encoding process on the original data stream to obtain a processed data stream includes: carrying out the specified format coding on the original data stream and adding the specified format coding characteristic code stream to obtain a coded data stream containing the specified format coding characteristic code stream as the processed data stream; or, the original data stream is not subjected to the specified format coding to obtain a data stream which does not contain the specified format coding feature code stream and is used as the processed data stream. Wherein the specified format code is 8B/10B code, 8B/9B code, 64B/66B code, 64B/67B code, 128B/130B code or 128B/132B code.
In one embodiment of the invention, the first scrambling process and the second scrambling process use the same scrambler polynomial.
In a second aspect, a data processing method provided in an embodiment of the present invention includes: (I) Performing multi-layer descrambling on an input data stream to obtain a multi-layer descrambled data stream containing a feature code stream, wherein the multi-layer descrambling comprises performing first descrambling on the input data stream to obtain a descrambled data stream containing the feature code stream, and performing second descrambling on data except the feature code stream in the descrambled data stream; (II) identifying the characteristic code stream in the multi-layer descrambled data stream; and (III-1) when the characteristic code stream is identified to be a target format coding characteristic code stream, performing target format decoding on the data stream after the multilayer descrambling; or (III-2) when the characteristic code stream is identified not to be the target format coding characteristic code stream, carrying out specified format decoding different from the target format decoding on the data stream after the multilayer descrambling.
In one embodiment of the invention, the first descrambling process and the second descrambling process use the same scrambler polynomial.
In an embodiment of the present invention, the data processing method further includes: and in the process of carrying out multi-layer descrambling processing on the input data stream to obtain a multi-layer descrambled data stream containing the characteristic code stream, synchronously carrying out characteristic code stream identification on the input data stream to try to carry out decoding in the specified format. The embodiment can realize synchronous identification of various coding formats.
In a third aspect, a data processing apparatus provided in an embodiment of the present invention includes: the specified format coding processing module is used for selectively carrying out specified format coding processing on the original data stream to obtain a processed data stream; and a multilayer scrambling coding processing module, configured to perform multilayer scrambling coding processing on the processed data stream to obtain a target data stream for sending, including: when the processed data stream contains a code characteristic code stream with a specified format, performing first scrambling processing on the processed data stream but not performing the first scrambling processing on the code characteristic code stream with the specified format contained in the processed data stream to obtain a scrambled data stream, and performing second scrambling processing on data containing the code characteristic code stream with the specified format in the scrambled data stream; or when the processed data stream does not contain the specified format coding characteristic code stream, performing target format coding on the processed data stream and adding a target format coding characteristic code stream to obtain a coded data stream, performing the first scrambling processing on the coded data stream but not performing the first scrambling processing on the target format coding characteristic code stream contained in the coded data stream to obtain a coded scrambled data stream, and performing the second scrambling processing on data containing the target format coding characteristic code stream in the coded scrambled data stream.
The data processing device of the embodiment of the invention utilizes a multilayer scrambling technology to carry out multilayer scrambling on the processed data, selectively carry out coding and increase characteristic code streams, and can improve the data transmission efficiency and DC balance.
In a fourth aspect, a data processing apparatus provided in an embodiment of the present invention includes: the multi-layer descrambling and decoding processing module is used for performing multi-layer descrambling on the input data stream to obtain a multi-layer descrambled data stream containing a characteristic code stream, wherein the multi-layer descrambling and decoding processing module comprises the steps of performing first descrambling and processing on the input data stream to obtain a descrambled data stream containing the characteristic code stream, and then performing second descrambling and processing on data except the characteristic code stream in the descrambled data stream; identifying the characteristic code stream in the multi-layer descrambled data stream; when the characteristic code stream is a target format coding characteristic code stream, carrying out target format decoding on the data stream after the multilayer descrambling; and the specified format decoding processing module is used for carrying out specified format decoding different from the target format decoding on the data stream after the multilayer descrambling when the characteristic code stream is not the target format coding characteristic code stream.
In one embodiment of the present invention, the data processing apparatus further includes: a data stream path switching module, which is connected with the multi-layer descrambling and decoding processing module and the specified format decoding processing module; when the input data stream is transmitted to the multilayer descrambling and decoding processing module and synchronously transmitted to the specified format decoding processing module through the data stream path switching module, the specified format decoding processing module is used for synchronously identifying the characteristic code stream of the input data stream to try to decode in the specified format in the process that the multilayer descrambling and decoding processing module carries out multilayer descrambling on the input data stream to obtain the multilayer descrambled data stream containing the characteristic code stream. The embodiment can realize synchronous identification of various coding formats.
In a fifth aspect, a data transmission system provided in an embodiment of the present invention includes: the data sending end comprises a first programmable logic device, and the first programmable logic device is used for executing the corresponding data processing method to obtain the target data stream for sending; and the data receiving end comprises a second programmable logic device, and the second programmable logic device is used for receiving the target data stream to obtain an input data stream and executing the corresponding data processing method.
In an embodiment of the present invention, the data sending end is a sending card applied to an LED display screen control system, and the data receiving end is a splitter or a photoelectric converter. In the embodiment, a multilayer scrambling technology is introduced into the LED display screen control system, so that the data transmission efficiency and DC balance among the devices in the LED display screen control system can be improved.
As can be seen from the above, the above technical solution may have one or more of the following advantages: based on a multilayer scrambling technology, the processed data is subjected to multilayer scrambling, selectively coded and added with characteristic code streams, so that the data transmission efficiency, the DC balance and the bandwidth data efficiency can be improved, the linear speed switching can be avoided, and the problem of slow mode identification is solved; furthermore, the random timing switching mode can avoid the problem that the input and output can not stably work in the fixed mode due to the synchronous mode identification.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a data processing method according to a first embodiment of the present invention.
Fig. 2 is a flow chart illustrating sub-steps of the data processing method shown in fig. 1.
Fig. 3A is a block diagram of a data processing apparatus according to a first embodiment of the present invention.
Fig. 3B is a schematic diagram of the multi-layer scrambling principle of the first embodiment of the present invention.
Fig. 4 is a flowchart illustrating a data processing method according to a second embodiment of the present invention.
Fig. 5A is a block diagram of a data processing apparatus according to a second embodiment of the present invention.
Fig. 5B is a schematic diagram of a multi-layer descrambling principle of a second embodiment of the present invention.
FIG. 6 is a flowchart illustrating another data processing method according to a second embodiment of the present invention.
Fig. 7 is a block diagram of another data processing apparatus according to a second embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a data transmission system according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
[ first embodiment ] A
Referring to fig. 1, a data processing method according to a first embodiment of the present invention is applicable to a data sending end and includes the following steps S11 and S13, for example.
S11: selectively carrying out specified format coding processing on the original data stream to obtain a processed data stream;
s13: and carrying out multilayer scrambling coding processing on the processed data stream to obtain a target data stream for sending.
Specifically, as shown in fig. 2, when step S11 performs sub-step S11a: and performing the specified format coding on the original data stream and adding a specified format coding feature code stream to obtain a coded data stream containing the specified format coding feature code stream as the processed data stream, and then step S13 correspondingly performs substep S13a: and performing first scrambling processing on the processed data stream but not performing the first scrambling processing on the code characteristic code stream of the specified format contained in the processed data stream to obtain a scrambled data stream, and performing second scrambling processing on data containing the code characteristic code stream of the specified format in the scrambled data stream.
Still alternatively, when step S11 performs sub-step S11b: if the specified format coding is not performed on the original data stream to obtain a data stream not containing the specified format coding feature code stream as the processed data stream, step S13 correspondingly performs substep S13b: and performing target format coding on the processed data stream, adding a target format coding characteristic code stream to obtain a coded data stream, performing the first scrambling processing on the coded data stream but not performing the first scrambling processing on the target format coding characteristic code stream contained in the coded data stream to obtain a coded scrambled data stream, and performing the second scrambling processing on data containing the target format coding characteristic code stream in the coded scrambled data stream.
In view of the above, the present embodiment provides a multi-layer scrambling technique, which can improve data transmission efficiency, DC Balance (or DC Balance) and bandwidth data efficiency, and simultaneously can avoid the linear speed switching back and forth, so as to solve the problem of slow mode identification; furthermore, the random timing switching mode can avoid the problem that the input and output can not stably work in a fixed mode because the mode identification is carried out synchronously.
In order to more clearly understand the data processing method of the first embodiment, the following description will be made with reference to the data processing apparatus 10 shown in fig. 3A:
as is known, if the data transmission coding format is 8B10B coding, the data bandwidth is 10G/S, the effective data transmission efficiency is 80%, and the actual data is 8G/S. If the line speed is fixed at 10G/S, the multi-layer scrambling technique of this embodiment can be used, for example, to improve the effective data transmission efficiency to 99.99%, close to 100%, and the effective data bandwidth is about 10G/S. Therefore, the input and output caused by the linear speed switching back and forth can be prevented from being troubled by synchronous pattern recognition.
As can be seen from fig. 3A, the format-specified encoding processing module 11 and the multi-layer scrambling encoding processing module 13 in the data processing apparatus 10 are respectively controlled by the enable control signals EN1 and EN2, and the states of the enable control signals EN1 and EN2 are typically opposite to each other, that is, when EN1 is in the enable state, EN2 is in the disable state; on the contrary, when EN1 is disabled, EN2 is enabled.
If the specified format coding processing module 11 (corresponding to the sub-step S11 a) is enabled by the enable control signal EN1, for example, 8B/10B coding processing is enabled, data transmission is transmitted in an 8B/10B coding format, and in the process of data transmission, a specified format coding feature code stream, for example, an 8B/10B coding feature code stream (which is identification data similar to the expression form of the first 3 bytes of the MAC address) is added, so that the data receiving end can recognize that the current coding format of the data transmitting end is 8B/10B coding.
After the 8B/10B coding processing (corresponding to the specified format coding processing) is enabled by the enable control signal EN1, because the 8B/10B coding characteristic code stream (corresponding to the specified format coding characteristic code stream) is added in the data stream, the enable control signal EN2 is in a disabled state, the multilayer scrambling coding processing module 13 executes multilayer scrambling (corresponding to the substep S13 a), but the multilayer scrambling coding characteristic code stream (corresponding to the target format coding characteristic code stream) is not added in the data stream, so that DC equalization can be performed, and the high-speed signal common-mode interference is reduced.
Conversely, the specified format coding processing module 11 may also be disabled by enabling the enable control signal EN1 to be in a disable state (corresponding to the sub-step S11B), for example, 8B/10B coding is turned off, and the multilayer scrambling coding processing module 13 is enabled by enabling the enable control signal EN2 to perform multilayer scrambling and coding (corresponding to the sub-step S13B), data transmission is performed at an efficiency close to 100%, and a multilayer scrambling coding feature stream (corresponding to a target format coding feature stream) is added in the data transmission process, so that the data receiving end can recognize that the current coding format of the data transmitting end is multilayer scrambling coding. Here, the 8B/10B encoding feature stream and the multi-layer scrambling encoding feature stream are different. It should be noted that the specified format encoding processing module 11 of the present embodiment is not limited to execute the 8B/10B encoding process, and may execute other encoding processes, such as 8B/9B encoding, 64B/66B encoding, 64B/67B encoding, 128B/130B encoding, or 128B/132B encoding.
In light of the above, no matter whether the enable control signal EN2 is in the enable state, the multi-layer scrambling process executed by the multi-layer scrambling code processing module 13 is, for example, as shown in fig. 3B: 1) The data stream before the multilayer scrambling comprises a characteristic code stream KEY00 and data D00-D06 except the characteristic code stream kEY00, wherein the characteristic code stream KEY00 can be the coding characteristic code stream with the specified format or the multilayer scrambling coding characteristic code stream; 2) In the first scrambling processing process, only scrambling processing is carried out on data D00-D06 in the data stream before the multilayer scrambling to obtain scrambled data D10-D16, but scrambling processing is not carried out on the characteristic code stream KEY00 in the data stream before the multilayer scrambling, so that a first scrambled data stream composed of the characteristic code stream KEY00 and the scrambled data D10-D16 is obtained; 3) In the second scrambling process, the data stream after the first scrambling process is subjected to overall data scrambling, that is, the feature code stream KEY00 and the scrambled data D11-D16 in the data stream after the first scrambling process are subjected to scrambling process, so that a multi-layer scrambled data stream containing the scrambled data KEY10 and D20-D26 is obtained. It is worth mentioning that the first scrambling process and the second scrambling process use the same scrambler polynomial, e.g., G (x) =1+ x 39 +x 58 Or other scrambler polynomials.
[ second embodiment ] A
Referring to fig. 4, a data processing method according to a second embodiment of the present invention is applicable to a data receiving end and includes, for example, the following steps S41 and S43, and S45 or S47.
S41: performing multi-layer descrambling on an input data stream to obtain a multi-layer descrambled data stream containing a characteristic code stream, wherein the multi-layer descrambling comprises performing first descrambling on the input data stream to obtain a descrambled data stream containing the characteristic code stream, and performing second descrambling on data except the characteristic code stream in the descrambled data stream;
s43: identifying the characteristic code stream in the data stream after the multi-layer descrambling;
s45: when the characteristic code stream is identified to be a target format coding characteristic code stream, carrying out target format decoding on the data stream after the multilayer descrambling;
s47: and when the characteristic code stream is identified not to be the target format coding characteristic code stream, carrying out specified format decoding different from the target format decoding on the multi-layer descrambled data stream.
Specifically, in step S41, the feature code stream may be the aforementioned multi-layer scrambling encoding feature code stream, or the aforementioned specific format encoding feature code stream, such as 8B/10B encoding feature code stream, 8B/9B encoding feature code stream, 64B/66B encoding feature code stream, 64B/67B encoding feature code stream, 128B/130B encoding feature code stream, or 128B/132B encoding feature code stream. In step S43, it can be determined by identifying the content of the feature code stream which data encoding format, e.g. multi-layer scrambling encoding, is adopted by the data sending end, or which data encoding format, e.g. 8B/10B, 8B/9B, 64B/66B, 64B/67B, 128B/130B or 128B/132B, is specified. In step S45, when the identified feature code stream is a target format coded feature code stream, for example, a multi-layer scrambled coded feature code stream, the target format decoding is performed on the multi-layer descrambled data stream, or the multi-layer descrambling decoding is continuously performed on the input data stream for a subsequent period of time. In step S47, when the identified feature code stream is a specific format coded feature code stream, for example, an 8B/10B coded feature code stream, 8B/10B decoding is performed on the multi-layer descrambled data stream, or multi-layer descrambling and 8B/10B decoding are continuously performed on the input data stream in a subsequent period of time.
In order to more clearly understand the data processing method of the second embodiment, the following description will be made with reference to the data processing apparatus 40 shown in fig. 5A:
as can be seen from fig. 5A, the data processing apparatus 40 includes a multi-layer descrambling and decoding processing module 41 and a specified format decoding processing module 47; the multi-layer descrambling and decoding processing module 41 is controlled by an enable control signal EN3 and can output a decoding validity signal En-Valid1, and the specified format decoding processing module 47 is controlled by an enable control signal EN4 and can output a decoding validity signal En-Valid2.
In the process of pattern recognition at the data receiving end, the enable control signals EN3 and EN4 are both in an enable state, the multi-layer descrambling and decoding processing module 41 performs multi-layer descrambling on the input data stream to obtain a multi-layer descrambled data stream and recognizes whether the feature code stream in the multi-layer descrambled data stream is a multi-layer scrambling code feature code stream, if the multi-layer scrambling code feature code stream is recognized, the multi-layer descrambled data stream is subjected to target format decoding, and the state of the decoding validity signal EN-Valid1 is output as legal to control the enable control signal EN4 to be switched to a disable state, if the preset duration, for example, 1000 clocks are not recognized, the state of the decoding validity signal EN-Valid1 is output as illegal, and the multi-layer descrambled data stream is sent to the specified format decoding processing module 47 to attempt to perform specified format decoding, for example, such as 8B/10B decoding. If the specified format decoding processing module 47 identifies that the feature code stream in the multi-layer descrambled data stream is an 8B/10B encoded feature code stream, the state of the output decoding validity signal En-Valid2 is legal to control the enabling control signal En3 to be switched to the disabling state; on the contrary, if the preset time duration, for example, 1000 clocks, cannot be identified, the state of the output decoding validity signal En-Valid2 is illegal.
As for the multi-layer descrambling process of the present embodiment, which is the inverse process of the aforementioned multi-layer scrambling process, specifically, see fig. 5B: 1) The data stream before the multilayer descrambling comprises scrambled data D20-D26 and KEY10; 2) In the first descrambling process, performing overall data descrambling on the data stream before the multi-layer descrambling to obtain a first descrambled data stream containing scrambled data D10-D16 and a feature code stream KEY 00; 3) In the second descrambling process, the scrambled data D10-D16 in the data stream after the first descrambling process are descrambled to obtain unscrambled data D00-D06, but the feature code stream KEY00 in the data stream after the first descrambling process is not descrambled again, so that a multi-layer descrambled data stream containing the feature code stream KEY00 and the data D00-D06 is obtained. It is worth mentioning that the first descrambling process and the second descrambling process use the same scrambler polynomial, for example, G (x) =1+ x 39 +x 58 Or other scrambling codesA polynomial of the machine.
Further, as shown in fig. 6, in the process of performing the pattern recognition at the data receiving end, when performing the steps S41 and S43, step S42 may be performed synchronously, that is, the characteristic code stream recognition is performed synchronously on the input data stream to try to perform the decoding in the specified format, for example, the decoding in 8B/10B, 8B/9B, 64B/66B, 64B/67B, 128B/130B or 128B/132B. In step S41, if the code feature stream of the specified format is identified, the process proceeds to step S47.
The flow of steps of the data processing method shown in fig. 6 can be implemented by using the data processing apparatus shown in fig. 7. As shown in fig. 7, a data stream path switching module 48 is further connected between the multi-layer descrambling and decoding processing module 41 and the specified format decoding processing module 47, and the data stream path switching module 48 is controlled by a switching control signal SW. Accordingly, in the process of performing mode identification at the data receiving end, the enable control signals EN3 and EN4 are both in the enable state and the control signal SW is set to 1, so that the input data stream is synchronously transmitted to the multi-layer descrambling and decoding processing module 41 and the specified format decoding processing module 47 for feature code stream identification. At this time, the multilayer descrambling and decoding processing module 41 performs multilayer scrambling and feature code stream identification on the input data stream, if the preset duration, for example, 1000 clocks, do not identify the multilayer scrambling and encoding feature code stream, the state of the output decoding validity signal En-Valid1 is illegal, otherwise, the state of the output decoding validity signal En-Valid1 is legal; similarly, the specified format decoding processing module 47 directly performs specified format decoding, such as 8B/10B decoding, on the input data stream, and if the preset time duration, such as 1000 clocks, does not identify the 8B/10B encoding feature stream, the state of the output decoding validity signal En-Valid2 is illegal, otherwise, the state of the output decoding validity signal En-Valid2 is legal. For example, if the state of En-Valid1 is legal but the state of En-Valid2 is illegal, the input data stream is a multi-layer scrambled encoded data stream, so that EN4 is controlled to be switched to a disabled state and EN3 is kept to be in an enabled state; or if the state of the En-Valid1 is illegal and the state of the En-Valid2 is legal, the input data stream is an unscrambled 8B/10B coded data stream, so that the EN4 is controlled to keep the enable state and the switching control signal SW is controlled to keep the state at 1; or, if the state of En-Valid1 is illegal and the state of En-Valid2 is illegal, which indicates that the input data stream may be a multi-layer scrambled 8B/10B encoded data stream, then EN3 is controlled to switch to the disabled state and EN4 is kept in the enabled state, while the switch control signal SW is set to 0.
In addition, corresponding to the data processing apparatus including the data stream path switching module 48 shown in fig. 7, a data stream path switching module may be added between the specified format encoding processing module 11 and the multi-layer scrambling encoding processing module 13 of the data processing apparatus 10 shown in fig. 3A, so that the data processing apparatus 10 may further output an unscrambled specified format encoded data stream, such as an unscrambled 8B/10B encoded data stream.
[ third embodiment ] A
Referring to fig. 8, a data transmission system 80 according to a third embodiment of the present invention includes: a data transmitting end 81 and a data receiving end 83. The data sending end 81 includes a first programmable logic device 811, and the first programmable logic device 811 is, for example, configured to execute the data processing method described in the foregoing first embodiment to obtain the target data stream for sending; the data receiving end 83 includes a second programmable logic device 831, and the second programmable logic device 831 includes a data processing method for receiving the target data stream to obtain an input data stream and performing the foregoing second embodiment, for example.
In the above description, the first Programmable logic device 811 and the second Programmable logic device 831 are, for example, FPGA (Field Programmable Gate Array) devices, respectively, but the embodiment of the present invention is not limited thereto.
For example, the data sending end 81 is a sending card applied to an LED display screen control system, and the data receiving end 83 is a splitter or a photoelectric converter.
The transmitting card includes, for example, a video input interface circuit, an output interface circuit, and the first programmable logic device 811 electrically connected between the video input interface circuit and the output interface circuit; the video input interface circuit comprises a digital video interface such as HDMI, DVI, DP, etc. and a video decoder electrically connected between the first programmable logic device 811 and the video interface; and, the output interface circuit includes, for example, an optical port and an optical module such as an SFP optical module electrically connected between the optical port and the first programmable logic device 811, or includes a network port and an ethernet PHY chip electrically connected between the network port and the first programmable logic device 811.
The splitter includes, for example, an input interface circuit, an output interface circuit, and the second programmable logic device 831 electrically connected between the input interface circuit and the output interface circuit; the input interface circuit includes, for example, an optical port and an optical module electrically connected between the optical port and the second programmable logic device 831, or includes a network port and an ethernet PHY chip electrically connected between the network port and the second programmable logic device 831; and the output interface circuit includes, for example, a plurality of network ports and a plurality of ethernet PHY chips electrically connected between the second programmable logic device 831 and the plurality of network ports, respectively.
Similarly, the photoelectric converter includes, for example, an input interface circuit, an output interface circuit, and the second programmable logic device 831 electrically connected between the input interface circuit and the output interface circuit; the input interface circuit includes, for example, an optical port and an optical module electrically connected between the optical port and the second programmable logic device 831; and, the output interface circuit includes, for example, a plurality of ports and a plurality of ethernet PHY chips electrically connected between the second programmable logic device 831 and the plurality of ports, respectively.
In addition, the embodiment of the invention also provides a data processing system, for example, comprising a memory and a processor connected with the memory. The memory may be, for example, a non-volatile memory having a computer program stored thereon. The processor may be an embedded processor, for example. The processor executes the data processing method of the foregoing first embodiment and/or second embodiment when executing the computer program. The specific operation and technical effects of the data processing system in this embodiment are described in the foregoing first embodiment and/or second embodiment.
Furthermore, the embodiment of the invention also provides a computer readable storage medium. The computer-readable storage medium is, for example, a nonvolatile memory, which is, for example: magnetic media (e.g., hard disks, floppy disks, and magnetic tape), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices that are specially constructed for the storage and execution of computer-executable instructions (e.g., read-only memories (ROMs), random Access Memories (RAMs), flash memories, etc.). The computer-readable storage medium has stored thereon computer-executable instructions. The computer-readable storage medium can be executed by one or more processors or processing devices to implement the data processing method in the foregoing first embodiment and/or second embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and technical solutions of the embodiments can be arbitrarily combined and used without conflict between technical features and structures, and without departing from the purpose of the present invention.
Furthermore, it should be appreciated that in the embodiments provided by the present invention, the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or in the form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (11)
1. A data processing method, comprising:
selectively carrying out specified format coding processing on the original data stream to obtain a processed data stream; and
performing multi-layer scrambling coding processing on the processed data stream to obtain a target data stream for sending, including:
when the processed data stream contains the code characteristic code stream with the specified format, performing first scrambling processing on the processed data stream, but not performing the first scrambling processing on the code characteristic code stream with the specified format contained in the processed data stream to obtain scrambled data stream, and performing second scrambling processing on data containing the code characteristic code stream with the specified format contained in the scrambled data stream; or,
when the processed data stream does not contain the code characteristic code stream of the specified format, carrying out target format coding on the processed data stream and adding a target format code characteristic code stream to obtain a coded data stream, carrying out the first scrambling processing on the coded data stream but not carrying out the first scrambling processing on the target format code characteristic code stream contained in the coded data stream to obtain a coded scrambled data stream, and then carrying out the second scrambling processing on data containing the target format code characteristic code stream in the coded scrambled data stream.
2. The data processing method of claim 1, wherein selectively performing a specified format encoding process on the original data stream to obtain a processed data stream, comprises:
carrying out the specified format coding on the original data stream and adding the specified format coding feature code stream to obtain a coded data stream containing the specified format coding feature code stream as the processed data stream; or alternatively
Not coding the original data stream in the specified format to obtain a data stream which does not contain the coding feature code stream in the specified format and is used as the processed data stream;
wherein the specified format code is 8B/10B code, 8B/9B code, 64B/66B code, 64B/67B code, 128B/130B code or 128B/132B code.
3. The data processing method of claim 1 or 2, wherein the first scrambling process and the second scrambling process employ the same scrambler polynomial.
4. A method of data processing, comprising:
performing multi-layer descrambling on an input data stream to obtain a multi-layer descrambled data stream containing a characteristic code stream, wherein the multi-layer descrambling comprises performing first descrambling on the input data stream to obtain a descrambled data stream containing the characteristic code stream, and performing second descrambling on data except the characteristic code stream in the descrambled data stream;
identifying the characteristic code stream in the multi-layer descrambled data stream; and
when the characteristic code stream is identified to be a target format coding characteristic code stream, carrying out target format decoding on the data stream after the multilayer descrambling; or when the characteristic code stream is identified not to be the target format coding characteristic code stream, carrying out specified format decoding different from the target format decoding on the data stream after the multilayer descrambling.
5. The data processing method of claim 4, wherein the first descrambling process and the second descrambling process use the same scrambler polynomial.
6. The data processing method of claim 4 or 5, further comprising:
and synchronously identifying the characteristic code stream of the input data stream to try to decode in the specified format in the process of carrying out multi-layer descrambling processing on the input data stream to obtain a multi-layer descrambled data stream containing the characteristic code stream.
7. A data processing apparatus for performing the data processing method of claim 1 or 2 or 3 and comprising:
the specified format coding processing module is used for selectively carrying out specified format coding processing on the original data stream to obtain a processed data stream; and
the multi-layer scrambling coding processing module is used for carrying out multi-layer scrambling coding processing on the processed data stream to obtain a target data stream for sending, and comprises the following steps:
when the processed data stream contains the code characteristic code stream with the specified format, performing first scrambling processing on the processed data stream but not performing the first scrambling processing on the code characteristic code stream with the specified format contained in the processed data stream to obtain a scrambled data stream, and performing second scrambling processing on data containing the code characteristic code stream with the specified format contained in the scrambled data stream; or,
when the processed data stream does not contain the code characteristic code stream of the specified format, carrying out target format coding on the processed data stream and adding a target format code characteristic code stream to obtain a coded data stream, carrying out the first scrambling processing on the coded data stream but not carrying out the first scrambling processing on the target format code characteristic code stream contained in the coded data stream to obtain a coded scrambled data stream, and then carrying out the second scrambling processing on data containing the target format code characteristic code stream in the coded scrambled data stream.
8. A data processing apparatus for performing the data processing method of claim 4 or 5 and comprising:
the multilayer descrambling and decoding processing module is used for performing multilayer descrambling processing on the input data stream to obtain a multilayer descrambled data stream containing a characteristic code stream, wherein the multilayer descrambling processing comprises performing first descrambling processing on the input data stream to obtain a descrambled data stream containing the characteristic code stream, and then performing second descrambling processing on data except the characteristic code stream in the descrambled data stream; identifying the characteristic code stream in the multi-layer descrambled data stream; when the characteristic code stream is a target format coding characteristic code stream, performing target format decoding on the data stream after the multi-layer descrambling;
and the specified format decoding processing module is used for decoding the specified format which is different from the target format decoding on the data stream after the multilayer descrambling when the characteristic code stream is not the target format coding characteristic code stream.
9. The data processing apparatus of claim 8, further comprising:
a data stream path switching module, which is connected with the multi-layer descrambling and decoding processing module and the specified format decoding processing module;
when the input data stream is transmitted to the multilayer descrambling and decoding processing module and is synchronously transmitted to the specified format decoding processing module through the data stream path switching module, the specified format decoding processing module is used for synchronously identifying the characteristic code stream of the input data stream to try to decode in the specified format in the process that the multilayer descrambling and decoding processing module carries out multilayer descrambling on the input data stream to obtain the multilayer descrambled data stream containing the characteristic code stream.
10. A data transmission system, comprising:
a data sending end, including a first programmable logic device, and the first programmable logic device is configured to execute the data processing method according to any one of claims 1 to 3 to obtain the target data stream for sending; and
a data receiving end comprising a second programmable logic device, and the second programmable logic device is configured to receive the target data stream to obtain an input data stream, and execute the data processing method according to any one of claims 4 to 6.
11. The data transmission system of claim 10, wherein the data transmitting end is a transmitting card applied to an LED display screen control system, and the data receiving end is a splitter or an optical-to-electrical converter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011305976.1A CN112601111B (en) | 2020-11-19 | 2020-11-19 | Data processing method and device and data transmission system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011305976.1A CN112601111B (en) | 2020-11-19 | 2020-11-19 | Data processing method and device and data transmission system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112601111A CN112601111A (en) | 2021-04-02 |
CN112601111B true CN112601111B (en) | 2023-03-14 |
Family
ID=75183479
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011305976.1A Active CN112601111B (en) | 2020-11-19 | 2020-11-19 | Data processing method and device and data transmission system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112601111B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005228401A (en) * | 2004-02-12 | 2005-08-25 | Sony Corp | Information recording apparatus and method, information reproducing apparatus, information recording and reproducing apparatus, and recording medium |
JP2005327472A (en) * | 1999-11-16 | 2005-11-24 | Victor Co Of Japan Ltd | Optical disk recording or reproducing apparatus |
CN101277181A (en) * | 2008-05-04 | 2008-10-01 | 福州大学 | Dynamic multilayer encryption method for managing flow medium digital authority |
CN103248918A (en) * | 2013-05-16 | 2013-08-14 | 无锡北斗星通信息科技有限公司 | DVB (Digital Video Broadcasting) conditional sending device integrating basic data and normal data scrambling |
CN106533656A (en) * | 2016-11-18 | 2017-03-22 | 东莞理工学院 | Key multilayer mixed encryption/decryption method based on WSN |
CN107154833A (en) * | 2016-03-04 | 2017-09-12 | 华为技术有限公司 | The method and apparatus for transmitting information |
CN107948675A (en) * | 2017-11-22 | 2018-04-20 | 中山大学 | A kind of H.264/AVC video format compatible encryption method based on CABAC codings |
CN111063287A (en) * | 2018-10-17 | 2020-04-24 | 西安诺瓦星云科技股份有限公司 | Display control system |
CN111917558A (en) * | 2020-08-13 | 2020-11-10 | 南开大学 | Video frame data double-authentication and hierarchical encryption method based on block chain |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6820230B2 (en) * | 2002-03-05 | 2004-11-16 | The United States Of America As Represented By The Secretary Of The Navy | Self synchronous scrambler apparatus and method for use in dense wavelength division multiplexing |
US7167560B2 (en) * | 2002-08-08 | 2007-01-23 | Matsushita Electric Industrial Co., Ltd. | Partial encryption of stream-formatted media |
US8509435B2 (en) * | 2006-12-07 | 2013-08-13 | Broadcom Corporation | Method and system for a transport single key change point for all package identifier channels |
US9769506B2 (en) * | 2011-03-16 | 2017-09-19 | Zte (Usa) Inc. | Methods and apparatus for independent decryption of encrypted video frames |
CN104426631B (en) * | 2013-09-06 | 2018-03-06 | 华为技术有限公司 | The method and device that data are handled |
US9641851B2 (en) * | 2014-04-18 | 2017-05-02 | Qualcomm Incorporated | Conformance window information in multi-layer coding |
-
2020
- 2020-11-19 CN CN202011305976.1A patent/CN112601111B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005327472A (en) * | 1999-11-16 | 2005-11-24 | Victor Co Of Japan Ltd | Optical disk recording or reproducing apparatus |
JP2005228401A (en) * | 2004-02-12 | 2005-08-25 | Sony Corp | Information recording apparatus and method, information reproducing apparatus, information recording and reproducing apparatus, and recording medium |
CN101277181A (en) * | 2008-05-04 | 2008-10-01 | 福州大学 | Dynamic multilayer encryption method for managing flow medium digital authority |
CN103248918A (en) * | 2013-05-16 | 2013-08-14 | 无锡北斗星通信息科技有限公司 | DVB (Digital Video Broadcasting) conditional sending device integrating basic data and normal data scrambling |
CN107154833A (en) * | 2016-03-04 | 2017-09-12 | 华为技术有限公司 | The method and apparatus for transmitting information |
CN106533656A (en) * | 2016-11-18 | 2017-03-22 | 东莞理工学院 | Key multilayer mixed encryption/decryption method based on WSN |
CN107948675A (en) * | 2017-11-22 | 2018-04-20 | 中山大学 | A kind of H.264/AVC video format compatible encryption method based on CABAC codings |
CN111063287A (en) * | 2018-10-17 | 2020-04-24 | 西安诺瓦星云科技股份有限公司 | Display control system |
CN111917558A (en) * | 2020-08-13 | 2020-11-10 | 南开大学 | Video frame data double-authentication and hierarchical encryption method based on block chain |
Non-Patent Citations (2)
Title |
---|
De Bruijn sequences for secure scrambling at Long Term Evolution - Advanced physical layer;Chirag Warty;《2013 IEEE Global Communications Conference (GLOBECOM)》;20140612;全文 * |
混沌流密码研究;胡汉平;《计算机安全》;20051110;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112601111A (en) | 2021-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10198393B2 (en) | System transparent retimer | |
US8903000B2 (en) | Transmission circuit, reception circuit, transmission method, reception method, communication system and communication method therefor | |
US9059844B2 (en) | Ethernet apparatus and method for selectively operating multiple lanes | |
US20060153238A1 (en) | Transfer of control data between network components | |
US4944038A (en) | Method and apparatus for utilization of dual latency stations for performance improvement of token ring networks | |
CN101527826B (en) | Video monitoring front-end system | |
RU2678715C2 (en) | Data transmission protocol with protocol exception state | |
US20110106997A1 (en) | Methods and apparatus for interconnecting sas/sata devices using either electrical or optical transceivers | |
JP5696308B2 (en) | Node device, integrated circuit and control method in ring transmission system | |
WO2014187070A1 (en) | Data transmission method, device and system | |
JPH07193658A (en) | Method and device for bypass information communication in analog and data communication | |
US8180935B2 (en) | Methods and apparatus for interconnecting SAS devices using either electrical or optical transceivers | |
JPH03265324A (en) | Bite width elastic buffer | |
CN113132552B (en) | Video stream processing method and device | |
EP1700224B1 (en) | Receiver corporation | |
CN112601111B (en) | Data processing method and device and data transmission system | |
US7516237B2 (en) | Scalable device-to-device interconnection | |
CA2349584C (en) | Node insertion and removal in a loop network | |
KR101162018B1 (en) | A packet structure for a mobile display digital interface | |
EP3319249A1 (en) | Transmission checking method, node, system and computer storage medium | |
US20220171452A1 (en) | Power state control for multi-channel interfaces | |
FR2682245A1 (en) | SYSTEM FOR TESTING A VERY HIGH-SPEED RING-SHAPED NETWORK AND METHOD FOR IMPLEMENTING SAID SYSTEM | |
US8954626B2 (en) | Transmission system and method thereof | |
CN112732602A (en) | Electronic device, network switch and interrupt transmission and receiving method | |
CN111031019A (en) | Method and system for realizing E1 communication protocol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |