CN113645463A - Drive grade updating method and device, electronic equipment and readable storage medium - Google Patents

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

Info

Publication number
CN113645463A
CN113645463A CN202110921758.9A CN202110921758A CN113645463A CN 113645463 A CN113645463 A CN 113645463A CN 202110921758 A CN202110921758 A CN 202110921758A CN 113645463 A CN113645463 A CN 113645463A
Authority
CN
China
Prior art keywords
driving
level
control unit
clock frequency
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110921758.9A
Other languages
Chinese (zh)
Other versions
CN113645463B (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, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 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

Abstract

The application provides a drive grade updating method, a drive grade updating device, electronic equipment and a readable storage medium, which are applied to a data transmission system, wherein the data transmission system comprises: the device comprises a first control unit, a second control unit and a second driving unit; the drive level updating method includes: comparing first data and second data by the second control unit to obtain a comparison result, wherein 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 drive unit to the second control unit; determining whether a video format of the second driving unit is stable based on the comparison result; and if the comparison result indicates 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. The driving grade of the second driving unit is updated in time by checking the correctness of the clock frequency, so that the stable transmission of the video interface data is ensured.

Description

Drive grade updating method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of video transmission, and in particular, to a method and an apparatus for updating a drive level, an electronic device, and a readable storage medium.
Background
With the improvement of the resolution and the frame rate of the video, a higher requirement is put forward on the transmission stability of the video, because the improvement of the resolution and the frame rate inevitably leads to the improvement of the transmission signal, 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 supportable line length is, and the terminal user wants to obtain a better display experience, the situations of image noise, image flicker, image non-display and the like need to be avoided, which is a huge challenge to the transmission distance.
Disclosure of Invention
In view of the above, embodiments of the present disclosure provide a method and an apparatus for updating a drive level, an electronic device, and a 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 driving level updating method, which is applied to a data transmission system, where the data transmission system includes: the device comprises a first control unit, a second control unit and a second driving unit; the drive level updating method includes: comparing first data and second data by the second control unit to obtain a comparison result, wherein 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 drive unit to the second control unit; determining whether the current video format of the second driving unit is stable based on the comparison result; and if the comparison result indicates 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 driving unit to the second control unit is used for judging whether the video format of the second driving unit is stable, the driving grade of the second driving unit is updated under the condition of the unstable video format, and the video format of the second driving unit is adjusted by updating the driving grade of the second driving unit, so that the stability of video interface data is ensured.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where: the second data includes: a second clock frequency, after the determining whether the video format of the second driving unit is stable based on the comparison result, comprising: if the comparison result shows 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 a current clock frequency of the second driving unit.
According to the embodiment of the application, the first clock frequency is determined by using the set standard according to the video format under the state that the video format is stable, so that the fact that the first data can be compared with the subsequent clock frequency without transmitting the first clock frequency is guaranteed, the first clock frequency is determined by the video format and the set standard instead of being transmitted by 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, an embodiment of the present application provides a second possible implementation manner of the first aspect, where: the first data includes: a first video format; the second data further comprises: a second video format; the comparing, by the second control unit, the first data with the second data to obtain a comparison result includes: and comparing the first video format with the second video format, obtaining a comparison result of unstable video formats when the first video format is different from the second video format, and obtaining a comparison result of stable video formats when the first video format is the same as the second video format.
According to the embodiment of the application, based on the characteristic that the video formats cannot be damaged due to the length of lines 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 is determined according to the fact that whether the video formats are the same, and the correctness of the comparison result is guaranteed.
With reference to the second possible implementation manner of the first aspect, this application provides a third possible implementation manner of the first aspect, where the comparing the first clock frequency with the second clock frequency to determine a determination result of a 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; and if the first clock frequency is not consistent 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 the accuracy of judging the current clock frequency is ensured by comparing the consistency of the clock frequencies obtained by two different ways.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present application provides a fourth possible implementation manner of the first aspect, where the updating, by the second control unit, the driving level 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; and if the current clock frequency of the second driving unit is not reasonable, updating the driving grade of the second driving unit through a second control unit until the current clock frequency of the second driving unit is reasonable.
According to the embodiment of the application, the second-level driving grade corresponding to the second driving unit is continuously updated, whether the second clock frequency is reasonable or not is judged, the second-level driving grade is not updated until the previous clock frequency is reasonable, the clock frequency can be adjusted based on the change of the second-level driving grade, the second clock frequency is continuously updated substantially by adjusting the second-level driving grade, so that the first clock frequency is consistent with the second clock frequency, and further the video interface data can be stably transmitted.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present application provides a fifth possible implementation manner of the first aspect, where the data transmission system further includes: a first drive unit; before the second control unit adjusts the second-stage driving level corresponding to the second driving unit, the method includes: judging whether the second-stage driving grade is a specified grade or not; if the second-level driving level is a designated level, determining a first-level driving level corresponding to the first driving unit according to a first set driving level, wherein the first-level driving level is the lowest-level driving level in all first-level driving levels to be selected; and determining a second-level driving level corresponding to the second driving unit according to the first-level driving level received by the second driving unit, wherein the second-level driving level is the lowest-level driving level in all second-level driving levels to be selected.
According to the embodiment of the application, the lowest-level drive grade in all the 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 specified 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 sequentially judged, so that the step of updating the drive grade is simplified.
With reference to the fifth possible implementation manner of the first aspect, this application provides a sixth possible implementation manner of the first aspect, where, if the comparison result indicates that the video format of the second driving unit is unstable, the updating, by the second control unit, the driving level of the second driving unit includes: according to the set time, obtaining the comparison result of the second control unit aiming at the video format of the second driving unit; and if the obtained comparison result indicates 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 and then updates the driving grade of the second driving unit by obtaining the judgment result of the clock frequency of the second driving unit according to the set time, so that the fact that the driving grade can be updated in real time and stable transmission of video interface data can be guaranteed in real time is guaranteed.
In a second aspect, an embodiment of the present application further provides a driving level updating apparatus, including: the device comprises a comparison module, a determination module and an action module; the comparison module is used for comparing first data and second data through a second control unit to obtain a comparison result, wherein the first data is data sent by the first control unit to the second control unit, and the second data is data sent by a second driving unit to the second control 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 shows that the video format of the second driving unit is unstable.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory storing machine-readable instructions executable by the processor, the machine-readable instructions, when executed by the processor, performing the steps of the method of the first aspect described above, or any possible implementation of the first aspect, when the electronic device is run.
In a fourth aspect, this application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the above-mentioned first aspect, or one of any possible implementation manners of the first aspect, of the driving level updating method.
In order to make the aforementioned 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 required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram illustrating interaction among units of a data transmission system according to an embodiment of the present application;
fig. 2 is a flowchart of a driving level updating method according to an embodiment of the present application;
FIG. 3 is a detailed flowchart of step 203 in FIG. 2 according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of an embodiment of a drive level update provided by an embodiment of the present application;
fig. 5 is a functional block diagram of a drive level update apparatus according to an embodiment of the present disclosure.
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 numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
At present, with the improvement of the resolution and the frame rate of the video, the improvement of the video transmission rate and better user experience, high requirements are put forward on video data transmission. Based on this, the driving level updating method, the driving level updating device, the electronic device and the readable storage medium provided by the application can adjust the driving capability of the driving unit to ensure stable transmission of the video interface data by detecting the stability of the video format and the correctness of the clock frequency.
Example one
Fig. 1 is a schematic diagram illustrating interaction among units of a data transmission system according to an embodiment of the present application. In this example, the data transmission system includes: the system comprises a first control unit 101, a first driving unit 102, a second driving unit 103 and a second control unit 104, wherein the units are connected through a network to perform data communication or interaction.
Optionally, the first control unit 101 may be configured to obtain 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 send data information to the first drive unit 102 and the second control unit 104; the first control unit 101 may also be configured to receive the 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 acquires a video source from a random access memory, and determines a first driving unit maximum driving level of the first driving unit 102 and a second driving unit maximum driving level of the second driving unit 103 according to a maximum output capability supported by the first driving unit 102, and the first control unit 101 may further generate a video format and a clock frequency, calculate a 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 and the known algorithm to the second control unit 104.
Optionally, the maximum output capabilities supported by the first driving unit 102 and the second driving unit 103 are known values in the design capabilities of the driving chip, and the maximum driving levels corresponding to the first driving unit 102 and the second driving unit 103 are determined according to the known values in the design capabilities of the driving chip.
For example, in the case of an output interface of HDMI, the maximum output capability of the driver chip is 4k60 according to the factory setting value of the driver chip.
Optionally, the first driving unit 102 is configured to receive 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, an optical fiber output, or the like, the first driving unit 102 is also configured to perform parallel-to-serial conversion on the data information.
Optionally, if the output format needs to be scrambled, the first driving unit 102 is further configured to scramble the data information.
Optionally, the second driving unit 103 may be configured to receive data information sent by the first driving unit 102, and send the data information to the second control unit 104; the second drive unit 103 may be used for serial-to-parallel conversion of the data information; the second drive unit 103 may also be used to descramble data.
Alternatively, the second control unit 104 may detect the received data information.
Optionally, 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 drive unit 103.
Illustratively, the second control unit 104 receives the first data and the second data and compares them, and further determines whether the video format is stable and the clock frequency is correct, and sends 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) 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), DVI (Digital Visual Interface), DP (display Interface), and the like.
The data transmission system may be disposed in an electronic device. The electronic device may be a Personal Computer (PC), a tablet PC, a smart phone, a Personal Digital Assistant (PDA), or the like.
The data transmission system in this embodiment may be used to execute each step in each method for updating the driving profile provided in this embodiment. The implementation of the driving level updating method is described in detail below by several embodiments.
Example two
Please refer to fig. 2, which is a flowchart illustrating a driving level updating method according to an embodiment of the present application. The specific process shown in fig. 2 will be described in detail below.
Step 201, comparing the first data with the second data by the second control unit 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 comprises: a first video format.
Optionally, the first video format may be obtained by a video source acquired by the first control unit.
Optionally, the second data comprises: a second clock frequency and a second video format.
Alternatively, the second data may be obtained through a first driving level and a second driving level, the first driving level being the lowest driving level of the first driving unit, and the second driving level being the lowest driving level of the second driving unit.
Optionally, the second clock frequency and the second video format are updated according to the adjustment of the second-level driving level of the second driving unit.
Optionally, before step 201, the driving level updating method further includes: sending the first data of the first control unit to the second control unit; and sending the second data of the second driving unit to the second control unit.
Illustratively, the first control unit sends 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 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 needing to be scrambled and output, the first driving unit scrambles the original data sent by the first control unit and 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 comprises: 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 decrementer 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 obtaining a comparison result of unstable video formats when the first video format is different from the second video format; and when the first video format is the same as the second video format, obtaining a comparison result with stable video format.
Optionally, if the comparison result indicates that the video format of the second driving unit is unstable, the driving level of the second driving unit is updated by the second control unit.
Optionally, if the comparison result indicates 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 a current clock frequency of the second driving unit.
Alternatively, the setting standard may be a VESA (Video Electronics Standards Association) standard.
Illustratively, the video format is 1920 × 1080@60, the video format meets the VESA standard, the total number of rows and the total number of columns are obtained according to the VESA standard, and the first clock frequency is obtained through calculation according to a clock frequency algorithm.
Optionally, the clock frequency algorithm may be set in the first control unit, and when the clock frequency algorithm is set in the first control unit, the clock frequency algorithm is data in the first data.
Optionally, the clock frequency algorithm may also be provided at the second control unit.
Illustratively, the clock frequency algorithm is specifically: the clock frequency is the total number of rows × the total number of columns × the frame rate.
Illustratively, the video format is 1920 × 1080@60, the total number of rows is 2200, the total number of columns is 1125, and the first clock frequency is 2200 × 1125 × 60 is 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, so that the first clock frequency is 2250 × 1200 × 60 ═ 162 Mhz; the video format is 1280 × 720@60, with a total number of lines 1650 and a total number of columns 750, and the first clock frequency is 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 not consistent with the second clock frequency, determining that the current clock frequency of the second driving unit is not reasonable.
If the comparison result indicates that the video format of the second driving unit is not stable, step 203 is executed.
And 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 driving level is a designated 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 level is not the designated level, the lowest level in the current level of the second driving unit is adjusted upwards, the current second clock frequency and the current second video format are sent according to the adjusted lowest level in the current level, 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 a first driving level corresponding to the first driving unit according to the first set driving level.
Optionally, the first level driving level of the first driving unit is adjusted by the first control unit.
Optionally, the first-stage driving gear is the lowest-stage driving gear of all the first-stage candidate driving gears.
Step 2033, determining a second driving level corresponding to the second driving unit according to the first driving level received by the second driving unit.
Optionally, the second-stage driving stage is a lowest-stage driving stage of all the second-stage candidate driving stages.
Optionally, the second driving unit is provided with a second set driving level corresponding to the first driving unit.
Alternatively, the first-stage candidate driving stage may be 3-stage, 4-stage, 5-stage, and the like, and the number of stages of the first-stage candidate driving stage is not limited herein.
Alternatively, the first-stage candidate driving stage may be divided by the first control unit.
Alternatively, the second-stage candidate driving stage may be 3-stage, 4-stage, 5-stage, and the like, and the number of the second-stage candidate driving stage is not limited herein.
Alternatively, the second-stage candidate driving stage may be divided by the second control unit.
Illustratively, the first-stage candidate driving stage is a first stage, a second stage and a third stage, wherein the first stage is the lowest stage and the third stage is the highest stage, and the first-stage driving stage is determined to be the first stage.
For example, if the frequency of all the candidate gears of the second driving unit corresponding to the first gear is incorrect when the first-stage driving gear is the first gear, the first-stage candidate driving gear is updated to be the second gear and the third gear, wherein the second gear is the lowest gear, and the third gear is the highest gear, and the first-stage driving gear is determined to be the second gear.
Optionally, the first control unit updates the first-stage candidate driving level of the first driving unit.
Illustratively, the second-stage candidate driving level is 1 level, 2 levels and 3 levels, wherein the 1 level is the lowest level, and the 3 level is the highest level, and then the specified level is determined to be 3 levels; 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 drive gear is gear II, the second stage drive gear is determined to be gear II 1.
Illustratively, if the frequency of the second-stage drive level in the 1 st gear is incorrect, updating the second-stage candidate drive level to 2 nd gear and 3 rd gear, wherein the 2 nd gear is the lowest level, and the 3 rd gear is the highest level, and determining that the designated level is the 3 rd gear; 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 drive gear is gear II, the second stage drive gear is determined to be gear II 2.
Illustratively, the first-stage candidate driving stage is I-stage, II-stage, III-stage, IV-stage and V-stage, wherein I-stage is the lowest stage, and V-stage is the highest stage, and then the first-stage driving stage is determined to be I-stage.
For example, if the frequency of all the candidate gears of the second driving unit corresponding to the first-stage driving gear is incorrect when the first-stage driving gear is the first gear, the first-stage candidate driving gear is updated to be the second gear, the third gear, the IV gear and the V gear, wherein the second gear is the lowest gear, and the V gear is the highest gear, and the first-stage driving gear is determined to be the second gear.
Illustratively, the second-stage candidate driving level is 1 level, 2 levels, 3 levels, 4 levels and 5 levels, wherein the 1 level is the lowest level, and the 5 level is the highest level, and the designated level is determined to be 5 levels; 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 drive gear is gear II, the second stage drive gear is determined to be gear II 1.
Illustratively, if the frequency of the second-stage drive level being the 1 st level is incorrect, updating the second-stage candidate drive level to be the 2 nd level, the 3 rd level, the 4 th level and the 5 th level, wherein the 2 nd level is the lowest level, and the 5 th level is the highest level, and determining that the designated level is the 5 th 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 drive gear is gear II, the second stage drive gear is determined to be gear II 2.
Optionally, the video format of the different second level driving profiles is different from the clock frequency.
And step 2034, adjusting, by the 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 driving level.
Step 2036, if the current clock frequency of the second driving unit is not reasonable, the driving level of the second driving unit is updated by the second control unit until the current clock frequency of the second driving unit is reasonable.
For example, if the first-stage driving stage is I stage, the second-stage driving stage is I1 stage, and the current clock frequency of the second driving unit is not reasonable, the second-stage driving stage is updated to I2 stage, and the clock frequency of the second driving unit is determined according to I2 stage.
For example, if the first-stage driving stage is I stage, the second-stage driving stage is I2 stage, and the current clock frequency of the second driving unit is not reasonable, the second-stage driving stage is updated to I3 stage, and the clock frequency of the second driving unit is determined according to I3 stage.
For example, if the first-stage driving stage is the II stage, the second-stage driving stage is the II1 stage, and the current clock frequency of the second driving unit is not reasonable, the second-stage driving stage is updated to the II2 stage, and the clock frequency of the second driving unit is determined according to the II2 stage.
For example, if the first-stage driving stage is the II stage, the second-stage driving stage is the II2 stage, and the current clock frequency of the second driving unit is not reasonable, the second-stage driving stage is updated to the II3 stage, and the clock frequency of the second driving unit is determined according to the II3 stage.
Optionally, the driving level updating method further includes: according to the set time, obtaining the comparison result of the second control unit aiming at the video format of the second driving unit; and if the obtained comparison result indicates 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, or 10 microseconds; the set time can be 1 millisecond, 2 milliseconds and 10 milliseconds; the set time can be 1 second, 3 seconds and 5 seconds; the set time may be 1 minute, 5 minutes, 10 minutes; the set time may also be 1 hour, 2 hours, 3 hours, etc., and the set time may be set according to actual conditions, and is not specifically limited herein.
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 updating a driving level according to an embodiment of the present application. Specifically, before the 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, the original data is sent to the first drive unit, the first drive unit processes the original data to obtain the intermediate data and sends the intermediate data according to the lowest level of the first drive unit, the second drive unit receives and processes the intermediate data according to the lowest level to obtain the 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 to judge whether the video formats are stable, if the video formats are fixed, the second drive level is updated and whether the second drive level is the designated level is judged, if the second drive level is the designated level, the first drive level is updated, the corresponding second drive level is determined according to the updated first drive level, and continuing to compare the video formats until the video formats are stable.
If the video format is stable, calculating a first clock frequency according to the 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 specified grade, if the second driving grade is the specified grade, updating the first driving grade, determining a corresponding second driving grade according to the updated first driving grade, and continuing to compare 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 concept, a driving rank update apparatus corresponding to the driving rank update method is also provided in the embodiments of the present application, and since the principle of solving the problem of the driving rank update apparatus in the embodiments of the present application is similar to that in the embodiments of the driving rank update method, the implementation of the driving rank update apparatus in the embodiments of the present application may refer to the description in the embodiments of the above methods, and repeated details are not repeated.
Please refer to fig. 5, which is a schematic diagram of a functional module of a drive level update apparatus according to an embodiment of the present application. The respective modules in the drive level update apparatus in the present embodiment are used to perform the respective steps in the above-described method embodiments. The drive level updating device comprises a comparison module 301, a determination module 302 and an action module 303; wherein the content of the first and second substances,
the comparing module 301 is configured to compare the first data with the second data by the second control unit to obtain a comparison result.
A determining module 302, configured to determine whether a video format of the second driving unit is stable based on the comparison result.
The action module 303 is configured to update the driving level 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, if the comparison result is that the video format of the second driving unit is stable, is further configured to: 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 a current clock frequency of the second driving unit.
In a possible implementation manner, the comparing module 301 is specifically configured to: and comparing the first video format with the second video format, obtaining a comparison result of unstable video formats when the first video format is different from the second video format, and obtaining a comparison result of stable video formats when the first video format is the same as the second video format.
In a possible implementation, 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; and if the first clock frequency is not consistent 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; and if the current clock frequency of the second driving unit is not reasonable, updating the driving grade of the second driving unit through a 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 specified grade or not; if so, determining a first-level driving level corresponding to the first driving unit according to a first set driving level, wherein the first-level driving level is the lowest-level driving level in all first-level driving levels to be selected; and determining a second-level driving level corresponding to the second driving unit according to the first-level driving level received by the second driving unit, wherein the second-level driving level is the lowest-level driving level in all second-level driving levels to be selected.
In a possible implementation, the action module 303 is further configured to: according to the set time, obtaining the comparison result of the second control unit aiming at the video format of the second driving unit; and if the obtained comparison result indicates 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, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the driving level updating method in the foregoing method embodiment.
The computer program product of the drive level updating method provided in the embodiment of the present application includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute steps of the drive level updating method described in the above method embodiment, which may be specifically referred to in the above method embodiment and will not be described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart 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, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent 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 or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to 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), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the 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 conceive of the changes or substitutions within the technical scope of the present application, and shall 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 driving level updating method is applied to a data transmission system, and the data transmission system comprises the following steps: the device comprises a first control unit, a second control unit and a second driving unit; the drive level updating method includes:
comparing first data and second data by the second control unit to obtain a comparison result, wherein 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 drive unit to the second control unit;
determining whether a video format of the second driving unit is stable based on the comparison result;
and if the comparison result indicates 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 the determining whether the video format of the second driving unit is stable based on the comparison result, comprising:
if the comparison result shows 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 a 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 comprises: a second video format; the comparing, by the second control unit, the first data with the second data to obtain a comparison result includes:
and comparing the first video format with the second video format, obtaining a comparison result of unstable video formats when the first video format is different from the second video format, and obtaining a comparison result of stable video formats when the first video format is the same as the second video format.
4. The method of claim 2, wherein the comparing the first clock frequency to 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;
and if the first clock frequency is not consistent with the second clock frequency, determining that the current clock frequency of the second driving unit is unreasonable.
5. The method of claim 1, wherein said updating the drive level of the second drive unit via a 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;
and if the current clock frequency of the second driving unit is not reasonable, updating the driving grade of the second driving unit through a 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 drive unit; before the second control unit adjusts the second-stage driving level corresponding to the second driving unit, the method includes:
judging whether the second-stage driving grade is a specified grade or not;
if the second-level driving level is a designated level, determining a first-level driving level corresponding to the first driving unit according to a first set driving level, wherein the first-level driving level is the lowest-level driving level in all first-level driving levels to be selected;
and determining a second-level driving level corresponding to the second driving unit according to the first-level driving level received by the second driving unit, wherein the second-level driving level is the lowest-level driving level in all second-level driving levels to be selected.
7. The method according to claim 1, wherein the updating, by the second control unit, the driving level of the second driving unit if the comparison result indicates that the video format of the second driving unit is not stable comprises:
according to the set time, obtaining the comparison result of the second control unit aiming at the video format of the second driving unit;
and if the obtained comparison result indicates 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 update apparatus, comprising: the device comprises a comparison module, a determination module and an action module;
the comparison module is used for comparing first data and second data through a second control unit to obtain a comparison result, wherein the first data is data sent by the first control unit to the second control unit, and the second data is data sent by a second driving unit to the second control 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 shows 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, the machine-readable instructions when executed by the processor performing the steps of the method of any of claims 1 to 7 when the electronic device is run.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one 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 true CN113645463A (en) 2021-11-12
CN113645463B 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 (9)

* 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
US20060075442A1 (en) * 2004-08-31 2006-04-06 Real Data Center, Inc. Apparatus and method for producing video drive-by data corresponding to a geographic location
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
US20120062280A1 (en) * 2010-09-10 2012-03-15 Hynix Semiconductor Inc. Output 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

Patent Citations (9)

* 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
US20060075442A1 (en) * 2004-08-31 2006-04-06 Real Data Center, Inc. Apparatus and method for producing video drive-by data corresponding to a geographic location
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
US20120062280A1 (en) * 2010-09-10 2012-03-15 Hynix Semiconductor Inc. Output 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数据存储与图像处理系统", 长春大学学报 *

Also Published As

Publication number Publication date
CN113645463B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
US20190080148A1 (en) Method and apparatus for generating image
JP5624781B2 (en) COMMUNICATION SYSTEM, DATA TRANSMITTING DEVICE, AND DATA RECEIVING DEVICE
CN108765340B (en) Blurred image processing method and device and terminal equipment
CN113506545B (en) Backlight driving method, backlight driving device, computer equipment and storage medium
CN108228463B (en) Method and device for detecting first screen time
US9461774B2 (en) Reception circuit of image data, electronic device using the same, and method of transmitting image data
US20200313849A1 (en) Method and system for providing explanation for output generated by an artificial intelligence model
CN111105375B (en) Image generation method, model training method and device thereof, and electronic equipment
CN108877735B (en) Gray scale brightness adjusting method and adjusting device of display equipment
US10686528B2 (en) Methods and apparatus for tuning lookup table circuits in a transmitter of optical and electrical communication systems
GB0819389D0 (en) Method of transmitting data in a communication system
CN113645463A (en) Drive grade updating method and device, electronic equipment and readable storage medium
US7774516B2 (en) Communicating system and method thereof
CN108882239B (en) Information sending method and device
CN111711772B (en) Image scaling method, image scaling circuit, chip and electronic device
CN113742593A (en) Method and device for pushing information
JP6843450B1 (en) Teacher data generation method, trained model generation method, device, recording medium, program, information processing device
CN105898722B (en) A kind of discrimination method, device and the electronic equipment of improper short message
CN114416010A (en) Image display method and device, electronic equipment and storage medium
WO2021095358A1 (en) Learning method, evaluation device, and evaluation system
CN109637448B (en) PMOLED display module brightness adjusting device, system and method
CN104852877B (en) Signal receiving device and its two benches adaptive equalization method
US20090268036A1 (en) Method and system for testing gradation levels
JP6874562B2 (en) Electromagnetic information leakage prevention methods, devices, and programs
CN106550236B (en) Method and apparatus for generating and decoding video stream with verification data

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