CN113645463B - Drive level updating method and device, electronic equipment and readable storage medium - Google Patents

Drive level updating method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113645463B
CN113645463B CN202110921758.9A CN202110921758A CN113645463B CN 113645463 B CN113645463 B CN 113645463B CN 202110921758 A CN202110921758 A CN 202110921758A CN 113645463 B CN113645463 B CN 113645463B
Authority
CN
China
Prior art keywords
driving
data
driving unit
control unit
grade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110921758.9A
Other languages
Chinese (zh)
Other versions
CN113645463A (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.)
Beijing Tricolor Technology Co ltd
Original Assignee
Beijing Tricolor 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 Tricolor Technology Co ltd filed Critical Beijing Tricolor Technology Co ltd
Priority to CN202110921758.9A priority Critical patent/CN113645463B/en
Publication of CN113645463A publication Critical patent/CN113645463A/en
Application granted granted Critical
Publication of CN113645463B publication Critical patent/CN113645463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Biomedical Technology (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application provides a drive level updating method, a device, electronic equipment and a readable storage medium, which are applied to a data transmission system, wherein the data transmission system comprises: a first control unit, a second control unit, and a second driving unit; the driving grade updating method comprises the following steps: comparing the first data with the second data through the second control unit to obtain a comparison result, wherein the first data is data sent to the second control unit by the first control unit, and the second data is data sent to the second control unit by the second driving unit; determining whether a video format of the second driving unit is stable based on the comparison result; and if the comparison result is that the video format of the second driving unit is unstable, updating the driving grade of the second driving unit through the second control unit. According to the method and the device, the driving grade of the second driving unit is updated in time by checking the correctness of the clock frequency, so that stable transmission of video interface data is ensured.

Description

Drive level updating method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of video transmission, and in particular, to a method and apparatus for updating a drive level, an electronic device, and a readable storage medium.
Background
With the improvement of video resolution and frame rate, higher requirements are put forward on the transmission stability of video, because the improvement of resolution and frame rate inevitably leads to the improvement of transmission signals, the transmission rate is improved by 4 times from 1080p60 to 4kp60, the higher the transmission rate is, the faster the signal attenuation is, the shorter the line length can be supported, and the better display experience is desired by the end user, so that the situations of image noise, image flicker, image incapability of displaying and the like need to be avoided, which is a great challenge to the transmission distance.
Disclosure of Invention
In view of the foregoing, an object of an embodiment of the present application is to provide a driving level updating method, apparatus, electronic device, and readable storage medium. The driving grade of the second driving unit can be adjusted by detecting the stability of the video format and the correctness of the clock frequency so as to ensure the stable transmission of the video interface data.
In a first aspect, an embodiment of the present application provides a method for updating a driving level, which is applied to a data transmission system, where the data transmission system includes: a first control unit, a second control unit, and a second driving unit; the driving grade updating method comprises the following steps: comparing the first data with the second data through the second control unit to obtain a comparison result, wherein the first data is data sent to the second control unit by the first control unit, and the second data is data sent to the second control unit by the second driving unit; determining whether the current video format of the second driving unit is stable based on the comparison result; and if the comparison result is that the video format of the second driving unit is unstable, updating the driving grade of the second driving unit through a second control unit.
According to the embodiment of the application, the result of comparing the first data sent by the first control unit to the second control unit with the second data sent by the second drive unit to the second control unit is used for judging whether the video format of the second drive unit is stable, the drive grade of the second drive unit is updated under the condition of unstable video format, and the adjustment of the video format of the second drive unit is further caused by updating the drive grade of the second drive unit, so that the stability of the video interface data is ensured.
With reference to the first aspect, the present application provides a first possible implementation manner of the first aspect, wherein: the second data includes: a second clock frequency, after determining whether the video format of the second driving unit is stable based on the comparison result, comprising: if the comparison result is that the video format of the second driving unit is stable, determining a first clock frequency according to a set standard; comparing the first clock frequency with the second clock frequency to determine a determination result of the current clock frequency of the second driving unit.
According to the method and the device for determining the first clock frequency, under the state that the video format is stable, the first clock frequency is determined according to the video format by using the set standard, the fact that the first data can be compared with the later clock frequency without transmitting the first clock frequency is guaranteed, the first clock frequency is determined through the video format and the set standard instead of being transmitted through the first data, the first clock frequency is prevented from being lost in the transmission process, and the accuracy of the first clock frequency is guaranteed.
With reference to the first possible implementation manner of the first aspect, the present application examples provide a second possible implementation manner of the first aspect, where: the first data includes: a first video format; the second data further includes: a second video format; the comparing, by the second control unit, the first data with the second data to obtain a comparison result includes: comparing the first video format with the second video format, when the first video format is different from the second video format, obtaining a comparison result of unstable video format, and when the first video format is the same as the second video format, obtaining a comparison result of stable video format.
According to the video format transmission method and device, based on the characteristic that the video formats are not damaged due to the length of a line in the transmission process, the video formats sent by two different paths are compared through the first video format in the first data and the second video format in the second data, whether the video formats are stable or not is determined according to whether the video formats are the same or not, and the correctness of a comparison result is guaranteed.
With reference to the second possible implementation manner of the first aspect, the embodiment of the present application provides a third possible implementation manner of the first aspect, wherein the comparing the first clock frequency with the second clock frequency to determine a determination result of the current clock frequency of the second driving unit includes: if the first clock frequency is consistent with the second clock frequency, determining that the current clock frequency of the second driving unit is reasonable; if the first clock frequency is inconsistent with the second clock frequency, determining that the current clock frequency of the second driving unit is unreasonable.
According to the embodiment of the application, whether the current clock frequency of the second driving unit is reasonable or not is determined by comparing whether the first clock frequency is consistent with the second clock frequency, and accuracy of judging the current clock frequency is guaranteed by comparing the consistency of the clock frequencies obtained by two different approaches.
With reference to the third possible implementation manner of the first aspect, the embodiment of the present application provides a fourth possible implementation manner of the first aspect, wherein the updating, by the second control unit, the driving grade of the second driving unit includes: adjusting a second-stage driving grade corresponding to the second driving unit through a second control unit; determining whether the current clock frequency of the second driving unit is reasonable or not according to the second-stage driving grade; if the current clock frequency of the second driving unit is unreasonable, the driving grade of the second driving unit is updated through the second control unit until the current clock frequency of the second driving unit is reasonable.
According to the embodiment of the application, the second-stage driving grade corresponding to the second driving unit is continuously updated, whether the second clock frequency is reasonable or not is judged continuously, the updating of the second-stage driving grade is stopped until the front clock frequency is reasonable, the clock frequency can be adjusted based on the change of the second-stage driving grade, the second clock frequency is continuously updated by adjusting the second-stage driving grade, so that the first clock frequency is consistent with the second clock frequency, and stable transmission of video interface data is guaranteed.
With reference to the fourth possible implementation manner of the first aspect, the embodiment of the present application provides a fifth possible implementation manner of the first aspect, wherein the data transmission system further includes: a first driving unit; before the second driving level corresponding to the second driving unit is adjusted by the second control unit, the method comprises the following steps: judging whether the second-stage driving grade is a designated grade or not; if the second-stage driving grade is a designated grade, determining a first-stage driving grade corresponding to a first driving unit according to a first set driving grade, wherein the first-stage driving grade is the lowest-stage driving grade of all first-stage to-be-selected driving grades; and determining a second-stage driving grade corresponding to the second driving unit according to the first-stage driving grade received by the second driving unit, wherein the second-stage driving grade is the driving grade of the lowest level in all second-stage to-be-selected driving grades.
According to the embodiment of the application, the drive grade of the lowest level in all second-level to-be-selected drive grades corresponding to the first-level drive grade is updated until the second-level drive grade corresponding to the current first-level drive grade reaches the designated drive grade, the first drive grade is updated, and then the second drive grade corresponding to the updated first drive grade is selected to be judged sequentially, so that the step of updating the drive grade is simplified.
With reference to the fifth possible implementation manner of the first aspect, the embodiment of the present application provides a sixth possible implementation manner of the first aspect, wherein if the comparison result is that the video format of the second driving unit is unstable, updating, by the second control unit, the driving grade of the second driving unit includes: obtaining a comparison result of the second control unit for the video format of the second driving unit according to the set time; and if the obtained comparison result is that the video format of the second driving unit is unstable, updating the driving grade of the second driving unit through a second control unit.
According to the embodiment of the application, the first control unit judges whether the current clock frequency is reasonable or not according to the judging result of the clock frequency of the second driving unit obtained according to the set time, and then updates the driving grade of the second driving unit, so that the driving grade can be updated in real time, and stable transmission of video interface data can be guaranteed in real time.
In a second aspect, an embodiment of the present application further provides a driving level update apparatus, including: the device comprises a comparison module, a determination module and an action module; the comparison module is used for comparing the first data with the second data through the second control unit to obtain a comparison result, wherein the first data is data sent to the second control unit by the first control unit, and the second data is data sent to the second control unit by the second driving unit; the determining module is used for determining whether the video format of the second driving unit is stable or not based on the comparison result; and the action module is used for updating the driving grade of the second driving unit through the second control unit if the comparison result is that the video format of the second driving unit is unstable.
In a third aspect, embodiments of the present application further provide an electronic device, including: a processor, a memory storing machine-readable instructions executable by the processor, which when executed by the processor, perform the steps of the method of the first aspect, or any of the possible implementations of the first aspect.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the steps of the drive level update method of the first aspect, or any one of the possible implementations of the first aspect.
In order to make the above objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of interaction between units of a data transmission system according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for updating a driving level according to an embodiment of the present disclosure;
FIG. 3 is a detailed flowchart of step 203 in FIG. 2 provided in an embodiment of the present application;
FIG. 4 is a flowchart of an embodiment of a driving level update provided in an embodiment of the present application;
fig. 5 is a schematic functional block diagram of a driving level updating device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
With the improvement of resolution and frame rate of video, the improvement of video transmission rate and better user experience, high requirements are put on video data transmission. Based on the above, the driving grade updating method, the driving grade updating device, the electronic equipment and the readable storage medium can adjust the driving capability of the driving unit to ensure the stable transmission of the video interface data by detecting the stability of the video format and the correctness of the clock frequency.
Example 1
Fig. 1 is a schematic diagram of interaction between units of a data transmission system according to an embodiment of the present application. In this example, the data transmission system includes: the first control unit 101, the first driving unit 102, the second driving unit 103 and the second control unit 104 are connected through a network so as to perform data communication or interaction.
Alternatively, the first control unit 101 may be configured to acquire a video source and generate data information such as a video format, a clock frequency, a video frame rate, and a test video sequence; the first control unit 101 may be configured to transmit data information to the first driving unit 102 and the second control unit 104; the first control unit 101 may also be configured to receive a determination result fed back by the second control unit.
Alternatively, the video source acquired by the first control unit 101 may be from a random access memory, a memory card, a memory bank, or the like.
Illustratively, the first control unit 101 obtains the video source from the random access memory, determines the maximum driving level of the first driving unit 102 according to the maximum output capability supported by the first driving unit 102, and determines the maximum driving level of the second driving unit 103 according to the maximum output capability supported by the second driving unit 103, and the first control unit 101 may also generate the video format and the clock frequency, calculate the video sequence according to a known algorithm, and send the video format, the clock frequency and the video sequence to the first driving unit 102, and in addition, the first control unit 101 sends the video format, the known algorithm to the second control unit 104.
Alternatively, the maximum output capability supported by the first driving unit 102 and the second driving unit 103 is a known value in the design capability of the driving chip, and the maximum driving grade corresponding to the first driving unit 102 and the second driving unit 103 is determined according to the known value in the design capability of the driving chip.
For example, if the output interface is an HDMI output interface, the maximum output capability of the driver chip is 4k60 according to the factory set value of the driver chip.
Alternatively, the first driving unit 102 is configured to receive the data information sent by the first control unit 101, and send the data information to the second driving unit 103.
Alternatively, if the output is an output belonging to a high-speed serial bus, such as HDMI, optical fiber output, or the like, the first driving unit 102 is further configured to perform parallel-to-serial conversion on the data information.
Optionally, if the output form is to be scrambled, the first driving unit 102 is also used to scramble the data information.
Alternatively, the second driving unit 103 may be configured to receive the data information sent by the first driving unit 102 and send the data information to the second control unit 104; the second driving unit 103 may be used for serial-parallel conversion of the data information; the second drive unit 103 may also be used for descrambling data.
Alternatively, the second control unit 104 may detect the received data information.
Alternatively, the second control unit 104 is configured to receive the first data from the first control unit 101 and the second data from the second driving unit 103.
The second control unit 104 receives and compares the first data and the second data, determines whether the video format is stable, whether the clock frequency is correct, and transmits the determination result to the first control unit 101.
Alternatively, the first control unit 101 and the second control unit 104 may be FPGA (Field Programmable Gate Array, chinese name: field programmable gate array) chips.
Alternatively, the first driving unit 102 and the second driving unit 103 may be data interface chips such as HDMI (High Definition Multimedia Interface, chinese name: high definition multimedia interface), DVI (Digital Visual Interface, chinese name: digital video interface), DP (DisplayPort, chinese name: display interface), and the like.
The data transmission system described above may be provided in an electronic device, for example. The electronic device may be a personal computer (personal computer, PC), tablet, smart phone, personal digital assistant (personal digital assistant, PDA), or the like.
The data transmission system in this embodiment may be used to perform each step in each method for updating a drive level provided in this embodiment of the present application. The implementation of the drive level update method is described in detail below by several embodiments.
Example two
Please refer to fig. 2, which is a flowchart of a driving level updating method according to an embodiment of the present application. The specific flow shown in fig. 2 will be described in detail.
Step 201, comparing, by the second control unit, the first data with the second data to obtain a comparison result.
Optionally, the first data is data sent by the first control unit to the second control unit, and the second data is data sent by the second driving unit to the second control unit.
Optionally, the first data includes: a first video format.
Alternatively, the first video format may be obtained by a video source acquired by the first control unit.
Optionally, the second data includes: a second clock frequency and a second video format.
Optionally, the second data may be obtained through a first-stage driving level and a second-stage driving level, where the first-stage driving level is a lowest driving level of the first driving unit, and the second-stage driving level is a lowest driving level of the second driving unit.
Optionally, the second clock frequency and the second video format are updated according to an adjustment of a second-stage driving level of the second driving unit.
Optionally, the driving level updating method further includes, before step 201: transmitting the first data of the first control unit to the second control unit; and transmitting the second data of the second driving unit to the second control unit.
The first control unit sends the original data generated by the first control unit to the first driving unit, the first driving unit receives the original data sent by the first control unit and performs parallel-to-serial conversion on the original data, the first driving unit sends the intermediate data after the parallel-to-serial conversion to the second driving unit, and the second driving unit performs serial-to-parallel conversion on the intermediate data sent by the first driving unit to obtain second data and sends the second data to the second control unit.
Optionally, for the intermediate data to be scrambled and output, the first driving unit scrambles the original data sent by the first control unit, outputs the intermediate data, and the second driving unit descrambles the intermediate data sent by the first driving unit.
Optionally, the raw data generated by the first control unit includes: video format, clock frequency, video sequence, clock frequency algorithm, etc.
Optionally, the video sequence is calculated by a set algorithm; the video sequence may be a pseudo-random sequence; the video sequence may be an incremental sequence; the video sequence may be a decrementing machine sequence.
Step 202, determining whether the video format of the second driving unit is stable based on the comparison result.
Illustratively, comparing the first video format with the second video format, and when the first video format is different from the second video format, obtaining a comparison result of unstable video format; and when the first video format is the same as the second video format, obtaining a comparison result of video format stability.
Optionally, if the comparison result is that the video format of the second driving unit is unstable, the driving grade of the second driving unit is updated by the second control unit.
Optionally, if the comparison result is that the video format of the second driving unit is stable, determining the first clock frequency according to a set standard; comparing the first clock frequency with the second clock frequency to determine a determination result of the current clock frequency of the second driving unit.
Alternatively, the setting standard may be a VESA (Video Electronics Standards Association, chinese name: video electronics standards association) standard.
Illustratively, the video format is 1920x1080@60, which satisfies the VESA standard, the total number of rows and total columns thereof are obtained according to the VESA standard, and the first clock frequency is calculated according to a clock frequency algorithm.
Optionally, the clock frequency algorithm may be set in the first control unit, where the clock frequency algorithm is data in the first data when the clock frequency algorithm is set in the first control unit.
Optionally, the clock frequency algorithm may also be provided to the second control unit.
Illustratively, the clock frequency algorithm is specifically: clock frequency = total number of rows x total number of columns x frame rate.
Illustratively, the video format is 1920×1080@60, the total number of lines is 2200, and the total number of columns is 1125, then the first clock frequency=2200×1125×60=148.5 Mhz; the video format is 2048×1152@60, the total number of lines is 2250, and the total number of columns is 1200, and then the first clock frequency=2250×1200×60=162 Mhz; the video format is 1280×720@60, the total number of lines is 1650, and the total number of columns is 750, then the first clock frequency=1650×750×60=74.25 Mhz.
Optionally, if the first clock frequency is consistent with the second clock frequency, determining that the current clock frequency of the second driving unit is reasonable.
Optionally, if the first clock frequency is inconsistent with the second clock frequency, determining that the current clock frequency of the second driving unit is unreasonable.
If the comparison result is that the video format of the second driving unit is not stable, step 203 is executed.
Step 203, updating the driving grade of the second driving unit through the second control unit.
In one embodiment, as shown in fig. 3, step 203 may include the following steps 2031 to 2036.
Step 2031, determining whether the second-stage drive level is a specified level.
Alternatively, the designated level may be the highest level among the current levels of the second driving units corresponding to the first-level driving level.
If the second-level driving grade is not the designated grade, the lowest grade in the current grade of the second driving unit is up-regulated, the current second clock frequency and the current second video format are sent according to the regulated lowest grade in the current grade, and the current clock frequency of the second driving unit is determined to be reasonable according to the current second clock frequency and the current second video format until the current clock frequency is reasonable.
If the second driving level is the designated level, step 2032 is executed to determine the first driving level corresponding to the first driving unit according to the first set driving level.
Optionally, the first-stage driving level of the first driving unit is adjusted by the first control unit.
Optionally, the first-stage driving level is the driving level of the lowest level in all the first-stage to-be-selected driving levels.
Step 2033, determining a second-stage driving grade corresponding to the second driving unit according to the first-stage driving grade received by the second driving unit.
Optionally, the second-stage driving level is the driving level of the lowest level of all second-stage candidate driving levels.
Optionally, the second driving unit is provided with a second set driving level corresponding to the first driving unit.
Alternatively, the first-stage drive stages to be selected may be 3, 4, 5, etc., and the number of stages of the first-stage drive stages to be selected is not limited here.
Alternatively, the first-stage to-be-selected driving level may be divided by the first control unit.
Alternatively, the second-stage drive-to-be-selected stage may be 3 rd, 4 th, 5 th, etc., and the number of stages of the second-stage drive-to-be-selected stage is not limited here.
Alternatively, the second-stage candidate driving stages may be divided by the second control unit.
Illustratively, the first-stage candidate driving gear is an I gear, an II gear and a III gear, wherein the I gear is the lowest gear, the III gear is the highest gear, and the first-stage driving gear is determined to be the I gear.
For example, if the first-stage driving level is the I level, the frequency of all the levels to be selected of the second driving unit corresponding to the I level is incorrect, the first-stage driving level to be selected is updated to be the II level and the III level, wherein the II level is the lowest level, the III level is the highest level, and the first-stage driving level is determined to be the II level.
Optionally, the first control unit updates the first-stage candidate driving level of the first driving unit.
Illustratively, the second-stage to-be-selected driving gear is 1, 2 and 3, wherein 1 is the lowest gear, 3 is the highest gear, and the designated gear is 3; at this time, if the first-stage driving level is the I level, determining that the second-stage driving level is the I1 level; if the first-stage driving grade is II grade, determining that the second-stage driving grade is II1 grade.
For example, if the frequency of the second-stage driving level is incorrect when the second-stage driving level is 1 level, updating the second-stage to-be-selected driving level to be 2 level and 3 level, wherein 2 level is the lowest level and 3 level is the highest level, and determining that the designated level is 3 level; at this time, if the first-stage driving level is the I level, determining that the second-stage driving level is the I2 level; if the first-stage driving grade is II grade, determining that the second-stage driving grade is II2 grade.
The first-stage drive grade to be selected is exemplified by the grade I, the grade II, the grade III, the grade IV and the grade V, wherein the grade I is the lowest grade, the grade V is the highest grade, and the first-stage drive grade is determined to be the grade I.
For example, if the first-stage driving level is the I level, the frequency of all the levels to be selected of the second driving unit corresponding to the I level is incorrect, the first-stage driving level to be selected is updated to be the II level, the III level, the IV level and the V level, wherein the II level is the lowest level, the V level is the highest level, and the first-stage driving level is determined to be the II level.
The second-stage to-be-selected driving gear is exemplified by 1 gear, 2 gear, 3 gear, 4 gear and 5 gear, wherein 1 gear is the lowest gear, 5 gear is the highest gear, and the designated gear is determined to be 5 gear; at this time, if the first-stage driving level is the I level, determining that the second-stage driving level is the I1 level; if the first-stage driving grade is II grade, determining that the second-stage driving grade is II1 grade.
For example, if the frequency of the second-stage driving gear is incorrect when the second-stage driving gear is 1, updating the second-stage to-be-selected driving gear to be 2, 3, 4 and 5, wherein 2 is the lowest gear and 5 is the highest gear, and determining that the designated gear is 5; at this time, if the first-stage driving level is the I level, determining that the second-stage driving level is the I2 level; if the first-stage driving grade is II grade, determining that the second-stage driving grade is II2 grade.
Optionally, the video format of the different second level drive levels is different from the clock frequency.
Step 2034, adjusting, by a second control unit, a second-stage driving level corresponding to the second driving unit.
Step 2035, determining whether the current clock frequency of the second driving unit is reasonable according to the second-stage driving level.
Step 2036, if the current clock frequency of the second driving unit is not reasonable, updating the driving level of the second driving unit by the second control unit until the current clock frequency of the second driving unit is reasonable.
If the first-stage driving level is the I level, the second-stage driving level is the I1 level, and at this time, the current clock frequency of the second driving unit is unreasonable, the second-stage driving level is updated to be the I2 level, and the clock frequency of the second driving unit is determined according to the I2 level.
If the first-stage driving level is the I level, the second-stage driving level is the I2 level, and at this time, the current clock frequency of the second driving unit is unreasonable, the second-stage driving level is updated to be the I3 level, and the clock frequency of the second driving unit is determined according to the I3 level.
If the first-stage driving level is the II level, the second-stage driving level is the II1 level, and at this time, the current clock frequency of the second driving unit is unreasonable, the second-stage driving level is updated to be the II2 level, and the clock frequency of the second driving unit is determined according to the II2 level.
If the first-stage driving level is the II level, and the second-stage driving level is the II2 level, and at this time, the current clock frequency of the second driving unit is unreasonable, the second-stage driving level is updated to be the II3 level, and the clock frequency of the second driving unit is determined according to the II3 level.
Optionally, the driving level updating method further includes: obtaining a comparison result of the second control unit for the video format of the second driving unit according to the set time; and if the obtained comparison result is that the video format of the second driving unit is unstable, updating the driving grade of the second driving unit through a second control unit.
Alternatively, the set time may be 1 microsecond, 5 microseconds, 10 microseconds; the set time may be 1 ms, 2 ms, 10 ms; the set time can be 1 second, 3 seconds or 5 seconds; the set time may be 1 minute, 5 minutes, 10 minutes; the setting time may be 1 hour, 2 hours, 3 hours, or the like, and the setting time may be set according to actual conditions, and is not particularly limited here.
Optionally, if the determination result is that the current clock frequency of the second driving unit is reasonable, the link training is completed.
Fig. 4 is a flowchart of an embodiment of driving level update provided in the present application. Specifically, before link training, the first driving capability is set to five levels according to the driving chip. Then, the first control unit sends the first data to the second control unit, sends the original data to the first drive unit, the first drive unit processes the original data to obtain intermediate data, and sends the intermediate data according to the lowest grade of the first drive unit, the second drive unit receives and processes the intermediate data according to the lowest grade to obtain second data, and sends the second data to the second control unit, the second control unit compares the first video format in the first data with the second video format in the second data, judges whether the video format is stable, if the video format is unstable, the second drive grade is updated, and judges whether the second drive grade is a designated grade, if the second drive grade is the designated grade, the first drive grade is updated, the corresponding second drive grade is determined according to the updated first drive grade, and then the video format is continuously compared until the video format is stable.
If the video format is stable, calculating a first clock frequency according to a VESA standard and a clock frequency algorithm, comparing the first clock frequency with a second clock frequency in second data, if the clock frequency is incorrect, updating a second driving grade and judging whether the second driving grade is a designated grade, if the second driving grade is the designated grade, updating the first driving grade, determining a corresponding second driving grade according to the updated first driving grade, and then continuously comparing the video format and the clock frequency until the clock frequency is correct, thereby completing link training; if the second driving grade is not the designated grade, the video format and the clock frequency are continuously compared until the clock frequency is correct, and the link training is completed.
Example III
Based on the same application conception, the embodiment of the present application further provides a driving level updating device corresponding to the driving level updating method, and since the principle of solving the problem of the driving level updating device in the embodiment of the present application is similar to that of the foregoing embodiment of the driving level updating method, the implementation of the driving level updating device in the embodiment of the present application may refer to the description in the embodiment of the foregoing method, and the repetition is omitted.
Fig. 5 is a schematic functional block diagram of a driving level updating device according to an embodiment of the present application. The respective modules in the drive level updating apparatus in the present embodiment are used to execute the respective steps in the above-described method embodiment. The driving level updating device comprises a comparison module 301, a determination module 302 and an action module 303; wherein, the liquid crystal display device comprises a liquid crystal display device,
the comparing module 301 is configured to compare the first data with the second data through the second control unit to obtain a comparison result.
A determining module 302, configured to determine whether the video format of the second driving unit is stable based on the comparison result.
And the action module 303 is configured to update the driving grade of the second driving unit through the second control unit if the comparison result indicates that the video format of the second driving unit is unstable.
In a possible implementation manner, the comparing module 301 is further configured to, if the comparison result is that the video format of the second driving unit is stable: determining a first clock frequency according to a set standard; comparing the first clock frequency with the second clock frequency to determine a determination result of the current clock frequency of the second driving unit.
In a possible implementation manner, the comparing module 301 is specifically configured to: comparing the first video format with the second video format, when the first video format is different from the second video format, obtaining a comparison result of unstable video format, and when the first video format is the same as the second video format, obtaining a comparison result of stable video format.
In a possible implementation manner, the determining module 302 is further configured to: if the first clock frequency is consistent with the second clock frequency, determining that the current clock frequency of the second driving unit is reasonable; if the first clock frequency is inconsistent with the second clock frequency, determining that the current clock frequency of the second driving unit is unreasonable.
In a possible implementation, the action module 303 is further configured to: adjusting a second-stage driving grade corresponding to the second driving unit through a second control unit; determining whether the current clock frequency of the second driving unit is reasonable or not according to the second-stage driving grade; if the current clock frequency of the second driving unit is unreasonable, the driving grade of the second driving unit is updated through the second control unit until the current clock frequency of the second driving unit is reasonable.
In a possible implementation, the action module 303 is further configured to: judging whether the second-stage driving grade is a designated grade or not; if yes, determining a first-stage driving grade corresponding to the first driving unit according to the first set driving grade, wherein the first-stage driving grade is the lowest-stage driving grade of all first-stage to-be-selected driving grades; and determining a second-stage driving grade corresponding to the second driving unit according to the first-stage driving grade received by the second driving unit, wherein the second-stage driving grade is the driving grade of the lowest level in all second-stage to-be-selected driving grades.
In a possible implementation, the action module 303 is further configured to: obtaining a comparison result of the second control unit for the video format of the second driving unit according to the set time; and if the obtained comparison result is that the video format of the second driving unit is unstable, updating the driving grade of the second driving unit through a second control unit.
In addition, the embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program is executed by a processor to perform the steps of the drive level update method described in the foregoing method embodiment.
The computer program product of the driving level updating method provided in the embodiments of the present application includes a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the steps of the driving level updating method described in the embodiments of the method, and the embodiments of the method may be referred to specifically and not be repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A drive level update method, characterized by being applied to a data transmission system, the data transmission system comprising: the device comprises a first control unit, a second control unit, a first driving unit and a second driving unit; the driving grade updating method comprises the following steps:
Comparing the first data with the second data through the second control unit to obtain a comparison result, wherein the first data is data sent to the second control unit by the first control unit, and the second data is data sent to the second control unit by the second driving unit; the first data are original data acquired by the first control unit, and the second data are data obtained by serial-parallel conversion of the original data by the first driving unit and the second driving unit;
determining whether a video format of the second driving unit is stable based on the comparison result;
and if the comparison result is that the video format of the second driving unit is unstable, updating the driving grade of the second driving unit through the second control unit.
2. The method of claim 1, wherein the second data comprises: a second clock frequency, after determining whether the video format of the second driving unit is stable based on the comparison result, comprising:
if the comparison result is that the video format of the second driving unit is stable, determining a first clock frequency according to a set standard;
comparing the first clock frequency with the second clock frequency to determine a determination result of the current clock frequency of the second driving unit.
3. The method of claim 2, wherein the first data comprises: a first video format; the second data further includes: a second video format; the comparing, by the second control unit, the first data with the second data to obtain a comparison result includes:
comparing the first video format with the second video format, when the first video format is different from the second video format, obtaining a comparison result of unstable video format, and when the first video format is the same as the second video format, obtaining a comparison result of stable video format.
4. The method of claim 2, wherein the comparing the first clock frequency with the second clock frequency to determine a determination of the current clock frequency of the second drive unit comprises:
if the first clock frequency is consistent with the second clock frequency, determining that the current clock frequency of the second driving unit is reasonable;
if the first clock frequency is inconsistent with the second clock frequency, determining that the current clock frequency of the second driving unit is unreasonable.
5. The method according to claim 1, wherein the updating of the drive level of the second drive unit by the second control unit comprises:
Adjusting a second-stage driving grade corresponding to the second driving unit through a second control unit;
determining whether the current clock frequency of the second driving unit is reasonable or not according to the second-stage driving grade;
if the current clock frequency of the second driving unit is unreasonable, the driving grade of the second driving unit is updated through the second control unit until the current clock frequency of the second driving unit is reasonable.
6. The method of claim 5, wherein the data transmission system further comprises: a first driving unit; before the second driving level corresponding to the second driving unit is adjusted by the second control unit, the method comprises the following steps:
judging whether the second-stage driving grade is a designated grade or not;
if the second-stage driving grade is a designated grade, determining a first-stage driving grade corresponding to a first driving unit according to a first set driving grade, wherein the first-stage driving grade is the lowest-stage driving grade of all first-stage to-be-selected driving grades;
and determining a second-stage driving grade corresponding to the second driving unit according to the first-stage driving grade received by the second driving unit, wherein the second-stage driving grade is the driving grade of the lowest level in all second-stage to-be-selected driving grades.
7. The method according to claim 1, wherein if the comparison result is that the video format of the second driving unit is unstable, updating the driving level of the second driving unit by the second control unit includes:
obtaining a comparison result of the second control unit for the video format of the second driving unit according to the set time;
and if the obtained comparison result is that the video format of the second driving unit is unstable, updating the driving grade of the second driving unit through a second control unit.
8. A drive level updating apparatus, comprising: the device comprises a comparison module, a determination module and an action module;
the comparison module is used for comparing the first data with the second data through the second control unit to obtain a comparison result, wherein the first data is data sent to the second control unit by the first control unit, and the second data is data sent to the second control unit by the second driving unit; the first data are original data acquired by the first control unit, and the second data are data obtained by serial-parallel conversion of the original data by the first driving unit and the second driving unit;
The determining module is used for determining whether the video format of the second driving unit is stable or not based on the comparison result;
and the action module is used for updating the driving grade of the second driving unit through the second control unit if the comparison result is that the video format of the second driving unit is unstable.
9. An electronic device, comprising: a processor, a memory storing machine-readable instructions executable by the processor, which when executed by the processor perform the steps of the method of any of claims 1 to 7 when the electronic device is run.
10. A computer-readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of claims 1 to 7.
CN202110921758.9A 2021-08-11 2021-08-11 Drive level updating method and device, electronic equipment and readable storage medium Active CN113645463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110921758.9A CN113645463B (en) 2021-08-11 2021-08-11 Drive level updating method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110921758.9A CN113645463B (en) 2021-08-11 2021-08-11 Drive level updating method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113645463A CN113645463A (en) 2021-11-12
CN113645463B true CN113645463B (en) 2023-05-26

Family

ID=78420963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110921758.9A Active CN113645463B (en) 2021-08-11 2021-08-11 Drive level updating method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113645463B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004157983A (en) * 2002-09-09 2004-06-03 Ricoh Co Ltd Signal line control device
JP2004212610A (en) * 2002-12-27 2004-07-29 Sharp Corp Method and device for driving display device and program therefor
CN2893844Y (en) * 2005-09-23 2007-04-25 厦门火炬福大显示技术有限公司 Field emission display integrated driving circuit capable of displaying colourful visual freqency image
DE102008023873A1 (en) * 2008-05-16 2009-08-27 Siemens Aktiengesellschaft Drive system operating method, involves using buffer for exchanging data between drive component and drive regulation unit, initializing buffer by drive regulation unit, and temporizing initialization of buffer by control unit
CN102103825A (en) * 2009-12-22 2011-06-22 瑞萨电子株式会社 Display data correction by numerical operation suitable for display panel driver
CN104867440A (en) * 2015-05-29 2015-08-26 广东欧珀移动通信有限公司 VFD brightness control method and device
CN112256514A (en) * 2020-11-20 2021-01-22 厦门紫光展锐科技有限公司 SDIO interface test method and device, storage medium and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7389181B2 (en) * 2004-08-31 2008-06-17 Visre, Inc. Apparatus and method for producing video drive-by data corresponding to a geographic location
KR101113332B1 (en) * 2010-09-10 2012-03-13 주식회사 하이닉스반도체 Output driver

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004157983A (en) * 2002-09-09 2004-06-03 Ricoh Co Ltd Signal line control device
JP2004212610A (en) * 2002-12-27 2004-07-29 Sharp Corp Method and device for driving display device and program therefor
CN2893844Y (en) * 2005-09-23 2007-04-25 厦门火炬福大显示技术有限公司 Field emission display integrated driving circuit capable of displaying colourful visual freqency image
DE102008023873A1 (en) * 2008-05-16 2009-08-27 Siemens Aktiengesellschaft Drive system operating method, involves using buffer for exchanging data between drive component and drive regulation unit, initializing buffer by drive regulation unit, and temporizing initialization of buffer by control unit
CN102103825A (en) * 2009-12-22 2011-06-22 瑞萨电子株式会社 Display data correction by numerical operation suitable for display panel driver
CN104867440A (en) * 2015-05-29 2015-08-26 广东欧珀移动通信有限公司 VFD brightness control method and device
CN112256514A (en) * 2020-11-20 2021-01-22 厦门紫光展锐科技有限公司 SDIO interface test method and device, storage medium and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于FPGA的DVI数据存储与图像处理***;施众;;长春大学学报(08);全文 *
数据中心实时交换***的研究与实现;唐旭;王飞;李彤;张鹏;;计算机科学(S1);全文 *

Also Published As

Publication number Publication date
CN113645463A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
US11270614B2 (en) Data transmission method, timing controller, source driver and display device
US10679546B2 (en) Timing controller, display apparatus having the same and signal processing method thereof
US9461774B2 (en) Reception circuit of image data, electronic device using the same, and method of transmitting image data
JP5624781B2 (en) COMMUNICATION SYSTEM, DATA TRANSMITTING DEVICE, AND DATA RECEIVING DEVICE
US7627799B2 (en) Panel driving circuit that generates panel test pattern and panel test method thereof
EP2254039A1 (en) Visual display module with control of display data by checksum
CN103365469B (en) The detection method of touch point, device, touch drive circuit and touch screen
US8411118B2 (en) Flat panel display and method for detecting resolution of image signal thereof
JP2012142941A (en) Data transmission method and apparatus between timing controller and source driver with additional bit error rate test function
KR101323055B1 (en) METHOD AND APPARATUS FOR RECOVERING A PIXEL CLOCK BASED INTERNL DISPLAYPORT(iDP) INTERFACE AND DISPLAY DEVICE USING THE SAME
US20200143721A1 (en) Method and component for signal detection as well as display device
US10686528B2 (en) Methods and apparatus for tuning lookup table circuits in a transmitter of optical and electrical communication systems
KR20110081375A (en) Method of processing data, and display apparatus performing for the method
KR20200012060A (en) Display device and driving method thereof
CN113645463B (en) Drive level updating method and device, electronic equipment and readable storage medium
GB0819389D0 (en) Method of transmitting data in a communication system
CN114024873B (en) Spread spectrum clock generator, pulse waveform generating device and error rate measuring device
CN104253621B (en) Data receiver and data receiving method
CN109427276B (en) Display device, time sequence control circuit and signal reconstruction method thereof
JP6120798B2 (en) Transmission device, reception device, and transmission / reception system
CN115131255A (en) Image processing circuit, circuit device, and electronic apparatus
CN105930123B (en) Display adjusting method and electronic equipment
CN111711772A (en) Image scaling method, image scaling circuit, chip and electronic device
KR20180129837A (en) Video signal transmitting apparatus, video signal receiving apparatus, and video signal transmitting system
JP5551998B2 (en) Image signal generator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant