CN112684994A - Multichannel resource adjustment method and computer-readable storage medium - Google Patents

Multichannel resource adjustment method and computer-readable storage medium Download PDF

Info

Publication number
CN112684994A
CN112684994A CN202011552087.5A CN202011552087A CN112684994A CN 112684994 A CN112684994 A CN 112684994A CN 202011552087 A CN202011552087 A CN 202011552087A CN 112684994 A CN112684994 A CN 112684994A
Authority
CN
China
Prior art keywords
channel
physical link
instruction
multichannel
link
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
CN202011552087.5A
Other languages
Chinese (zh)
Other versions
CN112684994B (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.)
Suzhou HYC Technology Co Ltd
Original Assignee
Suzhou HYC 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 Suzhou HYC Technology Co Ltd filed Critical Suzhou HYC Technology Co Ltd
Priority to CN202011552087.5A priority Critical patent/CN112684994B/en
Publication of CN112684994A publication Critical patent/CN112684994A/en
Application granted granted Critical
Publication of CN112684994B publication Critical patent/CN112684994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to the technical field of multichannel data transmission, and particularly discloses a multichannel resource adjusting method and a computer readable storage medium. The method comprises the following steps: receiving a physical link detection instruction, wherein the physical link detection instruction is used for indicating the detection of the state of a multi-channel physical link; performing multi-channel physical link detection based on the physical link detection instruction, and feeding back a multi-channel physical link detection result; receiving a multichannel resource adjusting instruction, wherein the multichannel resource adjusting instruction is determined by the control terminal based on the detection result of the multichannel physical link and is used for indicating to adjust multichannel resources; and performing multichannel resource adjustment based on the multichannel resource adjustment instruction. Therefore, the resources of each channel can be adjusted according to the physical link state of each channel so as to improve the quality of the current channel link, optimize the channel resource allocation and further improve the data transmission effect and the data display quality.

Description

Multichannel resource adjustment method and computer-readable storage medium
Technical Field
The present invention relates to the field of multichannel data transmission technologies, and in particular, to a multichannel resource adjustment method and a computer-readable storage medium.
Background
At present, with a Video image processing system, in particular, a Video image processing system with a DisplayPort (DP) of VESA (Video Electronics Standards Association), an MIPI (Mobile Industry Processor Interface standard), and an HDMI (High Definition Multimedia Interface standard), the Video image processing system is used to drive a display terminal such as a liquid crystal display or an organic light emitting diode (oled) to perform multi-channel display, and often causes a problem of poor data transmission due to defects of each channel, thereby affecting normal data display.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a multichannel resource adjustment method and a computer-readable storage medium.
A multi-channel resource adjustment method is applied to a data processing system, the data processing system comprises a control end and a controlled end, the controlled end externally transmits data through multiple channels under the control of the control end, and the method comprises the following steps:
receiving a physical link detection instruction, wherein the physical link detection instruction is used for indicating the detection of the state of a multi-channel physical link;
performing multi-channel physical link detection based on the physical link detection instruction, and feeding back a multi-channel physical link detection result;
receiving a multichannel resource adjusting instruction, wherein the multichannel resource adjusting instruction is determined by the control terminal based on the detection result of the multichannel physical link and is used for indicating to adjust multichannel resources;
and performing multichannel resource adjustment based on the multichannel resource adjustment instruction.
In one embodiment, the step of performing multi-channel physical link detection based on the physical link detection instruction and feeding back a multi-channel physical link detection result includes:
detecting the training state and the error rate of each channel link;
determining the quality grade of the physical link of each channel according to the training state of the link of each channel and the detection result of the error rate;
and feeding back the training state of each channel link, the error rate result of each channel and the quality grade of each channel physical link.
In one embodiment, the physical link quality levels are divided into a low level, a medium level and a high level in an increasing order of quality; the step of determining the quality grade of the physical link of each channel according to the training state of the link of each channel and the detection result of the error rate comprises the following steps:
when the link training fails, determining that the quality grade of the physical link of the channel is low;
when the link training is successful and the error rate is higher than a preset value, determining that the quality grade of the physical link of the channel is a medium grade;
and when the link training is successful and the error rate is lower than a preset value, determining that the quality grade of the channel physical link is high.
In one embodiment, the multichannel resource adjustment instruction comprises a first adjustment instruction, wherein the first adjustment instruction is used for indicating that the link rate and/or the link number in the channel are/is adjusted;
the step of adjusting the multichannel resource based on the multichannel resource adjustment instruction comprises:
and adjusting the link rate and/or the number of links in the channel based on the first adjusting instruction.
In one embodiment, the step of adjusting the intra-channel link rate and/or the number of links based on the first adjustment instruction comprises:
when the link training is successful and the error rate is lower than a preset value, increasing the link rate and/or the number of links in the channel;
and when the link training is successful and the error rate is higher than a preset value, reducing the link rate and/or the number of links in the channel.
In one embodiment, the multichannel resource adjustment instruction further comprises a second adjustment instruction, wherein the second adjustment instruction is used for indicating to adjust the link quality;
the step of adjusting the multichannel resource based on the multichannel resource adjustment instruction comprises:
adjusting timing constraints, and/or adjusting physical layer parameters.
In one embodiment, the step of adjusting the timing constraint and/or adjusting the physical layer parameter includes:
when the link training is successful and the error rate is higher than a preset value, adjusting the time sequence constraint and then increasing the pre-emphasis value on the channel;
and when the link training fails, increasing the pre-weighting value on the channel and then increasing the pressure swing on the channel.
In one embodiment, the multi-channel resource adjustment unit further includes a third adjustment instruction, where the third adjustment instruction is used to instruct to adjust data and resources of each channel;
the step of adjusting the multichannel resource based on the multichannel resource adjustment instruction comprises:
carrying out weighting processing on the data of each channel;
according to the physical link detection result, adjusting the weight occupied by the data of the current channel;
and removing repeated data, and adjusting the effective resource quantity of the current channel based on the weight occupied by the adjusted data.
In one embodiment, the step of performing multichannel resource adjustment based on the multichannel resource adjustment instruction further includes:
performing orthogonal allocation of resource positions between the current channel and other channels;
and inserting the separation data according to the effective resource quantity and the resource position of the current channel.
In one embodiment, after the step of performing multichannel resource adjustment based on the multichannel resource adjustment instruction, the multichannel resource adjustment method further includes:
and determining a sending mode of the multi-channel data, wherein the sending mode comprises any one of a mode that each channel sends data in sequence and a mode that each channel sends data at preset regular intervals.
A multi-channel resource adjustment method is applied to a data processing system, the data processing system comprises a control end and a controlled end, the controlled end externally transmits data through multiple channels under the control of the control end, and the method comprises the following steps:
generating a physical link detection instruction and sending the physical link detection instruction to the controlled end;
receiving a multi-channel physical link detection result, wherein the multi-channel physical link detection result is generated by the controlled terminal performing multi-channel physical link detection based on the physical link detection instruction;
and generating a multichannel resource adjusting instruction based on the multichannel physical link detection result, and sending the multichannel resource adjusting instruction to the controlled end, so that the controlled end can perform multichannel resource adjustment based on the multichannel resource adjusting instruction.
A computer readable storage medium having stored therein computer instructions which, when executed by a processor, implement a multi-channel resource adjustment method as described above.
The multichannel resource adjusting method comprises the steps of firstly receiving a physical link detection instruction sent by a control terminal, carrying out multichannel physical link detection based on the physical link detection instruction, then receiving a multichannel resource adjusting instruction determined by the control terminal according to a physical link detection result, and carrying out multichannel resource adjustment based on the multichannel resource adjusting instruction. Therefore, the resources of each channel can be adjusted according to the physical link state of each channel so as to improve the quality of the current channel link, optimize the channel resource allocation and further improve the data transmission effect and the data display quality.
Drawings
Fig. 1 is a flowchart of a multi-channel resource adjustment method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of step S200 in a multi-channel resource adjustment method according to an embodiment of the present application;
fig. 3 is a flowchart of a multi-channel resource adjustment method according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of an implementation manner of a data processing system according to a third embodiment of the present application.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
As described in the background art, when a video image processing system drives a display terminal to perform multi-channel display, problems often occur in the process of multi-channel data transmission due to various defects of multiple channels, and normal display of data is further affected. For example, due to the defect of the physical link of each channel, the link training cannot pass, the error rate is high, and the data cannot be normally displayed; if the data amount transmitted by each channel is different, the resource occupation is overlapped when the resource is allocated to each channel, and then the interference and crosstalk between data are generated; for example, when the same resource is allocated to each channel, more resources are wasted by the channel with a smaller data amount than the channel with a larger data amount, so that the resource utilization rate of the channel with a better physical link quality is lower, or data congestion occurs when the channel with a poorer physical link quality transmits data, and the like, that is, the data processing system cannot realize data display under the optimal channel resource allocation condition.
In view of the above problems, the present application provides a multichannel resource adjustment method and a computer-readable storage medium.
Example one
The embodiment provides a multichannel resource adjusting method which is applied to a data processing system. The data processing system comprises a control end and a controlled end, the control end is used for configuring various parameters in the data processing system, analyzing, processing and controlling data streams, realizing control of signal interaction in the data processing system and the like, and the controlled end is used for transmitting data outwards through multiple channels under the control of the control end. Referring to fig. 1, the multichannel resource adjusting method provided in this embodiment is executed by a controlled end, and includes the following steps:
step S100, receiving a physical link detection instruction, wherein the physical link detection instruction is used for indicating the state of a multi-channel physical link to be detected;
s200, performing multi-channel physical link detection based on a physical link detection instruction, and feeding back a multi-channel physical link detection result;
step S300, receiving a multichannel resource adjusting instruction, wherein the multichannel resource adjusting instruction is determined by a control terminal based on a multichannel physical link detection result and is used for indicating to adjust multichannel resources;
and S400, performing multichannel resource adjustment based on the multichannel resource adjustment instruction.
The multichannel resource adjusting method comprises the steps of firstly receiving a physical link detection instruction sent by a control terminal, carrying out multichannel physical link detection based on the physical link detection instruction, then receiving a multichannel resource adjusting instruction determined by the control terminal according to a physical link detection result, and carrying out multichannel resource adjustment based on the multichannel resource adjusting instruction. Therefore, the resources of each channel can be adjusted according to the physical link state of each channel so as to improve the quality of the current channel link, optimize the channel resource allocation and further improve the data transmission effect and the data display quality.
In step S100, a physical link detection command is first generated by the control end and sent to the controlled end. In this embodiment, the physical link detection instruction may include a field for detecting the serial number of each channel device, a link training detection field, an error rate detection field, a physical link quality level detection field, and the like.
In step S200, when a physical link detection instruction is received, multi-channel physical link detection can be performed according to corresponding fields of the physical link detection instruction, and multi-channel link detection results are fed back to the control end.
In one embodiment, referring to fig. 2, step S200, namely, the step of performing multi-channel physical link detection based on the physical link detection instruction and feeding back a result of the multi-channel physical link detection includes:
step S210, detecting the training state and the error rate of each channel link;
step S220, determining the quality grade of the physical link of each channel according to the training state of the link of each channel and the detection result of the error rate;
and step S230, feeding back the training state of each channel link, the error rate result of each channel and the quality grade of each channel physical link.
Specifically, the link training state of each channel includes link training success and link training failure, if the error rate is lower than a preset value, it indicates that there is no problem in the error rate, and if the error rate is higher than the preset value, it indicates that there is a problem in the error rate. In this embodiment, the quality grade of the physical link of each channel may be determined according to the detection results of the training state and the bit error rate of the link of each channel, where the quality grade of the physical link is related to the comprehensive detection result of the training state and the bit error rate of the link, for example, if there is no problem in both the training state and the bit error rate of the link, the quality of the physical link is better, if there is a problem in one of the training state and the bit error rate, the quality of the physical link is general, and if there is a problem in both the training state and. Of course, there are other ways to determine the quality level of the physical link, which may be determined according to actual requirements.
And when the link training state, the bit error rate and the link quality grade are determined, returning to the control end together so that the control end can determine a multi-channel resource adjusting instruction according to the detection result.
In addition, in step S200, the number of each channel device may be determined first, so as to identify each channel.
In one embodiment, the physical link quality levels are divided into low, medium and high levels in increasing order of quality.
Step S220, namely, the step of determining the quality grade of the physical link of each channel according to the training state and the detection result of the bit error rate of the link of each channel includes:
when the link training fails, determining that the quality grade of the physical link of the channel is low;
when the link training is successful and the error rate is higher than a preset value, determining that the quality grade of the physical link of the channel is a medium grade;
and when the link training is successful and the error rate is lower than a preset value, determining that the quality grade of the channel physical link is high.
That is, as long as the link training fails, the channel physical link quality is considered to be poor, and the quality level is defined as low; the link training is successful, but the error rate has a problem, namely the channel physical link quality is considered to be general, and the quality grade is defined as a middle grade; when the link training and the bit error rate do not have problems, the channel physical link quality is considered to be good, and the quality grade is defined as high grade.
In one specific example, assuming that there are 4 lanes, the following is the physical link detection result:
Figure BDA0002857354330000091
in step S300 and step S400, when the control end receives the multi-channel physical link detection result fed back by the controlled end, the multi-channel resource adjustment instruction may be determined and sent to the controlled end, so that the controlled end adjusts the multi-channel resource according to the multi-channel resource adjustment instruction.
In this embodiment, the multi-channel resource adjustment may include different types of adjustments, such as adjustment related to link rate, number, etc., or further adjustment related to physical layer parameters, or further adjustment related to data and resources of each channel. When various types of adjustment exist, in actual use, whether further adjustment is performed or not can be determined according to actual conditions, namely, if the adjustment is performed according to a preliminary adjustment instruction, the physical link state is detected again, if the detection result has no problem, the next adjustment can not be performed, and if the detection result has problems, the next finer adjustment can be performed continuously. Of course, the adjustment may be performed once according to a plurality of adjustment instructions, and the step of detecting is not performed after each adjustment.
In one embodiment, the multichannel resource adjustment instruction comprises a first adjustment instruction, and the first adjustment instruction is used for indicating to adjust the link rate and/or the link number in the channel.
Step S400, namely, the step of performing multichannel resource adjustment based on the multichannel resource adjustment instruction includes:
and step S410, adjusting the link rate and/or the link quantity in the channel based on the first adjusting instruction. The data volume in the channel can be adjusted by adjusting the link rate in the channel, and further the data throughput of the channel is adjusted. The sending quantity of data in different channels can be adjusted by adjusting the number of links in each channel, so as to match the actual state of the physical links of the channels.
In one embodiment, the step S410 of adjusting the link rate and/or the number of links in the channel based on the first adjustment instruction includes:
when the link training is successful and the error rate is lower than a preset value, increasing the link rate and/or the number of links in the channel;
and when the link training is successful and the error rate is higher than a preset value, reducing the link rate and/or the number of links in the channel.
That is, if the link training is successful and the error rate is lower than the preset value, it indicates that the link quality is better, and at this time, the data throughput of the channel can be improved by increasing the link rate and/or the number of links in the channel. In practical application, it can be indicated to increase the link rate in the channel only, or increase the number of links in the channel only, or increase the link rate and the number of links in the channel at the same time.
If the link training is successful but the error rate is higher than the preset value, the data throughput of the channel can be reduced by reducing the link rate and/or the number of links in the channel. In practical application, the reduction of the link rate in the channel only, or the reduction of the link quantity in the channel only, or the reduction of the link rate and the link quantity in the channel at the same time can be instructed.
It should be noted that, in practical applications, there is no situation where the link training fails and the bit error rate has no problem. In addition, when the link training fails and the error rate is also problematic, according to practical experience, the link rate and the number of links are adjusted only according to the first adjusting instruction, so that the problem cannot be solved, and fine adjustment can be directly performed according to a subsequent second adjusting instruction and/or a third adjusting instruction.
In one embodiment, step S410 further includes a step of resetting the physical layer, that is, after determining the adjustment result according to the first adjustment instruction, the physical layer is reset for the channel to ensure that the parameters adjusted in the current adjustment are applied.
The following is a specific example of adjusting the intra-channel link rate and/or the number of links according to the first adjustment instruction:
Figure BDA0002857354330000111
in one embodiment, the multichannel resource adjustment instruction further comprises a second adjustment instruction, and the second adjustment instruction is used for indicating to adjust the link quality. The adjustment to the link quality is a further adjustment made on the basis of the link rate/quantity adjustment.
Step S400, namely, the step of performing multichannel resource adjustment based on the multichannel resource adjustment instruction includes:
step S420, adjusting timing constraints, and/or adjusting physical layer parameters.
The timing constraint adjustment is mainly used for adjustment when the quality of a multichannel physical link is deteriorated, and the link on the channel is converged on the timing sequence by adjusting the timing constraint, particularly the limitation of the setup time and the hold time, so that the problem of the deterioration of the link quality caused by the fact that the conditions of the multichannel physical link are severe such as temperature and humidity can be solved. The method is used for solving the problems of intersymbol interference and noise of data caused by a physical link under a long distance condition and link quality deterioration caused by the problem of delay of transmission between parallel data by adjusting physical layer parameters, further influencing data transmission and display quality, and simultaneously solving the problem of physical link quality deterioration caused by the problem of large and small eyes in an eye diagram.
In one embodiment, the step S420 of adjusting the timing constraint and/or the physical layer parameter includes:
when the link training is successful and the error rate is higher than a preset value, adjusting the time sequence constraint and then increasing the pre-emphasis value on the channel;
and when the link training fails, increasing the pre-weighting value on the channel and then increasing the pressure swing on the channel.
That is, when the link training is successful but the error rate is problematic, the timing constraint may be adjusted first to eliminate the influence of environmental factors on the channel, and then the pre-emphasis value on the channel is adjusted to improve the eye diagram quality. In practical application, the eye diagram range can be enlarged by adjusting the Precusor (namely, the front shoulder), and the purpose of improving the pre-emphasis value is further achieved. If the error rate still exists, the next fine adjustment can be carried out.
When the link training fails, the pre-emphasis value can be firstly improved, specifically, the eye diagram range can be enlarged by adjusting the Precurror, and then the purpose of improving the pre-emphasis value is achieved; if the size eye problem appears, then improve the pressure pendulum on the passageway, concrete accessible adjustment Postcursor (promptly, the back shoulder), and then realize the purpose of adjusting the pressure pendulum. If the pressure swing is adjusted to the maximum value, the physical layer parameter is adjusted again to be invalid, and then the next fine adjustment can be carried out.
The following is a specific example of the link quality adjustment according to the second adjustment instruction:
Figure BDA0002857354330000121
Figure BDA0002857354330000131
in one embodiment, the multi-channel resource adjustment unit further includes a third adjustment instruction, where the third adjustment instruction is used to instruct to adjust data and resources of each channel. The adjustment of the data and resources of each channel is further adjusted on the basis of the adjustment of the link quality.
Step S400, namely, the step of performing multichannel resource adjustment based on the multichannel resource adjustment instruction includes:
step S431, carrying out weighting processing on the data of each channel;
step S432, adjusting the weight occupied by the data of the current channel according to the detection result of the physical link;
and S433, removing repeated data, and adjusting the number of effective resources of the current channel based on the weight occupied by the adjusted data.
And the weight occupied by the data of the current channel is adjusted according to the detection result of the physical link, so that the adjustment of the total data amount according to the actual link state is facilitated, and the data throughput of the channel is further adjusted. And then removing repeated data in the channel, and adjusting the effective resource quantity of the current channel according to the weight occupied by the data, thereby being beneficial to solving the problem of resource waste or insufficiency when the resources occupied by the data are distributed and improving the resource utilization rate.
In one embodiment, step S400 further includes the following steps:
step S434, performing orthogonal allocation of resource locations between the current channel and other channels;
step S435, insert the partition data according to the number of the effective resources and the resource location of the current channel.
The orthogonal allocation of the resource positions between the current channel and other channels can reduce the overlapping occupied by the resources, further avoid the interference and crosstalk between data, and ensure that the resources occupied by the channels with poor link quality on the channels are not adjacent or overlapped. According to the number of the redistributed effective resources and the resource positions, separating data are inserted into data between channels causing interference and crosstalk, and then insufficient data are supplemented, and the problem of data alignment caused by data difference on different channels is solved.
The following is a specific example of adjusting data and resources in the channel according to the third adjustment instruction:
Figure BDA0002857354330000141
Figure BDA0002857354330000151
in one embodiment, after step S400, that is, after the step of performing multi-channel resource adjustment based on the multi-channel resource adjustment instruction, the multi-channel resource adjustment method provided in this embodiment further includes:
and step S500, determining a sending mode of the multi-channel data, wherein the sending mode comprises any one of a mode that each channel sends data in sequence and a mode that each channel sends data at preset regular intervals.
When the data crosstalk and noise of the data of different channels still exist after the multi-channel resource adjustment, the data are sent through each channel one by one on the basis of reducing the channel throughput and the sending efficiency in order to further reduce the crosstalk and noise of the data of different channels.
The manner in which each channel transmits data at preset regular intervals includes a manner in which each channel transmits data at intervals of each pixel/each row/each unit. The sending of each channel according to each pixel/each row/each unit interval is that the crosstalk and noise of pixel data are effectively reduced after the multichannel resource adjustment, so that the sending capacity of the pixel data can be effectively improved, and the throughput and the sending efficiency of the pixel data of the channel are improved.
In addition, in this step, a step of finally confirming resource allocation may be further included, that is, confirming the adjusted actual parameter value of the multi-channel resource, so that the controlled terminal externally sends data according to the finally adjusted state.
Example two
The embodiment provides a multichannel resource adjustment method, which is applied to a data processing system, wherein the data processing system comprises a control end and a controlled end, the control end is used for configuring various parameters inside the data processing system, analyzing, processing and controlling data streams, realizing control of signal interaction inside the data processing system and the like, and the controlled end is used for transmitting data outwards through multiple channels under the control of the control end. Referring to fig. 3, the multichannel resource adjusting method provided in this embodiment is executed by the control end, and includes the following steps:
step S600, generating a physical link detection instruction and sending the physical link detection instruction to a controlled end;
step S700, receiving a multi-channel physical link detection result, wherein the multi-channel physical link detection result is generated by the multi-channel physical link detection of a controlled end based on a physical link detection instruction;
step S800, generating a multichannel resource adjusting instruction based on the multichannel physical link detection result, and sending the multichannel resource adjusting instruction to the controlled end, so that the controlled end can perform multichannel resource adjustment based on the multichannel resource adjusting instruction.
The multichannel resource adjusting method comprises the steps of firstly generating a physical link detection instruction and sending the physical link detection instruction to a controlled end so that the controlled end carries out multichannel physical link detection based on the physical link detection instruction, then receiving a multichannel physical link detection result fed back by the controlled end, determining a multichannel resource adjusting instruction according to the physical link detection result, and sending the multichannel resource adjusting instruction to the controlled end so that the controlled end carries out multichannel resource adjustment according to the multichannel resource adjusting instruction. Therefore, the resources of each channel can be adjusted according to the physical link state of each channel so as to improve the quality of the current channel link, optimize the channel resource allocation and further improve the data transmission effect and the data display quality.
For specific contents of the multi-channel resource adjustment method provided in this embodiment, reference may be made to the corresponding description in the multi-channel resource adjustment method provided in the first embodiment.
EXAMPLE III
The embodiment provides a data processing system, which comprises a control end and a controlled end, wherein the controlled end is used for externally transmitting data through multiple channels under the control of the control end.
The controlled end is used for executing the following steps:
step S100, receiving a physical link detection instruction, wherein the physical link detection instruction is used for indicating the state of a multi-channel physical link to be detected;
s200, performing multi-channel physical link detection based on a physical link detection instruction, and feeding back a multi-channel physical link detection result;
step S300, receiving a multichannel resource adjusting instruction, wherein the multichannel resource adjusting instruction is determined by a control terminal based on a multichannel physical link detection result and is used for indicating to adjust multichannel resources;
and S400, performing multichannel resource adjustment based on the multichannel resource adjustment instruction.
The control end is used for executing the following steps:
step S600, generating a physical link detection instruction and sending the physical link detection instruction to a controlled end;
step S700, receiving a multi-channel physical link detection result, wherein the multi-channel physical link detection result is generated by the multi-channel physical link detection of a controlled end based on a physical link detection instruction;
step S800, generating a multichannel resource adjusting instruction based on the multichannel physical link detection result, and sending the multichannel resource adjusting instruction to the controlled end, so that the controlled end can perform multichannel resource adjustment based on the multichannel resource adjusting instruction.
In this embodiment, the control terminal may include a control module such as an FPGA, and the controlled terminal may include a transmission module connected between the control module and the display terminal, and is responsible for transmitting the data frames output by the control module to the display terminal in a multi-channel manner to implement display.
Referring to fig. 4, in a specific example, the control end is an FPGA module and is mainly responsible for implementing implementation parts requiring a large amount of data processing and low round-trip delay (latency), such as storage control, peripheral control, and video interface IP core implementation. The FPGA module comprises a bus interaction module, an MCU (micro control Unit) video stream preprocessing module, a video data stream transmission control module, a clock control module, an embedded soft core control module, a bus controller module, an internal storage controller module, an external control module, a display clock generator module, a video time schedule controller module and a video interface IP core module.
The bus interaction module is mainly responsible for the functions of selection, decision and the like of all other modules connected to the bus interaction module. The MCU video stream preprocessing module is mainly responsible for preprocessing and converting the video data stream input from the external storage module according to the format and parameter types set by the system so as to facilitate the post-processing. And the video data stream transmission control module is mainly responsible for controlling the time sequence, parameters and the like of the data stream after data stream preprocessing and conversion. The clock control module is mainly responsible for generating and controlling a global clock in the video image processing system. The embedded soft core control module is a control core of the FPGA module, and is mainly responsible for core functions of timing control, parameter configuration, physical process implementation and the like of all modules inside the FPGA module, and the embedded soft core control module can be used in the implementation of the core functions, such as Xilinx MicroBlaze and the like, but is not limited to the implementation. The bus controller module is mainly responsible for controlling all modules connected with the bus interaction module, but is not limited to this. The video pattern processing module is mainly responsible for mode conversion, timing control and the like of video image data streams corresponding to the video interface IP core module, but is not limited thereto. The internal memory controller module is mainly responsible for controlling the fast memory module, including but not limited to writing/reading of data stream, frame control, and the like. The peripheral control module is mainly responsible for controlling all peripheral modules, including but not limited to enabling/closing of peripherals, control of operating modes, and the like. The display clock generator module is mainly responsible for timing control of all modules, including but not limited to the video interface IP core module and the video interface physical layer implementation module. The video timing controller module is mainly responsible for data conversion, timing control and other processing when data input from the video pattern processing module is transmitted to the video interface IP core module, but is not limited thereto.
The controlled end is a video interface physical layer implementation module, and is mainly responsible for driving the physical layer implementation required by the display module, such as, but not limited to, TX/RX (Transmitter/Receiver) -PHY of DisplayPort, DPHY of MIPI, and the like. The video interface control system comprises a physical layer configuration and a high-speed data channel, wherein the physical layer configuration is connected with a video interface IP core module, and the high-speed data channel is connected with a display terminal.
The FPGA module is also connected with an embedded control module, and the embedded control module is connected with the MCU video stream preprocessing module. The embedded control module may use any embedded chip and system, which is mainly responsible for initiating signaling interaction, such as reading/writing registers, enabling/disabling video display modules and modules, peripheral control, video display module parameter settings, etc.
The data processing system also comprises an external storage module, a fast storage module and a peripheral module. The external storage module is mainly responsible for storing original data streams of video images to be displayed in the video image processing system, and storage media such as NandFlash and SSD are applied to the external storage module, but not limited to the external storage module. The fast storage module is used in an implementation process that requires a large amount of data processing and low round-trip delay (latency) inside the FPGA module, and in order to reduce the delay and delay storage, the module applies a fast and low-delay physical device, such as DDR3, but is not limited thereto. The peripheral modules include GPIO (General-purpose input/output), UART (Universal Asynchronous Receiver/Transmitter), USB (Universal Serial Bus), network interface, and the like, but are not limited thereto.
Example four
The embodiment provides an electronic device which comprises a memory and a processor. The memory and the processor are communicatively connected to each other, and may be connected by a bus or other means.
The processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or a combination thereof.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions corresponding to the multi-channel resource adjustment method in the embodiments of the present invention. The processor executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory, i.e., implementing a multi-channel resource adjustment method.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor, and the like. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and such remote memory may be coupled to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A multi-channel resource adjustment method is applied to a data processing system, the data processing system comprises a control end and a controlled end, the controlled end externally transmits data through multiple channels under the control of the control end, and the method comprises the following steps:
receiving a physical link detection instruction, wherein the physical link detection instruction is used for indicating the detection of the state of a multi-channel physical link;
performing multi-channel physical link detection based on the physical link detection instruction, and feeding back a multi-channel physical link detection result;
receiving a multichannel resource adjusting instruction, wherein the multichannel resource adjusting instruction is determined by the control terminal based on the detection result of the multichannel physical link and is used for indicating to adjust multichannel resources;
and performing multichannel resource adjustment based on the multichannel resource adjustment instruction.
2. The method according to claim 1, wherein the step of performing multi-channel physical link detection based on the physical link detection command and feeding back a multi-channel physical link detection result comprises:
detecting the training state and the error rate of each channel link;
determining the quality grade of the physical link of each channel according to the training state of the link of each channel and the detection result of the error rate;
and feeding back the training state of each channel link, the error rate result of each channel and the quality grade of each channel physical link.
3. The multi-channel resource adjustment method according to claim 2, wherein the physical link quality levels are classified into a low level, a medium level and a high level in an order of increasing quality; the step of determining the quality grade of the physical link of each channel according to the training state of the link of each channel and the detection result of the error rate comprises the following steps:
when the link training fails, determining that the quality grade of the physical link of the channel is low;
when the link training is successful and the error rate is higher than a preset value, determining that the quality grade of the physical link of the channel is a medium grade;
and when the link training is successful and the error rate is lower than a preset value, determining that the quality grade of the channel physical link is high.
4. The multi-channel resource adjustment method according to claim 3, wherein the multi-channel resource adjustment instruction comprises a first adjustment instruction, and the first adjustment instruction is used for instructing to adjust the intra-channel link rate and/or the number of links;
the step of adjusting the multichannel resource based on the multichannel resource adjustment instruction comprises:
and adjusting the link rate and/or the number of links in the channel based on the first adjusting instruction.
5. The multi-channel resource adjustment method according to claim 4, wherein the step of adjusting the intra-channel link rate and/or the number of links based on the first adjustment instruction comprises:
when the link training is successful and the error rate is lower than a preset value, increasing the link rate and/or the number of links in the channel;
and when the link training is successful and the error rate is higher than a preset value, reducing the link rate and/or the number of links in the channel.
6. The multi-channel resource adjustment method according to claim 4, wherein the multi-channel resource adjustment instruction further comprises a second adjustment instruction, the second adjustment instruction is used for indicating to adjust link quality;
the step of adjusting the multichannel resource based on the multichannel resource adjustment instruction comprises:
adjusting timing constraints, and/or adjusting physical layer parameters.
7. The multi-channel resource adjustment method according to claim 6, wherein the step of adjusting the timing constraints and/or the physical layer parameters comprises:
when the link training is successful and the error rate is higher than a preset value, adjusting the time sequence constraint and then increasing the pre-emphasis value on the channel;
and when the link training fails, increasing the pre-weighting value on the channel and then increasing the pressure swing on the channel.
8. The multi-channel resource adjustment method according to claim 6, wherein the multi-channel resource adjustment unit further comprises a third adjustment instruction, the third adjustment instruction is used to instruct to adjust data and resources of each channel;
the step of adjusting the multichannel resource based on the multichannel resource adjustment instruction comprises:
carrying out weighting processing on the data of each channel;
according to the physical link detection result, adjusting the weight occupied by the data of the current channel;
and removing repeated data, and adjusting the effective resource quantity of the current channel based on the weight occupied by the adjusted data.
9. The multi-channel resource adjustment method according to claim 8, wherein the step of performing multi-channel resource adjustment based on the multi-channel resource adjustment instruction further comprises:
performing orthogonal allocation of resource positions between the current channel and other channels;
and inserting the separation data according to the effective resource quantity and the resource position of the current channel.
10. The multi-channel resource adjustment method according to claim 1, wherein after the step of performing multi-channel resource adjustment based on the multi-channel resource adjustment instruction, the multi-channel resource adjustment method further comprises:
and determining a sending mode of the multi-channel data, wherein the sending mode comprises any one of a mode that each channel sends data in sequence and a mode that each channel sends data at preset regular intervals.
11. A multi-channel resource adjustment method is applied to a data processing system, the data processing system comprises a control end and a controlled end, the controlled end externally transmits data through multiple channels under the control of the control end, and the method comprises the following steps:
generating a physical link detection instruction and sending the physical link detection instruction to the controlled end;
receiving a multi-channel physical link detection result, wherein the multi-channel physical link detection result is generated by the controlled terminal performing multi-channel physical link detection based on the physical link detection instruction;
and generating a multichannel resource adjusting instruction based on the multichannel physical link detection result, and sending the multichannel resource adjusting instruction to the controlled end, so that the controlled end can perform multichannel resource adjustment based on the multichannel resource adjusting instruction.
12. A computer-readable storage medium, having stored thereon computer instructions, which, when executed by a processor, implement a multi-channel resource adjustment method as claimed in any one of claims 1-11.
CN202011552087.5A 2020-12-24 2020-12-24 Multichannel resource adjustment method and computer-readable storage medium Active CN112684994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011552087.5A CN112684994B (en) 2020-12-24 2020-12-24 Multichannel resource adjustment method and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011552087.5A CN112684994B (en) 2020-12-24 2020-12-24 Multichannel resource adjustment method and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN112684994A true CN112684994A (en) 2021-04-20
CN112684994B CN112684994B (en) 2021-11-26

Family

ID=75452858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011552087.5A Active CN112684994B (en) 2020-12-24 2020-12-24 Multichannel resource adjustment method and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112684994B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411467A (en) * 2021-05-14 2021-09-17 苏州华兴源创科技股份有限公司 Multi-channel link management method and multi-channel link management device
CN113472969A (en) * 2021-06-08 2021-10-01 苏州华兴源创科技股份有限公司 Multi-channel link synchronization control method and device and video image processing equipment
CN114090494A (en) * 2021-11-29 2022-02-25 海光信息技术股份有限公司 Data transmission method, device, equipment and storage medium
CN115048235A (en) * 2022-06-14 2022-09-13 北京百度网讯科技有限公司 Link parameter configuration method, device, equipment and medium
CN115454221A (en) * 2022-09-02 2022-12-09 无锡众星微系统技术有限公司 Temperature control method of SAS controller
CN117336300A (en) * 2023-12-01 2024-01-02 山东街景智能制造科技股份有限公司 Resource management system for state machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170381A (en) * 2007-10-29 2008-04-30 华为技术有限公司 Method and device for controlling transmission rate of the forward link data packets
US20150092065A1 (en) * 2013-09-27 2015-04-02 Prakash Radhakrishnan Link training in a video processing system
CN105101438A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Data allocation method and device for multiple data channels
CN105228210A (en) * 2015-08-25 2016-01-06 努比亚技术有限公司 Multichannel method for routing and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170381A (en) * 2007-10-29 2008-04-30 华为技术有限公司 Method and device for controlling transmission rate of the forward link data packets
US20150092065A1 (en) * 2013-09-27 2015-04-02 Prakash Radhakrishnan Link training in a video processing system
CN105101438A (en) * 2015-07-10 2015-11-25 努比亚技术有限公司 Data allocation method and device for multiple data channels
CN105228210A (en) * 2015-08-25 2016-01-06 努比亚技术有限公司 Multichannel method for routing and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411467A (en) * 2021-05-14 2021-09-17 苏州华兴源创科技股份有限公司 Multi-channel link management method and multi-channel link management device
CN113472969A (en) * 2021-06-08 2021-10-01 苏州华兴源创科技股份有限公司 Multi-channel link synchronization control method and device and video image processing equipment
CN113472969B (en) * 2021-06-08 2022-05-10 苏州华兴源创科技股份有限公司 Multichannel link synchronization control method and device and video image processing equipment
CN114090494A (en) * 2021-11-29 2022-02-25 海光信息技术股份有限公司 Data transmission method, device, equipment and storage medium
CN114090494B (en) * 2021-11-29 2024-04-05 海光信息技术股份有限公司 Data transmission method, device, equipment and storage medium
CN115048235A (en) * 2022-06-14 2022-09-13 北京百度网讯科技有限公司 Link parameter configuration method, device, equipment and medium
CN115454221A (en) * 2022-09-02 2022-12-09 无锡众星微系统技术有限公司 Temperature control method of SAS controller
CN115454221B (en) * 2022-09-02 2023-05-30 无锡众星微系统技术有限公司 Temperature control method of SAS controller
CN117336300A (en) * 2023-12-01 2024-01-02 山东街景智能制造科技股份有限公司 Resource management system for state machine
CN117336300B (en) * 2023-12-01 2024-01-30 山东街景智能制造科技股份有限公司 Resource management system for state machine

Also Published As

Publication number Publication date
CN112684994B (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN112684994B (en) Multichannel resource adjustment method and computer-readable storage medium
CN113225599B (en) Adjusting method and adjusting device for multi-channel data transmission
CN112383383B (en) Adaptive adjustment method for multichannel data transmission and data processing system
US20090279473A1 (en) Link training scheme for displayport source repeaters
US20220078372A1 (en) Adaptive Method and System For Data Flow Control Based On Variable Frame Structure in Video Image Processing System
US11792129B2 (en) Data transmission method, device and system of unmanned aerial vehicle system and ground image transmission module
CN114650446B (en) Multi-channel video data self-adaptive transmission method and device and computer equipment
CN114257772A (en) Data transmission adjusting method and device, computer equipment and readable storage medium
CN105740178A (en) Chip network system and formation method therefor
US20140327685A1 (en) Image transmitting apparatus, image receiving apparatus, and control methods thereof
CN113794850B (en) Timing correction method, apparatus, electronic device and readable storage medium
US20150201436A1 (en) Method of mobile terminal internal communications
CN110336650B (en) Signaling interaction system and method
CN114257847A (en) Data correction method and device, computer equipment and computer readable storage medium
US20080276108A1 (en) Method and system for implementing generalized system stutter
US20140101357A1 (en) Method and protocol for high-speed data channel detection control
US8793410B2 (en) Data rate throttling in an internal packet-based interface
CN115297552B (en) Configuration method and device of multichannel transmission node parameters and computer equipment
CN111711858B (en) Data transmission method, device, integrated chip and video image processing system
CN102340442A (en) Method for adjusting interface receiving queue length and apparatus thereof
CN113535631A (en) Data distribution method and device, integrated chip and video image processing system
EP2382596A1 (en) A data processing apparatus for segmental processing of input data, systems using the apparatus and methods for data transmittal
CN109559671A (en) Display panel and its control method, control device and display equipment
CN113489745B (en) Video data transmission method, device, equipment and storage medium
US20230135842A1 (en) Data processing method, device, and system

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