CN102456327A - Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface - Google Patents

Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface Download PDF

Info

Publication number
CN102456327A
CN102456327A CN201010523068XA CN201010523068A CN102456327A CN 102456327 A CN102456327 A CN 102456327A CN 201010523068X A CN201010523068X A CN 201010523068XA CN 201010523068 A CN201010523068 A CN 201010523068A CN 102456327 A CN102456327 A CN 102456327A
Authority
CN
China
Prior art keywords
data
image data
rgb image
decoded
binary number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201010523068XA
Other languages
Chinese (zh)
Other versions
CN102456327B (en
Inventor
李其泽
罗红磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
Beijing BOE Optoelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing BOE Optoelectronics Technology Co Ltd filed Critical Beijing BOE Optoelectronics Technology Co Ltd
Priority to CN 201010523068 priority Critical patent/CN102456327B/en
Publication of CN102456327A publication Critical patent/CN102456327A/en
Application granted granted Critical
Publication of CN102456327B publication Critical patent/CN102456327B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

The invention provides an encoding and decoding method, device and system based on an LVDS (Low Voltage Differential Signaling) interface, which relates to the field of liquid crystal displays and is invented to avoid electromagnetic interference problem. The encoding method comprises the following steps of obtaining gray scale of RGB (Red Green Blue) image data in data to be encoded; determining the gray scale as a preset specific gray scale; setting an indicating identifier so that an decoder can obtain that the data to be decoded is the data corresponding to the preset specific gray scale according to the indicating identifier; and carrying out transposition on specific digits of binary number corresponding to the RGB image data so that the transmission frequency of the RGB image data is reduced after the transposition. The encoding and decoding method, device and system based on the LVDS interface can be used for data transmission of the LVDS interface.

Description

Coding, coding/decoding method, device and system based on the LVDS interface
Technical field
The present invention relates to field of liquid crystal, relate in particular to a kind of coding, coding/decoding method, device and system based on the LVDS interface.
Background technology
LVDS (Low Voltage Differential Signaling; Low Voltage Differential Signal) interface is a kind of data transmission and interfacing; The core of this technology is to adopt extremely low voltage swing high speed differential transmission data; Can realize point-to-point or a bit to connection of multiple spot, have low-power consumption, low error rate, low crosstalking and characteristics such as low radiation.
The LVDS interface is the general interface standard of display panels.In display panels; The LVDS interface circuit comprises two parts; Be the LVDS output interface circuit (LVDS transmitter) of drive plate side and the LVDS input interface circuit (LVDS receiver) of liquid crystal panel side; The LVDS transmitter is used RGB (RGB) image of drive plate main control chip output and is controlled transistor logic (TTL) conversion of signals of usefulness and be encoded to the LVDS signal; Pass the signal to the LVDS receiver of liquid crystal panel side then, the LVDS receiver converts the LVDS signal decoding into the parallel signal of Transistor-Transistor Logic level again, is sent to the sequential control and the ranks driving circuit of liquid crystal display.
With 8 liquid crystal panels is example; The LVDS interface comprises five transmission channels; Wherein comprise four data passages and a clock passage, the data channel data signals transmitted comprises rgb image data, data enable signal DE, line synchronizing signal HS and row synchronizing signal VS.Under the existing coded system; The LVDS signal data pack arrangement of 8 liquid crystal panels is as shown in Figure 1 usually; Each LVDS clock period, transmit a complete packet, each packet comprises each 8bit of rgb image data (position) and DE, VS, the HS data of 27bit altogether; 4 data passages are transmitted simultaneously, and each passage can transmit the data of 7bit at a LVDS in the clock period, promptly can transmit the data of 28bit altogether simultaneously.This coded system RGB three looks is separately represented 0 to 255 GTG with R0 to R7, G0 to G7, each 8 bit of B0 to B7 respectively, and under every kind of GTG, rgb image data is formed by 0/1.
Under the existing LVDS coded system, in some specific grey-scale, 85 GTGs for example, the frequency of rgb image data transmission is higher.As shown in Figure 2, when 85 GTGs, the form of rgb image data is 01010101, and the numerical value between the R0/G0/B0 to R7/G7/B7 of composition rgb image data frequently replaces between 0 and 1 value, and the frequency of rgb image data transmission is higher.And when the frequency of data transmission is higher, in the time of will causing data transmission energy emission serious, be prone to electromagnetic interference (EMI) (EMI, Electro Magnetic Interference) problem.
Summary of the invention
The fundamental purpose of embodiments of the invention is, a kind of coding based on the LVDS interface, coding/decoding method, device and system are provided, and can effectively avoid the EMI problem.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of coding method based on the LVDS interface comprises:
Obtain the GTG of rgb image data in the data to be encoded, confirm that said GTG is predefined specific grey-scale;
Decoding sign is set, so that can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to said sign;
The specific digits of the binary number that said rgb image data is corresponding is carried out the position transposing, so that through after the transposing of said position, the transmission frequency of said rgb image data reduces.
A kind of coding/decoding method based on the LVDS interface comprises:
Read the sign in the data to be decoded, know that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale;
The specific digits of the binary number that rgb image data in the said data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
A kind of code device based on the LVDS interface comprises:
Acquiring unit is used for obtaining the GTG of data to be encoded rgb image data, confirms that said GTG is predefined specific grey-scale;
Coding unit; Be used to be provided with sign; So that decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale, and the specific digits of the binary number that said rgb image data is corresponding be carried out the position transposing enough according to said sign; So that through after the transposing of said position, the transmission frequency of said rgb image data reduces.
A kind of decoding device based on the LVDS interface comprises:
Acquiring unit is used for reading the sign of data to be decoded, knows that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale;
Decoding unit, the specific digits that is used for the binary number that said data rgb image data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
A kind of data transmission system based on the LVDS interface comprises:
Code device; Be used for obtaining the GTG of data to be encoded rgb image data, confirm that said GTG is predefined specific grey-scale, is provided with sign; So that decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to said sign; The specific digits of the binary number that said rgb image data is corresponding is carried out the position transposing, so that through after the transposing of said position, the transmission frequency of said rgb image data reduces;
Decoding device is used for reading the sign of data to be decoded, knows that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale; The specific digits of the binary number that rgb image data in the said data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
After adopting technique scheme; The coding that the embodiment of the invention provides, coding/decoding method based on the LVDS interface; Device and system carry out the position transposing to the corresponding binary number of the rgb image data under the specific grey-scale during coding, have reduced the rgb image data transmission frequency; And then reduced the energy emission in the data transmission procedure, effectively avoid occurring the EMI problem.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the packet structure of the LVDS signal of existing following 8 liquid crystal panels of coded system;
Fig. 2 is the packet structure of 85 GTG LVDS signals of existing following 8 liquid crystal panels of coded system;
A kind of process flow diagram of the coding method that Fig. 3 provides for the embodiment of the invention;
A kind of process flow diagram of the coding/decoding method that Fig. 4 provides for the embodiment of the invention;
The another kind of process flow diagram of the coding method that Fig. 5 provides for the embodiment of the invention;
The packet structure of LVDS under 85 GTGs that Fig. 6 obtains for coding method shown in Figure 5;
Another process flow diagram of the coding/decoding method that Fig. 7 provides for the embodiment of the invention;
A kind of structured flowchart of the code device that Fig. 8 provides for the embodiment of the invention;
Another structured flowchart of the code device that Fig. 9 provides for the embodiment of the invention;
A kind of structured flowchart of the decoding device that Figure 10 provides for the embodiment of the invention;
The structured flowchart of the data transmission system that Figure 11 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention aims to provide a kind of coding based on the LVDS interface, coding/decoding method, device and system, can effectively avoid the EMI problem.
The coding method based on LVDS of Fig. 3, that the embodiment of the invention provides comprises:
Step 101 is obtained the GTG of rgb image data in the data to be encoded, confirms that said GTG is predefined specific grey-scale.
Corresponding to different GTGs, the binary number that rgb image data is corresponding is different.Therefore; When encoding; The LVDS coding staff need at first obtain the GTG of rgb image data in the data to be encoded; To confirm the data layout of the binary number that rgb image data is corresponding, can also confirm that the corresponding GTG of this coded data is predefined specific grey-scale according to the GTG that obtains.When said GTG was the GTG beyond the predefined specific grey-scale, the LVDS coding staff can be encoded according to prior art.
In the embodiment of the invention; Predefined specific grey-scale is the higher GTG of data transmission frequency of the corresponding binary number of rgb image data; Be that 0 value numerical digit and 1 value numerical digit frequently replace in the corresponding binary number of rgb image data, for example 85 GTGs and 170 GTGs.Certainly, can also be the higher specific grey-scale of other data transmission frequency.
Step 102 is provided with sign, so that decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to said sign;
Because when said GTG was predefined specific grey-scale, the LVDS coding staff had adopted and other GTG different coding modes, need inform decoding side, to guarantee the accuracy of data.Therefore, in this step, when the LVDS coding staff is encoded; Be provided with sign, during the decoding of decoding side, can read the content of this sign; If it is the corresponding data of said predefined specific grey-scale that sign has been indicated data to be decoded; To decode according to the decoding rule corresponding with coding staff in decoding side, otherwise decoding can directly be decoded according to prior art.
Concrete; With 8 liquid crystal panels is example; Each clock period, the LVDS coding staff packet that forms of encoding can transmit the 28bit data altogether, and each packet comprises each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether; Therefore, will have a space bit in the packet.In this step; When said GTG is predefined specific grey-scale; When the LVDS coding staff is encoded; Can be with this space bit as the sign position, the space bit in said data to be encoded are encoded the packet that forms inserts 1, is the corresponding data of said predefined specific grey-scale with the data of indicating this packet.
Step 103, the specific digits of the binary number that said rgb image data is corresponding is carried out the position transposing;
In this step, the purpose of carrying out position transposing is to reduce the transmission frequency of data, that is: make carry out the position transposing after, the transmission frequency of said rgb image data reduces.Concrete; The rule of carrying out the position transposing comprises: the numerical value that carries out the said specific digits of position transposing mutually is 0 and 1; After carrying out the position transposing; In the corresponding binary number of said rgb image data, numerical value is that 0 said specific digits and numerical value are that 0 numerical digit is adjacent, and numerical value is that 1 said specific digits and numerical value are that 1 numerical digit is adjacent.
Certainly; It is understandable that; In the embodiment of the invention; The specific digits of the binary number that the LVDS coding staff is corresponding with said rgb image data is carried out the position transposing and is not limited to above-mentioned rule, and those skilled in the art can adopt different position transposing rules according to actual needs, and the present invention does not do qualification to this.
Like this, when encoding, the specific digits of the binary number that the LVDS coding staff is corresponding with rgb image data is carried out the position transposing; With numerical value is that 1 specific digits and numerical value are that 0 specific digits is carried out the position transposing, and after making the position transposing, in the corresponding binary number of rgb image data; Numerical value is that 0 specific digits and numerical value are that 0 numerical digit is adjacent; Numerical value is that 1 specific digits and numerical value are that 1 numerical digit is adjacent, so just can prevent effectively that 0 and 1 value is frequent in the corresponding binary number of rgb image data to replace, and has promptly reduced the rgb image data transmission frequency; And then reduced the energy emission in the data transmission procedure, effectively avoid occurring the EMI problem.
It is pointed out that order can not fixed between step 102 and the step 103, both can carry out simultaneously, also can carry out successively, and those skilled in the art can suitably adjust this as required, and present embodiment is not done qualification to this.
Coding/decoding method based on LVDS as shown in Figure 4, that the embodiment of the invention provides comprises:
Step 201 reads the sign in the data to be decoded, knows that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale;
Comprise the sign that the LVDS coding staff is provided with in the data to be decoded that LVDS decoding side obtains, LVDS can confirm that data to be decoded are the corresponding data of predefined specific grey-scale according to this sign.
Step 202, the specific digits of the binary number that rgb image data in the said data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
Because the data to be decoded that LVDS decoding side obtains are when encoding; Specific digits to the corresponding binary number of rgb image data has been carried out the position transposing, therefore, and in this step; LVDS decoding side will be according to the position transposing in when coding; Carry out the adjustment of corresponding position,, guarantee the correctness of data with the reduction rgb image data.
Like this; The coding/decoding method that the embodiment of the invention provides makes when data encodes, can carry out the position to the corresponding binary number of the rgb image data under the specific grey-scale and change; Can prevent effectively that 0 and 1 value frequently alternately in the corresponding binary number of rgb image data; Promptly reduce the rgb image data transmission frequency, and then reduced the energy emission in the data transmission procedure, avoided occurring the EMI problem.
As shown in Figure 5, be example with 8 liquid crystal panels below, specify the Methods for Coding that the embodiment of the invention provides based on the LVDS interface, comprising:
Step 301, it is 85 GTGs and 170 GTGs that the LVDS coding staff is set specific grey-scale.
In 8 liquid crystal panels, when the LVDS coding side was encoded, rgb image data was represented 0 to 255 GTG with R0 to R7, G0 to G7, each 8 bit of B0 to B7 respectively, and under every kind of GTG, rgb image data is formed by 0/1.
When 85 GTGs, the form of rgb image data is 01010101, and when 170 GTGs, the form of rgb image data is 10101010; These two kinds of GTGs are in 0 to 255 GTG, and the frequency of data transmission is the highest, therefore; In the time of will causing data transmission, energy emission is serious, is prone to the EMI problem.Therefore, in this step, preestablishing 85 GTGs and 170 GTGs is specific grey-scale.
Step 302, the LVDS coding staff obtains the GTG of rgb image data in the data to be encoded, and confirms whether this GTG is 85 GTGs or 170 GTGs.
Step 303, when the GTG of rgb image data in the data to be encoded was other GTGs beyond 85 or 170 GTGs, the LVDS coding staff was encoded according to original coded system.
Behind the coding, the packet that the LVDS coding staff obtains comprises each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether, because a packet can transmit the 28bit data altogether, also comprises a space bit in the packet.
Step 304, when the GTG of rgb image data in the data to be encoded was 85 or 170 GTGs, the space bit of LVDS coding staff in the packet that forms that data to be encoded are encoded inserted 1, as the sign of decoding side.
The LVDS coding staff carries out the coded data bag can transmit the 28bit data altogether, and each packet comprises and each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether therefore, will have a space bit in the packet.
In this step; When the LVDS coding staff is encoded; This space bit as the sign position, is inserted 1 at the encode space bit of the packet that forms of data to be encoded, is said predefined specific grey-scale 85 or the corresponding data of 170 GTGs with the data of indicating this packet; Decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to the value of packet Central Plains space bit.
The the 1st and the 2nd of the binary number that step 305, LVDS coding staff are corresponding with rgb image data is respectively carried out the position transposing mutually, and the 5th and the 6th is carried out the position transposing mutually.
That is: concrete, when the LVDS coding staff is encoded, on the basis of original coded system; With the location swap of R1 and R2, with the location swap of R5 and R6, with the location swap of G1 and G2; With the location swap of G5 and G6, with the location swap of B1 and B2, with the location swap of B5 and B6.
For 85 GTGs, under original coded system, referring to Fig. 2, the form of the rgb image data that coding forms is 01010101, and wherein, the R1/G1/B1 value is 1, and the R2/G2/B2 value is 0, and the R5/G5/B5 value is 1, and the R6/G6/B6 value is 0.In the present embodiment, as shown in Figure 6, carry out location swap after, the form of the rgb image data that coding forms is 00110011, with respect to former data layout 01010101, the frequency halving of data transmission can effectively reduce energy emission, effectively avoids the EMI problem.
In like manner, for 170 GTGs, the form of rgb image data is 10101010 under original coded system, and wherein, the R1/G1/B1 value is 0, and the R2/G2/B2 value is 1, and the R5/G5/B5 value is 0, and the R6/G6/B6 value is 1.After carrying out location swap, the form of rgb image data is 11001100, and with respect to former data layout 10101010, the frequency halving of data transmission can effectively reduce energy emission, effectively avoids the EMI problem.
It is to be noted; In embodiments of the present invention; The purpose that the specific digits of the binary number that rgb image data is corresponding carries out changing the position is to reduce the frequency of data transmission, and therefore, the principle of position transposing need satisfy: the numerical value that carries out the said specific digits of position transposing mutually is 0 and 1; After carrying out the position transposing; In the corresponding binary number of rgb image data, numerical value is that 0 said specific digits and numerical value are that 0 numerical digit is adjacent, and numerical value is that 1 said specific digits and numerical value are that 1 numerical digit is adjacent.Like this, just can prevent effectively that 0 and 1 value has frequently alternately promptly reduced the rgb image data transmission frequency, and then reduced the energy emission in the data transmission procedure in the corresponding binary number of rgb image data, avoid occurring the EMI problem.
In this step; The specific digits of the binary number that the LVDS coding staff is corresponding with rgb image data is carried out the mode that the position transposing is not limited to limit in this step; Can also adopt other modes to carry out the position transposing, for example, the 1st and the 2nd of respectively that rgb image data is corresponding binary number is carried out the position transposing mutually; Promptly only change the corresponding binary number of rgb image data the 1st and the 2nd; The R1 and the R2 location swap of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding, G1 and G2 location swap, B1 and B2 location swap; The the 5th and the 6th of perhaps respectively that rgb image data is corresponding binary number is carried out the position transposing mutually; Promptly only change the corresponding binary number of rgb image data the 5th and the 6th; The R5 and the R6 location swap of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding, G5 and G6 location swap, B5 and B6 location swap can reduce the frequency of data transmission equally; Effectively reduce energy emission, avoid the EMI problem.
As shown in Figure 7, specify below corresponding to coding method shown in Figure 5, the coding/decoding method based on the LVDS interface that the embodiment of the invention provides comprises:
Step 401, LVDS reads decoding side the value of the former space bit in the data to be decoded.
Promptly; Read the value of packet to be decoded Central Plains space bit; Promptly read sign, when this position is blank, LVDS decoding side will know that data to be decoded are not the corresponding data of 85 or 170 GTGs; And when this position is 1, LVDS decoding side will know that data to be decoded are the corresponding data of 85 or 170 GTGs.
Step 402 according to the value of the former space bit in the data to be decoded, knows whether data to be decoded are the corresponding data of 85 or 170 GTGs.
Step 403, when data to be decoded are the data of 85 or 170 GTGs other GTGs correspondences in addition, decode according to original decoding process in LVDS decoding side.
Step 404, when data to be decoded were the data of 85 or 170 GTGs correspondence, the 1st and the 2nd of the binary number that LVDS decoding side is corresponding with rgb image data was respectively carried out the position transposing mutually, and the 5th and the 6th is carried out the position transposing mutually.
That is: when LVDS decodes decoding side, with the location swap of R1 and R2, with the location swap of R5 and R6; With the location swap of G1 and G2, with the location swap of G5 and G6, with the location swap of B1 and B2; With the location swap of B5 and B6,, guarantee the correctness of data transmission with the reduction rgb image data.
It is pointed out that in this step that the position transposing when the position transposing in this when decoding will be with digital coding to be decoded is corresponding.According to the position transposing of coding staff, the R1 and the R2 location swap of the binary number that LVDS decoding side also can be corresponding with rgb image data, G1 and G2 location swap, B1 and B2 location swap; The R5 and the R6 location swap of perhaps that rgb image data is corresponding binary number, G5 and G6 location swap, B5 and B6 location swap.
In addition, be that example describes though the embodiment of the invention is a LVDS interface with 8 liquid crystal panels, the invention is not restricted to this, the present invention also can be used in the LVDS interface of other liquid crystal panel.
Accordingly, the embodiment of the invention also provides a kind of code device based on the LVDS interface, and is as shown in Figure 8, comprising:
Acquiring unit 11 is used for obtaining the GTG of data to be encoded rgb image data, confirms that said GTG is predefined specific grey-scale;
Coding unit 12; Be used to be provided with sign; So that decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale, and the specific digits of the binary number that said rgb image data is corresponding be carried out the position transposing enough according to said sign;
Wherein, Coding unit 12 can specifically be used for the specific digits of the binary number that said rgb image data is corresponding and carry out the position transposing, and wherein, the numerical value that carries out the said specific digits of position transposing mutually is 0 and 1; After carrying out the position transposing; In the corresponding binary number of said rgb image data, numerical value is that 0 said specific digits and numerical value are that 0 numerical digit is adjacent, and numerical value is that 1 said specific digits and numerical value are that 1 numerical digit is adjacent.
The code device that the embodiment of the invention provides based on the LVDS interface; Can carry out the position transposing to the corresponding binary number of the rgb image data under the specific grey-scale during coding; So just can prevent effectively that 0 and 1 value is frequent in the corresponding binary number of rgb image data under the specific grey-scale replaces; Promptly reduce the rgb image data transmission frequency, and then reduced the energy emission in the data transmission procedure, avoided occurring the EMI problem.
Concrete, as shown in Figure 9, coding unit 12 can comprise:
Module 121 is set, is used to be provided with sign so that decoding can be enough be 1 according to the value of said space bit, know that data to be decoded are the corresponding data of said predefined specific grey-scale;
Transposing module 122, the specific digits that is used for the binary number that said rgb image data is corresponding is carried out the position transposing.
Wherein, predefined specific grey-scale is the higher GTG of data transmission frequency of the corresponding binary number of rgb image data, and 0 value numerical digit and 1 value numerical digit frequently replace in the binary number that promptly rgb image data is corresponding.In one embodiment of the invention, predefined specific grey-scale is 85 GTGs and 170 GTGs.Certainly, can also be the higher specific grey-scale of other data transmission frequency.
With 8 liquid crystal panels is example; Each clock period, the LVDS code device packet that forms of encoding can transmit the 28bit data altogether, and each packet comprises each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether; Therefore, will have a space bit in the packet.The code device that the embodiment of the invention provides; Can be with this space bit as the sign position; At this moment; Module 121 is set can specifically be used for when said GTG is predefined specific grey-scale, the space bit in said data to be encoded are encoded the packet that forms inserts 1, is the corresponding data of said predefined specific grey-scale with the data of indicating this packet.
When the LVDS code device was encoded, rgb image data was represented 0 to 255 GTG with R0 to R7, G0 to G7, each 8 bit of B0 to B7 respectively, and under every kind of GTG, rgb image data is formed by 0/1.For 85 GTGs, the form of the binary number that rgb image data is corresponding is 01010101, and wherein, the R1/G1/B1 value is 1, and the R2/G2/B2 value is 0, and the R5/G5/B5 value is 1, and the R6/G6/B6 value is 0.For 170 GTGs, the binary number formats that rgb image data is corresponding is 10101010.Wherein, the R1/G1/B1 value is 0, and the R2/G2/B2 value is 1, and the R5/G5/B5 value is 0, and the R6/G6/B6 value is 1.
At this moment; When transposing module 122 specifically was used for the corresponding data of 85 GTGs or 170 GTGs are encoded, the 1st and the 2nd of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding was carried out the position transposing, and the 5th and the 6th is carried out the position and change; Be about to the R1 of the binary number that rgb image data is corresponding under 85 GTGs or 170 GTGs and the location swap of R2; With the location swap of R5 and R6, with the location swap of G1 and G2, with the location swap of G5 and G6; With the location swap of B1 and B2, with the location swap of B5 and B6.
After carrying out location swap, during 85 GTGs, the form of the rgb image data that coding unit 12 codings form is 00110011, and with respect to 01010101, the frequency halving of data transmission can effectively reduce energy emission, avoids the EMI problem.In like manner, during 170 GTGs, the form of the rgb image data that coding unit 12 codings form is 11001100, and with respect to former data layout 10101010, the frequency halving of data transmission can effectively reduce energy emission, effectively avoids the EMI problem.
Certainly, the specific digits of the binary number that coding unit 12 is corresponding with rgb image data is carried out the position transposing and is not limited to aforesaid way, can also adopt other modes.In another embodiment of the present invention; When coding unit 12 also can specifically be used for the corresponding data of 85 GTGs or 170 GTGs are encoded; The 1st and the 2nd of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding is carried out the position transposing, is about to the R1 and the R2 location swap of the binary number that rgb image data is corresponding under 85 GTGs or 170 GTGs, G1 and G2 location swap; B 1 and B2 location swap; Can reduce the frequency of data transmission equally, effectively reduce energy emission, effectively avoid the EMI problem.
In another embodiment of the present invention; When coding unit 12 also can specifically be used for the corresponding data of 85 GTGs or 170 GTGs are encoded; The 5th and the 6th of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding is carried out the position transposing; Be about to the R5 and the R6 location swap of the binary number that rgb image data is corresponding under 85 GTGs or 170 GTGs, G5 and G6 location swap, the location swap of B5 and B6.Can reduce the frequency of data transmission equally, effectively reduce energy emission, effectively avoid the EMI problem.
In addition, coding unit 12 can adopt the coded system of prior art to encode for the corresponding data of the GTG outside 85 GTGs or 170 GTGs.
Accordingly, the embodiment of the invention also provides a kind of decoding device based on the LVDS interface, and is shown in figure 10, comprising:
Acquiring unit 21 is used for reading the sign of data to be decoded, knows that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale;
Decoding unit 22, the specific digits that is used for the binary number that said data rgb image data to be decoded is corresponding is carried out the position transposing;
Wherein, the position transposing of carrying out when the position transposing that decoding unit 22 carries out is encoded with the corresponding rgb image data of said specific grey-scale is corresponding, with the reduction rgb image data, guarantees the accuracy of data.
The decoding device that the embodiment of the invention provides based on the LVDS interface; When making digital coding; Can carry out the position transposing to the corresponding binary number of the rgb image data under the specific grey-scale, so just can prevent effectively that 0 and 1 value is frequent in the corresponding binary number of rgb image data under the specific grey-scale to replace, promptly reduce the rgb image data transmission frequency; And then reduced the energy emission in the data transmission procedure, effectively avoid occurring the EMI problem.
With 8 liquid crystal panels is example; Each clock period, the LVDS code device packet that forms of encoding can transmit the 28bit data altogether, and each packet comprises each 8bit of rgb image data and DE, VS, the HS data of 27bit altogether; Therefore; To have a space bit in the packet of data to be decoded, the LVDS coding staff can be with this space bit as the sign position, when the corresponding data of data bit specific grey-scale to be encoded; In this space bit, insert 1, this space bit of other GTG is constant.At this moment, acquiring unit 21 can specifically be used for reading the former space bit of the packet of data to be decoded, when said former blank place value is 1, knows that data to be decoded are the corresponding data of predefined specific grey-scale.
Wherein, predefined specific grey-scale is the higher GTG of data transmission frequency of the corresponding binary number of rgb image data, and 0 value numerical digit and 1 value numerical digit frequently replace in the binary number that promptly rgb image data is corresponding.In one embodiment of the invention, predefined specific grey-scale is 85 GTGs and 170 GTGs.Certainly, can also be the higher specific grey-scale of other data transmission frequency.
When coding staff with 85 GTGs or 170 GTGs under the 1st and the 2nd of the corresponding binary number of rgb image data carry out position transposing and/or the 5th and the 6th and carry out the position when changing; Decoding unit 22 specifically be used for the binary number that said data rgb image data to be decoded is corresponding the 1st and the 2nd carry out the position and change; The 5th and the 6th is carried out the position transposing, is about to the R1 of the corresponding binary number of rgb image data and the location swap of R2, with the location swap of R5 and R6; Location swap with G1 and G2; With the location swap of G5 and G6, with the location swap of B1 and B2, with the location swap of B5 and B6; With the reduction rgb image data, guarantee the accuracy of data.
Wherein, it is corresponding that how decoding unit 22 carries out the position transposing that the position transposing carries out need be with the corresponding rgb image data of said specific grey-scale coding the time.
In one embodiment of the invention; Decoding unit 22 also can specifically be used for the 1st and the 2nd of the binary number that said data rgb image data to be decoded is corresponding to carry out the position and changes; Be about to the R1 and the R2 location swap of the corresponding binary number of rgb image data; G1 and G2 location swap, B1 and B2 location swap;
In another embodiment of the present invention; Decoding unit 22 also can specifically be used for said data rgb image data to be decoded corresponding the 5th and the 6th of binary number carry out the position and change; Be about to the R5 and the R6 location swap of the binary number that rgb image data is corresponding under 85 GTGs or 170 GTGs; G5 and G6 location swap, the location swap of B5 and B6.
In addition, decoding unit 12 can adopt the decoding process of prior art to decode for the corresponding data of the GTG outside the specific grey-scale.
Accordingly, the embodiment of the invention also provides a kind of data transmission system based on the LVDS interface, and is shown in figure 11, comprising:
Code device 3 is used for obtaining the GTG of data to be encoded rgb image data; When said GTG is predefined specific grey-scale, sign is set, so that decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to said sign; The specific digits of the binary number that said rgb image data is corresponding carries out the position transposing so that through after the transposing of said position, the transmission frequency of said rgb image data reduces;
Decoding device 4 is used for reading the sign of data to be decoded, knows that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale; The specific digits of the binary number that rgb image data in the said data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
The data transmission system that the embodiment of the invention provides based on the LVDS interface; When carrying out the LVDS digital coding; Can carry out the position transposing to the corresponding binary number of the rgb image data under the specific grey-scale, so just can prevent effectively that 0 and 1 value is frequent in the corresponding binary number of rgb image data under the specific grey-scale to replace, promptly reduce the rgb image data transmission frequency; And then reduced the energy emission in the data transmission procedure, avoid occurring the EMI problem.
Wherein, the code device that code device 3 can adopt the embodiment of the invention to provide, the decoding device that decoding device 4 can adopt the embodiment of the invention to provide, preamble will specify, repeat no more here.
One of ordinary skill in the art will appreciate that: all or part of flow process that realizes said method embodiment can be accomplished through the relevant hardware of computer program instructions; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection domain with claim.

Claims (15)

1. the coding method based on the LVDS interface is characterized in that, comprising:
Obtain the GTG of rgb image data in the data to be encoded, confirm that said GTG is predefined specific grey-scale;
Decoding sign is set, so that can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to said sign;
The specific digits of the binary number that said rgb image data is corresponding is carried out the position transposing, so that through after the transposing of said position, the transmission frequency of said rgb image data reduces.
2. coding method according to claim 1 is characterized in that, the specific digits of said binary number that said rgb image data is corresponding is carried out the position transposing and comprised:
The specific digits of the binary number that said rgb image data is corresponding is carried out the position transposing; Wherein, The numerical value that carries out the said specific digits of position transposing mutually is 0 and 1, carry out the position transposing after, in the binary number of said rgb image data correspondence; Numerical value is that 0 said specific digits and numerical value are that 0 numerical digit is adjacent, and numerical value is that 1 said specific digits and numerical value are that 1 numerical digit is adjacent.
3. coding method according to claim 1 is characterized in that, the said sign that is provided with comprises: the space bit in the packet that forms that said data to be encoded are encoded inserts 1.
4. according to claim 2 or 3 described coding methods, it is characterized in that,
Said predefined specific grey-scale is 85 GTGs and 170 GTGs;
The specific digits of said binary number that said rgb image data is corresponding is carried out the position transposing and is comprised:
The 1st and the 2nd of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding is carried out the position transposing, and the 5th and the 6th is carried out the position transposing; Perhaps
The 1st and the 2nd of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding is carried out the position transposing; Perhaps
The 5th and the 6th of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding is carried out the position transposing.
5. the coding/decoding method based on the LVDS interface is characterized in that, comprising:
Read the sign in the data to be decoded, know that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale;
The specific digits of the binary number that rgb image data in the said data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
6. coding/decoding method according to claim 5 is characterized in that, the said sign that reads in the data to be decoded knows that according to said sign data to be decoded are that the corresponding data of predefined specific grey-scale comprise:
Read the former space bit in the packet of data to be decoded, when said former blank place value is 1, know that data to be decoded are the corresponding data of predefined specific grey-scale.
7. according to claim 5 or 6 described coding/decoding methods, it is characterized in that,
Said specific digits with the binary number of rgb image data correspondence in the said data to be decoded is carried out the position transposing and is comprised:
The 1st and the 2nd of the binary number that rgb image data in the data to be decoded is corresponding is carried out the position transposing, and the 5th and the 6th is carried out the position transposing; Perhaps
The 1st and the 2nd of the binary number that rgb image data in the data to be decoded is corresponding is carried out the position transposing; Perhaps
The 5th and the 6th of the binary number that rgb image data in the data to be decoded is corresponding is carried out the position transposing.
8. the code device based on the LVDS interface is characterized in that, comprising:
Acquiring unit is used for obtaining the GTG of data to be encoded rgb image data, confirms that said GTG is predefined specific grey-scale;
Coding unit; Be used to be provided with sign; So that decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale, and the specific digits of the binary number that said rgb image data is corresponding be carried out the position transposing enough according to said sign; So that through after the transposing of said position, the transmission frequency of said rgb image data reduces.
9. code device according to claim 8 is characterized in that, said coding unit specifically is used for the specific digits of the binary number that said rgb image data is corresponding and carries out the position transposing; Wherein, The numerical value that carries out the said specific digits of position transposing mutually is 0 and 1, carry out the position transposing after, in the binary number of said rgb image data correspondence; Numerical value is that 0 said specific digits and numerical value are that 0 numerical digit is adjacent, and numerical value is that 1 said specific digits and numerical value are that 1 numerical digit is adjacent.
10. code device according to claim 8 is characterized in that, said coding unit comprises:
Module is set; Be used to be provided with sign; Space bit in said data to be encoded are encoded the packet that forms inserts 1 so that decoding can be enough be 1 according to the value of said space bit, know that data to be decoded are the corresponding data of said predefined specific grey-scale;
The transposing module, the specific digits that is used for the binary number that said rgb image data is corresponding is carried out the position transposing.
11. code device according to claim 10 is characterized in that,
Said predefined specific grey-scale is 85 GTGs and 170 GTGs;
Said transposing module specifically is used for the 1st and the 2nd of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding and carries out the position transposing, and the 5th and the 6th is carried out the position and change; Perhaps
The 1st and the 2nd of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding is carried out the position transposing; Perhaps
The 5th and the 6th of the binary number that rgb image data under 85 GTGs or 170 GTGs is corresponding is carried out the position transposing.
12. the decoding device based on the LVDS interface is characterized in that, comprising:
Acquiring unit is used for reading the sign of data to be decoded, knows that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale;
Decoding unit, the specific digits that is used for the binary number that said data rgb image data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
13. decoding device according to claim 12; It is characterized in that; Said acquiring unit specifically is used for reading the former space bit of the packet of data to be decoded, when said former blank place value is 1, knows that data to be decoded are the corresponding data of predefined specific grey-scale.
14. according to claim 12 or 13 described decoding devices, it is characterized in that,
Said decoding unit specifically be used for the binary number that said data rgb image data to be decoded is corresponding the 1st and the 2nd carry out the position transposing, the 5th and the 6th is carried out the position and changes;
Perhaps
The 1st and the 2nd of the binary number that rgb image data in the said data to be decoded is corresponding is carried out the position transposing;
Perhaps
With rgb image data in the said data to be decoded corresponding the 5th and the 6th of binary number carry out the position and change.
15. the data transmission system based on the LVDS interface is characterized in that, comprising:
Code device; Be used for obtaining the GTG of data to be encoded rgb image data, confirm that said GTG is predefined specific grey-scale, is provided with sign; So that decoding can know that data to be decoded are the corresponding data of said predefined specific grey-scale enough according to said sign; The specific digits of the binary number that said rgb image data is corresponding is carried out the position transposing, so that through after the transposing of said position, the transmission frequency of said rgb image data reduces;
Decoding device is used for reading the sign of data to be decoded, knows that according to said sign data to be decoded are the corresponding data of predefined specific grey-scale; The specific digits of the binary number that rgb image data in the said data to be decoded is corresponding is carried out the position transposing; Position transposing when wherein, said position transposing is encoded with the corresponding rgb image data of said specific grey-scale is corresponding.
CN 201010523068 2010-10-22 2010-10-22 Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface Expired - Fee Related CN102456327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010523068 CN102456327B (en) 2010-10-22 2010-10-22 Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010523068 CN102456327B (en) 2010-10-22 2010-10-22 Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface

Publications (2)

Publication Number Publication Date
CN102456327A true CN102456327A (en) 2012-05-16
CN102456327B CN102456327B (en) 2013-10-09

Family

ID=46039462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010523068 Expired - Fee Related CN102456327B (en) 2010-10-22 2010-10-22 Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface

Country Status (1)

Country Link
CN (1) CN102456327B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523414A (en) * 2011-12-30 2012-06-27 曙光信息产业股份有限公司 Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method
CN107526562A (en) * 2017-08-17 2017-12-29 深圳市华星光电半导体显示技术有限公司 Display device and its driving method
CN109192127A (en) * 2018-10-29 2019-01-11 合肥鑫晟光电科技有限公司 Sequence controller and its driving method, display device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252673A (en) * 2008-02-04 2008-08-27 西安电子科技大学 Leakage proof apparatus and method of high speed digital video signal
WO2008143352A2 (en) * 2007-05-21 2008-11-27 Kabushiki Kaisha Toshiba Modulation apparatus and image display apparatus
US20090303217A1 (en) * 2008-06-04 2009-12-10 Novatek Microelectronics Corp. Transmission interface for reducing power consumption and electromagnetic interference and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008143352A2 (en) * 2007-05-21 2008-11-27 Kabushiki Kaisha Toshiba Modulation apparatus and image display apparatus
CN101252673A (en) * 2008-02-04 2008-08-27 西安电子科技大学 Leakage proof apparatus and method of high speed digital video signal
US20090303217A1 (en) * 2008-06-04 2009-12-10 Novatek Microelectronics Corp. Transmission interface for reducing power consumption and electromagnetic interference and method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523414A (en) * 2011-12-30 2012-06-27 曙光信息产业股份有限公司 Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method
CN107526562A (en) * 2017-08-17 2017-12-29 深圳市华星光电半导体显示技术有限公司 Display device and its driving method
WO2019033474A1 (en) * 2017-08-17 2019-02-21 深圳市华星光电半导体显示技术有限公司 Display device and driving method therefor
CN109192127A (en) * 2018-10-29 2019-01-11 合肥鑫晟光电科技有限公司 Sequence controller and its driving method, display device

Also Published As

Publication number Publication date
CN102456327B (en) 2013-10-09

Similar Documents

Publication Publication Date Title
US8212759B2 (en) Control circuit and control method for LCD panel
CN110321315A (en) About the coupled noise and power noise on the data bus inversion and reduction PAM-4 I/O of pulse amplitude modulation
CN103226928A (en) Display and signal transmission method thereof
CN102456327B (en) Encoding and decoding method, device and system based on LVDS (Low Voltage Differential Signaling) interface
CN102761389A (en) Asynchronous master-slave serial communication system, data transmission method and control module
CN109448614A (en) A kind of Displayport signal generation device and method based on FPGA
CN100468516C (en) Lvds and tmds dualfunction device
JP6034273B2 (en) Transmission device, reception device, transmission / reception system, and image display system
JP4195429B2 (en) Serial protocol panel display system, source driver, and gate driver
CN102523414A (en) Encoding and decoding method based on LVDS (low-voltage differential signaling) interface and device utilizing method
CN104700807A (en) Data transmission device of embedded clock point-to-point transmission architecture and data transmission method
CN103218966A (en) Data transmission method and device for internal interface of display panel
CN103218981B (en) Data transmission method, device, controller, drive unit and display device
CN102207841B (en) Universal data transmission system
JP4508359B2 (en) Liquid crystal display
CN100444238C (en) Apparatus for controlling color liquid crystal display and method thereof
US20100259510A1 (en) Apparatus for data encoding in LCD Driver
CN101964171B (en) Data transmission method
KR101841382B1 (en) Systems and methods for frequency control on a bus through superposition
TWI328793B (en) High quality picture in low performance display
CN102339592A (en) Video memory compression method based on LCD (liquid crystal display) controller
CN103366686A (en) Display device, display method, and encoding method
CN114942901B (en) Method, device, equipment and readable medium for serial coding
KR20080001484A (en) Method and apparatus for transmitting data of liquid crystal display
US20230215338A1 (en) Data transmission/reception circuit and display device including the same

Legal Events

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

Owner name: BEIJING BOE PHOTOELECTRICITY SCIENCE + TECHNOLOGY

Effective date: 20150706

Owner name: JINGDONGFANG SCIENCE AND TECHNOLOGY GROUP CO., LTD

Free format text: FORMER OWNER: BEIJING BOE PHOTOELECTRICITY SCIENCE + TECHNOLOGY CO., LTD.

Effective date: 20150706

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150706

Address after: 100015 Jiuxianqiao Road, Beijing, No. 10, No.

Patentee after: BOE Technology Group Co., Ltd.

Patentee after: Beijing BOE Photoelectricity Science & Technology Co., Ltd.

Address before: 100176 Beijing economic and Technological Development Zone, West Central Road, No. 8

Patentee before: Beijing BOE Photoelectricity Science & Technology Co., Ltd.

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

Granted publication date: 20131009

Termination date: 20201022