Scrambling method, descrambling method and display device

By using a variety of scrambling code switching technologies in data transmission to scramble image frame data, the problems of high autocorrelation and poor anti-interference ability of coded data in the existing technology are solved, and higher coding randomness and Anti-EMI ability reduces bit error rate.

CN118660171APending Publication Date: 2024-09-17KUNSHAN GO VISIONOX OPTO ELECTRONICS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410741186.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The encoding data caused by the scrambling method in the prior art has high autocorrelation, low randomness, and poor EMI resistance. Especially when a long string of zeros appears in the source sequence, it is difficult to effectively suppress static image jitter and electromagnetic interference during data transmission. .

Method used

Use at least two different scrambling codes to scramble multiple display data sequences in the image frame data, and generate different scrambling codes by switching scrambling code polynomials to improve coding randomness and anti-interference capabilities. Specific methods include using linear feedback shift A bit register generates the scrambling code and switches different scrambling polynomials in the scrambling circuit.

Benefits of technology

It effectively reduces the autocorrelation of the encoded data, improves the encoding randomness and EMI resistance, reduces the bit error rate, and enhances the stability and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660171A
    Figure CN118660171A
Patent Text Reader

Abstract

The invention discloses a scrambling method, a descrambling method and a display device, and belongs to the technical field of data transmission. The scrambling method is applied to a sending end of the display device, and comprises the following steps: scrambling a plurality of display data sequences in image frame data by adopting at least two different scrambling codes to generate a plurality of display coding sequences in a frame display data packet. According to the embodiment of the invention, the autocorrelation of the scrambled coded data can be reduced, the coding randomness is improved, and the anti-EMI capability in the data transmission process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a scrambling method, a descrambling method and a display device. Background Art

[0002] In digital communication systems, it is usually assumed that the source sequence is a random sequence, but the data sequence sent by the actual source may not meet this condition. In particular, when a long string of zeros appears in the source sequence, it will cause certain difficulties for the receiving end to extract the signal. To solve the above problem, the source sequence can be "scrambled" to randomize the source sequence, and then the "scrambled" sequence can be "descrambled" in a corresponding manner at the receiving end to restore the original source sequence. In the image communication of the display device, the scrambling code can effectively suppress the jitter of the static image and make the digital transmission system transparent to various digital information. However, the coded data obtained by the scrambling method in the related art has a high autocorrelation, low coding randomness, and poor anti-EMI (Electromagnetic Interference) capability during data transmission. Summary of the invention

[0003] The present invention provides a scrambling method, a descrambling method and a display device to reduce the autocorrelation of scrambled coded data, improve coding randomness, and improve the anti-EMI capability during data transmission.

[0004] In a first aspect, an embodiment of the present invention provides a scrambling method, which is applied to a transmitting end of a display device, and the scrambling method includes:

[0005] At least two different scrambling codes are used to scramble multiple display data sequences in the image frame data to generate multiple display coding sequences in the frame display data packet.

[0006] Optionally, different scrambling codes are generated based on different scrambling code polynomials; and the scrambling code polynomials corresponding to at least two display data sequences are different;

[0007] Preferably, the process of scrambling the display data sequence includes:

[0008] Controlling the scrambling circuit to switch to the linear feedback shift register having the scrambling code polynomial corresponding to the display data sequence, encoding the display data sequence according to the scrambling code generated by the linear feedback shift register based on a preset encoding method to obtain the display coding sequence;

[0009] Preferably, the number of bits of different linear feedback shift registers is the same;

[0010] Preferably, the initial seed values ​​of different linear feedback shift registers are set independently;

[0011] Preferably, the initial seed values ​​of different linear feedback shift registers are set to be different;

[0012] Preferably, the preset encoding mode is 8B / 9B encoding mode.

[0013] Optionally, the scrambling circuit comprises: a plurality of linear feedback shift registers, each having a different scrambling code polynomial;

[0014] Alternatively, the scrambling circuit includes: a shift register group, a selection module and at least two feedback branches; the selection module is used to control whether each feedback branch is connected to the shift register group to form a linear feedback shift register; wherein different linear feedback shift registers formed by different feedback branches and the shift register group have different scrambling code polynomials.

[0015] Optionally, different scrambling codes are generated based on different scrambling code polynomials; and the scrambling code polynomials corresponding to at least two display data sequences are different;

[0016] The display data sequence includes: display area polynomial switching instructions and pixel data;

[0017] The process of scrambling the display data sequence includes:

[0018] Determine the scrambling code polynomial corresponding to the display data sequence according to the display area polynomial switching instruction;

[0019] Scrambling the pixel data in the display data sequence according to the scrambling code generated by the scrambling code polynomial corresponding to the display data sequence to obtain a pixel coding sequence; wherein the display coding sequence includes the display area polynomial switching instruction and the pixel coding sequence;

[0020] Preferably, in the image frame data, a pixel data in the display data sequence corresponds to relevant data required for displaying a row of sub-pixels in the display device;

[0021] Preferably, in the image frame data, the display data sequences are arranged in sequence, each odd-numbered display data sequence corresponds to a first scrambling code polynomial, and each even-numbered display data sequence corresponds to a second scrambling code polynomial.

[0022] Optionally, the display device is a liquid crystal display device, and the display data sequence further includes: a display area polarity control instruction for controlling the polarity of a liquid crystal molecule driving voltage in the liquid crystal display device; the display coding sequence includes the display area polarity control instruction;

[0023] Part of the bits in the byte occupied by the display area polarity control instruction are multiplexed as the display area polynomial switching instruction; or, the display area polarity control instruction and the display area polynomial switching instruction occupy different bytes in the display data sequence respectively.

[0024] Optionally, the image frame data further includes: a plurality of blanking area data sequences, and the scrambling method further includes:

[0025] Using at least two different scrambling codes to scramble multiple blanking area data sequences in the image frame data to generate multiple blanking area coding sequences in the frame display data packet;

[0026] Preferably, the scrambling code polynomials corresponding to at least two of the blanking area data sequences are different;

[0027] Preferably, each scrambling polynomial corresponding to each of the display data sequences at least partially overlaps with each scrambling polynomial corresponding to each of the blanking area data sequences;

[0028] Preferably, the blanking area data sequence includes: a blank area polynomial switching instruction and blank area data; and the process of scrambling the blanking area data sequence includes:

[0029] Determine the scrambling code polynomial corresponding to the blanking area data sequence according to the blanking area polynomial switching instruction;

[0030] The blank area data in the blank area data sequence is scrambled according to the scrambling code generated by the scrambling code polynomial corresponding to the blank area data sequence to obtain a blank area coding sequence; wherein the blank area coding sequence includes the blank area polynomial switching instruction and the blank area coding sequence.

[0031] Optionally, the image frame data further includes: a register configuration data sequence, which is located after the last display data sequence and before the first blanking area data sequence; and the scrambling method further includes:

[0032] Using a preset encoding method to encode the register configuration data sequence to generate a register configuration encoding sequence in the frame display data packet;

[0033] Preferably, the register configuration data sequence includes a register setting instruction and register setting data; encoding the register configuration data sequence includes:

[0034] The register setting data is encoded by adopting the preset encoding method to obtain a register setting encoding sequence; the register configuration encoding sequence includes the register setting instruction and the register setting encoding sequence;

[0035] Preferably, each data sequence in the image frame data includes a clock calibration signal and a header instruction; at least the display data sequence and the register configuration data sequence also include a tail instruction; wherein, in the display data sequence, the clock calibration signal, the header instruction, the display area polynomial switching instruction, the pixel data and the tail instruction are arranged in sequence; in the register configuration data sequence, the clock calibration signal, the header instruction, the register setting instruction, the register setting data and the tail instruction are arranged in sequence; in the blanking area data sequence, the clock calibration signal, the header instruction, the blank area polynomial switching instruction and the blank area data are arranged in sequence, or the clock calibration signal, the header instruction, the blank area polynomial switching instruction, the blank area data and the tail instruction are arranged in sequence;

[0036] Wherein, the clock calibration signal, the header instruction, the display area polynomial switching instruction, the footer instruction, the register setting instruction and the blank area polynomial switching instruction are not scrambled and encoded;

[0037] Preferably, the number of bits of each data sequence in the image frame data is the same;

[0038] Preferably, the preset encoding mode is 8B / 9B encoding mode.

[0039] In a second aspect, an embodiment of the present invention further provides a descrambling method, which is applied to a receiving end of a display device, and the descrambling method includes:

[0040] Receive frame display data packet;

[0041] The multiple display coding sequences in the frame display data packet are descrambled respectively according to the scrambling codes corresponding to the display coding sequences to obtain multiple display data sequences; wherein the scrambling codes corresponding to at least two of the display coding sequences are different.

[0042] Optionally, different scrambling codes are generated based on different scrambling code polynomials; and the scrambling code polynomials corresponding to at least two display coding sequences are different;

[0043] Descrambling the display coding sequence using a scrambling code corresponding to the display coding sequence, comprising:

[0044] Controlling a descrambling circuit to switch to a descrambling structure corresponding to the scrambling code polynomial corresponding to the scrambling code of the display coding sequence, and descrambling the display coding sequence based on a preset decoding mode and the descrambling structure to obtain the display data sequence;

[0045] Preferably, the preset decoding mode is 8B / 9B decoding mode.

[0046] Optionally, different scrambling codes are generated based on different scrambling code polynomials; and the scrambling code polynomials corresponding to at least two display coding sequences are different;

[0047] The display coding sequence includes: a display area polynomial switching instruction and a pixel coding sequence; and the process of descrambling the display coding sequence includes:

[0048] Determine the scrambling code polynomial corresponding to the display coding sequence according to the display area polynomial switching instruction;

[0049] Generate a descrambling formula according to the scrambling polynomial corresponding to the display coding sequence, and descramble the pixel coding sequence in the display coding sequence based on the descrambling formula to obtain pixel data; wherein the display data sequence includes the display area polynomial switching instruction and the pixel data;

[0050] Preferably, a pixel data in the display data sequence corresponds to relevant data required for displaying a row of sub-pixels in the display device;

[0051] Preferably, in the frame display data packet, the display coding sequences are arranged in sequence, each odd-numbered display coding sequence corresponds to a first scrambling code polynomial, and each even-numbered display coding sequence corresponds to a second scrambling code polynomial.

[0052] In a third aspect, an embodiment of the present invention further provides a display device, comprising: a timing controller, a source driver chip and a display panel; the timing controller is used to scramble the image frame data using the scrambling method provided in any embodiment of the present invention to generate a frame display data packet; the source driver chip is used to descramble the frame display data packet using the descrambling method provided in any embodiment of the present invention, and drive the display panel for display according to the descrambling result.

[0053] The scrambling method provided by the embodiment of the present invention controls the scrambling codes corresponding to at least two display data sequences to be different by switching the scrambling codes during the process of scrambling multiple display data sequences in the image frame data. Compared with the method of scrambling by using a fixed scrambling code, the period of the multiple scrambling codes is longer, and the data sequence to be scrambled can be more effectively disrupted, the randomness of the coding is improved, the autocorrelation of the coding sequence is reduced, the self-interference can be effectively suppressed, the anti-EMI capability during the data transmission process is improved, and the bit error rate is reduced.

[0054] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0056] Figure 1 It is a schematic diagram of the structure of a scrambling circuit;

[0057] Figure 2 It is a schematic diagram of a circuit structure related to a linear feedback shift register in a scrambling circuit provided by an embodiment of the present invention;

[0058] Figure 3 is a schematic diagram of the structure of image frame data provided by an embodiment of the present invention;

[0059] Figure 4 is a structural schematic diagram of a display area polarity control instruction provided by an embodiment of the present invention;

[0060] Figure 5 is a schematic diagram of the structure of another display area polarity control instruction provided by an embodiment of the present invention;

[0061] Figure 6 It is a structural schematic diagram of a blanking area polarity control instruction provided by an embodiment of the present invention;

[0062] Figure 7 is a structural schematic diagram of another blanking area polarity control instruction provided by an embodiment of the present invention;

[0063] Figure 8 is a schematic diagram of the structure of a register setting instruction provided by an embodiment of the present invention;

[0064] Fig. 9 is a schematic diagram of the structure of a clock calibration signal provided by an embodiment of the present invention;

[0065] Fig.10 is a schematic diagram of the structure of a header instruction provided by an embodiment of the present invention;

[0066] Fig.11 It is a schematic diagram of the structure of a suffix instruction provided by an embodiment of the present invention;

[0067] Fig.12 is a schematic diagram of the structure of another image frame data provided by an embodiment of the present invention;

[0068] Fig.13 It is a structural diagram of a scrambling code polynomial number selection instruction provided by an embodiment of the present invention;

[0069] Fig.14 It is a schematic diagram of a transmitting end architecture provided by an embodiment of the present invention;

[0070] Fig.15 is a schematic diagram of a receiving end architecture provided by an embodiment of the present invention;

[0071] Fig.16 It is a structural schematic diagram of a display device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0072] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0073] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0074] The embodiment of the present invention provides a scrambling method to improve the flexibility of the scrambling algorithm and improve the anti-EMI capability during data transmission, which can be applied to the data transmission process of the display device. For the convenience of explanation, the structure related to data transmission in the display device is briefly described below. Exemplarily, the display device may include: a timing controller (TimingController, T-CON), as a transmitting end; and a source driver chip (Source Driver, SD), as a receiving end. The transmitting end and the receiving end perform data transmission, for example, through a point-to-point (Point to Point, P2P) signal transmission protocol. Among them, the transmitting end uses a scrambling method to scramble and encode the source data, and the receiving end uses a descrambling method corresponding to the scrambling method to descramble and decode the received encoded data to obtain the source data.

[0075] First, the scrambling method will be described below.

[0076] The scrambling method is applied to the transmitting end of the display device, and the scrambling method includes: using at least two different scrambling codes to scramble multiple display data sequences in the image frame data to generate multiple display coding sequences in the frame display data packet.

[0077] Each display data sequence is scrambled using a scrambling code, and at least two display data sequences are scrambled using different scrambling codes. The scrambling code is, for example, a pseudo-random sequence, and the lengths of different scrambling codes can be the same. Compared with a single scrambling code, multiple scrambling codes have a longer cycle length and better randomness. The randomness of the scrambling process can be improved by switching the scrambling code.

[0078] Exemplarily, the scrambling code may be an M sequence generated based on a linear feedback shift register (LFSR). By switching multiple scrambling codes, the effect of a high-order LFSR may be obtained based on a low-order LFSR, thereby simplifying the hardware circuit structure and improving the operation speed.

[0079] The scrambling method provided by the embodiment of the present invention, in the process of scrambling multiple display data sequences in the image frame data, controls the scrambling codes corresponding to at least two display data sequences to be different by switching the scrambling codes, which is equivalent to providing a cross-type multi-scrambling code solution. Compared with the method of using a fixed scrambling code for scrambling, the multi-scrambling code has a longer period, can more effectively scramble the data sequence to be scrambled, improve the randomness of the coding, reduce the autocorrelation of the coding sequence, can effectively suppress self-interference, improve the anti-EMI capability during data transmission, and reduce the bit error rate.

[0080] Specifically, different scrambling codes are generated based on different scrambling polynomials; the scrambling polynomials corresponding to at least two display data sequences are different. During the packaging process, multiple display data sequences in the image frame data can be scrambled using the scrambling polynomials corresponding to the display data sequences to generate corresponding display coding sequences.

[0081] Among them, the image frame data is a sequence of information sources received by the receiving end, and may include image data corresponding to a frame display of the display device. The image frame data may include at least a plurality of display data sequences arranged in sequence, and may also include other display-related data sequences such as configuration data sequences. Each display data sequence may include relevant data required to drive some sub-pixels in the display device for display, for example, relevant data required to display a row of sub-pixels. Exemplarily, in the frame display data packet obtained by scrambling, each display coding sequence is arranged in the same order as each display data sequence. In other words, during the packetization process, the sending end scrambles each display data sequence in sequence, and obtains each display coding sequence arranged in the order of scrambling as a component of the frame display data packet.

[0082] Exemplarily, the display coding sequence can be generated by processing a scrambling circuit. For example, for any display data sequence, at least part of the data in the display data sequence can be XORed with the scrambling code generated by the scrambling circuit in the scrambling circuit to generate a pseudo-random sequence with white noise characteristics, thereby obtaining a scrambled display coding sequence. In this way, the scrambled display coding sequence can be continuously changed, effectively increasing the conversion density (or the number of conversions) of the "0" and "1" signals, avoiding continuous repetition of continuous "0" or continuous "1" sequences, thereby avoiding the data sequence from generating large external noise, electromagnetic interference and inter-code crosstalk, so that the display coding sequence can be accurately received at the receiving end. Among them, the scrambling circuit is, for example, configured in the transmitting end of the display device. The scrambling circuit generates a scrambling code using a scrambling code polynomial.

[0083] The scrambling code generated based on the same scrambling code polynomial is a pseudo-random sequence, which is not completely random and will be circulated in a certain period. In this embodiment, by controlling the scrambling code polynomials corresponding to at least two display data sequences to be different, or by switching at least two scrambling code polynomials to scramble each display data sequence in the same image frame data, the period length of the pseudo-random sequence can be effectively increased, and the period of the pseudo-random sequence can be at least increased to twice the period corresponding to a scrambling code polynomial, thereby generating a non-repeating coding sequence for a long time, improving the randomness of the coding, and reducing the autocorrelation of the coding sequence, which can effectively suppress self-interference, improve the anti-EMI capability during data transmission, and reduce the bit error rate. Among them, the number of scrambling code polynomials and the switching timing can be set according to actual needs. Exemplarily, after scrambling one or several display data sequences, the scrambling code polynomial can be switched once; the time interval between each two adjacent switching of the scrambling code polynomials can be the same or different. Exemplarily, the interval between two adjacent switching of the scrambling code polynomials is less than the period corresponding to a scrambling code polynomial to ensure the randomness of the scrambled sequence.

[0084] On the basis of the above-mentioned embodiments, optionally, the process of scrambling the display data sequence includes: controlling the scrambling circuit to switch to a linear feedback shift register having a scrambling code polynomial corresponding to the display data sequence, and encoding the display data sequence according to the scrambling code generated by the linear feedback shift register based on a preset encoding method to obtain a display coding sequence.

[0085] Specifically, the scrambling circuit may include multiple linear feedback shift registers with different scrambling code polynomials. In the process of scrambling each display data sequence, the scrambling circuit may switch the linear feedback shift register for processing the data sequence as needed to switch the scrambling code used for scrambling. The number of bits of different linear feedback shift registers may be the same to simplify the data processing logic and avoid garbled code and other problems caused by switching linear feedback shift registers with different bits.

[0086] Furthermore, the initial seed values ​​of different linear feedback shift registers can be set independently, so that the processing processes of different linear feedback shift registers do not affect each other. The initial seed values ​​of different linear feedback shift registers can be set to be the same or different, preferably different, so as to further improve the randomness of the scrambled encoded data and reduce its autocorrelation.

[0087] Among them, the scrambling code generated by the linear feedback shift register is an M sequence, which is the longest period sequence generated by the linear feedback shift register. The linear feedback shift register may include a multi-stage shift register and a linear feedback structure composed of an XOR gate. Each stage of the shift register constitutes a bit of the linear feedback shift register. The number of stages of the shift register in the linear feedback shift register is the number of bits of the linear feedback shift register. The initial value assigned to each stage of the shift register is called the initial seed value of the linear feedback shift register, and the initial seed value can be set according to actual needs. In the linear feedback shift register, the bit that affects the next state is called a tap. The tap and the output bit of the linear feedback shift register are XORed as feedback. Different tap settings constitute different scrambling code polynomials.

[0088] Exemplarily, the preset encoding method can be an 8B / 9B encoding method, which displays that in the data sequence, in the data that needs to be scrambled, each 8-bit data is XOR-operated with the data in the M sequence, and the scrambled 9-bit encoded data is obtained through the 8B / 9B encoding method.

[0089] Based on the above implementations, optionally, there are multiple structures of the scrambling circuit, several of which are described below.

[0090] Figure 1 This is a schematic diagram of the structure of a scrambling circuit. Figure 1 In one implementation, optionally, the scrambling circuit includes: a shift register group 111, a selection module 113 and at least two feedback branches 112. The selection module 113 is used to control whether each feedback branch 112 is connected to the shift register group 111 to form a linear feedback shift register; different linear feedback shift registers formed by different feedback branches 112 and the shift register group 111 have different scrambling code polynomials.

[0091] Specifically, the shift register group 111 may include a multi-stage shift register, corresponding to the data generated for different bits in the linear feedback shift register; the feedback branch 112 may include a plurality of XOR gates, connecting different shift registers, corresponding to different tap positions; the selection module 113 may be a selection switch, used to control which feedback branch 112 is connected to the leftmost initial bit of the shift register group 111 to form a complete linear feedback shift register. Figure 1For example, the shift register group 111 includes 16 shift registers, corresponding to 16 bits of data from 0 to 15. Then, each shift of any linear feedback shift register can generate 16 bits of state data in an M sequence, and the cycle of a single M sequence will be 2^n cycles. And, Figure 1 Two feedback branches 112 are given as examples, wherein the scrambling code polynomial of the linear feedback shift register formed by the first feedback branch 1121 and the shift register group 111 can be recorded as: G(X)=X^16+X^14+X^12+X^3+1; the scrambling code polynomial of the linear feedback shift register formed by the second feedback branch 1122 and the shift register group 111 can be recorded as: G(X)=X^16+X^7+X^4+X^2+1; wherein G(X) represents the scrambling code polynomial, and X^i represents that the i-th bit of the current data in the linear feedback shift register participates in the XOR operation.

[0092] Furthermore, the scrambling circuit may also include eight XOR gates, which are derived from any eight-stage shift register in the shift register group 111, so as to implement scrambling of 8 bits of data to be scrambled (recorded as Din[0-7]) in a scrambled data sequence (e.g., a display data sequence) based on 8B / 9B coding, and obtain 9 bits of coded data (recorded as Dout[0-8]) in the scrambled coded data (e.g., a display coded sequence). Specifically, the 8 bits of data to be scrambled Din[0-7] and the 8 bits of scrambled code data in the M sequence are XORed to obtain 8 bits of the 9 bits of coded data after scrambling, i.e., Dout[0-7]. Dout[8] in the coded data is an embedded clock bit, which is obtained according to the rules of 8B / 9B coding and will not be described in detail here.

[0093] In another embodiment, optionally, the scrambling circuit includes at least two independently arranged linear feedback shift registers, each having a different scrambling code polynomial; and each linear feedback shift register can be connected to a plurality of XOR gates for implementing 8B / 9B encoding to form a plurality of independently arranged scrambling coding circuits, and the scrambling coding circuits can be referred to Figure 2, including a linear feedback shift register 110 and a coding-related XOR gate. The scrambling polynomial of the linear feedback shift register 110 can be recorded as: G(X)=X^16+X^5+X^4+X^3+1; the scrambling polynomials of each linear feedback shift register 110 are different. This embodiment is configured so that when one of the scrambling coding circuits is running, the other scrambling coding circuits can be controlled to stop running, and the linear feedback shift register 110 in the stopped scrambling coding circuit stops the shift operation and latches the calculation result; when any of the stopped scrambling coding circuits becomes effective and starts running again, the shift operation can be continued directly according to the previously latched calculation result. Compared with the solution of setting only one shift register group, in the embodiment of the present invention, the operation of each scrambling coding circuit is independent of each other and does not interfere with each other, and the shift calculation of each M sequence is independent of each other; there is no need to set up other additional memories to store the shift calculation results of the linear feedback shift register corresponding to each scrambling code polynomial when it stops running, and provide the calculation results of the last operation to each linear feedback shift register when it resumes running, thereby effectively reducing the bit error rate and improving the calculation speed, which is conducive to the hardware and software implementation of the method.

[0094] Based on the above embodiments, optionally, the display data sequence may include: a display area polynomial switching instruction and pixel data. The display area polynomial switching instruction and the pixel data are arranged in sequence, for example, the display area polynomial switching instruction is used to indicate the scrambling code polynomial corresponding to the display data sequence, and the pixel data includes relevant data required for display of each sub-pixel corresponding to the display data sequence.

[0095] Accordingly, the process of scrambling the display data sequence includes:

[0096] The scrambling code polynomial corresponding to the display data sequence is determined according to the display area polynomial switching instruction.

[0097] The pixel data in the display data sequence is scrambled according to the scrambling code generated by the scrambling code polynomial corresponding to the display data sequence to obtain a pixel coding sequence.

[0098] The display area polynomial switching instruction is not scrambled, and the display coding sequence finally formed includes the original display area polynomial switching instruction and the pixel coding sequence obtained by scrambling the pixel data. By providing the display area polynomial switching instruction, this embodiment can make the scrambling code polynomial required for each display data sequence clearly identifiable, which is conducive to reducing the bit error rate. The transmitting end can switch the scrambling code polynomial by controlling the linear feedback shift register to switch different tap positions according to the display area polynomial switching instruction, and the receiving end can also switch the decoding mode corresponding to different scrambling code polynomials according to the display area polynomial switching instruction.

[0099] Exemplarily, in the image frame data, pixel data in a display data sequence may correspond to relevant data required for displaying a row of sub-pixels in the display device, which is beneficial for the receiving end to cooperate with the row-by-row scanning of the sub-pixels and provide the data voltage required for sub-pixel driving by row.

[0100] On the basis of the above-mentioned embodiments, optionally, in the image frame data, each display data sequence is arranged in sequence. In the packaging process, for example, when the P2P protocol is used to package the package data, independent scrambling polynomials can be used for the display data sequences corresponding to the sub-pixels of the odd-numbered rows and the even-numbered rows, respectively, and the byte lengths of the M sequences corresponding to the two sets of scrambling polynomials can be equal. Specifically, each odd-numbered display data sequence corresponds to the first scrambling polynomial, and each even-numbered display data sequence corresponds to the second scrambling polynomial. If the first scrambling polynomial is effective, the linear feedback shift register corresponding to the second scrambling polynomial suspends the shift operation, and vice versa. When switching from the first scrambling code polynomial to the second scrambling code polynomial, the current calculation result value of the first scrambling code polynomial will be latched and used as the input value when the first scrambling code polynomial takes effect next time; similarly, when switching from the second scrambling code polynomial to the first scrambling code polynomial, the current calculation result value of the second scrambling code polynomial will be latched and used as the input value when the second scrambling code polynomial takes effect next time. The calculations of the two do not interfere with each other, which can reduce the bit error rate and improve the flexibility of the P2P scrambling algorithm.

[0101] In this embodiment, the length of the scrambling code M sequence is, for example, 16 bits, and the period of a single M sequence will be 2^n cycles, where n=16. If the scrambling circuit switches the tap position of the linear feedback shift register according to the odd and even rows of the image frame data to achieve the switching of the scrambling code polynomial, a double M sequence can be obtained, and the cycle period of the double M sequence can reach 2*(2^n) cycles, which can generate a non-repeating coding sequence for a long time, so as to effectively scramble the sequence to be scrambled, reduce the correlation between the output digital codes, and improve the randomness and anti-interference of the coding. Combined with 8B / 9B coding, it can effectively improve the reliability and symbol synchronization of data transmission by introducing additional control bits to change the coding of the original data stream.

[0102] Based on the above embodiments, the display device may be a liquid crystal display device. The display data sequence may further include: a display area polarity control instruction for controlling the polarity of a liquid crystal molecule driving voltage in the liquid crystal display device. The display area polarity control instruction may also not be scrambled, and the display coding sequence may include the original display area polarity control instruction. Figure 3 is a schematic diagram of the structure of image frame data provided by an embodiment of the present invention, Figure 3 In the example, the image frame data includes k display data sequences, namely Ddp1 to Ddpk. Figure 3The display area polarity control instruction may include a display area positive polarity control instruction CM1 and a display area negative polarity control instruction CM2. The specific display area polarity control instruction used by each display data sequence may be set according to actual needs and is not limited here.

[0103] Among them, the display area polarity control instruction can be set to occupy one or more bytes as needed. Some bits in the byte occupied by the display area polarity control instruction can be multiplexed as a display area polynomial switching instruction. Exemplarily, the bits reserved for function expansion in the display area polarity control instruction can be multiplexed as a display area polynomial switching instruction to avoid affecting the recognition of the display area polarity control instruction itself. Taking the need to use two scrambling code polynomials in the scrambling process as an example, one bit in the byte occupied by the display area polarity control instruction can be multiplexed as a display area polynomial switching instruction. In this bit data, "0" and "1" represent two scrambling code polynomials respectively. Specifically, Figure 4 is a schematic diagram of the structure of a display area polarity control instruction provided by an embodiment of the present invention, Figure 5 is a schematic diagram of the structure of another display area polarity control instruction provided by an embodiment of the present invention; for example Figure 4 The specific structure of the display area positive polarity control instruction CM1 is used to indicate that the display area is positive polarity; Figure 5 The specific structure of the display area negative polarity control instruction CM2 is used to set the display area to negative polarity. Figure 4 and Figure 5 , the display area polarity control instruction itself can occupy a 9-bit byte, and the fifth bit in the byte can be used as the display area polynomial switching instruction, Figure 4 Exemplarily, the display area polynomial switching instruction is specifically a first polynomial switching instruction SW1, whose value is "1", which may correspond to the first scrambling code polynomial; Figure 5 For example, the display area polynomial switching instruction is specifically a second polynomial switching instruction SW2, whose value is "0", which may correspond to the second scrambling code polynomial. It is understandable that when more scrambling code polynomials are needed in the scrambling process, more bits in the byte occupied by the display area polarity control instruction may be multiplexed into the display area polynomial switching instruction.

[0104] In an embodiment of the present invention, an improvement is made to the display area polarity switching instruction in the existing packet protocol. A bit for indicating the display area polynomial switching function is set based on the display area polarity control instruction. By utilizing the originally reserved bit in the display data sequence, no new instruction bytes are added and the length of the display data sequence is not increased, which is beneficial to ensuring data transmission efficiency.

[0105] Continue to see Figure 3 Based on the above embodiments, optionally, the image frame data further includes: a plurality of blanking area data sequences, Figure 3 Two blanking area data sequences are given as examples, namely Dbl1 and Dbl2. The blanking area data sequence is arranged after the last display area data sequence, for example. The blanking area can be understood as the time interval between the end of effective pixel data transmission in a complete line scanning process and the start of pixel data transmission in the next frame scanning process.

[0106] Correspondingly, the scrambling method further includes: using at least two different scrambling codes to scramble multiple blanking area data sequences in the image frame data to generate multiple blanking area coding sequences in the frame display data packet. The process of scrambling the blanking area data sequence can refer to the process of scrambling the display data sequence, and the similarities are not repeated here.

[0107] The scrambling polynomials corresponding to at least two blanking area data sequences may be different to improve the randomness of scrambling each blanking area data sequence. The scrambling polynomials corresponding to each display data sequence and the scrambling polynomials corresponding to each blanking area data sequence at least partially overlap, for example, completely overlap, so that the same set of scrambling circuits can be used to implement scrambling coding of each display data sequence and each blanking area data sequence, which is conducive to simplifying the circuit structure and simplifying the control logic.

[0108] On the basis of the above-mentioned embodiments, optionally, the blanking area data sequence includes: a blank area polynomial switching instruction and blank area data. The process of scrambling the blanking area data sequence includes: determining the scrambling code polynomial corresponding to the blanking area data sequence according to the blank area polynomial switching instruction; scrambling the blank area data in the blanking area data sequence according to the scrambling code generated by the scrambling code polynomial corresponding to the blanking area data sequence to obtain a blank area coding sequence; wherein the blanking area coding sequence includes a blank area polynomial switching instruction and a blank area coding sequence. The function of the blank area polynomial switching instruction can be found in the explanation of the display area polynomial switching instruction, which will not be repeated here. The blank area data is actually invalid data that is not transmitted to the sub-pixel, and is set to ensure that the length of the blanking area data sequence is the same as that of the display data sequence, so that each data sequence in the image frame data is transmitted in an orderly manner.

[0109] Based on the above embodiments, optionally, when the display device is a liquid crystal display device, the blanking area data sequence may further include a blanking area polarity control instruction for controlling the polarity of the liquid crystal molecule driving voltage in the liquid crystal display device. The blanking area polarity control instruction may also not be scrambled, and the blanking area code sequence may include the original blanking area polarity control instruction. Figure 3, the blanking area polarity control instruction may include a blanking area positive polarity control instruction CM4, which is used to indicate the positive polarity of the blanking area, and a blanking area negative polarity control instruction CM5, which is used to indicate the negative polarity of the blanking area. Among them, part of the bits in the byte occupied by the blanking area polarity control instruction can be multiplexed as a blanking area polynomial switching instruction. For example, the bits reserved for function expansion in the blanking area polarity control instruction are multiplexed as blanking area polynomial switching instructions. Taking the need to use two scrambling code polynomials in the scrambling process as an example, one bit in the byte occupied by the blanking area polarity control instruction can be multiplexed as a blanking area polynomial switching instruction. Specifically, Figure 6 1 is a schematic diagram of the structure of a blanking area polarity control instruction provided by an embodiment of the present invention, for example, a specific structure of a blanking area positive polarity control instruction CM4; Figure 7 1 is a schematic diagram of the structure of another blanking area polarity control instruction provided by an embodiment of the present invention, for example, the specific structure of the blanking area negative polarity control instruction CM5. For example, similar to the display area polarity control instruction, the blanking area polarity control instruction itself can occupy a 9-bit byte, and the fifth bit in the byte can be used as a blanking area polynomial switching instruction. Figure 6 In the example, the blanking area polynomial switching instruction is specifically the third polynomial switching instruction SW3; Figure 7 By way of example, the blanking area polynomial switching instruction is specifically the fourth polynomial switching instruction SW4.

[0110] Continue to see Figure 3 On the basis of the above implementations, optionally, the image frame data also includes: a register configuration data sequence Dreg, which is located after the last display data sequence and before the first blanking area data sequence.

[0111] Correspondingly, the scrambling method further includes: using a preset encoding method to encode the register configuration data sequence Dreg to generate a register configuration encoding sequence in the frame display data packet. The preset encoding method is, for example, an 8B / 9B encoding method. The register configuration data sequence Dreg can be encoded without scrambling.

[0112] Specifically, the register configuration data sequence Dreg includes a register setting instruction CM3 and register setting data. The structure of the register setting instruction CM3 can be found in Figure 8 , used to mark the start of the register setting buffer. The transmission interface supports, for example, 57 bytes of register settings, which are REG0 to REG56 in the register setting data. Encoding the register configuration data sequence includes: encoding the register setting data in a preset encoding method to obtain a register setting encoding sequence; the register configuration encoding sequence includes the original register setting instruction and the encoded register setting encoding sequence.

[0113] Continue to see Figure 3 On the basis of the above embodiments, optionally, each data sequence in the image frame data includes a clock calibration signal CT and a header instruction CS. At least the display data sequence and the register configuration data sequence Dreg also include a tail instruction CE; the blanking area data sequence may include or exclude the tail instruction CE. The clock calibration signal CT is used to transmit the characteristic frequency of the clock signal for time calibration. Its specific structure can be found in Fig. 9 The header instruction CS is used to mark the start of valid data (pixel data) and to align the data of the following channels. For its specific structure, see Fig.10 The end instruction CE is used to mark the end of valid data (pixel data). For its specific structure, see Fig.11 Understandably, Figure 4-Figure 11 In the byte, LSB represents the least significant bit in a byte, and MSB represents the most significant bit in a byte.

[0114] Specifically, in the display data sequence, the clock calibration signal CT, the header instruction CS, the display area polynomial switching instruction, the pixel data and the tail instruction CE are arranged in sequence; the display area polynomial switching instruction, for example, reuses part of the bits in the display area polarity control instruction. In the register configuration data sequence Dreg, the clock calibration signal CT, the header instruction CS, the register setting instruction CM3, the register setting data and the tail instruction CE are arranged in sequence. In the blanking area data sequence, the clock calibration signal CT, the header instruction CS, the blank area polynomial switching instruction and the blank area data are arranged in sequence; the blanking area polynomial switching instruction, for example, reuses part of the bits in the blanking area polarity control instruction. Alternatively, see Fig.12 , the blanking area data sequence may also include a tail instruction CE, then the clock calibration signal CT, the header instruction CS, the blank area polynomial switching instruction, the blank area data and the tail instruction CE are arranged in sequence. Among them, the number of bits (or length) of each data sequence in the image frame data is the same to ensure that the data transmission process is carried out in an orderly manner.

[0115] During the packetization process, various types of instructions are not scrambled or encoded, for example, the clock calibration signal CT, header instruction CS, display area polynomial switching instruction, display area polarity control instruction, tail instruction CE, register setting instruction CM3, blank area polynomial switching instruction and blank area polarity switching instruction are not scrambled or encoded.

[0116] In the above embodiments, the display area polynomial switching instruction reuses part of the bits in the display area polarity control instruction, and the blanking area polynomial switching instruction reuses part of the bits in the blanking area polarity control instruction, but this is not intended to limit the present invention. In other embodiments, see Fig.12For example, a separate scrambling code polynomial number selection instruction CM55 may be set in each data sequence in the image frame data, see Fig.13 , the scrambling polynomial number selection instruction CM55 can occupy a single byte with 9 bits, and can support the switching of up to 2^9 scrambling polynomials; wherein, part of the data arrangement in the scrambling polynomial number selection instruction CM55 can correspond to the display area polarity control instruction, and part of the data arrangement can correspond to the blanking area polarity control instruction. Then, when the display device is a liquid crystal display device, the display area polarity control instruction and the display area polynomial switching instruction can occupy different bytes in the display data sequence respectively; the blanking area polarity control instruction and the blanking area polynomial switching instruction can occupy different bytes in the display data sequence respectively. Exemplarily, in the register setting data, REG0-REG3 can be set for a single source driver chip, REG4-REG8 is set for all source driver chips, REG9, REG11 and REG12 are test modes; REG10, REG13-REG56 are reserved, and the registers set to improve the panel image quality can be selected to set any reserved register to set the scrambling polynomial number selection instruction.

[0117] This configuration of the present embodiment is equivalent to extending the instructions in the packet header of the packet protocol to 3 bytes (including the header instruction CS, the polarity control instruction and the scrambling code polynomial number selection instruction CM55). Compared with the scheme of multiplexing the polarity control instruction and the scrambling code polynomial switching instruction, the embodiment of the present invention can support more scrambling code polynomial switching and improve the flexibility of scrambling coding.

[0118] Based on the above embodiments, optionally, the scrambling polynomial switching instruction can be used to switch the scrambling polynomial in units of lines, and the instruction can be effective during the horizontal blanking time H-Blanking. It can be understood that the horizontal blanking time is the time after the pixel data transmission ends and before the next line of pixel data transmission begins during a line scanning process.

[0119] Fig.14 Schematic diagram of a transmitting end architecture provided by an embodiment of the present invention. Fig.14, the architecture of the transmitter can be expressed as follows: the image frame data of the pixel line buffer constitutes a P2P matching and control packet, wherein part of the content (such as register setting data) is driven and output by the transmitter after 8B / 9B encoding, part of the content (such as various instructions) is directly driven and output by the transmitter, and part of the content (such as pixel data and blank area data) is switched through the odd and even line scrambling polynomial to select the first scrambling polynomial or the second scrambling polynomial, and then driven and output by the transmitter after 8B / 9B encoding. The embodiment of the present invention switches the double sets of scrambling polynomials based on the scrambling polynomial switching instructions between lines through the P2P protocol, which can reduce the autocorrelation of the encoded data, improve the randomness of the encoding, and improve the anti-EMI capability during data transmission.

[0120] An embodiment of the present invention further provides a descrambling method, which is applied to a receiving end of a display device and is used to descramble a frame display data packet obtained by using the scrambling method in any of the above embodiments, and has corresponding beneficial effects.

[0121] Specifically, the descrambling method includes:

[0122] Received frames show data packets.

[0123] Descrambling is performed on multiple display coding sequences in the frame display data packet according to scrambling codes corresponding to the display coding sequences to obtain multiple display data sequences; wherein the scrambling codes corresponding to at least two display coding sequences are different.

[0124] Based on the above implementations, optionally, different scrambling codes are generated based on different scrambling code polynomials; and the scrambling code polynomials corresponding to at least two display coding sequences are different.

[0125] Descrambling the display coding sequence using a scrambling code corresponding to the display coding sequence, including:

[0126] The descrambling circuit is controlled to switch to the descrambling structure corresponding to the scrambling code polynomial corresponding to the scrambling code of the display coding sequence, and the display coding sequence is descrambled based on the preset decoding mode and the descrambling structure to obtain a display data sequence.

[0127] Among them, the descrambling circuit is a descrambling circuit corresponding to the scrambling circuit structure provided in any of the above embodiments, and the descrambling circuit includes, for example, a descrambling structure corresponding to each linear feedback shift register in the scrambling circuit provided in any of the above embodiments, and can use a descrambling decoding process that is completely opposite to the scrambling coding process to descramble the coded sequence to obtain the original data sequence. The receiving end can drive the display panel in the display device to display according to the descrambled data sequence. The preset decoding method can be an 8B / 9B decoding method.

[0128] On the basis of the above embodiments, optionally, the display coding sequence includes: a display area polynomial switching instruction and a pixel coding sequence. Correspondingly, the process of descrambling the display coding sequence includes: determining the scrambling polynomial corresponding to the display coding sequence according to the display area polynomial switching instruction; generating a descrambling formula according to the scrambling polynomial corresponding to the display coding sequence, and descrambling the pixel coding sequence in the display coding sequence based on the descrambling formula to obtain pixel data; wherein the display data sequence includes the display area polynomial switching instruction and the pixel data. wherein the descrambling formula is embodied, for example, by a descrambling structure.

[0129] Exemplarily, the pixel data in a display data sequence corresponds to the relevant data required for displaying a row of sub-pixels in the display device. In the frame display data packet, the display coding sequences can be arranged in sequence, and each odd-numbered display coding sequence corresponds to the first scrambling code polynomial, and each even-numbered display coding sequence corresponds to the second scrambling code polynomial.

[0130] It can be understood that the descrambling process is a completely opposite process to the scrambling process, and the corresponding descrambling method can be obtained by performing reverse processing on the scrambling method provided in any of the above embodiments.

[0131] Specifically, the frame display data packet may include a plurality of display coding sequences, register configuration coding sequences and blanking area coding sequences arranged in sequence. The display coding sequence may include a clock calibration signal, a header instruction, a display area polynomial switching instruction, a pixel coding sequence and a tail instruction arranged in sequence; the display area polynomial switching instruction may, for example, reuse some bits in the display area polarity control instruction. The register configuration coding sequence may include a clock calibration signal, a header instruction, a register setting instruction, a register setting coding sequence and a tail instruction arranged in sequence. The blanking area coding sequence may include a clock calibration signal, a header instruction, a blank area polynomial switching instruction and a blank area coding sequence arranged in sequence, and may also include a tail instruction located at the end of the blanking area coding sequence; the blanking area polynomial switching instruction may, for example, reuse some bits in the blanking area polarity control instruction.

[0132] Fig.15 is a schematic diagram of a receiving end architecture provided by an embodiment of the present invention, corresponding to Fig.14The transmitting end architecture in. Specifically, the receiving end architecture can be expressed as: a receiving end CDR (Clock Data Recovery) that receives the output data of each transmitting end driver, in the received frame display data packet, part of the content (such as the register setting coding sequence) is decoded by 8B / 9B to obtain data packet setting related data (such as register setting data), part of the content (such as various instructions) is directly received to obtain various control instructions, and part of the content (such as pixel coding sequence and blank area coding sequence) is decoded by 8B / 9B, and the first descrambling type corresponding to the first scrambling polynomial or the second descrambling type corresponding to the second scrambling polynomial is selected in conjunction with the odd and even row scrambling polynomial switching to obtain a data packet (such as including pixel data and blank area data). The embodiment of the present invention descrambles the frame display data packet based on the descrambling method corresponding to the scrambling method, which can achieve accurate decoding and descrambling, and obtain image frame data to drive the display panel for display.

[0133] An embodiment of the present invention further provides a display device, which applies the scrambling method provided in any of the above embodiments to perform data scrambling encoding, and applies the descrambling method provided in any of the above embodiments to perform data descrambling decoding, so as to achieve stable and accurate data transmission, and has corresponding beneficial effects. Fig.16 is a schematic diagram of the structure of a display device provided by an embodiment of the present invention. Fig.16 , exemplarily, the display device includes: a timing controller 21, a source driver chip 22 and a display panel 30. The timing controller 21 and the source driver chip 22 can both be used as components of the control component 20 in the display device. The timing controller 21 is used to scramble the image frame data using a scrambling method to generate a frame display data packet, and the source driver chip 22 is used to descramble the frame display data packet using a descrambling method, restore the image frame data, and drive the display panel to display according to the descrambling result (i.e., the image frame data), for example, generating the data voltage required for each row of sub-pixels according to the pixel data in each display data sequence in the image frame data.

[0134] Exemplarily, the display device may be a medium-sized display device, and / or, the display device may be a liquid crystal display device. Specifically, the timing controller 21 constitutes a sending operation in the control component 20, and the source driver chip 22 constitutes a receiving end in the control component 20. The timing controller 21 can connect each source driver chip 22 through a bidirectional instruction channel and a data channel. The number of source driver chips 22 can be configured according to the size and resolution of the display panel 30, for example, set to multiple.

[0135] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0136] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A scrambling method, characterized in that: Applied to the transmitting end of a display device, the scrambling method includes: At least two different scrambling codes are used to scramble multiple display data sequences in the image frame data to generate multiple display coding sequences in the frame display data packet.

2. The scrambling method according to claim 1, characterized in that: Different scrambling codes are generated based on different scrambling code polynomials; the scrambling code polynomials corresponding to at least two display data sequences are different; Preferably, the process of scrambling the display data sequence includes: Controlling the scrambling circuit to switch to the linear feedback shift register having the scrambling code polynomial corresponding to the display data sequence, encoding the display data sequence according to the scrambling code generated by the linear feedback shift register based on a preset encoding method to obtain the display coding sequence; Preferably, the number of bits of different linear feedback shift registers is the same; Preferably, the initial seed values ​​of different linear feedback shift registers are set independently; Preferably, the initial seed values ​​of different linear feedback shift registers are set to be different; Preferably, the preset encoding mode is 8B / 9B encoding mode.

3. The scrambling method according to claim 2, characterized in that: The scrambling circuit includes: a plurality of linear feedback shift registers, each having a different scrambling code polynomial; Alternatively, the scrambling circuit includes: a shift register group, a selection module and at least two feedback branches; the selection module is used to control whether each feedback branch is connected to the shift register group to form a linear feedback shift register; wherein different linear feedback shift registers formed by different feedback branches and the shift register group have different scrambling code polynomials.

4. The scrambling method according to claim 1, characterized in that: Different scrambling codes are generated based on different scrambling code polynomials; the scrambling code polynomials corresponding to at least two display data sequences are different; The display data sequence includes: display area polynomial switching instructions and pixel data; The process of scrambling the display data sequence includes: Determine the scrambling code polynomial corresponding to the display data sequence according to the display area polynomial switching instruction; Scrambling the pixel data in the display data sequence according to the scrambling code generated by the scrambling code polynomial corresponding to the display data sequence to obtain a pixel coding sequence; wherein the display coding sequence includes the display area polynomial switching instruction and the pixel coding sequence; Preferably, in the image frame data, a pixel data in the display data sequence corresponds to relevant data required for displaying a row of sub-pixels in the display device; Preferably, in the image frame data, the display data sequences are arranged in sequence, each odd-numbered display data sequence corresponds to a first scrambling code polynomial, and each even-numbered display data sequence corresponds to a second scrambling code polynomial.

5. The scrambling method according to claim 4, characterized in that: The display device is a liquid crystal display device, and the display data sequence further includes: a display area polarity control instruction for controlling the polarity of a liquid crystal molecule driving voltage in the liquid crystal display device; the display code sequence includes the display area polarity control instruction; Part of the bits in the byte occupied by the display area polarity control instruction are multiplexed as the display area polynomial switching instruction; or, the display area polarity control instruction and the display area polynomial switching instruction occupy different bytes in the display data sequence respectively.

6. The scrambling method according to claim 4 or 5, characterized in that: The image frame data also includes: a plurality of blanking area data sequences, and the scrambling method also includes: Using at least two different scrambling codes to scramble multiple blanking area data sequences in the image frame data to generate multiple blanking area coding sequences in the frame display data packet; Preferably, the scrambling code polynomials corresponding to at least two of the blanking area data sequences are different; Preferably, each scrambling polynomial corresponding to each of the display data sequences at least partially overlaps with each scrambling polynomial corresponding to each of the blanking area data sequences; Preferably, the blanking area data sequence includes: a blank area polynomial switching instruction and blank area data; and the process of scrambling the blanking area data sequence includes: Determine the scrambling code polynomial corresponding to the blanking area data sequence according to the blanking area polynomial switching instruction; The blank area data in the blank area data sequence is scrambled according to the scrambling code generated by the scrambling code polynomial corresponding to the blank area data sequence to obtain a blank area coding sequence; wherein the blank area coding sequence includes the blank area polynomial switching instruction and the blank area coding sequence.

7. The scrambling method according to claim 6, characterized in that: The image frame data also includes: a register configuration data sequence, which is located after the last display data sequence and before the first blanking area data sequence; the scrambling method also includes: Using a preset encoding method to encode the register configuration data sequence to generate a register configuration encoding sequence in the frame display data packet; Preferably, the register configuration data sequence includes a register setting instruction and register setting data; encoding the register configuration data sequence includes: The register setting data is encoded by adopting the preset encoding method to obtain a register setting encoding sequence; the register configuration encoding sequence includes the register setting instruction and the register setting encoding sequence; Preferably, each data sequence in the image frame data includes a clock calibration signal and a header instruction; at least the display data sequence and the register configuration data sequence also include a tail instruction; wherein, in the display data sequence, the clock calibration signal, the header instruction, the display area polynomial switching instruction, the pixel data and the tail instruction are arranged in sequence; in the register configuration data sequence, the clock calibration signal, the header instruction, the register setting instruction, the register setting data and the tail instruction are arranged in sequence; in the blanking area data sequence, the clock calibration signal, the header instruction, the blank area polynomial switching instruction and the blank area data are arranged in sequence, or the clock calibration signal, the header instruction, the blank area polynomial switching instruction, the blank area data and the tail instruction are arranged in sequence; Wherein, the clock calibration signal, the header instruction, the display area polynomial switching instruction, the footer instruction, the register setting instruction and the blank area polynomial switching instruction are not scrambled and encoded; Preferably, the number of bits of each data sequence in the image frame data is the same; Preferably, the preset encoding mode is 8B / 9B encoding mode.

8. A descrambling method, characterized in that: Applied to a receiving end of a display device, the descrambling method comprises: Receive frame display data packet; The multiple display coding sequences in the frame display data packet are descrambled respectively according to the scrambling codes corresponding to the display coding sequences to obtain multiple display data sequences; wherein the scrambling codes corresponding to at least two of the display coding sequences are different.

9. The descrambling method according to claim 8, characterized in that: Different scrambling codes are generated based on different scrambling polynomials; the scrambling polynomials corresponding to at least two display coding sequences are different; Descrambling the display coding sequence using a scrambling code corresponding to the display coding sequence, comprising: Controlling a descrambling circuit to switch to a descrambling structure corresponding to the scrambling code polynomial corresponding to the scrambling code of the display coding sequence, and descrambling the display coding sequence based on a preset decoding mode and the descrambling structure to obtain the display data sequence; Preferably, the preset decoding mode is 8B / 9B decoding mode.

10. The descrambling method according to claim 8, characterized in that: Different scrambling codes are generated based on different scrambling polynomials; the scrambling polynomials corresponding to at least two display coding sequences are different; The display coding sequence includes: a display area polynomial switching instruction and a pixel coding sequence; and the process of descrambling the display coding sequence includes: Determine the scrambling code polynomial corresponding to the display coding sequence according to the display area polynomial switching instruction; Generate a descrambling formula according to the scrambling polynomial corresponding to the display coding sequence, and descramble the pixel coding sequence in the display coding sequence based on the descrambling formula to obtain pixel data; wherein the display data sequence includes the display area polynomial switching instruction and the pixel data; Preferably, a pixel data in the display data sequence corresponds to relevant data required for displaying a row of sub-pixels in the display device; Preferably, in the frame display data packet, the display coding sequences are arranged in sequence, each odd-numbered display coding sequence corresponds to a first scrambling code polynomial, and each even-numbered display coding sequence corresponds to a second scrambling code polynomial.

11. A display device, characterized in that: include: A timing controller, a source driver chip and a display panel; the timing controller is used to scramble the image frame data using the scrambling method described in any one of claims 1 to 7 to generate a frame display data packet; the source driver chip is used to descramble the frame display data packet using the descrambling method described in any one of claims 8 to 10, and drive the display panel to display according to the descrambling result.