Data line testing method and system based on data transmission
By analyzing the amplitude fluctuation of the output waveform during the data line test and adjusting the test parameters, the test structure connection stability and static electricity problems are solved, and the stability and accuracy of the data line test are improved.
Patent Information
- Application Number
- CN202410853339.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The existing data line test system has low test stability due to a large number of tests that lead to a decrease in the stability of the test structure connection and static electricity problems.
By setting the switch in the data line test, conduct charging test and data transmission test, analyze the amplitude fluctuation of the output waveform, adjust the data upload frequency, the interval between charging test and data transmission test and the switch switching rate to judge and improve the test stability and power supply status.
It achieves accurate determination of test stability and power supply stability, reduces the error probability caused by data transmission delay and static electricity, and improves the stability and accuracy of the test.
Smart Images

Figure CN118409154B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission testing, and in particular to a data line testing method and system based on data transmission. Background Art
[0002] The data line test currently has the problem of low test stability.
[0003] Chinese Patent Publication No.: CN117041122B discloses a data transmission test system and a data transmission test method, the system includes: a controller, at least two interface boards and a test device; the interface board includes: at least one data transmission channel and at least one relay forwarding channel; wherein the data transmission channel of one interface board is connected to the relay forwarding channel of another interface board; and / or, the data transmission channel of one interface board is connected to the data transmission channel of another interface board, and the relay forwarding channel of one interface board is connected to the relay forwarding channel of another interface board to construct a topological structure of the interface board; the topological structure connects the controller and the test device, and is used to receive the test data sent by the controller and send the test data to the test device; wherein the test device tests the test data and generates a test result. The present invention improves the transmission efficiency of the test data. It can be seen that the data transmission test system and the data transmission test method have the problem that the connection stability between the test structures is reduced due to a large number of tests, thereby reducing the test stability, and static electricity causes the test stability to reduce. Summary of the invention
[0004] To this end, the purpose of the present invention is to provide a data line testing method and system based on data transmission, so as to overcome the problems in the prior art of reduced test stability due to a large number of tests resulting in reduced connection stability between test structures and reduced test stability due to static electricity.
[0005] To achieve the above object, the present invention provides a data line testing method based on data transmission, comprising:
[0006] Connect two connection ports of the data line to the signal input terminal of the display device and one end of the switch of the test platform where the display device is located respectively;
[0007] Connecting a power supply to the other end of the switch, closing the switch and starting the power supply and the display device to perform a charging test;
[0008] disconnecting the switch to interrupt the charging test, and connecting the output port of the data transmitting device to the other end of the switch;
[0009] Starting the data sending device and the display device to perform data interaction to test the data transmission performance of the data line;
[0010] Acquire the output waveform of the display device after several data transmission tests, and analyze the output waveform to determine the variance of the amplitude fluctuation of the output waveform;
[0011] Determine the historical test status according to the variance of the amplitude fluctuation;
[0012] If it is determined that the historical test state does not meet the requirements, the data upload frequency of the display device is adjusted, or the power supply state is determined based on the variance of the amplitude fluctuation amount and the average packet loss rate of the data transmission test;
[0013] If the power supply state is determined to be unstable, the interval between the charging test and the data transmission test is adjusted, or the switch switching rate is adjusted according to the electrostatic voltage of the switch.
[0014] Further, judging the historical test state according to the variance of the amplitude fluctuation includes:
[0015] Comparing the variance of the amplitude fluctuation amount with a preset first variance;
[0016] If the variance of the amplitude fluctuation is greater than the preset first variance, it is determined that the historical test state does not meet the requirements;
[0017] If the variance of the amplitude fluctuation is less than or equal to the preset first variance, it is determined that the historical test state meets the requirements.
[0018] Furthermore, the variance of the amplitude fluctuation is the variance of the amplitude fluctuation of the output waveform of several data transmission tests, wherein the amplitude fluctuation is the sum of the maximum increase in the signal value and the maximum decrease in the signal value of the square signal wave in the output waveform in each data transmission test.
[0019] Further, adjusting the data upload frequency of the display device includes: comparing the variance of the amplitude fluctuation amount with the preset first variance and the preset second variance respectively;
[0020] If the variance of the amplitude fluctuation is greater than the preset second variance, the data upload frequency of the display device is reduced.
[0021] Further, the reduction range of the data upload frequency of the display device is determined by the difference between the variance of the amplitude fluctuation amount and the preset second variance.
[0022] Further, the power supply state is determined by combining the variance of the amplitude fluctuation amount and the average packet loss rate of the data transmission test, including:
[0023] If the variance of the amplitude fluctuation is greater than the preset first variance and less than or equal to the preset second variance, it is preliminarily determined that the power supply state is unstable, and the packet loss rate of several data transmission tests is obtained;
[0024] Calculating an average packet loss rate of the data transmission test according to the packet loss rates of the several data transmission tests;
[0025] Comparing the average packet loss rate of the data transmission test with a preset first packet loss rate;
[0026] If the average packet loss rate of the data transmission test is greater than the preset first packet loss rate, a second determination is made that the power supply state is unstable;
[0027] If the average packet loss rate of the data transmission test is less than or equal to the preset first packet loss rate, it is secondarily determined that the power supply state is stable.
[0028] Furthermore, the average packet loss rate of the data transmission test is the ratio of the packet loss rates of the several data transmission tests to the number of data transmission tests.
[0029] Further, adjusting the interval between the charging test and the data transmission test includes:
[0030] Comparing the average packet loss rate of the data transmission test with the preset first packet loss rate and the preset second packet loss rate respectively;
[0031] If the average packet loss rate of the data transmission test is greater than the preset second packet loss rate, increasing the interval between the charging test and the data transmission test;
[0032] The increase range of the interval between the charging test and the data transmission test is determined by the difference between the average packet loss rate of the data transmission test and a preset second packet loss rate.
[0033] Further, the switching rate of the switch is initially adjusted according to the electrostatic voltage of the switch, including:
[0034] If the average packet loss rate of the data transmission test is greater than the preset first packet loss rate and less than or equal to the preset second packet loss rate, it is preliminarily determined whether the control accuracy of the switch meets the requirements, and the electrostatic voltage of the switch is detected;
[0035] comparing the electrostatic voltage of the switch with a preset electrostatic voltage;
[0036] If the electrostatic voltage of the switch is greater than the preset electrostatic voltage, it is determined that the control accuracy of the switch does not meet the requirements, and the switch switching rate is increased;
[0037] The increase range of the switch switching rate is determined by the difference between the electrostatic voltage of the switch and the preset electrostatic voltage.
[0038] The present invention also provides a data line test system based on data transmission, comprising:
[0039] A test platform, comprising a switch for controlling whether a data line is connected to a data transmission device or a power supply and an electrostatic voltmeter for detecting an electrostatic voltage of the switch;
[0040] A display device connected to the test platform, used to display the signal waveforms of the data transmission test and the charging test respectively;
[0041] The data transmission device is used to transmit data to the data line through the switch when performing the data transmission test;
[0042] The power supply is connected to the test platform and is used to supply power to the data line through a switch when performing the charging test.
[0043] Compared with the prior art, the beneficial effect of the present invention is that the present invention realizes accurate determination of test stability and accurate determination of power supply stability by setting accurate determination of test stability. The data sending end is delayed due to the low running memory occupied by other processes in the data sending device, or due to network delay, so that data sending is delayed. Therefore, by reducing the data upload frequency of the display device, the probability of delay at the data sending end is effectively reduced, thereby indirectly improving the stability of the test; after a large number of charging tests and data transmission tests, the materials of the test fixture including the switch will fatigue or even deform, so when this happens, the connection of the test fixture including the switch will be insensitive or loose, resulting in frequent sudden changes in current, thereby causing the resistance of the switch end to change, so by increasing the interval between the charging test and the data transmission test, the influence of the charging test on the power supply stability of the data transmission test can be effectively reduced; by adjusting the switch switching rate, the probability of static electricity caused by dust and impurities accumulation is reduced, thereby reducing the data transmission errors of the data line caused by static electricity, and improving the stability and accuracy of the data transmission test.
[0044] Furthermore, the present invention adjusts the switch switching rate. When data test errors occur due to static electricity caused by dust and impurity accumulation, the probability of data testing occurring can be effectively reduced by increasing the switch switching rate, thereby improving the accuracy of the test and further achieving improved stability and accuracy of data transmission testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is an overall flow chart of a data line testing method based on data transmission according to an embodiment of the present invention;
[0046] Figure 2 It is a flow chart of judging the historical test state according to the variance of the amplitude fluctuation amount in the data line test method based on data transmission according to an embodiment of the present invention;
[0047] Figure 3 It is a schematic diagram of the overall structure of a data line test system based on data transmission according to an embodiment of the present invention;
[0048] Explanation of the reference numerals: 1-display device, 2-data line, 3-switch, 4-electrostatic voltmeter, 5-data transmitting device, 6-power supply. DETAILED DESCRIPTION
[0049] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0050] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0051] See also Figure 1 , Figure 2 as well as Figure 3 As shown, they are respectively an overall flow chart of a data line test method based on data transmission according to an embodiment of the present invention, a flow chart of judging a historical test state according to a variance of an amplitude fluctuation amount, and an overall structural diagram of a data line test system based on data transmission according to an embodiment of the present invention; a data line test method based on data transmission according to the present invention comprises:
[0052] Step S1, respectively connecting two connection ports of the data line 2 to the signal input end of the display device 1 and one end of the switch 3 of the test platform where the display device 1 is located;
[0053] Step S2, connecting the power supply 6 to the other end of the switch 3, closing the switch 3 and starting the power supply 6 and the display device 1 to perform a charging test;
[0054] Step S3, disconnecting the switch 3 to interrupt the charging test, and connecting the output port of the data sending device 5 to the other end of the switch 3;
[0055] Step S4, starting the data sending device 5 and the display device 1 to perform data interaction to test the data transmission performance of the data line 2;
[0056] Step S5, obtaining the output waveform of the display device 1 after several data transmission tests, and analyzing the output waveform to determine the variance of the amplitude fluctuation of the output waveform;
[0057] Step S6, judging the historical test status according to the variance of the amplitude fluctuation amount;
[0058] Step S7, if it is determined that the historical test state does not meet the requirements, the data upload frequency of the display device is adjusted, or the power supply state is determined based on the variance of the amplitude fluctuation amount and the average packet loss rate of the data transmission test;
[0059] Step S8 , if it is determined that the power supply state is unstable, the interval between the charging test and the data transmission test is adjusted, or the switch switching rate is adjusted according to the electrostatic voltage of the switch 3 .
[0060] In implementation, the present invention realizes accurate determination of test stability and power supply stability by setting accurate determination of test stability. The data sending end is delayed due to the low running memory occupied by other processes in the data sending device 5, or due to network delays. Therefore, by reducing the data upload frequency of the display device, the probability of delay at the data sending end is effectively reduced, thereby indirectly improving the stability of the test; after a large number of charging tests and data transmission tests, the material of the test fixture including the switch 3 will fatigue or even deform, so when this happens, the connection of the test fixture including the switch 3 will be insensitive or loose, resulting in frequent sudden changes in current, thereby causing the resistance of the switch end to change, so by increasing the interval between the charging test and the data transmission test, the impact of the charging test on the power supply stability of the data transmission test can be effectively reduced; by adjusting the switch switching rate, the probability of static electricity caused by dust and impurities accumulation is reduced, thereby reducing the data transmission errors of the data line 2 caused by static electricity, and improving the stability and accuracy of the data transmission test.
[0061] Specifically, the test fixture includes switches and any structure that has a connection function.
[0062] Specifically, judging the historical test state according to the variance of the amplitude fluctuation includes:
[0063] Comparing the variance of the amplitude fluctuation amount with a preset first variance;
[0064] If the variance of the amplitude fluctuation is greater than the preset first variance, it is determined that the historical test state does not meet the requirements;
[0065] If the variance of the amplitude fluctuation is less than or equal to the preset first variance, it is determined that the historical test state meets the requirements.
[0066] Specifically, the historical test status means the stability of the test.
[0067] Optionally, the preset first variance is generally in the range of [0.2V 2 , 0.4V 2 ], the second variance is generally set in the range of [0.5V 2 ,0.7V 2 ]
[0068] Preferably, the preferred embodiment of the preset first variance is 0.3V 2 The preferred embodiment of the preset second variance is 0.55V 2 .
[0069] Specifically, the variance of the amplitude fluctuation is the variance of the amplitude fluctuation of the output waveform of several data transmission tests, wherein the amplitude fluctuation is the sum of the maximum increase in signal value and the maximum decrease in signal value of the square signal wave in the output waveform in each data transmission test.
[0070] Specifically, the calculation process of the variance of the amplitude fluctuation of the output waveform of several data transmission tests is a conventional technical means well known to those skilled in the art, so the calculation process of the variance of the amplitude fluctuation is not repeated here.
[0071] Specifically, adjusting the data upload frequency of the display device includes: comparing the variance of the amplitude fluctuation amount with the preset first variance and the preset second variance respectively;
[0072] If the variance of the amplitude fluctuation is greater than the preset second variance, the data upload frequency of the display device is reduced.
[0073] Specifically, the reduction range of the data upload frequency of the display device is determined by the difference between the variance of the amplitude fluctuation amount and the preset second variance.
[0074] Specifically, when the variance of the amplitude fluctuation exceeds the preset second variance value by no more than 0.1V 2 When the data upload frequency of the display device is reduced to 0.9 times of the current data upload frequency of the display device 1, when the variance of the amplitude fluctuation exceeds the value of the preset second variance by more than 0.1V2 When the voltage exceeds 0.02V 2 , the data upload frequency of the display device is reduced by 10Hz compared with the current data upload frequency of the display device 1. In one embodiment, the current data upload frequency of the display device 1 is 300Hz, and the variance of the amplitude fluctuation is 0.57V 2 , so the data upload frequency of the reduced display device becomes: 300Hz×0.9=270Hz.
[0075] Specifically, the power supply state is determined by combining the variance of the amplitude fluctuation amount and the average packet loss rate of the data transmission test, including:
[0076] If the variance of the amplitude fluctuation is greater than the preset first variance and less than or equal to the preset second variance, it is preliminarily determined that the power supply state is unstable, and the packet loss rate of several data transmission tests is obtained;
[0077] Calculating an average packet loss rate of the data transmission test according to the packet loss rates of the several data transmission tests;
[0078] Comparing the average packet loss rate of the data transmission test with a preset first packet loss rate;
[0079] If the average packet loss rate of the data transmission test is greater than the preset first packet loss rate, a second determination is made that the power supply state is unstable;
[0080] If the average packet loss rate of the data transmission test is less than or equal to the preset first packet loss rate, it is secondarily determined that the power supply state is stable.
[0081] Specifically, the average packet loss rate of the data transmission test is the ratio of the packet loss rates of the several data transmission tests to the number of data transmission tests.
[0082] Specifically, adjusting the interval between the charging test and the data transmission test includes:
[0083] Comparing the average packet loss rate of the data transmission test with the preset first packet loss rate and the preset second packet loss rate respectively;
[0084] If the average packet loss rate of the data transmission test is greater than the preset second packet loss rate, increasing the interval between the charging test and the data transmission test;
[0085] The increase range of the interval between the charging test and the data transmission test is determined by the difference between the average packet loss rate of the data transmission test and a preset second packet loss rate.
[0086] Optionally, the general value range of the preset first packet loss rate is [3%, 5%], and the general value range of the preset second packet loss rate is [6%, 8%].
[0087] Preferably, the preferred embodiment of the preset first packet loss rate is 4.5%, and the preferred embodiment of the preset second packet loss rate is 6.8%.
[0088] Specifically, when the average packet loss rate of the data transmission test exceeds the value of the preset second packet loss rate by no more than 0.5%, the interval duration between the charging test and the data transmission test is increased to 1.1 times the interval duration between the current charging test and the data transmission test. When the average packet loss rate of the data transmission test exceeds the value of the preset second packet loss rate by more than 0.5%, for every 0.1% increase, the interval duration between the charging test and the data transmission test is increased by 10 seconds compared with the current interval duration between the charging test and the data transmission test. In one embodiment, the average packet loss rate of the data transmission test is 6.92%, and the current interval duration between the charging test and the data transmission test is 120 seconds. Therefore, the increased interval duration between the charging test and the data transmission test becomes: 120 seconds × 1.1 + (6.92% - 6.8%) / 0.1% × 10 seconds ≈ 142 seconds.
[0089] Specifically, the calculation process of the packet loss rate follows the rounding rule.
[0090] Specifically, the switching rate is initially adjusted according to the electrostatic voltage of the switch 3, including:
[0091] If the average packet loss rate of the data transmission test is greater than the preset first packet loss rate and less than or equal to the preset second packet loss rate, it is preliminarily determined whether the control accuracy of the switch 3 meets the requirements, and the electrostatic voltage of the switch 3 is detected;
[0092] Comparing the electrostatic voltage of the switch 3 with a preset electrostatic voltage;
[0093] If the electrostatic voltage of the switch 3 is greater than the preset electrostatic voltage, it is determined that the control accuracy of the switch 3 does not meet the requirements, and the switch switching rate is increased;
[0094] The increase range of the switch switching rate is determined by the difference between the electrostatic voltage of the switch 3 and the preset electrostatic voltage.
[0095] Optionally, the preset electrostatic voltage generally has a value range of [5V, 15V].
[0096] Preferably, the preset electrostatic voltage is 8V.
[0097] Specifically, when the electrostatic voltage of switch 3 exceeds the preset electrostatic voltage value by no more than 3V, the switch switching rate increases to 1.15 times the current switch switching rate. When the electrostatic voltage of switch 3 exceeds the preset electrostatic voltage value by more than 3V, the switch switching rate increases by 1ms compared to the current switch switching rate for every 0.5V increase. In one embodiment, the electrostatic voltage of switch 3 is 9V, and the current switch switching rate is 8ms. Therefore, the increased switch switching rate becomes: 8ms×1.15=9.2ms.
[0098] Specifically, the switching rate means the time required for the switch 3 to switch from one state to another state.
[0099] Specifically, the switch switching rate can be adjusted by remotely controlling the relay, controlling the switch 3 of the relay through the remotely sent electrical signal to control the switch switching rate, or by sending a control signal to the relay through a software timer to adjust the switch switching rate. The switch 3 can also be driven by an electric motor or servo motor and the switch switching rate can be adjusted by controlling the speed of the motor.
[0100] As a preferred embodiment of the present invention, a remotely transmitted electrical signal is used to control the switch 3 of a relay (not shown in the figure) to achieve control of the switch switching rate.
[0101] In implementation, the present invention adjusts the switch switching rate. When data test errors occur due to static electricity caused by dust and impurity accumulation, the probability of data testing occurring can be effectively reduced by increasing the switch switching rate, thereby improving the accuracy of the test and further achieving improved stability and accuracy of data transmission testing.
[0102] A data line test system based on data transmission, comprising:
[0103] The test platform includes a switch 3 for controlling whether the data line 2 is connected to the data transmission device 5 or the power supply 6 and an electrostatic voltmeter 4 for detecting the electrostatic voltage of the switch 3;
[0104] A display device 1, which is connected to the test platform and is used to display the signal waveforms of the data transmission test and the charging test respectively;
[0105] The data transmission device 5 is used to transmit data to the data line 2 through the switch 3 when performing the data transmission test;
[0106] The power supply 6 is connected to the test platform and is used to supply power to the data line 2 through the switch 3 when performing the charging test.
[0107] In implementation, the power supply 6 may be a battery simulator or a programmable power supply.
[0108] Specifically, the display device 1 is a waveform display device 1 , which may be an oscilloscope in implementation.
[0109] In implementation, the data sending device 5 may be a computer or a signal generator.
[0110] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A data line testing method based on data transmission, characterized in that: The following steps are involved: Connect two connection ports of the data line to the signal input terminal of the display device and one end of the switch of the test platform where the display device is located respectively; Connecting a power supply to the other end of the switch, closing the switch and starting the power supply and the display device to perform a charging test; disconnecting the switch to interrupt the charging test, and connecting the output port of the data transmitting device to the other end of the switch; Starting the data sending device and the display device to perform data interaction to test the data transmission performance of the data line; Acquire the output waveform of the display device after several data transmission tests, and analyze the output waveform to determine the variance of the amplitude fluctuation of the output waveform; Determine the historical test status according to the variance of the amplitude fluctuation; If it is determined that the historical test state does not meet the requirements, the data upload frequency of the display device is adjusted, or the power supply state is determined based on the variance of the amplitude fluctuation amount and the average packet loss rate of the data transmission test; If the power supply state is determined to be unstable, the interval between the charging test and the data transmission test is adjusted, or the switch switching rate is adjusted according to the electrostatic voltage of the switch.
2. The data line testing method based on data transmission according to claim 1, characterized in that: Determining the historical test state according to the variance of the amplitude fluctuation includes: Comparing the variance of the amplitude fluctuation amount with a preset first variance; If the variance of the amplitude fluctuation is greater than the preset first variance, it is determined that the historical test state does not meet the requirements; If the variance of the amplitude fluctuation is less than or equal to the preset first variance, it is determined that the historical test state meets the requirements.
3. The data line testing method based on data transmission according to claim 2, characterized in that: The variance of the amplitude fluctuation is the variance of the amplitude fluctuation of the output waveform of several data transmission tests, wherein the amplitude fluctuation is the sum of the maximum increase in the signal value and the maximum decrease in the signal value of the square signal wave in the output waveform in each data transmission test.
4. The data line testing method based on data transmission according to claim 3, characterized in that: Adjusting the data upload frequency of the display device includes: Comparing the variance of the amplitude fluctuation with the preset first variance and the preset second variance respectively; If the variance of the amplitude fluctuation is greater than the preset second variance, the data upload frequency of the display device is reduced.
5. The data line testing method based on data transmission according to claim 4, characterized in that: The reduction range of the data upload frequency of the display device is determined by the difference between the variance of the amplitude fluctuation amount and the preset second variance.
6. The data line testing method based on data transmission according to claim 5, characterized in that: Combining the variance of the amplitude fluctuation amount and the average packet loss rate of the data transmission test to determine the power supply state includes: If the variance of the amplitude fluctuation is greater than the preset first variance and less than or equal to the preset second variance, it is preliminarily determined that the power supply state is unstable, and the packet loss rate of several data transmission tests is obtained; Calculating an average packet loss rate of the data transmission test according to the packet loss rates of the several data transmission tests; Comparing the average packet loss rate of the data transmission test with a preset first packet loss rate; If the average packet loss rate of the data transmission test is greater than the preset first packet loss rate, a second determination is made that the power supply state is unstable; If the average packet loss rate of the data transmission test is less than or equal to the preset first packet loss rate, it is secondarily determined that the power supply state is stable.
7. The data line testing method based on data transmission according to claim 6, characterized in that: The average packet loss rate of the data transmission test is the ratio of the packet loss rates of the several data transmission tests to the number of data transmission tests.
8. The data line testing method based on data transmission according to claim 7, characterized in that: Adjusting the interval between the charging test and the data transmission test includes: Comparing the average packet loss rate of the data transmission test with the preset first packet loss rate and the preset second packet loss rate respectively; If the average packet loss rate of the data transmission test is greater than the preset second packet loss rate, increasing the interval between the charging test and the data transmission test; The increase in the interval between the charging test and the data transmission test is determined by the difference between the average packet loss rate of the data transmission test and the preset second packet loss rate; Adjust the switching rate based on the electrostatic voltage of the switch, including: If the average packet loss rate of the data transmission test is greater than the preset first packet loss rate and less than or equal to the preset second packet loss rate, it is preliminarily determined whether the control accuracy of the switch meets the requirements, and the electrostatic voltage of the switch is detected; comparing the electrostatic voltage of the switch with a preset electrostatic voltage; If the electrostatic voltage of the switch is greater than the preset electrostatic voltage, it is determined that the control accuracy of the switch does not meet the requirements, and the switch switching rate is increased; The increase range of the switch switching rate is determined by the difference between the electrostatic voltage of the switch and the preset electrostatic voltage.
9. A test system using the data line test method based on data transmission according to any one of claims 1 to 8, characterized in that: include: A test platform, comprising a switch for controlling whether a data line is connected to a data transmission device or a power supply and an electrostatic voltmeter for detecting an electrostatic voltage of the switch; A display device connected to the test platform, used to display the signal waveforms of the data transmission test and the charging test respectively; The data transmission device is used to transmit data to the data line through the switch when performing the data transmission test; The power supply is connected to the test platform and is used to supply power to the data line through a switch when performing the charging test.
