Data processing device, data processing method, chip and electronic equipment
By combining the processing module and the detection module in the data processing device to detect and adjust the verification data, the problem of insufficient accuracy detection of processing parameters in the prior art is solved, the accuracy of data processing is improved, and the display quality of the display device is improved .
Patent Information
- Application Number
- CN202411230388.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-12-27
AI Technical Summary
The accuracy detection of the processing parameters in the prior art in the display device is insufficient, resulting in large differential signal loss during data transmission, affecting the display quality, and traditional verification methods fail to fully consider the deviations of the simulated high-voltage signal and EQ parameter models.
Provided a data processing device, including a processing module and a detection module, by processing and detecting the received verification data, obtaining mode data and data to be detected, detecting the number of error signal values, generating feedback signals to adjust processing parameters, and improving data Accuracy of processing.
The accuracy detection and adjustment of processing parameters is realized, the accuracy of data processing is improved, data errors and display problems are reduced, and the resolution and refresh rate of the display device are improved.
Smart Images

Figure CN119207326A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic information technology, and in particular to a data processing device, a data processing method, a chip and an electronic device. Background Art
[0002] In a display device, a timing controller (T-con) is mainly used to control the timing and signal drive of a display panel. A source driver integrated circuit (SDIC) is located at the back end of the T-con. After receiving data transmitted by the T-con, the SDIC processes the data based on processing parameters to obtain accurate data for display on the display panel. The processing parameters are obtained by link training between the T-con and the SDIC, such as de-emphasis parameters and equalizer (EQ) parameters. Summary of the invention
[0003] The present application provides a data processing device, a data processing method, a chip and an electronic device, which can be used to improve the accuracy of data processing. The technical solution is as follows:
[0004] On the one hand, the present application provides a data processing device, which includes a processing module and a detection module; the processing module is used to process the received verification data based on the processing parameters, obtain the data to be detected and the pattern data indicating the pattern of the data to be detected, and transmit the pattern data and the data to be detected to the detection module; the detection module is used to obtain the pattern data and the data to be detected, and detect the data to be detected according to the pattern data to obtain the detection result; the processing module is also used to obtain the adjustment amplitude information corresponding to the detection result, adjust the processing parameters according to the adjustment amplitude information, obtain the adjusted processing parameters, and process the received data according to the adjusted processing parameters.
[0005] In one possible implementation, the data to be detected includes multiple signal values; the detection module is used to compare the signal values in the data to be detected and the pattern data to obtain the number of erroneous signal values in the data to be detected, and the detection result includes the number of erroneous signal values, and the number of erroneous signal values indicates the adjustment range of the processing parameters.
[0006] In one possible implementation, the detection module is also used to generate a feedback signal based on the detection result, and send the feedback signal to a data sending device, where the number of pulses included in the feedback signal is the same as the number of erroneous signal values, and the data sending device is a device that sends verification data; the processing module is also used to receive adjustment amplitude information generated by the data sending device based on the number of pulses in the feedback signal.
[0007] In a possible implementation, the detection module is configured to detect the data to be detected according to the mode data to obtain a detection result when the first enabling data is received and the first enabling data indicates that the detection module is enabled.
[0008] In one possible implementation, the processing module includes an equalizer and a descrambler; the equalizer is used to equalize the received verification data based on the processing parameters to obtain equalized data; the descrambler is used to descramble the equalized data to obtain the data to be detected, the mode data and the first enabling data when the second enabling data is received and the second enabling data indicates that the descrambler is enabled; the descrambler is also used to transmit the first enabling data to the detection module.
[0009] In a possible implementation manner, the detection module is configured to detect the data to be detected according to the mode data when the second enable data indicates that the descrambler is enabled and the first enable data indicates that the detection module is enabled.
[0010] On the other hand, a data processing method is provided, the method comprising:
[0011] The received verification data is processed based on the processing parameters to obtain the data to be detected and the pattern data indicating the pattern of the data to be detected; the data to be detected is detected according to the pattern data to obtain the detection result; the adjustment amplitude information corresponding to the detection result is obtained, the processing parameters are adjusted according to the adjustment amplitude information to obtain the adjusted processing parameters, and the received data is processed according to the adjusted processing parameters.
[0012] In one possible implementation, the data to be detected includes multiple signal values; the data to be detected is detected according to the pattern data to obtain a detection result, including: comparing the signal value in the data to be detected and the pattern data to obtain the number of erroneous signal values in the data to be detected, the detection result includes the number of erroneous signal values, and the number of erroneous signal values indicates the adjustment amplitude of the processing parameters.
[0013] In a possible implementation, the method also includes: generating a feedback signal based on the detection result, sending the feedback signal to a data sending device, the number of pulses included in the feedback signal is the same as the number of erroneous signal values, and the data sending device is a device for sending verification data; obtaining adjustment amplitude information corresponding to the detection result, including: receiving the adjustment amplitude information generated by the data sending device based on the number of pulses in the feedback signal.
[0014] In one possible implementation, the method is applied to a data processing device, which includes a detection module, which detects the data to be detected according to the mode data to obtain a detection result, including: when the detection module receives first enabling data and the first enabling data indicates that the detection module is enabled, the detection module detects the data to be detected according to the mode data to obtain a detection result.
[0015] In a possible implementation, the data processing device also includes a processing module, the processing module includes an equalizer and a descrambler; the received verification data is processed based on the processing parameters to obtain the data to be detected and the mode data indicating the mode of the data to be detected, including: equalizing the received verification data based on the processing parameters by the equalizer to obtain the equalized data; when the second enabling data is received and the second enabling data indicates that the descrambler is enabled, the equalized data is descrambled to obtain the data to be detected, the mode data and the first enabling data; the method also includes: transmitting the first enabling data to the detection module through the descrambler.
[0016] In a possible implementation, when the detection module receives the first enable data and the first enable data indicates that the detection module is enabled, the detection module detects the data to be detected according to the mode data to obtain a detection result, including: when the second enable data indicates that the descrambler is enabled and the first enable data indicates that the detection module is enabled, the detection module detects the data to be detected according to the mode data.
[0017] On the other hand, a data processing system is also provided, which includes a data processing device and a data sending device; the data sending device is used to obtain verification data and send the verification data to the data processing device; the data processing device is used to receive the verification data, process the verification data based on processing parameters, and obtain data to be detected and pattern data indicating a pattern of the data to be detected; the data processing device is also used to detect the data to be detected according to the pattern data to obtain a detection result; the data processing device is also used to obtain adjustment amplitude information corresponding to the detection result, adjust the processing parameters according to the adjustment amplitude information, obtain the adjusted processing parameters, and process the received data according to the adjusted processing parameters.
[0018] On the other hand, a chip is also provided, the chip comprising any possible data processing device mentioned above.
[0019] On the other hand, an electronic device is also provided, and the electronic device includes any possible data processing device as described above.
[0020] On the other hand, a storage medium is also provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a data processing device so that the data processing device implements any of the above-mentioned data processing methods.
[0021] The technical solution provided by this application brings at least the following beneficial effects:
[0022] The present application detects the accuracy of processing parameters based on specially constructed verification data to determine the accuracy of current processing parameters, and can accurately adjust the processing parameters according to the adjustment amplitude information corresponding to the detection results, thereby increasing the accuracy of the processing parameters and improving the accuracy of data obtained by processing according to the adjusted processing parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 It is a schematic diagram of the process of interaction between a sending end and a receiving end provided by the relevant technology;
[0025] Figure 2 is a schematic diagram of a data processing device provided in an embodiment of the present application;
[0026] Figure 3 is a schematic diagram of another data processing device provided in an embodiment of the present application;
[0027] Figure 4 is a schematic diagram of a feedback signal provided in an embodiment of the present application;
[0028] Figure 5 is a structural schematic diagram of a detection module provided in an embodiment of the present application;
[0029] Figure 6 is a schematic diagram of a data processing process provided by an embodiment of the present application;
[0030] Figure 7 is a flow chart of a data processing method provided in an embodiment of the present application;
[0031] Figure 8 is a schematic diagram of a data processing system provided in an embodiment of the present application;
[0032] Fig. 9 It is a schematic diagram of another data processing system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0034] As users' requirements for the display effects of panels (display screens) increase, display technology continues to develop, resulting in the continuous improvement of the resolution and refresh rate of panels during display to present better display effects. In order to ensure the high resolution and high refresh rate of the panel, the amount of data transmitted to the panel for display and the data transmission rate are also increasing.
[0035] In the field of display technology, the data received by the panel for display is transmitted by the SDIC to which the panel is connected, and the data received by the SDIC is usually transmitted by the T-con. In some cases, the T-con sends a differential signal carrying the data for display to the SDIC to achieve the transmission of the data for display. The transmission speed of the differential signal from the transmitting end (that is, T-con) to the receiving end (that is, SDIC) is relatively high, so the high-speed transmission of the differential signal has a large loss during the transmission process, resulting in a large loss of the data carried by the differential signal received by the receiving end. After receiving the data carried by the differential signal, the receiving end will process the data carried by the differential signal according to the processing parameters to compensate for the loss of the received data, thereby restoring the original data sent by the transmitting end and achieving high-quality display.
[0036] The processing parameters include an equilibrium (EQ) parameter, a swing (Swing) parameter, a pre-emphasis (pre-Emphasis) parameter, and a de-emphasis (De-Emphasis) parameter, etc. Different processing parameters are used to process data differently. For example, in a data transmission system, the receiving end can equalize the data carried by the received differential signal based on the EQ parameter.
[0037] The processing parameters can be determined during the link training process. During the link training, the transmitter sends training data to the receiver. If the receiver can recover the clock signal from the received training data, the link training is considered successful. The processing parameters used by the transmitter during the link training process can be determined as the processing parameters used by the transmitter to process the subsequent data sent. The processing parameters used by the receiver during the link training process can be determined as the processing parameters used by the receiver to process the subsequent data received. The processing parameters used by the transmitter are different from the processing parameters used by the receiver.
[0038] Afterwards, the transmitting end and the receiving end can interact with the data to be displayed through the successfully trained link and the obtained processing parameters to realize the display. Figure 1, shows a schematic diagram of the process of interaction between a transmitter and a receiver provided by the related technology, wherein the receiver is SDIC. During the interaction, the transmitter converts the three primary color data (Red-Green-Blue data, RGB data) and control signals through a parallel to serial (Parallel to Serial) module, and scrambles the converted data through a scramble module, and processes the scrambled data based on the processing parameters (including Swing parameters and Emphasis parameters) adopted by the transmitter to obtain a differential signal (for example, a differential analog signal) carrying the RGB data and the control signal. Among them, the Swing parameter determines the swing amplitude of the differential signal, and the pre-Emphasis parameter is used to enhance the high-frequency component in the differential signal and improve the anti-interference ability of the differential signal.
[0039] After generating the differential signal, the transmitter sends the differential signal to the receiver through the transmission module. The receiving module (RX) in the receiver receives the differential signal and processes the data according to the processing parameters of the receiver. For example, the equalization module in the receiver equalizes the data carried by the received differential signal based on the EQ parameters in the processing parameters to obtain the equalized data. The clock and data recovery module (CDR) performs clock recovery based on the equalized data. When the clock and data recovery module successfully recovers the clock signal from the equalized data and is ready to lock (Lock), the clock and data recovery module feeds back the Lock signal to the transmitter and sends the recovered clock signal to the descrambling (De-Scramble) module and the serial to parallel (Serial to Parallel) module.
[0040] Afterwards, the descrambling module descrambles the equalized data according to the received clock signal, and the serial-to-parallel module can also convert the descrambled data into parallel RGB data and control signals according to the received clock signal to restore the original RGB data and control signals generated by the transmitter. The receiver can also adaptively adjust the processing parameters used by the receiver according to the control signal to improve the accuracy of data processing.
[0041] In the link training phase, the data provided to the clock data recovery module is the pattern data used for training. The pattern data used for training is very regular, such as a few bits high and a few bits low, which makes it easier to achieve clock data recovery. However, the actual transmitted data is more complex. Therefore, even if the receiving end successfully achieves clock data recovery and the link training is successful, the accuracy of the obtained processing parameters cannot be guaranteed. Figure 1As can be seen from the description, the processing result of the data according to the processing parameters will affect the display quality. For example, in the above example, the EQ parameter will affect the accuracy of the equalized data, thereby affecting the accuracy of the RGB data and control signals finally recovered for display. Therefore, the accuracy of the processing parameters plays a vital role in the display quality. In the display field, the processing parameters obtained are usually verified during the link training between the transmitter and the receiver to ensure the accuracy of the processing parameters.
[0042] Taking the verification of EQ parameters in the processing parameters as an example, EQ parameters are parameters for controlling the EQ function, which is used to compensate for data loss. In order to measure the quality of the data compensated by the EQ function, an oscilloscope can be connected to the back end of the SDIC, and fixed simulation parameters for simulating the EQ function and the currently determined EQ parameters can be input into the oscilloscope through simulation parameters and corresponding models to simulate the eye diagram corresponding to the data compensated by the EQ function.
[0043] However, this method requires extremely accurate simulation parameters and corresponding model implementation, and it takes a lot of man-hours. In addition, the EQ parameters, simulation parameters, and corresponding models may not accurately reflect the eye diagram corresponding to the data after the EQ function compensation. That is, even if the EQ parameters are adjusted by simulating the eye diagram, and the received differential signal is EQ processed according to the adjusted EQ parameters, since there is an error between the simulated eye diagram and the actual eye diagram, the data actually processed may also be erroneous data, and there is also a probability of display problems.
[0044] In addition, SDIC also includes DAC (digital-to-analog converter), which converts the received digital signal processed by SDIC into an analog high-voltage signal. The analog high-voltage signal has a great impact on the process and accuracy of SDIC data processing. For example, a sudden change in the analog high-voltage signal may cause the amplitude of the differential signal to change accordingly, thereby affecting the accuracy and even integrity of the differential signal. The high intensity of the analog high-voltage signal or the waveform distortion will affect the receiver's analysis and recognition of the differential signal, resulting in data errors. Alternatively, the analog high-voltage signal may generate higher electromagnetic interference, which may also interfere with the transmission of the differential signal. If the noise level is too high, it will also affect the receiver's analysis of the differential signal. In addition, the impact of the analog high-voltage signal on different data may be different. For example, the analog high-voltage signal is a constantly changing signal, which causes the voltage output of the DAC to change consistently (similar to the constantly changing voltage signal output by the H1255 circuit) to have a greater impact than the output of a static and unchanging voltage (such as the output voltage corresponding to all-1 data (grayscale (Gray) 255 data)).
[0045] In summary, the above verification method does not consider the influence of the simulated high voltage signal and the influence of the EQ parameters and the deviation between the model simulation and the actual situation. Therefore, it is not comprehensive to measure the accuracy of the processing parameters by measuring the eye diagram.
[0046] The embodiment of the present application provides a data processing device that can implement data error detection (Data Error Detect), detect the accuracy of processing parameters, adjust the processing parameters in a timely manner, and improve the accuracy of data processing based on the processing parameters.
[0047] The data processing device in the embodiment of the present application may be an SDIC, or the data processing device may be a part of the SDIC, that is, the data processing device is located inside the SDIC. The data processing device may correspond to the above Figure 1 A receiving end or part of a receiving end. Figure 2 , shows a schematic diagram of a data processing device provided in an embodiment of the present application. The data processing device comprises a processing module 11 and a detection module 12, and the processing module 11 is connected to the detection module 12.
[0048] The processing module 11 is used to process the received verification data based on the processing parameters, obtain the data to be detected and the pattern data indicating the pattern of the data to be detected, and transmit the pattern data and the data to be detected to the detection module 12. The detection module 12 is used to obtain the pattern data and the data to be detected, and detect the data to be detected according to the pattern data to obtain the detection result; the processing module 11 is also used to obtain the adjustment amplitude information corresponding to the detection result, adjust the processing parameters according to the adjustment amplitude information, obtain the adjusted processing parameters, and process the received data according to the adjusted processing parameters.
[0049] In the embodiment of the present application, the verification data received by the processing module 11 is data acquired and transmitted by the data sending device (i.e., the sending end, which may be a T-con, for example). The verification data is data constructed in the embodiment of the present application for verifying whether the processing parameters are accurate. The verification data may include data to be detected and mode data, and the data mode of the data to be detected is indicated by the mode data. The verification data may be generated by the data sending device, or may be generated by the front end of the data sending device and sent to the data sending device. The front end of the data sending device may be, for example, a system on chip (SOC), or a source device on the SOC.
[0050] Based on the above description, it can be known that the data processing device needs to amplify the differential signal and convert it into an analog high-voltage signal to provide it to the back-end panel, so the data processing device is easily affected by the analog high-voltage signal in the process of processing the data to be detected based on the processing parameters. Among them, the data processing device is affected differently by the analog high-voltage signal depending on the data to be detected. For example, see the following situation A1 and situation A2:
[0051] Case A1: the data to be detected changes in frames, and the corresponding analog high voltage signal is a signal in direct current (DC) mode.
[0052] In case A1, when the data to be detected in a frame is not wrong, the signal value of the analog high-voltage signal after processing and digital-to-analog conversion based on the data to be detected is constant, that is, the voltage output by the source channel is constant. For example, a frame of data to be detected is a frame of all 1 (gray value (gray) is 255) data or a frame of all 0 (gray is 0) data. The analog high-voltage signal obtained after amplification and digital-to-analog conversion does not change within a frame, and the voltage output by the Source channel within a frame is constant. In this case, the possibility of sudden changes in the analog high-voltage signal is small, and the analog high-voltage signal has little effect on the process of the data processing device processing the data to be detected based on the processing parameters.
[0053] Case A2: The data to be detected changes in units of lines, and the corresponding analog high voltage signal is an alternating current (AC) mode signal.
[0054] In case A2, the voltage output by the Source channel in a frame keeps changing (a relatively extreme condition). For example, if a frame of data to be detected is a row of all-0 data and a row of all-1 data alternating, then if the data to be detected in a frame is not wrong, the voltage output by the Source channel keeps changing alternately. In this case, the analog high-voltage signal is more likely to change suddenly, and the analog high-voltage signal has a greater impact on the process of the data processing device processing the data to be detected based on the processing parameters.
[0055] In an embodiment of the present application, no matter what mode the data to be detected corresponds to, and no matter whether each row of data to be detected in a frame of data to be detected is the same, the data sending device can send the data to be detected in units of rows, that is, the verification data sent by the data sending device at one time includes a row of data to be detected.
[0056] Correspondingly, the mode data corresponding to the data to be detected in the verification data may indicate the mode of a row of data to be detected. In an embodiment of the present application, the verification data may further include a control packet for the data to be detected to control the behavior of the data processing device for the data to be detected. For example, if the data sending device sends the data to be detected in line units, the verification data to which the data to be detected belongs includes a line control packet for a row of data to be detected.
[0057] All types of data in the control packet can be carried by a signal including multiple signal values, that is, all types of data can be carried by a signal including multiple pulses, so that the data processing device can accurately identify it. For example, if 3 bits are used to represent a pattern data, the pulse corresponding to the middle bit is easier to identify.
[0058] The control packet may include mode data, first enabling data, second enabling data, and third enabling data. The mode data in the control packet may also be referred to as pattern type data, which may be carried by a control signal. The position of the mode data is the head of a row of data to be detected, and may predict the mode of a row of data to be detected to be sent next by the data sending device. The functions of other data in the row control packet may be described below and will not be elaborated here.
[0059] After receiving the verification data, the processing module 11 processes the verification data according to the processing parameters to obtain the data to be verified and the mode data. The processing parameters used by the processing module 11 when processing the received verification data can be the processing parameters determined by the link training, or the processing parameters verified and adjusted after the link training.
[0060] Alternatively, see Figure 3 , shows a schematic diagram of another data processing device provided by an embodiment of the present application. Figure 3 In the data processing device shown, the processing module 11 includes an equalizer 111 and a descrambler 112, and the equalizer 111 is connected to the descrambler 112. The equalizer 111 is used to equalize the received verification data based on the processing parameters to obtain equalized data.
[0061] In this optional implementation, the processing parameters used by the equalizer 111 include EQ parameters, which determine the compensation amount of the verification data by the equalizer 111. The data equalized by the equalizer 111 is transmitted to the descrambler 112, so that the descrambler 112 descrambles the equalized data.
[0062] Since the data sent by the transmitting end can be either scrambled data or unscrambled data, and the descrambler 112 is required to descramble the data only when the data sent by the transmitting end is scrambled data, the transmitting end can send data indicating whether the data is scrambled when sending the data, so that the descrambler 112 determines whether the received data needs to be descrambled according to the data.
[0063] Taking the verification data sent by the transmitter as scrambled data as an example, the data indicating whether the data is scrambled may be the second enabling data in the control packet, and the second enabling data may indicate whether the descrambler 112 needs to be enabled. The second enabling data may also be called scrambling enabling data.
[0064] Therefore, the descrambler 112 can descramble the equalized data to obtain the data to be detected and the mode data when receiving the second enabling data and the second enabling data indicates that the descrambler 112 is enabled. After the descrambler 112 decodes and obtains the data to be detected and the mode data, it can transmit the data to be detected and the mode data to the detection module 12.
[0065] Accordingly, the detection module 12 obtains the mode data and the data to be detected transmitted by the descrambler 112. Since the data to be detected obtained by the detection module 12 is the data obtained by the processing module 11 based on the processing parameters, the processing parameters may be inaccurate and may be affected by the analog high-voltage signal, the content of the data to be detected obtained by the detection module 12 may be different from the correct content of the data to be detected, and the difference between the data to be detected obtained by the detection module 12 and the correct content of the data to be detected can reflect the accuracy of the processing parameters, so the detection module 12 can determine the accuracy of the data to be detected obtained by the current processing according to the correct content of the data to be detected, thereby determining the accuracy of the processing parameters.
[0066] The correct content of the data to be detected can be indicated by the mode data, so the detection module 12 can detect the data to be detected according to the mode data to obtain the detection result, and the detection result can reflect the accuracy of the processing parameter. Among them, the mode of the data can include an all-0 (gray value (gray) is 0) mode or an all-1 (gray value is 255) mode. If the mode data is 0, it indicates that the data to be detected is data in the all-0 mode, that is, the data to be detected should be all 0 if there is no error. If the mode data is 1, it indicates that the data to be detected is data in the all-1 mode, that is, the data to be detected should be all 1 if there is no error.
[0067] In the embodiment of the present application, the data to be detected includes multiple signal values. The detection module 12 can compare the signal values in the data to be detected and the mode data to obtain the number of erroneous signal values in the data to be detected, and the detection result includes the number of erroneous signal values, and the number of erroneous signal values indicates the adjustment range of the processing parameters.
[0068] Exemplarily, the detection module 12 can compare the first signal value in the data to be detected with the pattern data. If the first signal value in the data to be detected is the same as the pattern data, it can be determined that the first signal value in the data to be detected is correct; if the first signal value in the data to be detected is different from the pattern data, it can be determined that the first signal value in the data to be detected is wrong, that is, the first signal value in the data to be detected is an incorrect signal value.
[0069] Next, the detection module 12 can compare the acquired second signal value in the data to be detected with the pattern data to determine whether the second signal value in the data to be detected is an erroneous signal value or a correct signal value. This process is repeated until the last signal value in the data to be detected is compared with the pattern data, and the number of erroneous signal values in the data to be detected is determined.
[0070] The more erroneous signal values in the data to be detected obtained by the detection module 12, the lower the accuracy of data processing by the processing module 11 according to the current processing parameters, and a larger adjustment of the processing parameters is required. Therefore, the detection result including the number of erroneous signal values can indicate the adjustment range of the processing parameters.
[0071] In a possible implementation, the control packet in the verification data may further include first enabling data indicating whether the detection module 12 is enabled, so the descrambler 112 may also obtain the first enabling data by descrambling the equalized data, and transmit the first enabling data to the detection module 12. The first enabling data may also be referred to as error detection enabling data.
[0072] Since the first enabling data can determine whether the detection module 12 detects the received data to be detected, the processing module 11 can transmit the first enabling data to the detection module 12 before transmitting the data to be detected and the mode data to the detection module 12, so that the detection module 12 can determine the processing method of the data to be detected and the mode data before receiving the data to be detected and the mode data, and can process the data to be detected and the mode data in time according to the determined processing method when receiving the data to be detected and the mode data.
[0073] Among them, the processing method determined based on the first enabling data can be detection or backward transmission. The detection module 12 can detect the data to be detected according to the correct content to obtain the detection result when the first enabling data is received and the first enabling data indicates that the detection module 12 is enabled. When the first enabling data indicates that the detection module 12 is not enabled, it means that the detection module 12 is not required to perform detection, and the received data can be transmitted to the module or circuit connected to the back end through bypass, and the detection module 12 is turned off.
[0074] In the embodiment of the present application, the detection module 12 determines whether to detect the received data according to the first enabling data, so as to enable on-demand detection on demand and avoid wasting resources.
[0075] Optionally, whether the first enabling data is valid may be related to whether the descrambler 112 is enabled, and the reason is that: the descrambler 112 is enabled, which means that the scrambler of the transmitting end is enabled. In this case, the verification data received by the data processing device is data generated based on a random code stream, and the composition of the verification data is relatively complex (for example, carried by a messy 0 / 1 differential signal). After the processing module 11 processes the received verification data based on the processing parameters, the probability of erroneous data existing in the obtained data to be detected is relatively high, and it is closer to the data exchanged in the actual working process.
[0076] If the descrambler 112 is not enabled, it means that the scrambler at the transmitting end is not enabled, and the verification data received by the data processing device is not data generated based on the random code stream, and the composition of the verification data is relatively simple. After the processing module 11 processes the received verification data based on the processing parameters, the probability that erroneous data exists in the obtained data to be detected is small. In this case, the detection result obtained by the detection module 12 has little reference significance for verifying whether the processing parameters are accurate.
[0077] Therefore, when the descrambler 112 is enabled, the first enabling data is enabled again, and the detection module 12 is more likely to detect erroneous data, so that the utilization rate of the detection module 12 is higher, and the obtained detection result has a greater reference significance for verifying whether the processing parameters are accurate. Based on this premise, in the embodiment of the present application, the detection module 12 can detect the data to be detected according to the correct content when the second enabling data indicates that the descrambler 112 is enabled and the first enabling data indicates that the detection module 12 is enabled. In other words, when the second enabling data indicates that the descrambler 112 is enabled and the first enabling data is valid, the detection module 12 can perform detection when the first enabling data indicates that the detection module 12 is enabled.
[0078] Regardless of the premise on which the detection module 12 detects the data to be detected, the detection module 12 can detect the data to be detected in the manner described above to obtain the detection result.
[0079] Afterwards, the processing module 11 can obtain the adjustment amplitude information corresponding to the detection result, and adjust the processing parameters according to the adjustment amplitude information. The processing module 11 can obtain the adjustment amplitude information by receiving the adjustment amplitude information generated by the data sending device based on the feedback signal. Therefore, before the processing module 11 obtains the adjustment amplitude information, the detection module 12 can also generate a feedback signal according to the detection result, and send the feedback signal to the data sending device.
[0080] Optionally, the number of pulses included in the feedback signal is the same as the number of erroneous signal values, so that the data sending device can determine the accuracy of data processing by the data processing device according to current processing parameters based on the number of pulses in the feedback signal.
[0081] See also Figure 4 , showing a schematic diagram of a feedback signal provided in an embodiment of the present application. Figure 4 The feedback signal shown includes 6 pulses, the number of pulses being the number of erroneous signal values in the detection result.
[0082] The detection module 12 may generate a feedback signal after obtaining the detection result for a row of data to be detected, or may generate a feedback signal after obtaining the detection result for multiple rows of data to be detected, a frame of data to be detected, or multiple frames of data to be detected.
[0083] In some cases, the control packet further includes third enabling data, and the detection module 12 may generate a feedback signal when the third enabling data indicates that the detection module 12 performs feedback. The third enabling data may also be referred to as detect reset enabling data.
[0084] Regardless of whether the detection module 12 has completed the detection of a row of data to be detected, multiple rows of data to be detected, a frame of data to be detected, or multiple frames of data to be detected before the detection module 12 receives the third enabling data indicating that the detection module 12 is to provide feedback, when the detection module 12 receives the third enabling data, the detection module 12 generates a feedback signal according to the detection result corresponding to the data that has been currently detected, and sends the feedback signal to the data sending device. If the third enabling data received by the detection module 12 is enabling data indicating that the detection module 12 is not to provide feedback, the detection module 12 can continue to detect the data to be detected that has not been completed, and update the detection result.
[0085] Alternatively, see Figure 5, shows a schematic diagram of the structure of a detection module 12 provided in an embodiment of the present application, and the detection module 12 may include two counters, for example, a first counter and a second counter. When the detection module 12 receives the first enabling data, and the first enabling data indicates that the detection module 12 is enabled, the detection module 12 performs detection according to the descrambled data, that is, detects the data to be detected according to the mode data.
[0086] The first counter is used to count the number of erroneous signal values determined, and the counting result of the first counter is the detection result. When the detection module 12 receives the third enabling data indicating that the detection module 12 performs feedback, the first counter synchronizes the counting result to the second counter, and clears the counting result of the first counter to zero, and continues to count the number of erroneous signal values determined next. The detection module 12 generates a feedback signal according to the counting result in the second counter, and the counting result in the second counter is the number of pulses in the feedback signal. Optionally, when generating the feedback signal, the feedback signal can be generated based on the clock indicated by the received clock signal (clock, CLK).
[0087] The following is a complete example to illustrate the process of generating a feedback signal by the data processing device provided in the embodiment of the present application. Figure 6 , showing a schematic diagram of a data processing process provided in an embodiment of the present application.
[0088] Figure 6 The Detect_RST (Detect reset) signal in is the third enable signal. The value of Detect_RST is 1, which indicates that the detection module 12 will provide feedback on the detection result. Detect_RST can be set to 1 or 0 in units of lines. When the received Detect_RST is set to 1, the detection module 12 generates a feedback signal including a pulse. In the process of generating the feedback signal, the detection module 12 first copies the counting result of the first counter to the second counter, then clears the counting result of the first counter to 0 and counts again, and generates a corresponding number of pulses according to the counting result in the second counter.
[0089] For example, if the number of erroneous signal values detected by the detection module 12 for the data to be detected before the first row of data to be detected is X, then after the detection module 12 receives the Detect_RST value of 1, the counting result in the second counter is X, and the detection module 12 generates X pulses. If the detection module 12 does not detect other data to be detected before the first row of data to be detected, or the detection results for other data to be detected are no errors, then X can be 0.
[0090] At the same time, the counting result in the first counter is reset to zero, and the first counter recounts the erroneous signal value in the first row of data to be detected, and the counting result in the second counter remains unchanged.
[0091] After the detection module 12 completes the detection of the first row of data to be detected, the counting result of the first counter is 4, which means that the number of erroneous signal values in the first row of data to be detected is 4. After the detection module 12 receives the Detect_RST value of 1 again, it copies the counting result in the first counter to the second counter, and the counting result in the second counter is 4. The detection module 12 generates a feedback signal including 4 pulses. At the same time, the counting result in the first counter is cleared, and the first counter counts the erroneous signal values in the second row of data to be detected again, and the counting result in the second counter remains unchanged.
[0092] Next, since the value of Detect_RST for the third row of data to be detected received by the detection module 12 is 0, the first counter continues to count the erroneous signal values in the third row of data to be detected on the basis of completing the counting of the erroneous signal values in the second row of data to be detected, and the counting result in the second counter remains unchanged at 4. Until the value of Detect_RST for the fourth row of data to be detected received by the detection module 12 is 1, the cumulative counting result 9 of the first counter for the second row of data to be detected and the third row of data to be detected is copied to the second counter, the counting result in the second counter becomes 9, and the detection module 12 generates a feedback signal including 9 pulses.
[0093] The feedback signal can be transmitted based on the Lock signal or other signals. For example, after the detection module 12 generates the feedback signal, the feedback signal can be combined with the lock signal and transmitted to the data sending device. After receiving the feedback signal, the data sending device generates the adjustment amplitude information according to the number of pulses in the feedback signal. The adjustment amplitude information can be, for example, a control signal, including the gear position of the processing parameter. The adjustment amplitude is proportional to the number of pulses in the feedback signal, and the ratio between the adjustment ratio and the number of pulses can be determined based on experience, or based on the display accuracy required by the panel to which the data processing device belongs.
[0094] For example, if the number of pulses in the feedback signal is less than the first error threshold, it means that the detected error is within the tolerable range, and the adopted processing parameter may not be adjusted, then the gear of the processing parameter in the adjustment amplitude information sent by the data sending device may be the gear of the processing parameter currently adopted by the data processing device, such as the gear of the EQ parameter.
[0095] If the number of pulses in the feedback signal is greater than the first error threshold and less than the second error threshold, the data sending device can determine the adjustment range based on the processing parameters currently used by the data processing device according to the number of pulses, thereby determining the gear that the processing parameters of the data processing device need to reach, obtaining the adjustment range information, and sending it to the data processing device. Accordingly, the first error threshold and the second error threshold can also be determined based on experience or based on the display accuracy required by the panel to which the data processing device belongs.
[0096] In addition, the data sending device can also autonomously adjust the processing parameters used by the data sending device. For example, the data sending device can determine the adjustment range of the adopted Swing parameters and Emphasis parameters based on the number of pulses, and make adjustments so as to subsequently send data to the data processing device according to the adjusted processing parameters.
[0097] After receiving the adjustment amplitude information, the processing module 11 adjusts the processing parameter to the gear indicated by the adjustment amplitude information according to the gear of the processing parameter in the adjustment amplitude information.
[0098] When the number of pulses in the feedback signal is greater than or equal to the second error threshold, in this case, the data sending device can determine that if the data processing device processes the received data according to the current processing parameters, an accurate processing result cannot be obtained. Therefore, the adjustment amplitude information may not only include the gear of the processing parameter, but also include data used for link training, instructing the data sending device and the data processing device to re-perform link training and re-determine the processing parameters of the data processing device to achieve adjustment of the processing parameters.
[0099] In the process of re-training the link, not only the processing parameters used by the data processing device can be re-determined, but also the data processing parameters such as Swing parameters and Emphasis parameters used by the data sending device can be re-determined.
[0100] In an embodiment of the present application, the data sending device can send verification data to the data processing device multiple times, so that the data processing device can verify the accuracy of the adopted processing parameters (initial processing parameters or adjusted processing parameters) multiple times, and adjust the processing parameters in time when the accuracy does not meet the requirements.
[0101] The adjusted processing parameters have a higher accuracy, so the data processing device can process and analyze various types of data (such as frame data or control data, etc.) received subsequently according to the processing parameters with higher accuracy, and obtain processing results with higher accuracy, so that the panel can achieve high-quality display based on the accurate processing results.
[0102] To summarize, the present application detects the accuracy of processing parameters based on specially constructed verification data to determine the accuracy of current processing parameters, and can adjust the processing parameters according to the adjustment amplitude information corresponding to the detection results, thereby increasing the accuracy of the processing parameters and improving the accuracy of the data obtained by processing according to the adjusted processing parameters.
[0103] In an exemplary embodiment, a data processing method is also provided. Figure 7 The flowchart of the data processing method is shown, and the method includes but is not limited to the following S701 to S703.
[0104] S701, processing the received verification data based on the processing parameters to obtain the data to be detected and the mode data indicating the mode of the data to be detected.
[0105] S702, detecting the data to be detected according to the pattern data to obtain a detection result.
[0106] The data to be detected includes multiple signal values; the data to be detected is detected according to the pattern data to obtain a detection result, including: comparing the signal value in the data to be detected and the pattern data to obtain the number of erroneous signal values in the data to be detected, the detection result includes the number of erroneous signal values, and the number of erroneous signal values indicates the adjustment range of the processing parameters.
[0107] Optionally, the method can be applied to a data processing device, the data processing device includes a detection module. Detecting the data to be detected according to the mode data to obtain the detection result includes: when the detection module receives the first enabling data and the first enabling data indicates that the detection module is enabled, detecting the data to be detected according to the mode data to obtain the detection result.
[0108] In a possible implementation, the data processing device also includes a processing module, the processing module includes an equalizer and a descrambler; the received verification data is processed based on the processing parameters to obtain the data to be detected and the mode data indicating the mode of the data to be detected, including: equalizing the received verification data based on the processing parameters by the equalizer to obtain the equalized data; when the second enabling data is received and the second enabling data indicates that the descrambler is enabled, the equalized data is descrambled to obtain the data to be detected, the mode data and the first enabling data; the method also includes: transmitting the first enabling data to the detection module through the descrambler.
[0109] Exemplarily, when first enabling data is received and the first enabling data indicates that the detection module is enabled, the data to be detected is detected according to the mode data to obtain a detection result, including: when the second enabling data indicates that the demodulator is enabled and the first enabling data indicates that the detection module is enabled, the data to be detected is detected according to the mode data by the detection module.
[0110] S703, obtaining adjustment amplitude information corresponding to the detection result, adjusting the processing parameters according to the adjustment amplitude information, obtaining the adjusted processing parameters, and processing the received data according to the adjusted processing parameters.
[0111] In a possible implementation, the method also includes: generating a feedback signal according to the detection result through the detection module, sending the feedback signal to the data sending device, the number of pulses included in the feedback signal is the same as the number of erroneous signal values, and the data sending device is a device for sending verification data; obtaining adjustment amplitude information corresponding to the detection result, including: receiving the adjustment amplitude information generated by the data sending device based on the number of pulses in the feedback signal through the processing module.
[0112] On the other hand, see Figure 8 , also provides a data processing system, the system includes a data processing device and a data sending device; the data sending device is used to obtain verification data and send the verification data to the data processing device; the data processing device is used to receive the verification data, process the verification data based on the processing parameters, and obtain the data to be detected and the pattern data indicating the pattern of the data to be detected; the data processing device is also used to detect the data to be detected according to the pattern data to obtain the detection result; the data processing device is also used to obtain the adjustment amplitude information corresponding to the detection result, adjust the processing parameters according to the adjustment amplitude information, obtain the adjusted processing parameters, and process the received data according to the adjusted processing parameters.
[0113] For example, see Fig. 9 , showing a schematic diagram of a data processing system provided in an embodiment of the present application. Fig. 9 and Figure 1 The difference is: Fig. 9 The data sending device in the device can obtain the verification data and send the verification data to the data processing device through the differential signal; Fig. 9The processing module 11 in the data processing device can receive the verification data carried by the differential signal and process the verification data based on the processing parameters; the detection module 12 can also detect the processed signal and generate a feedback signal according to the detection result, and transmit the feedback signal to the data sending device through the Lock signal, so that the data sending device generates adjustment amplitude information according to the feedback signal, and the data processing device and the data sending device cooperate to adjust the parameters, further increasing the accuracy of the processing parameters, so that the data processing device can restore more accurate data to be detected, and realize more accurate transmission and analysis of the data. The data to be detected can also be transmitted to the back-end circuit.
[0114] In addition, for the description of the data sending device and the data processing device in the data processing system provided in the embodiments of the present application, reference can be made to the above embodiments, which will not be repeated here.
[0115] On the other hand, a chip is also provided, the chip comprising any possible data processing device mentioned above.
[0116] On the other hand, an electronic device is also provided, and the electronic device includes any possible data processing device as described above.
[0117] On the other hand, a storage medium is provided, in which at least one instruction is stored. The at least one instruction is loaded and executed by a data processing device so that the data processing device implements any of the above-mentioned data processing methods.
[0118] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the data involved in this application are all obtained with full authorization.
[0119] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0120] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A data processing device, characterized in that: The device comprises a processing module and a detection module; The processing module is used to process the received verification data based on the processing parameters to obtain the data to be detected and the pattern data indicating the pattern of the data to be detected, and transmit the pattern data and the data to be detected to the detection module; The detection module is used to obtain the pattern data and the data to be detected, and detect the data to be detected according to the pattern data to obtain a detection result; The processing module is further used to obtain adjustment amplitude information corresponding to the detection result, adjust the processing parameters according to the adjustment amplitude information to obtain the adjusted processing parameters, and process the received data according to the adjusted processing parameters.
2. The device according to claim 1, characterized in that The data to be detected includes multiple signal values; The detection module is used to compare the signal value in the data to be detected and the mode data to obtain the number of erroneous signal values in the data to be detected. The detection result includes the number of erroneous signal values, and the number of erroneous signal values indicates the adjustment range of the processing parameters.
3. The device according to claim 2, characterized in that The detection module is further used to generate a feedback signal according to the detection result, and send the feedback signal to a data sending device, wherein the number of pulses included in the feedback signal is the same as the number of the erroneous signal values, and the data sending device is a device for sending the verification data; The processing module is further used to receive the adjustment amplitude information generated by the data sending device based on the number of pulses in the feedback signal.
4. The device according to any one of claims 1 to 3, characterized in that: The detection module is configured to detect the data to be detected according to the mode data to obtain the detection result when the first enabling data is received and the first enabling data indicates that the detection module is enabled.
5. The device according to claim 4, characterized in that The processing module includes an equalizer and a descrambler; The equalizer is used to equalize the received verification data based on the processing parameters to obtain equalized data; The descrambler is configured to, when receiving second enabling data and the second enabling data indicates that the descrambler is enabled, descramble the equalized data to obtain the data to be detected, the mode data and the first enabling data; The descrambler is further configured to transmit the first enabling data to the detection module.
6. The device according to claim 5, characterized in that The detection module is configured to detect the data to be detected according to the mode data when the second enabling data indicates that the descrambler is enabled and the first enabling data indicates that the detection module is enabled.
7. A data processing method, characterized in that: The method comprises: Processing the received verification data based on the processing parameters to obtain the data to be detected and the pattern data indicating the pattern of the data to be detected; Detecting the data to be detected according to the pattern data to obtain a detection result; Acquire adjustment amplitude information corresponding to the detection result, adjust the processing parameter according to the adjustment amplitude information to obtain the adjusted processing parameter, and process the received data according to the adjusted processing parameter.
8. The method according to claim 7, characterized in that The data to be detected includes multiple signal values; The detecting the data to be detected according to the mode data to obtain the detection result includes: The signal value in the data to be detected and the mode data are compared to obtain the number of erroneous signal values in the data to be detected, wherein the detection result includes the number of erroneous signal values, and the number of erroneous signal values indicates the adjustment range of the processing parameter.
9. The method according to claim 8, characterized in that The method further comprises: generating a feedback signal according to the detection result, and sending the feedback signal to a data sending device, wherein the number of pulses included in the feedback signal is the same as the number of the erroneous signal values, and the data sending device is a device for sending the verification data; The obtaining of adjustment range information corresponding to the detection result includes: The adjustment amplitude information generated by the data sending device based on the number of pulses in the feedback signal is received.
10. A data processing system, characterized in that: The system includes a data processing device and a data sending device; The data sending device is used to obtain verification data and send the verification data to the data processing device; The data processing device is used to receive the verification data, process the verification data based on the processing parameters, and obtain the data to be detected and the mode data indicating the mode of the data to be detected; The data processing device is further used to detect the data to be detected according to the pattern data to obtain a detection result; The data processing device is further used to obtain adjustment amplitude information corresponding to the detection result, adjust the processing parameters according to the adjustment amplitude information to obtain the adjusted processing parameters, and process the received data according to the adjusted processing parameters.
11. A chip, characterized in that: The chip includes the data processing device as described in any one of claims 1-6.
12. An electronic device, characterized in that: The electronic device comprises the data processing device as described in any one of claims 1-6.
