Waveform sampling point length determination method and device, electronic equipment and storage medium

By determining the length of the waveform sampling point that meets the preset conditions in the waveform generator, the problem that the user sets the code rate and the generated signal sampling rate are not integer multiples are solved, and the accurate generation of high-speed serial signals and the precise control of the code rate are achieved. .

CN119449230APending Publication Date: 2025-02-14RIGOL TECHNOLOGIES (BEIJING) INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310976828.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-04
Publication Date
2025-02-14

Smart Images

  • Figure CN119449230A_ABST
    Figure CN119449230A_ABST
Patent Text Reader

Abstract

The invention relates to a waveform sampling point length determination method and device, electronic equipment and a storage medium. The waveform sampling point length determination method comprises the steps that user setting parameters are acquired, the user setting parameters are used for generating expected high-speed serial signals, and the user setting parameters comprise expected code rates; determining a waveform sampling point length allowable range according to the current code element copy multiple; determining a waveform sampling point length meeting a preset condition within an allowable range of the waveform sampling point length, wherein the preset condition is that a deviation ratio between an actual code rate determined according to the waveform sampling point length and an expected code rate is within a preset deviation ratio range; wherein the waveform sampling point length meeting the preset condition is used for generating a high-speed serial signal. According to the invention, the length of the waveform sampling point can be reasonably selected, the deviation of the actual code rate relative to any code rate set by a user is controlled within a limited range, and the high-speed serial signal of any code rate of an integer or a decimal can be flexibly and accurately generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal source technology, and in particular to a method, device, electronic device and storage medium for determining a waveform sampling point length. Background Art

[0002] In the arbitrary waveform generator (AWG) signal source, the high-speed serial signal option supports users to set any code rate to generate high-speed serial signals. In the process of generating high-speed serial signals, the following situations are usually encountered: when the code rate set by the user and the sampling rate of the final generated high-speed serial signal are not integer multiples, but irrational multiples that cannot be divided, under certain sampling point length restrictions, sometimes it is impossible to accurately generate a high-speed serial signal according to the code rate set by the user, and the actual code rate of the generated high-speed serial signal will deviate from the code rate set by the user, so that the high-speed serial signal that the user wants cannot be accurately obtained. Summary of the invention

[0003] In view of this, embodiments of the present application provide a method, device, electronic device and storage medium for determining a waveform sampling point length in order to solve at least one problem existing in the background technology.

[0004] In a first aspect, an embodiment of the present application provides a method for determining a waveform sampling point length, comprising:

[0005] Acquiring user setting parameters, wherein the user setting parameters are used to generate a desired high-speed serial signal, and the user setting parameters include a desired bit rate;

[0006] Determine the permissible range of waveform sampling point length according to the current symbol replication multiple, wherein the current symbol replication multiple is determined according to the maximum waveform length and the minimum waveform length;

[0007] A waveform sampling point length that meets a preset condition is determined within an allowable range of the waveform sampling point length, wherein the preset condition is that a deviation ratio between an actual bit rate determined according to the waveform sampling point length and an expected bit rate is within a preset deviation ratio range; wherein the waveform sampling point length that meets the preset condition is used to generate a high-speed serial signal.

[0008] In combination with the first aspect, in an optional implementation manner, the user setting parameter further includes a symbol length, and the determining of an allowable range of waveform sampling point length according to the current symbol replication multiple includes:

[0009] Processing the ratio of the waveform signal output sampling rate to the bit rate using a proportional coefficient to obtain a first minimum multiple and a first maximum multiple;

[0010] Using the current symbol replication multiple as the first coefficient of the product of the first minimum multiple and the symbol length, and determining the lower limit of the allowable range of the waveform sampling point length according to the current symbol replication multiple, the first minimum multiple and the symbol length;

[0011] The current symbol replication multiple is used as the second coefficient of the product of the first maximum multiple and the symbol length, and the upper limit of the allowable range of the waveform sampling point length is determined based on the current symbol replication multiple, the first maximum multiple and the symbol length.

[0012] In combination with the first aspect, in an optional implementation manner, the preset deviation ratio range includes a fixed deviation ratio range, and the fixed deviation ratio range is determined according to a preset deviation ratio threshold;

[0013] Determining the waveform sampling point length that meets the preset conditions within the waveform sampling point length allowable range includes:

[0014] Using the current symbol replication multiple as the third coefficient of the product of the waveform signal output sampling rate and the symbol length, and determining the actual code rate corresponding to each waveform sampling point length within the allowable range of the waveform sampling point length according to the current symbol replication multiple, the waveform signal output sampling rate and the symbol length;

[0015] Searching for a minimum value from each deviation ratio of the actual bit rate to the expected bit rate as the closest deviation ratio;

[0016] In response to the closest deviation ratio satisfying the fixed deviation ratio range, the waveform sampling point length that meets the preset conditions is obtained.

[0017] In combination with the first aspect, in an optional implementation manner, determining the waveform sampling point length that meets the preset condition within the waveform sampling point length allowable range further includes:

[0018] In response to the closest deviation ratio not satisfying the fixed deviation ratio range, determining a symbol replication multiple range according to a minimum waveform length and a maximum waveform length;

[0019] An iterative loop is established with the codeword replication multiple as the iteration variable and the current codeword replication multiple not being within the codeword replication multiple range as the termination condition, and a waveform sampling point length that meets the preset conditions is determined within the waveform sampling point length allowable range.

[0020] In combination with the first aspect, in an optional implementation manner, determining the symbol replication multiple range according to the minimum waveform length and the maximum waveform length includes:

[0021] Determine a minimum symbol replication multiple according to the minimum waveform length, the symbol length and the first minimum multiple;

[0022] A maximum symbol replication multiple is determined based on the maximum waveform length, the symbol length and the first maximum multiple.

[0023] In combination with the first aspect, in an optional implementation manner, the preset deviation ratio range further includes a dynamic deviation ratio range, and the dynamic deviation ratio range is determined according to the deviation ratio variable;

[0024] The step of establishing an iterative loop with the symbol replication multiple as an iteration variable and the current symbol replication multiple not being within the symbol replication multiple range as a termination condition, and determining the waveform sampling point length that meets the preset condition within the waveform sampling point length allowable range comprises:

[0025] In response to the current closest deviation ratio satisfying the dynamic deviation ratio range, updating the deviation ratio variable with the current closest deviation ratio;

[0026] Record the current symbol replication multiple, the current closest deviation ratio and the waveform sampling point length corresponding to the current closest deviation ratio;

[0027] Update the current codeword replication multiple and continue the iteration cycle until the current codeword replication multiple meets the termination condition;

[0028] In response to the current codeword replication multiple satisfying the termination condition, the minimum value among all the closest deviation ratios obtained in the record is selected, and the waveform sampling point length corresponding to the minimum value is determined to be the waveform sampling point length that meets the preset conditions.

[0029] In combination with the first aspect, in an optional implementation manner, the establishing of an iterative loop with the symbol replication multiple as an iteration variable and the termination condition that the current symbol replication multiple is not within the symbol replication multiple range, and determining the waveform sampling point length that meets the preset condition within the waveform sampling point length allowable range further includes:

[0030] In response to the current closest deviation ratio not satisfying the dynamic deviation ratio range, updating the current symbol replication multiple until the current symbol replication multiple satisfies the termination condition;

[0031] In response to the current codeword replication multiple satisfying the termination condition, the minimum value among all the closest deviation ratios obtained in the record is selected, and the waveform sampling point length corresponding to the minimum value is determined to be the waveform sampling point length that meets the preset conditions.

[0032] In a second aspect, an embodiment of the present application provides a device for determining a waveform sampling point length, comprising:

[0033] An acquisition unit, used for acquiring user setting parameters, the user setting parameters are used for generating a desired high-speed serial signal, and the user setting parameters include a desired bit rate;

[0034] A waveform sampling point length allowable range determining unit, used to determine the waveform sampling point length allowable range according to the current symbol replication multiple, wherein the current symbol replication multiple is determined according to the maximum waveform length and the minimum waveform length;

[0035] The first waveform sampling point length is determined, and is used to determine a waveform sampling point length that meets a preset condition within an allowable range of the waveform sampling point length, wherein the preset condition is that a deviation ratio between an actual bit rate determined according to the waveform sampling point length and an expected bit rate is within a preset deviation ratio range; wherein the waveform sampling point length that meets the preset condition is used to generate a high-speed serial signal.

[0036] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0037] Processor; and

[0038] A memory having computer executable instructions stored therein, wherein the computer executable instructions are executed by the processor to execute the above-mentioned method for determining the waveform sampling point length.

[0039] In a fourth aspect, an embodiment of the present application provides a storage medium having computer executable instructions stored thereon, and the computer executable instructions, when executed by a processor, execute the above-mentioned method for determining the waveform sampling point length.

[0040] The beneficial effects brought about by the technical solution provided in the embodiments of the present application include: determining the allowable range of the waveform sampling point length according to the current code element replication multiple; determining the waveform sampling point length that meets the preset conditions within the allowable range of the waveform sampling point length, and the preset condition is that the deviation ratio between the actual code rate determined according to the waveform sampling point length and the expected code rate is within the preset deviation ratio range, so as to reasonably select the waveform sampling point length, and control the deviation of the actual code rate relative to the arbitrary code rate set by the user within a limited range, so as to realize the flexible and accurate generation of high-speed serial signals of arbitrary code rates of integers or decimals.

[0041] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below and in part will become apparent from the description below or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The drawings described herein are used to provide a further understanding of the embodiments of the present application and constitute a part of the embodiments of the present application. The illustrative embodiments of the embodiments of the present application and their descriptions are used to explain the embodiments of the present application and do not constitute an improper limitation on the embodiments of the present application. In the drawings:

[0043] Figure 1 A flowchart of a specific example of a method for determining a waveform sampling point length in an embodiment of the present application;

[0044] Figure 2 A flowchart of another specific example of a method for determining a waveform sampling point length in an embodiment of the present application;

[0045] Figure 3 A principle block diagram of a specific example of a device for determining a waveform sampling point length in an embodiment of the present application;

[0046] Figure 4 It is a principle block diagram of a specific example of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the technical solutions and beneficial effects of the embodiments of the present application more obvious and easy to understand, the following is a detailed description by listing specific embodiments. Among them, the drawings are not necessarily drawn to scale, and local features may be enlarged or reduced to more clearly show the details of the local features; unless otherwise defined, the technical and scientific terms used herein have the same meaning as those in the technical field to which the embodiments of the present application belong.

[0048] It should be noted that the terms "first", "second", etc. may be used in this article to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. When describing "first", it does not mean that there must be a "second"; and when discussing "second", it does not mean that there must be a "first" in this application. The singular forms of "one", "an" and "said / the" may also be intended to include plural forms, unless the context clearly indicates otherwise. The term "includes" is to determine the existence of the included features, but does not exclude the existence or addition of one or more other features. The term "and / or" includes any and all combinations of the relevant listed items.

[0049] It should be noted that in an arbitrary waveform generator (AWG), the high-speed serial signal option supports users to set any bit rate to generate high-speed serial signals. The bit rate range set by users is very wide, such as from 500Kbps to the maximum sampling rate of the digital-to-analog converter (DAC) (usually the maximum sampling rate of the DAC of the AWG is as high as 5GSa / s, 10GSa / s, or even more than 100GSa / s). At the same time, users are supported to set the bit rate with very high precision resolution, such as setting the bit rate of the high-speed serial signal to 1.123512Mbps.

[0050] In the AWG signal, the following relationship exists:

[0051] realRs'=(Fs×RsLen) / wfmLength(1)

[0052] Among them, realRs' represents the real bit rate, Fs represents the waveform signal output sampling rate, RsLen represents the symbol length, and wfmLength represents the waveform sampling point length. Since the symbol length RsLen is set by the user and is a fixed value, the waveform signal output sampling rate Fs is the output sampling rate of the AWG, which is usually also a fixed value, and neither can be modified at will. The waveform sampling point length wfmLength must be an integer, so there may be a deviation between the real bit rate realRs' (AWG output) calculated based on the above relationship and the bit rate Rs set by the user.

[0053] For example, if the code rate Rs is set to 111.7773Mbps, and the waveform signal output sampling rate Fs is 5×10 9 Sa / s, the symbol length RsLen is 2400, then the integer waveform sampling point length can be calculated as:

[0054] wfmLength=round(RsLen×Fs / Rs)=107356(2)

[0055] Among them, round() means getting an integer value after rounding the result of RsLen×Fs / Rs. At this time, the actual bit rate of the high-speed serial signal output by the AWG should be:

[0056] realRs'=(Fs×RsLen) / wfmLength=111.7776370207534(Mbps)(3)

[0057] It can be seen that there is a deviation between the actual bit rate realRs' of 111.7776370207534Mbps and the bit rate set by the user of 111.7773Mbps, that is, when a small bit rate is input, the actual bit rate output by the AWG may deviate from it to a certain extent.

[0058] The present application embodiment provides a method for determining the length of a waveform sampling point, which can be applied to an AWG, such as Figure 1 As shown, the method for determining the waveform sampling point length includes:

[0059] S100, obtaining user setting parameters, where the user setting parameters are used to generate a desired high-speed serial signal, and the user setting parameters include a desired bit rate;

[0060] S200, determining the permissible range of waveform sampling point length according to the current symbol replication multiple, where the current symbol replication multiple is determined based on the maximum waveform length and the minimum waveform length;

[0061] S300. Determine a waveform sampling point length that meets preset conditions within an allowable range of the waveform sampling point length, wherein the preset condition is that a deviation ratio between an actual bit rate determined according to the waveform sampling point length and an expected bit rate is within a preset deviation ratio range; wherein the waveform sampling point length that meets the preset conditions is used to generate a high-speed serial signal.

[0062] In the embodiment of the present application, the user-set parameters include an expected bit rate. The expected bit rate set by the user can be an integer bit rate, such as 25 Mbps, or a small bit rate, such as 37.11111 Mbps.

[0063] The minimum and maximum waveform lengths are determined based on the AWG instrument. The minimum waveform length is limited by the waveform granularity supported by the instrument, and the maximum waveform length is limited by the storage depth of the instrument. According to the correspondence between the waveform sampling point length and the actual bit rate, each waveform sampling point length within the allowable range of the waveform sampling point length corresponds to an actual bit rate.

[0064] The preset deviation ratio range can be a fixed deviation ratio range, a dynamically adjusted deviation ratio range, or a combination of the two, so that the deviation ratio of the actual bit rate relative to the expected bit rate can be controlled within a limited range, and the deviation ratio of the actual bit rate relative to the expected bit rate can have a minimum value within the limited range, and the waveform sampling point length corresponding to the minimum value is the waveform sampling point length that meets the preset conditions. The calculation formula of the deviation ratio is:

[0065] abs(realRs-Rs) / Rs(4)

[0066] Among them, realRs represents the actual bit rate, Rs represents the expected bit rate, and the abs() function represents the absolute value.

[0067] In an embodiment of the present application, the allowable range of the waveform sampling point length is determined according to the current code element replication multiple; the waveform sampling point length that meets the preset conditions is determined within the allowable range of the waveform sampling point length, and the preset condition is that the deviation ratio between the actual code rate determined according to the waveform sampling point length and the expected code rate is within the preset deviation ratio range, so as to reasonably select the waveform sampling point length, and control the deviation of the actual code rate relative to the arbitrary code rate set by the user within a limited range, so as to realize flexible and accurate generation of high-speed serial signals of arbitrary code rates of integers or decimals.

[0068] Furthermore, the user-set parameters also include the symbol length, and the allowable range of the waveform sampling point length is determined according to the current symbol replication multiple, including:

[0069] S201, using a proportional coefficient to process the ratio of the waveform signal output sampling rate to the expected bit rate to obtain a first minimum multiple and a first maximum multiple;

[0070] S202, taking the current symbol replication multiple as the first coefficient of the product of the first minimum multiple and the symbol length, and determining the lower limit of the allowable range of the waveform sampling point length according to the current symbol replication multiple, the first minimum multiple and the symbol length;

[0071] S203. Use the current symbol replication multiple as the second coefficient of the product of the first maximum multiple and the symbol length, and determine the upper limit of the allowable range of the waveform sampling point length based on the current symbol replication multiple, the first maximum multiple and the symbol length.

[0072] In the embodiment of the present application, the waveform signal output sampling rate is the output sampling rate of the AWG, which is usually a preset fixed value. By setting the proportionality coefficient, the ratio of the waveform signal output sampling rate to the expected bit rate is differentiated when rounding up and rounding down, respectively, to control the ratio range of the waveform signal output sampling rate to the expected bit rate.

[0073] As a specific example, the calculation formulas of the first minimum multiple Rs_times_min and the first maximum multiple Rs_times_max are as follows:

[0074] Rs_times_min=floor(Fs / Rs×Ratio) / Ratio(5)

[0075] Rs_times_max=ceil(Fs / Rs×Ratio) / Ratio(6)

[0076] Where Fs represents the waveform signal output sampling rate, Rs represents the expected bit rate, Ratio represents the proportional coefficient, the floor() function represents rounding down, and the ceil() function represents rounding up. Ratio can be any integer, for example, Ratio = 1×10 4 , which can be set according to the actual accuracy requirements. The calculation formula for the lower limit wfmLen_min and upper limit wfmLen_max of the waveform sampling point length allowable range is as follows:

[0077] wfmLen_min=floor(n×RsLen×Rs_times_min)(7)

[0078] wfmLen_max=ceil(n×RsLen×Rs_times_max)(8)

[0079] Among them, n represents the codeword replication multiple, RsLen represents the codeword length, Rs_times_min represents the first minimum multiple, Rs_times_max represents the first maximum multiple, the floor() function represents rounding down, and the ceil() function represents rounding up.

[0080] In an embodiment of the present application, by introducing the codeword replication multiple in the calculation of the lower limit and upper limit of the allowable range of the waveform sampling point length, a reasonable selection of the allowable range of the waveform sampling point length is achieved, and the rationality of the setting of the allowable range of the waveform sampling point length is improved.

[0081] Further, the preset deviation ratio range includes a fixed deviation ratio range, and the fixed deviation ratio range is determined according to a preset deviation ratio threshold;

[0082] The waveform sampling point lengths that meet the preset conditions are determined within the allowable range of the waveform sampling point lengths, including:

[0083] S301, using the current symbol replication multiple as the third coefficient of the product of the waveform signal output sampling rate and the symbol length, and determining the actual code rate corresponding to each waveform sampling point length within the allowable range of the waveform sampling point length according to the current symbol replication multiple, the waveform signal output sampling rate and the symbol length;

[0084] S302, searching for a minimum value from each deviation ratio of the actual bit rate to the expected bit rate as the closest deviation ratio;

[0085] S303 . In response to the closest deviation ratio satisfying a fixed deviation ratio range, obtaining a waveform sampling point length that meets a preset condition.

[0086] As a specific example, the calculation formula of the actual bit rate realRs is:

[0087] realRs=(Fs×RsLen×n) / wfmLength(9)

[0088] Among them, Fs represents the waveform signal output sampling rate, RsLen represents the code element length, n represents the current code element replication multiple, and wfmLength represents the waveform sampling point length.

[0089] In the embodiment of the present application, the preset deviation ratio threshold ErrorGate defines a first range of deviation ratios, and the value of the preset deviation ratio threshold ErrorGate can be set according to actual needs. Preferably, the fixed deviation ratio range is less than the preset deviation ratio threshold ErrorGate, and the closest deviation ratio satisfies the fixed deviation ratio range specifically when the closest deviation ratio is less than the preset deviation ratio threshold ErrorGate. For example, if the preset deviation ratio threshold ErrorGate is 1×10 -6 , the closest deviation ratio is limited to one part per million. Therefore, the waveform sampling point length is reasonably selected to control the deviation ratio of the actual bit rate relative to the arbitrary bit rate set by the user within a limited range, and by adjusting the value of the preset deviation ratio threshold ErrorGate, the deviation ratio range between the actual bit rate and the expected bit rate set by the user can be flexibly controlled, and its precision error can be flexibly controlled. It should be understood by those skilled in the art that, according to actual needs, the fixed deviation ratio range can also be set to be less than or equal to the preset deviation ratio threshold ErrorGate.

[0090] Further, determining the waveform sampling point length that meets the preset conditions within the waveform sampling point length allowable range also includes:

[0091] S304, in response to the closest deviation ratio not satisfying the fixed deviation ratio range, determining a symbol replication multiple range according to the minimum waveform length and the maximum waveform length;

[0092] S305, establishing an iterative loop with the codeword replication multiple as the iteration variable and the current codeword replication multiple not being within the codeword replication multiple range as the termination condition, and determining the waveform sampling point length that meets the preset conditions within the allowable range of the waveform sampling point length.

[0093] Further, determining the range of symbol replication multiples according to the minimum waveform length and the maximum waveform length includes:

[0094] S3041, determining a minimum symbol replication multiple according to the minimum waveform length, the symbol length and the first minimum multiple;

[0095] S3042: Determine a maximum symbol replication multiple according to the maximum waveform length, the symbol length and the first maximum multiple. The symbol replication multiple range is a range bounded by the minimum symbol replication multiple and the maximum symbol replication multiple.

[0096] As a specific example, the calculation formulas for the minimum symbol replication multiple n_min and the maximum symbol replication multiple n_max are:

[0097] n_min=ceil(minLen / (RsLen×Rs_times_min))(10)

[0098] n_max=floor(maxLen / (RsLen×Rs_times_max))(11)

[0099] Among them, minLen represents the minimum waveform length, Rs_times_min represents the first minimum multiple, RsLen represents the code element length, maxLen represents the maximum waveform length, Rs_times_max represents the first maximum multiple, the floor() function represents rounding down, and the ceil() function represents rounding up.

[0100] In the embodiment of the present application, according to the limitation of the maximum waveform length and the minimum waveform length, the maximum multiple that the code element can be copied (maximum code element copy multiple) and the minimum multiple that the code element must be copied (minimum code element copy multiple) are determined, and then it is ensured that the waveform sampling point length finally generated must be within the range determined by the minimum waveform length and the maximum waveform length, minLen≤wfmLength≤maxLen, so that it can be fully matched with the AWG instrument. According to the code element length and the storage depth limitation of the AWG instrument, the value range of the code element copy multiple is calculated, and this is used as the basis for calculating any code rate and waveform sampling point length, so that the waveform sampling point length determination method of the embodiment of the present application can support the storage depth limitation of any AWG instrument, and is convenient and fast to be transplanted to any model of AWG signal source. Since the waveform sampling point length allowable range is determined according to the current code element copy multiple, the waveform sampling point length allowable range is a range that is dynamically adjusted as the iteration variable (code element copy multiple) changes. According to the corresponding relationship between the waveform sampling point length and the actual code rate, each waveform sampling point length within the dynamically adjusted waveform sampling point length allowable range corresponds to an actual code rate. By combining the storage depth limit information of the instrument waveform length, an iterative loop is established, in which the allowable range of the waveform sampling point length is further reasonably selected, further improving the rationality of setting the allowable range of the waveform sampling point length.

[0101] Furthermore, the preset deviation ratio range also includes a dynamic deviation ratio range, and the dynamic deviation ratio range is determined according to the deviation ratio variable;

[0102] An iterative loop is established with the symbol replication multiple as the iteration variable and the current symbol replication multiple not being within the symbol replication multiple range as the termination condition, and the waveform sampling point length that meets the preset conditions is determined within the waveform sampling point length allowable range, including:

[0103] S3051, in response to the current closest deviation ratio satisfying the dynamic deviation ratio range, updating the deviation ratio variable Error with the current closest deviation ratio;

[0104] S3052, recording the current symbol replication multiple, the current closest deviation ratio, and the waveform sampling point length corresponding to the current closest deviation ratio;

[0105] S3053, updating the current codeword replication multiple and continuing the iteration cycle until the current codeword replication multiple meets the termination condition;

[0106] S3054. In response to the current symbol replication multiple satisfying the termination condition, the minimum value among all the closest deviation ratios obtained by recording is selected, and the waveform sampling point length corresponding to the minimum value is determined to be the waveform sampling point length that meets the preset condition.

[0107] S3055: In response to the current closest deviation ratio not satisfying the dynamic deviation ratio range, enter S3053.

[0108] In the embodiment of the present application, the dynamic deviation ratio range is less than the deviation ratio variable Error, and the current closest deviation ratio satisfies the dynamic deviation ratio range specifically as follows: the current closest deviation ratio is less than the deviation ratio variable Error, so that the deviation ratio variable Error defines the second range of the deviation ratio, and in the iterative cycle process, the deviation ratio variable Error is constantly close to the preset deviation ratio threshold ErrorGate, that is, the second range can be gradually reduced through iteration, gradually approaching the first range, and finally the deviation ratio of the actual code rate relative to the arbitrary code rate set by the user is controlled within a limited range. The deviation ratio variable Error can preset an initial value, which is greater than the preset deviation ratio threshold ErrorGate, and the value of the initial value can be set according to actual needs. As a specific example, the initial value of the deviation ratio variable Error is set to 2 times the preset deviation ratio threshold ErrorGate. Those skilled in the art should understand that according to actual needs, the dynamic deviation ratio range can also be set to be less than or equal to the deviation ratio variable Error.

[0109] As a specific example, Figure 2As shown, the specific steps are: determine whether the current closest deviation ratio is less than the deviation ratio variable Error;

[0110] If the current closest deviation ratio is less than the deviation ratio variable Error, the deviation ratio variable Error is updated with the current closest deviation ratio to obtain a new deviation ratio variable Error; at the same time, the current codeword replication multiple n, the current closest deviation ratio and the waveform sampling point length wfmLength corresponding to the current closest deviation ratio are recorded; it is determined whether the current codeword replication multiple n is less than the maximum codeword replication multiple n_max; if the current codeword replication multiple n is less than the maximum codeword replication multiple n_max, the current codeword replication multiple n is updated by adding 1 to the current codeword replication multiple n to obtain a new codeword replication multiple as the current codeword replication multiple n; if the current codeword replication multiple n is greater than or equal to the maximum codeword replication multiple n_max, the minimum value of all the closest deviation ratios recorded is selected, and the waveform sampling point length corresponding to the minimum value is determined to be the waveform sampling point length that meets the preset conditions, and the current codeword replication multiple n and the waveform sampling point length wfmLength are output;

[0111] If the current closest deviation ratio is greater than or equal to the deviation ratio variable Error, then go to the step of determining whether the current codeword replication multiple n is less than the maximum codeword replication multiple n_max and continue the loop.

[0112] Several specific application cases of the method for determining the waveform sampling point length according to an embodiment of the present application are introduced below.

[0113] Case 1: Expected bitrate is an integer bitrate

[0114] Case 1 : Integer bit rate Rs = 25Mbps

[0115] The expected bit rate set by the user is Rs = 25.0000000000000Mbps

[0116] The symbol length set by the user is RsLen = 1024

[0117] Preset deviation ratio threshold ErrorGate=0.0000005000

[0118] Waveform signal output sampling rate Fs = 5000.000000000000MHz

[0119] Actual bit rate realRs = 25.0000000000000Mbps

[0120] Current codeword replication multiple n initial value = 1

[0121] Waveform sampling point length wfmLength = 204800

[0122] Case 2 : Integer bit rate Rs = 125Mbps

[0123] The expected bit rate set by the user is Rs = 125.0000000000000Mbps

[0124] The symbol length set by the user is RsLen = 1024

[0125] Preset deviation ratio threshold ErrorGate=0.0000005000

[0126] Waveform signal output sampling rate Fs = 5000.000000000000MHz

[0127] Actual bit rate realRs = 125.0000000000000Mbps

[0128] Current codeword replication multiple n initial value = 1

[0129] Waveform sampling point length wfmLength = 40960

[0130] Case 3 :Integer bit rate Rs=625Mbps

[0131] The expected bit rate set by the user is Rs = 625.0000000000000Mbps

[0132] The symbol length set by the user is RsLen = 1024

[0133] Preset deviation ratio threshold ErrorGate=0.0000005000

[0134] Waveform signal output sampling rate Fs = 5000.000000000000MHz

[0135] Actual bit rate realRs = 625.0000000000000Mbps

[0136] Current codeword replication multiple n initial value = 1

[0137] Waveform sampling point length wfmLength = 8192

[0138] Case 2: Expected bit rate is arbitrarily small

[0139] Case 4 : Any small digital rate Rs = 37.11111Mbps

[0140] The expected bit rate set by the user is Rs = 37.111110000000Mbps

[0141] The symbol length set by the user is RsLen = 1024

[0142] Preset deviation ratio threshold ErrorGate=0.0000005000

[0143] Waveform signal output sampling rate Fs = 5000.000000000000MHz

[0144] Actual bit rate realRs = 37.111085607978Mbps

[0145] Current codeword replication multiple n initial value = 6

[0146] Waveform sampling point length wfmLength = 827785

[0147] Case 5 : Any small digital rate Rs = 111.7333Mbps

[0148] The expected bit rate set by the user is Rs = 111.733300000000Mbps

[0149] The symbol length set by the user is RsLen = 1024

[0150] Preset deviation ratio threshold ErrorGate=0.0000005000

[0151] Waveform signal output sampling rate Fs = 5000.000000000000MHz

[0152] Actual bit rate realRs = 111.733306563895Mbps

[0153] Current codeword replication multiple n initial value = 5

[0154] Waveform sampling point length wfmLength = 229117

[0155] Case 6 : Any small digital rate Rs = 637.11111Mbps

[0156] The expected bit rate set by the user is Rs = 637.111110000000Mbps

[0157] The symbol length set by the user is RsLen = 1024

[0158] Preset deviation ratio threshold ErrorGate=0.0000005000

[0159] Waveform signal output sampling rate Fs = 5000.000000000000MHz

[0160] Actual bit rate realRs = 637.111279539361Mbps

[0161] Current codeword replication multiple n initial value = 11

[0162] Waveform sampling point length wfmLength = 88399

[0163] The third case: Modify the preset deviation ratio threshold ErrorGate

[0164] Case 7 : Any small digital rate Rs = 637.11111Mbps, modify the preset deviation ratio threshold

[0165] The expected bit rate set by the user is Rs = 637.111110000000Mbps

[0166] The symbol length set by the user is RsLen = 1024

[0167] Preset deviation ratio threshold ErrorGate=0.0000050000

[0168] Waveform signal output sampling rate Fs = 5000.000000000000MHz

[0169] Actual bit rate realRs = 637.113081350132Mbps

[0170] Current codeword replication multiple n initial value = 4

[0171] Waveform sampling point length wfmLength = 32145

[0172] Case 8 : Any small digital rate Rs = 637.11111Mbps, modify the preset deviation ratio threshold

[0173] The expected bit rate set by the user is Rs = 637.111110000000Mbps

[0174] The symbol length set by the user is RsLen = 1024

[0175] Preset deviation ratio threshold ErrorGate=0.0000100000

[0176] Waveform signal output sampling rate Fs = 5000.000000000000MHz

[0177] Actual bit rate realRs = 637.106474760463Mbps

[0178] Current codeword replication multiple n initial value = 3

[0179] Waveform sampling point length wfmLength = 24109

[0180] It can be seen from the above cases that by adopting the waveform sampling point length determination method of the embodiment of the present application, for integer bit rate input, the output actual bit rate will not introduce any error; for non-integer arbitrary small bit rate input, an actual bit rate close to the bit rate set by the user can be quickly calculated by adjusting the code element replication multiple and the waveform sampling point length, so that the actual bit rate is as close as possible to the bit rate set by the user, which can improve the accuracy of the generated high-speed serial signal and realize the flexible and accurate generation of high-speed serial signals with arbitrary bit rates of integers or decimals.

[0181] The embodiment of the present application also provides a waveform sampling point length determination device, corresponding to the above-mentioned waveform sampling point length determination method, such as Figure 3 As shown, the waveform sampling point length determination device 100 includes:

[0182] An acquisition unit 101 is used to acquire user setting parameters, where the user setting parameters are used to generate a desired high-speed serial signal, and the user setting parameters include a desired bit rate;

[0183] A waveform sampling point length allowable range determining unit 102, used to determine the waveform sampling point length allowable range according to the current symbol replication multiple, where the current symbol replication multiple is determined based on the maximum waveform length and the minimum waveform length;

[0184] The first waveform sampling point length determination 103 is used to determine a waveform sampling point length that meets preset conditions within the allowable range of the waveform sampling point length, and the preset condition is that the deviation ratio between the actual bit rate determined according to the waveform sampling point length and the expected bit rate is within the preset deviation ratio range; wherein the waveform sampling point length that meets the preset conditions is used to generate a high-speed serial signal.

[0185] In an embodiment of the present application, the allowable range of the waveform sampling point length is determined according to the current code element replication multiple; the waveform sampling point length that meets the preset conditions is determined within the allowable range of the waveform sampling point length, and the preset condition is that the deviation ratio between the actual code rate determined according to the waveform sampling point length and the expected code rate is within the preset deviation ratio range, so as to reasonably select the waveform sampling point length, and control the deviation ratio of the actual code rate relative to the arbitrary code rate set by the user within a limited range, so as to realize flexible and accurate generation of high-speed serial signals of arbitrary code rates of integers or decimals.

[0186] Furthermore, the user setting parameters also include the symbol length, and the waveform sampling point length allowable range determination unit 102 includes:

[0187] A proportionality coefficient processing unit, used to process the ratio of the waveform signal output sampling rate to the expected bit rate using the proportionality coefficient to obtain a first minimum multiple and a first maximum multiple;

[0188] a lower limit value determining unit, configured to use the current symbol replication multiple as the first coefficient of the product of the first minimum multiple and the symbol length, and determine the lower limit value of the allowable range of the waveform sampling point length according to the current symbol replication multiple, the first minimum multiple and the symbol length;

[0189] The upper limit value determination unit is used to use the current codeword replication multiple as the second coefficient of the product of the first maximum multiple and the codeword length, and determine the upper limit value of the allowable range of the waveform sampling point length based on the current codeword replication multiple, the first maximum multiple and the codeword length.

[0190] Further, the preset deviation ratio range includes a fixed deviation ratio range, and the fixed deviation ratio range is determined according to a preset deviation ratio threshold;

[0191] The first waveform sampling point length determination 103 includes:

[0192] an actual code rate determination unit, configured to use the current code symbol replication multiple as the third coefficient of the product of the waveform signal output sampling rate and the code symbol length, and determine the actual code rate corresponding to each waveform sampling point length within the waveform sampling point length allowable range according to the current code symbol replication multiple, the waveform signal output sampling rate and the code symbol length;

[0193] A closest deviation ratio determination unit, used for searching for a minimum value from each deviation ratio of the actual bit rate to the expected bit rate as the closest deviation ratio;

[0194] The second waveform sampling point length determining unit is used to obtain a waveform sampling point length that meets a preset condition in response to the closest deviation ratio satisfying a fixed deviation ratio range.

[0195] Further, the first waveform sampling point length determination 103 also includes:

[0196] A codeword replication multiple range determining unit, configured to determine a codeword replication multiple range according to a minimum waveform length and a maximum waveform length in response to the closest deviation ratio not satisfying a fixed deviation ratio range;

[0197] The third waveform sampling point length determination unit is used to establish an iterative loop with the codeword replication multiple as the iteration variable and the current codeword replication multiple not being within the codeword replication multiple range as the termination condition, and determine the waveform sampling point length that meets the preset conditions within the allowable range of the waveform sampling point length.

[0198] Further, determining the range of symbol replication multiples according to the minimum waveform length and the maximum waveform length includes:

[0199] A first end value determination unit, used for determining a minimum symbol replication multiple according to a minimum waveform length, a symbol length and a first minimum multiple;

[0200] The second end value determination unit is used to determine the maximum codeword replication multiple according to the maximum waveform length, the codeword length and the first maximum multiple.

[0201] Furthermore, the preset deviation ratio range also includes a dynamic deviation ratio range, and the dynamic deviation ratio range is determined according to the deviation ratio variable;

[0202] The third waveform sampling point length determining unit includes:

[0203] a deviation ratio variable updating unit, configured to update the deviation ratio variable with the current closest deviation ratio in response to the current closest deviation ratio satisfying the dynamic deviation ratio range;

[0204] A recording unit, used to record the current symbol replication multiple, the current closest deviation ratio and the waveform sampling point length corresponding to the current closest deviation ratio;

[0205] A first current symbol replication multiple updating unit, used for updating the current symbol replication multiple and continuing the iteration cycle until the current symbol replication multiple meets the termination condition;

[0206] The fourth waveform sampling point length determination unit is used to select the minimum value of all the closest deviation ratios recorded in response to the current codeword replication multiple satisfying the termination condition, and determine the waveform sampling point length corresponding to the minimum value as the waveform sampling point length that meets the preset conditions.

[0207] Furthermore, the third waveform sampling point length determining unit further includes:

[0208] A second current symbol replication multiple updating unit, configured to update the current symbol replication multiple in response to the current closest deviation ratio not satisfying the dynamic deviation ratio range, until the current symbol replication multiple satisfies the termination condition;

[0209] The fifth waveform sampling point length determination unit is used to select the minimum value of all the closest deviation ratios obtained in the record in response to the current codeword replication multiple satisfying the termination condition, and determine the waveform sampling point length corresponding to the minimum value as the waveform sampling point length that meets the preset conditions.

[0210] The present application also provides an electronic device, such as Figure 4As shown, the electronic device 200 includes a processor 201 and a memory 202; the memory 202 stores computer executable instructions, and the computer executable instructions are executed by the processor 201 to execute the above-mentioned waveform sampling point length determination method.

[0211] The processor 201 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0212] The memory 202 may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 201 may execute the program instructions to implement the steps in the above waveform sampling point length determination method and / or other desired functions.

[0213] In one example, the electronic device 200 may further include: an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown in the figure).

[0214] In addition, the input device may also include, for example, a keyboard, a mouse, a microphone, etc. The output device may output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0215] Of course, to simplify, Figure 4 Only a part of the components related to the embodiment of the present application in the electronic device 200 is shown, and components such as a bus, an input device / output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device 200 may also include any other appropriate components.

[0216] The embodiment of the present application further provides a storage medium having computer executable instructions stored thereon. When the computer executable instructions are executed by a processor, the above-mentioned method for determining the waveform sampling point length is executed.

[0217] The present application embodiment can be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium, which is loaded with computer-readable program instructions for making a processor realize the various aspects of the present application embodiment. The computer program product can be written in any combination of one or more programming languages ​​to perform the program code for the operation of the present application embodiment, and the programming language includes an object-oriented programming language, such as Java, C++, etc., and also includes a conventional procedural programming language, such as "C" language or similar programming language. The program code can be executed completely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device, partially on the remote computing device, or completely on the remote computing device or server. In the case of a remote computer, the remote computer can be connected to the user computer through any kind of network-including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by utilizing the state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the embodiments of the present application.

[0218] Computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. Computer readable storage medium is a tangible device that can keep and store instructions used by an instruction execution device. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination of the above. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0219] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0220] Various aspects of the embodiments of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0221] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0222] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0223] It should be noted that the waveform sampling point length determination method embodiment, waveform sampling point length determination device embodiment, computer-readable storage medium embodiment and electronic device embodiment provided in the embodiments of the present application belong to the same concept; the technical features in the technical solutions recorded in each embodiment can be arbitrarily combined without conflict.

[0224] It should be understood that the above embodiments are exemplary and are not intended to include all possible implementations included in the claims. Various modifications and changes may be made on the basis of the above embodiments without departing from the scope of the present disclosure. Similarly, the various technical features of the above embodiments may be arbitrarily combined to form other embodiments of the present application that may not be explicitly described. Therefore, the above embodiments only express several implementations of the present application and do not limit the scope of protection of the patent of this application.

Claims

1. A method for determining the length of a waveform sampling point, characterized in that: include: Acquiring user setting parameters, wherein the user setting parameters are used to generate a desired high-speed serial signal, and the user setting parameters include a desired bit rate; Determine the permissible range of waveform sampling point length according to the current symbol replication multiple, wherein the current symbol replication multiple is determined according to the maximum waveform length and the minimum waveform length; A waveform sampling point length that meets a preset condition is determined within an allowable range of the waveform sampling point length, wherein the preset condition is that a deviation ratio between an actual bit rate determined according to the waveform sampling point length and an expected bit rate is within a preset deviation ratio range; wherein the waveform sampling point length that meets the preset condition is used to generate a high-speed serial signal.

2. The method for determining the waveform sampling point length according to claim 1, characterized in that: The user setting parameters also include symbol length, and the allowable range of waveform sampling point length determined according to the current symbol replication multiple includes: Processing the ratio of the waveform signal output sampling rate to the expected bit rate using a proportional coefficient to obtain a first minimum multiple and a first maximum multiple; Using the current symbol replication multiple as the first coefficient of the product of the first minimum multiple and the symbol length, and determining the lower limit of the allowable range of the waveform sampling point length according to the current symbol replication multiple, the first minimum multiple and the symbol length; The current symbol replication multiple is used as the second coefficient of the product of the first maximum multiple and the symbol length, and the upper limit of the allowable range of the waveform sampling point length is determined based on the current symbol replication multiple, the first maximum multiple and the symbol length.

3. The method for determining the waveform sampling point length according to claim 2, characterized in that: The preset deviation ratio range includes a fixed deviation ratio range, and the fixed deviation ratio range is determined according to a preset deviation ratio threshold; Determining the waveform sampling point length that meets the preset conditions within the waveform sampling point length allowable range includes: Using the current symbol replication multiple as the third coefficient of the product of the waveform signal output sampling rate and the symbol length, and determining the actual code rate corresponding to each waveform sampling point length within the allowable range of the waveform sampling point length according to the current symbol replication multiple, the waveform signal output sampling rate and the symbol length; Searching for a minimum value from each deviation ratio of the actual bit rate to the expected bit rate as the closest deviation ratio; In response to the closest deviation ratio satisfying the fixed deviation ratio range, the waveform sampling point length that meets the preset conditions is obtained.

4. The method for determining the waveform sampling point length according to claim 3, characterized in that: The step of determining the waveform sampling point length that meets the preset conditions within the waveform sampling point length allowable range also includes: In response to the closest deviation ratio not satisfying the fixed deviation ratio range, determining a symbol replication multiple range according to a minimum waveform length and a maximum waveform length; An iterative loop is established with the codeword replication multiple as the iteration variable and the current codeword replication multiple not being within the codeword replication multiple range as the termination condition, and a waveform sampling point length that meets the preset conditions is determined within the waveform sampling point length allowable range.

5. The method for determining the waveform sampling point length according to claim 4, characterized in that: Determining the range of symbol replication multiples according to the minimum waveform length and the maximum waveform length includes: Determine a minimum symbol replication multiple according to the minimum waveform length, the symbol length and the first minimum multiple; A maximum symbol replication multiple is determined based on the maximum waveform length, the symbol length and the first maximum multiple.

6. The method for determining the waveform sampling point length according to claim 4, characterized in that: The preset deviation ratio range also includes a dynamic deviation ratio range, and the dynamic deviation ratio range is determined according to the deviation ratio variable; The step of establishing an iterative loop with the symbol replication multiple as an iteration variable and the current symbol replication multiple not being within the symbol replication multiple range as a termination condition, and determining the waveform sampling point length that meets the preset condition within the waveform sampling point length allowable range comprises: In response to the current closest deviation ratio satisfying the dynamic deviation ratio range, updating the deviation ratio variable with the current closest deviation ratio; Record the current symbol replication multiple, the current closest deviation ratio and the waveform sampling point length corresponding to the current closest deviation ratio; Update the current codeword replication multiple and continue the iteration cycle until the current codeword replication multiple meets the termination condition; In response to the current codeword replication multiple satisfying the termination condition, the minimum value among all the closest deviation ratios obtained in the record is selected, and the waveform sampling point length corresponding to the minimum value is determined to be the waveform sampling point length that meets the preset conditions.

7. The method for determining the waveform sampling point length according to claim 6, characterized in that: The step of establishing an iterative loop with the symbol replication multiple as an iteration variable and the termination condition that the current symbol replication multiple is not within the symbol replication multiple range, and determining the waveform sampling point length that meets the preset conditions within the waveform sampling point length allowable range also includes: In response to the current closest deviation ratio not satisfying the dynamic deviation ratio range, updating the current symbol replication multiple until the current symbol replication multiple satisfies the termination condition; In response to the current codeword replication multiple satisfying the termination condition, the minimum value among all the closest deviation ratios obtained in the record is selected, and the waveform sampling point length corresponding to the minimum value is determined to be the waveform sampling point length that meets the preset conditions.

8. A device for determining the length of a waveform sampling point, characterized in that: include: An acquisition unit, used for acquiring user setting parameters, the user setting parameters are used for generating a desired high-speed serial signal, and the user setting parameters include a desired bit rate; A waveform sampling point length allowable range determining unit, used to determine the waveform sampling point length allowable range according to the current symbol replication multiple, wherein the current symbol replication multiple is determined according to the maximum waveform length and the minimum waveform length; The first waveform sampling point length is determined, and is used to determine a waveform sampling point length that meets a preset condition within an allowable range of the waveform sampling point length, wherein the preset condition is that a deviation ratio between an actual bit rate determined according to the waveform sampling point length and an expected bit rate is within a preset deviation ratio range; wherein the waveform sampling point length that meets the preset condition is used to generate a high-speed serial signal.

9. An electronic device, characterized in that: include: processor; as well as A memory having computer executable instructions stored thereon, wherein the computer executable instructions are executed by the processor to execute the method for determining the waveform sampling point length as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores computer executable instructions, and when the computer executable instructions are executed by the processor, the method for determining the waveform sampling point length according to any one of claims 1 to 7 is executed.