CN114500262A - High-speed interface parameter configuration method, device, equipment and storage medium - Google Patents

High-speed interface parameter configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN114500262A
CN114500262A CN202210141489.9A CN202210141489A CN114500262A CN 114500262 A CN114500262 A CN 114500262A CN 202210141489 A CN202210141489 A CN 202210141489A CN 114500262 A CN114500262 A CN 114500262A
Authority
CN
China
Prior art keywords
main control
control board
parameter configuration
configuration table
board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210141489.9A
Other languages
Chinese (zh)
Inventor
梁凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lianhong Technology Co ltd
Original Assignee
Shanghai Lianhong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianhong Technology Co ltd filed Critical Shanghai Lianhong Technology Co ltd
Priority to CN202210141489.9A priority Critical patent/CN114500262A/en
Publication of CN114500262A publication Critical patent/CN114500262A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for configuring high-speed interface parameters, wherein the method comprises the following steps: the main control board obtains a parameter configuration table; the service board generates a service board address; the main control board accesses the service board based on the address of the service board to acquire the information of the service board; the main control board searches the parameter configuration table based on the information of the main control board and the information of the service board, and determines a target parameter; the main control board configures the high-speed interface of the main control board based on the target parameter, and the service board configures the high-speed interface of the service board based on the target parameter. According to the technical scheme, the parameter configuration table is determined based on a dynamic parameter scanning method, the method can be automatically realized by a program, manual intervention is not needed, actual measurement in advance is not needed, the parameter configuration table can be dynamically refreshed, and each group of parameters are guaranteed to be real-time optimal solutions.

Description

High-speed interface parameter configuration method, device, equipment and storage medium
Technical Field
The invention belongs to the technical field of network equipment, and particularly relates to a high-speed interface parameter configuration method, device, equipment and storage medium.
Background
The machine frame product can support a plurality of service slots for expanding services, each slot can be provided with service boards of different types, each service board is provided with high-speed interfaces of different quantities, each high-speed interface is communicated with the high-speed interface of the main control board through a back board, the back board routes of different ports are different, the lengths, insertion loss and return loss values of the lines are different, and in order to optimize the quality of high-speed signals to the maximum extent, relevant parameters such as balance, pre-emphasis and the like need to be set at a transmitting end and a receiving end aiming at each group of high-speed interfaces (one group is transmitted and received).
The current parameter configuration method mainly comprises the following two methods:
1) the unified parameters are adopted, the types and the slot positions of the service boards are not distinguished, and a moderate parameter is adopted and is stored in each service board in advance. However, the method cannot achieve refinement and differentiation control, and the performance cannot be brought into play to an optimal solution.
2) The service board and the main control board adopt different parameters, and each parameter is solidified on the service board, so that the flexibility is achieved to a certain extent, however, the service board of the method still uses the same set of parameters under different slots, and the optimal solution is still not achieved.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, an object of the present invention is to provide a method, an apparatus, a device and a storage medium for configuring high-speed interface parameters.
In order to solve the above technical problem, an embodiment of the present invention provides the following technical solutions:
a high-speed interface parameter configuration method comprises the following steps:
the main control board obtains a parameter configuration table;
the service board generates a service board address;
the main control board accesses the service board based on the address of the service board to acquire the information of the service board;
the main control board searches the parameter configuration table based on the information of the main control board and the information of the service board to determine a target parameter;
the main control board configures the high-speed interface of the main control board based on the target parameter, and the service board configures the high-speed interface of the service board based on the target parameter.
Optionally, the method includes:
the main control board confirms whether the service board is inserted into the backboard according to the Present signal;
if the Present signal is high level, the service board is inserted into the back board;
if the Present signal is at a low level, the service board is not inserted into the backplane.
Optionally, the acquiring, by the main control board, a parameter configuration table includes:
the main control board confirms whether the fixed parameter configuration table is found;
and if the fixed parameter configuration table is not found, the main control board acquires the parameter configuration table based on a parameter scanning algorithm.
Optionally, if the fixed parameter configuration table is not found, after the main control board obtains the parameter configuration table based on a parameter scanning algorithm, the method further includes:
and updating the parameter configuration table every other first preset time.
Optionally, the acquiring, by the main control board, a parameter configuration table further includes:
and if the fixed parameter configuration table is found, immediately updating the parameter configuration table by the main control board based on a parameter scanning algorithm.
Optionally, the acquiring, by the main control board, a parameter configuration table further includes:
if the fixed parameter configuration table is found, the main control board immediately updates the parameter configuration table based on a parameter scanning algorithm;
and updating the parameter configuration table every second preset time.
Optionally, the acquiring, by the main control board, a parameter configuration table further includes:
and if the fixed parameter configuration table is found, updating the parameter configuration table at intervals of second preset time.
Optionally, obtaining the fixed parameter configuration table includes:
traversing all types of the main control boards, slot positions of the main control boards and the high-speed interfaces of the main control boards to obtain a first result;
traversing all the types of the service boards, the slot positions of the service boards and the high-speed interfaces of the service boards to obtain a second result;
determining a plurality of high speed lanes based on the first and second results;
determining a first set of target parameters for each of the high speed lanes;
determining the parameter configuration table based on a plurality of the first target parameter groups.
Optionally, the obtaining, by the main control board, the parameter configuration table based on a parameter scanning algorithm includes:
the main control board obtains a plurality of groups of parameters; each group of parameters comprises main control board parameters and service board parameters;
acquiring a second target parameter group of each high-speed channel based on the multiple groups of parameters;
determining the parameter configuration table based on a plurality of the second target parameter groups.
Optionally, the acquiring a target parameter set of each high-speed channel includes:
the main control board sends the plurality of groups of parameters to the service board based on a low-speed interface;
the main control board configures the high-speed interface of the main control board according to the main control board parameters of each group of parameters; meanwhile, the service board configures the high-speed interface of the service board based on the service board parameters of each group of the parameters; forming a high-speed channel;
comparing the error rate of the high-speed channel matched with each group of the parameters;
and determining a group of parameters corresponding to the minimum bit error rate as a second target parameter group of the high-speed channel.
Optionally, the generating, by the service board, a service board address includes:
and the service board automatically generates the service board address according to the slot position ID of the service board.
Optionally, the information of the service board includes:
the slot position ID of the service board, the type of the service board and the high-speed interface information of the service board.
Optionally, the information of the main control board includes:
the slot position ID of the main control board, the type of the main control board and the high-speed interface information of the main control board.
The embodiment of the present invention further provides a high-speed interface parameter configuration device, including:
the first acquisition module is used for acquiring a parameter configuration table by the main control board;
the generating module is used for generating a service board address by the service board;
the second obtaining module is used for the main control board to access the service board based on the service board address to obtain the information of the service board;
the determining module is used for the main control board to search the parameter configuration table based on the information of the main control board and the information of the service board so as to determine a target parameter;
and the configuration module is used for configuring the high-speed interface of the main control board based on the target parameters by the main control board, and configuring the high-speed interface of the service board based on the target parameters by the service board.
Embodiments of the present invention also provide an electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method as described above when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method as described above.
The embodiment of the invention has the following technical effects:
according to the technical scheme, 1) the parameter configuration table is determined based on a dynamic parameter scanning method, the parameter configuration table can be automatically realized by a program without manual intervention or actual measurement in advance, and can be dynamically refreshed, so that each group of parameters is guaranteed to be a real-time optimal solution.
2) The control board issues configuration by using a low-speed interface, and parameter configuration can be completed without participation of a high-speed interface.
3) The service board automatically generates the service board address according to the matched slot position ID without manual configuration, so that the control of the service board is more intelligent.
4) According to the identification of the slot position and the type of the service board, the only optimal solution parameter of each group of high-speed interfaces can be given, and the quality of the high-speed signal of the frame type product is improved to the maximum extent.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic structural diagram of a high-speed interface parameter configuration system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for configuring parameters of a high-speed interface according to an embodiment of the present invention;
fig. 3 is a flowchart of an example of a high-speed interface parameter configuration method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a high-speed interface parameter configuration apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
To facilitate understanding of the embodiments by those skilled in the art, some terms are explained:
present signal: the presence signal is adapted.
As shown in fig. 1, an embodiment of the present invention provides a high-speed interface parameter configuration system, including: the system comprises a main control board and a plurality of service boards;
the service boards are of various types and used for supporting different service requirements, the chips used by the service boards of different types are different, and the tolerance of each chip to the high-speed channel parameters is different.
In an actual application scenario, the main control board and the service boards are inserted into the backplane, and are interconnected and communicated through the backplane, distances between the service boards in different slots and the main control board are different, and for high-speed signals, different wiring distances mean that high-speed channel parameters such as insertion loss, crosstalk, return loss and the like are different.
In order to improve the communication quality of high-speed signals, parameters for signal optimization, such as equalization, pre-emphasis, de-emphasis, etc., are generally configured at the transmitting end and the receiving end for a high-speed channel. Therefore, in order to ensure that the high-speed interfaces in various combinations work in an optimal state, specific parameters need to be established for each high-speed interface combination situation.
In the embodiment of the present invention, for example, each main control board and each service board have 2 channels: the high-speed channel cannot normally communicate before the parameters are configured, and the low-speed channel is used for the master control board to manage and control the service board. Each service board has a unique slot ID at the backplane that matches it, identified by a pull-up or pull-down, the pull-up representing 1 and the pull-down representing 0, for example: the ID of the first slot is set to 001, the ID of the second slot to 010, and so on. When the main control board controls the service board through the low-speed channel, the service board address is used as a distinction, and when the service board is inserted into the corresponding slot position, the only service board address of the service board is generated according to the slot position ID and the agreed rule.
Specifically, the method comprises the following steps: when the service board is inserted into the first slot, the slot ID where the service board is located is identified, and then a unique service board address D1 is generated according to the agreed rule "base address F0+ slot ID", and the master control board accesses the service board of the slot through D1.
And so on, when the service board is inserted into the fourth slot, its address is F4.
As shown in fig. 2, an embodiment of the present invention provides a method for configuring parameters of a high-speed interface, which is applied to the above system, and includes:
step S1: the main control board obtains a parameter configuration table;
specifically, the first step is to start the main control board, and then the main control board determines whether the service board is inserted into the backplane, including:
the main control board confirms whether the service board is inserted into the back board or not according to the Present signal;
if the Present signal is high level, the service board is inserted into the back board;
if the Present signal is at a low level, the service board is not inserted into the backplane.
In an actual application scenario, when the service board is inserted into the backplane, the Present signal is pulled high by the service board, and when the service board is not inserted into the backplane, the Present signal is pulled low by the service board.
Further, the acquiring, by the main control board, a parameter configuration table includes:
the main control board confirms whether the fixed parameter configuration table is found;
and if the fixed parameter configuration table is not found, the main control board acquires the parameter configuration table based on a parameter scanning algorithm, and updates the parameter configuration table at intervals of preset time.
Generally, each main control board is fixed with a parameter configuration table, which is stored in an array manner, taking a service board with 4 high-speed interfaces as an example: { master control board type, master control board slot position, service board type, service board slot position, first master control high-speed interface, second master control high-speed interface, third master control high-speed interface, fourth master control high-speed interface, first service high-speed interface, second service high-speed interface, third service high-speed interface, and fourth service high-speed interface }.
In an actual application scenario, after the main control board checks that the service board is inserted into the backplane, the main control board checks whether a complete fixed parameter configuration table exists in the main control board, if so, the next parameter configuration is performed, and if the complete fixed parameter configuration table is not found, an automatic parameter scanning program is triggered to acquire the parameter configuration table.
Further, if the fixed parameter configuration table is not found, after the main control board obtains the parameter configuration table based on a parameter scanning algorithm, the method further includes:
and updating the parameter configuration table every other first preset time.
Specifically, the parameter configuration table is dynamically maintained every first preset time (the first preset time may be preset according to the actual operation condition of the system, for example, 1 hour, 12 hours, 24 hours, or 48 hours, etc.), and the parameter configuration table may be updated in a parameter scanning manner, so as to obtain a high-speed channel with the best quality for transmitting the high-speed signal as far as possible.
In an actual application scenario, after the system executes dynamic parameter scanning based on the parameter scanning algorithm and acquires the latest parameter configuration table, the parameter configuration table may be updated once based on the parameter scanning algorithm at intervals of a first preset time in the operation process of the system, or the parameter configuration table may not be updated in the operation process of the system.
Specifically, after the parameter scanning is executed based on the parameter scanning algorithm and the latest parameter configuration table is obtained, if the parameter scanning is executed based on the parameter scanning algorithm at intervals of a first preset time in the operation process of the system and the parameter configuration table is updated once, the operation time of the system is timed based on a timing device (such as a timer and the like) after the service board is inserted into the backplane, and when the timing time is equal to the first preset time, the system executes dynamic parameter scanning based on the parameter scanning algorithm and updates the currently used parameter configuration table once, and then the timer times the operation time of the system again and repeats the steps.
Further, the main control board obtains a parameter configuration table, and further includes:
and if the fixed parameter configuration table is found, immediately updating the parameter configuration table by the main control board based on a parameter scanning algorithm.
In an actual application scenario, in order to achieve the purpose of obtaining a high-speed channel with the best transmission high-speed signal quality as much as possible, after a fixed parameter configuration table is found, because the parameters of the parameter configuration table may not be in the optimal state currently, dynamic parameter scanning may be performed, the found fixed parameter configuration table is updated immediately, then the optimal updated parameter configuration table is obtained, a high-speed interface is configured based on the updated parameter configuration table, and then the high-speed channel with the best transmission high-speed signal quality is obtained.
Further, the acquiring, by the main control board, a parameter configuration table further includes:
if the fixed parameter configuration table is found, the main control board immediately updates the parameter configuration table based on a parameter scanning algorithm;
and updating the parameter configuration table every second preset time.
In an actual application scenario, after the service board is inserted into the backplane, the operation time of the entire system may be relatively long, and in order to achieve the purpose of obtaining a high-speed channel with the best quality for transmitting high-speed signals as much as possible, therefore, in the operation process of the system, dynamic parameter scanning may be performed based on a parameter scanning algorithm every second preset time (e.g., 1 hour, 2 hours, or 3 hours, etc.), a parameter configuration table currently used by the system is updated, then, an optimal updated parameter configuration table is obtained, a high-speed interface is configured based on the updated parameter configuration table, and then, the high-speed channel with the best quality for transmitting high-speed signals is obtained.
Further, the acquiring, by the main control board, a parameter configuration table further includes:
and if the fixed parameter configuration table is found, updating the parameter configuration table at intervals of second preset time.
In an actual application scene, after a fixed parameter configuration table is found, a high-speed interface is directly configured on the basis of the existing fixed parameter configuration table; and then in the running process of the system, executing dynamic parameter scanning once at intervals of a second preset time based on a parameter scanning algorithm, updating a parameter configuration table currently used by the system, then obtaining an optimal updated parameter configuration table, configuring a high-speed interface based on the updated parameter configuration table, and then obtaining a high-speed channel with optimal transmission high-speed signal quality.
Specifically, after the service board is inserted into the backplane, the running time of the system is timed based on a timing device (e.g., a timer, etc.), when the timed time is equal to a second preset time, the system updates the currently used parameter configuration table once based on a parameter scanning algorithm, and then the timer times the running time of the system again, and repeats the above steps.
It should be noted that, in the embodiments of the present invention, the first preset time and the second preset time are not substantially different and are used to represent time.
Further, obtaining the fixed parameter configuration table includes:
traversing all types of the main control boards, slot positions of the main control boards and the high-speed interfaces of the main control boards to obtain a first result; the first result comprises all the types of the main control boards, the slot positions of the main control boards, the high-speed interfaces of the main control boards and other information;
traversing all types of the service boards, service board slot positions and the high-speed interfaces of the service boards to obtain a second result; the second result comprises information such as the type of the service board, the slot position of the service board, the high-speed interface of the service board and the like;
determining a plurality of high speed lanes based on the first and second results; after the high-speed interface of a main control board and the high-speed interface of a service board complete parameter configuration, a high-speed channel which can be used for transmitting high-speed signals is formed; because each main control board may have a plurality of high-speed interfaces, and each service board may also have a plurality of high-speed interfaces, a plurality of high-speed channels may be formed;
determining a first set of target parameters for each of the high speed lanes;
determining the parameter configuration table based on a plurality of the first target parameter groups.
In an actual application scene, the types, the slot positions and the ports of all the main control boards and the types, the slot positions and the ports of the service boards are traversed, and a unique group of optimal parameters are tested in advance.
For example: 2 main control board slots, 2 service board slots, 1 type main control board and 1 type service board are arranged on the backboard, and each main control board and each service board are provided with 8 high-speed interfaces which are in one-to-one correspondence, so that 2 x 8 is 32 groups of parameters; and testing 32 groups of parameters in advance, determining an optimal group of parameters corresponding to each high-speed channel, and writing each high-speed channel and the optimal group of parameters corresponding to the high-speed channel into a parameter configuration table so as to directly perform parameter calling and parameter distribution on a subsequent main control board.
Further, the acquiring, by the main control board, the parameter configuration table based on a parameter scanning algorithm includes:
the main control board obtains a plurality of groups of parameters; each group of parameters comprises main control board parameters and service board parameters;
acquiring a second target parameter group of each high-speed channel based on the multiple groups of parameters;
determining the parameter configuration table based on a plurality of the second target parameter groups.
The embodiment of the invention determines the parameter configuration table based on the dynamic parameter scanning method, can be automatically realized by a program, does not need manual intervention or actual measurement in advance, can dynamically refresh the parameter configuration table, and ensures that each group of parameters is a real-time optimal solution.
Further, the acquiring the target parameter set of each high speed channel includes:
the main control board sends the plurality of groups of parameters to the service board based on a low-speed interface;
the main control board configures the high-speed interface of the main control board based on the main control board parameters of each group of parameters; meanwhile, the service board configures the high-speed interface of the service board based on the service board parameters of each group of the parameters; forming a high-speed channel;
comparing the error rate of the high-speed channel matched with each group of the parameters;
and determining a group of parameters corresponding to the minimum bit error rate as a second target parameter group of the high-speed channel.
In an actual application scene, a main control board obtains multiple groups of parameters in a parameter scanning mode, the main control board transmits each group of parameters to a service board through a low-speed interface, the service board and the main control board configure high-speed interfaces according to the respective distributed parameters, then package sending tests are carried out, the error rate of the service board and the main control board is counted and recorded, finally, the error rates under all parameter combinations are compared, a group of parameters corresponding to the minimum value is taken as the optimal parameters of the high-speed channel, and the high-speed channel and a matched group of parameters are written into a parameter configuration table.
For example: determining each group of parameters based on a stepping method, wherein the parameters required to be configured by the high-speed interface of the main control board are A1 and A2, the parameters required to be configured by the high-speed interface of the service board are B1 and B2, and t is a minimum stepping value:
ensuring A2min B1min B2min to be constant, and increasing A1 from min to max according to a step value t:
{A1min,A2min,B1min,B2min}、{A1min+t,A2min,B1min,B2min}、{A1min+2t,A2min,B1min,B2min}…{A1max,A2min,B1min,B2min}
ensuring A2min + t unchanged, scanning the a1 parameter according to the above steps, then ensuring A2min +2t unchanged, scanning the a1 parameter, and so on, scanning the A2 parameter to A2 max:
{A1min,A2min+t,B1min,B2min}、{A1min+t,A2min+t,B1min,B2min}、{A1min+2t,A2min+t,B1min,B2min}…{A1max,A2min+t,B1min,B2min}
{A1min,A2min+2t,B1min,B2min}、{A1min+t,A2min+2t,B1min,B2min}、{A1min+2t,A2min+2t,B1min,B2min}…{A1max,A2min+2t,B1min,B2min}
{A1min,A2max,B1min,B2min}、{A1min+t,A2max,B1min,B2min}、{A1min+2t,A2max,B1min,B2min}…{A1max,A2max,B1min,B2min}
keeping B1min + t unchanged, scanning parameters a1 and a2 as above, then keeping B1min +2t unchanged, scanning parameters a1 and a2, and so on, scanning parameters B1 to B1 max:
{A1min,A2min,B1min+t,B2min}、{A1min+t,A2min,B1min+t,B2min}、{A1min+2t,A2min,B1min+t,B2min}…{A1max,A2min,B1min+t,B2min}
{A1min,A2min+t,B1min+t,B2min}、{A1min+t,A2min+t,B1min+t,B2min}、{A1min+2t,A2min+t,B1min+t,B2min}…{A1max,A2min+t,B1min+t,B2min}
{A1min,A2min+2t,B1min+t,B2min}、{A1min+t,A2min+2t,B1min+t,B2min}、{A1min+2t,A2min+2t,B1min+t,B2min}…{A1max,A2min+2t,B1min+t,B2min}
{A1min,A2max,B1min+t,B2min}、{A1min+t,A2max,B1min+t,B2min}、{A1min+2t,A2max,B1min+t,B2min}…{A1max,A2max,B1min+t,B2min}
{A1min,A2min,B1min+2t,B2min}、{A1min+t,A2min,B1min+2t,B2min}、{A1min+2t,A2min,B1min+2t,B2min}…{A1max,A2min,B1min+2t,B2min}
{A1min,A2min+t,B1min+2t,B2min}、{A1min+t,A2min+t,B1min+2t,B2min}、{A1min+2t,A2min+t,B1min+2t,B2min}…{A1max,A2min+t,B1min+2t,B2min}
{A1min,A2min+2t,B1min+2t,B2min}、{A1min+t,A2min+2t,B1min+2t,B2min}、{A1min+2t,A2min+2t,B1min+2t,B2min}…{A1max,A2min+2t,B1min+2t,B2min}
{A1min,A2max,B1min+2t,B2min}、{A1min+t,A2max,B1min+2t,B2min}、{A1min+2t,A2max,B1min+2t,B2min}…{A1max,A2max,B1min+2t,B2min}
and according to the rule, ensuring that B2min + t is unchanged, scanning parameters A1, A2 and B1 according to the steps, then ensuring that B2min +2t is unchanged, scanning parameters A1, A2 and B1, and so on, and scanning the parameter B2 to B2 max.
Configuring a high-speed interface based on each group of parameters, then comparing the error rates of each high-speed channel under different parameter configurations, taking a group of parameters with the minimum code rate as target parameters of the high-speed channel, namely optimal parameters, and writing the corresponding relation into a parameter configuration table;
in addition, the corresponding relationship may be changed with the real-time data update, but the quality of the high-speed signal transmitted by the high-speed channel may be increased or unchanged but not decreased with the real-time data update.
The first target parameter set and the second target parameter set are only used for distinguishing target parameters determined by different methods, that is, the first target parameter set and the second target parameter set are not substantially different.
According to the embodiment of the invention, the main control board issues the configuration by using the low-speed interface, and the parameter configuration can be completed without the participation of the high-speed interface.
Step S2: the service board generates a service board address;
optionally, the generating, by the service board, a service board address includes:
and the service board automatically generates the service board address according to the slot position ID of the service board.
According to the embodiment of the invention, the service board automatically generates the service board address according to the matched slot position ID without manual configuration, so that the control of the service board is more intelligent.
Step S3: the main control board accesses the service board based on the address of the service board to acquire the information of the service board;
step S4: the main control board searches the parameter configuration table based on the information of the main control board and the information of the service board to determine a target parameter;
specifically, the information of the service board includes:
the slot position ID of the service board, the type of the service board and the high-speed interface information of the service board.
Further, the information of the main control board includes:
the slot position ID of the main control board, the type of the main control board and the high-speed interface information of the main control board.
According to the embodiment of the invention, the only optimal solution parameter of each group of high-speed interfaces can be given according to the identification of the slot position and the type of the service board, so that the quality of the high-speed signal of the frame type product is improved to the maximum extent.
Step S5: the main control board configures the high-speed interface of the main control board based on the target parameter, and the service board configures the high-speed interface of the service board based on the target parameter.
The above embodiments of the present invention can be implemented based on the following implementation manners:
1) the main control board is normally started;
2) checking whether a service board is inserted through a Present signal;
3) when the service board is checked to be inserted, the main control board checks whether a complete parameter configuration table exists in the main control board, and if so, the next step of parameter configuration is carried out;
4) if no corresponding parameter configuration table exists, finding the optimal parameter according to the executed parameter scanning program and writing the optimal parameter into the parameter configuration table;
5) the service board generates a unique service board address according to the ID of the slot position where the service board is located;
6) the main control board accesses the service board through the unique service board address and reads the slot position ID, the type and the high-speed interface information;
7) the main control board identifies own slot ID, type and high-speed interface information;
8) inquiring a parameter configuration table according to the information of the steps 6) and 7) to find out the high-speed interface parameters of the service board and the main control board;
9) the main control board transmits the high-speed interface parameters of the service board to the service board through the low-speed interface;
10) and finishing the initial configuration of the high-speed interface.
As shown in fig. 4, an embodiment of the present invention further provides a high-speed interface parameter configuration apparatus 400, including:
a first obtaining module 401, configured to obtain a parameter configuration table by a main control board;
a generating module 402, configured to generate a service board address by a service board;
a second obtaining module 403, configured to access the service board by the master control board based on the service board address, and obtain information of the service board;
a determining module 404, configured to, by the main control board, look up the parameter configuration table based on the information of the main control board and the information of the service board, and determine a target parameter;
a configuration module 405, configured to configure, by the main control board, the high-speed interface of the main control board based on the target parameter, and configure, by the service board, the high-speed interface of the service board based on the target parameter.
Optionally, the method includes:
the main control board confirms whether the service board is inserted into the back board or not according to the Present signal;
if the Present signal is high level, the service board is inserted into the back board;
if the Present signal is at a low level, the service board is not inserted into the backplane.
Optionally, the acquiring, by the main control board, a parameter configuration table includes:
the main control board confirms whether the fixed parameter configuration table is found;
and if the fixed parameter configuration table is not found, the main control board acquires the parameter configuration table based on a parameter scanning algorithm.
Optionally, if the fixed parameter configuration table is not found, after the main control board obtains the parameter configuration table based on a parameter scanning algorithm, the method further includes:
and updating the parameter configuration table every other first preset time.
Optionally, the acquiring, by the main control board, a parameter configuration table further includes:
and if the fixed parameter configuration table is found, immediately updating the parameter configuration table by the main control board based on a parameter scanning algorithm.
Optionally, the acquiring, by the main control board, a parameter configuration table further includes:
if the fixed parameter configuration table is found, the main control board immediately updates the parameter configuration table based on a parameter scanning algorithm;
and updating the parameter configuration table every second preset time.
Optionally, the acquiring, by the main control board, a parameter configuration table further includes:
and if the fixed parameter configuration table is found, updating the parameter configuration table at intervals of second preset time.
Optionally, obtaining the fixed parameter configuration table includes:
traversing all types of the main control boards, slot positions of the main control boards and the high-speed interfaces of the main control boards to obtain a first result;
traversing all types of the service boards, service board slot positions and the high-speed interfaces of the service boards to obtain a second result;
determining a plurality of high speed lanes based on the first and second results;
determining a first set of target parameters for each of the high speed lanes;
determining the parameter configuration table based on a plurality of the first target parameter groups.
Optionally, the obtaining, by the main control board, the parameter configuration table based on a parameter scanning algorithm includes:
the main control board obtains a plurality of groups of parameters; each group of parameters comprises main control board parameters and service board parameters;
acquiring a second target parameter group of each high-speed channel based on the multiple groups of parameters;
determining the parameter configuration table based on a plurality of the second target parameter groups.
Optionally, the acquiring a target parameter set of each high-speed channel includes:
the main control board sends the plurality of groups of parameters to the service board based on a low-speed interface;
the main control board configures the high-speed interface of the main control board according to the main control board parameters of each group of parameters; meanwhile, the service board configures the high-speed interface of the service board based on the service board parameters of each group of the parameters; forming a high-speed channel;
comparing the error rate of the high-speed channel matched with each group of the parameters;
and determining a group of parameters corresponding to the minimum bit error rate as a second target parameter group of the high-speed channel.
Optionally, the generating, by the service board, a service board address includes:
and the service board automatically generates the service board address according to the slot position ID of the service board.
Optionally, the information of the service board includes:
the slot position ID of the service board, the type of the service board and the high-speed interface information of the service board.
Optionally, the information of the main control board includes:
the slot position ID of the main control board, the type of the main control board and the high-speed interface information of the main control board.
Embodiments of the present invention also provide an electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method as described above when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method as described above.
In addition, other configurations and functions of the apparatus according to the embodiment of the present invention are known to those skilled in the art, and are not described herein for reducing redundancy.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (16)

1. A high-speed interface parameter configuration method is characterized by comprising the following steps:
the main control board obtains a parameter configuration table;
the service board generates a service board address;
the main control board accesses the service board based on the address of the service board to acquire the information of the service board;
the main control board searches the parameter configuration table based on the information of the main control board and the information of the service board to determine a target parameter;
the main control board configures the high-speed interface of the main control board based on the target parameter, and the service board configures the high-speed interface of the service board based on the target parameter.
2. The method of claim 1, comprising:
the main control board confirms whether the service board is inserted into the back board or not according to the Present signal;
if the Present signal is high level, the service board is inserted into the back board;
if the Present signal is at a low level, the service board is not inserted into the backplane.
3. The method of claim 1, wherein the obtaining of the parameter configuration table by the main control board comprises:
the main control board confirms whether the fixed parameter configuration table is found;
and if the fixed parameter configuration table is not found, the main control board acquires the parameter configuration table based on a parameter scanning algorithm.
4. The method according to claim 3, wherein if the fixed parameter configuration table is not found, after the main control board obtains the parameter configuration table based on a parameter scanning algorithm, the method further comprises:
and updating the parameter configuration table every other first preset time.
5. The method of claim 3, wherein the main control board obtains a parameter configuration table, further comprising:
and if the fixed parameter configuration table is found, immediately updating the parameter configuration table by the main control board based on a parameter scanning algorithm.
6. The method of claim 3, wherein the main control board obtains a parameter configuration table, further comprising:
if the fixed parameter configuration table is found, the main control board immediately updates the parameter configuration table based on a parameter scanning algorithm;
and updating the parameter configuration table every second preset time.
7. The method of claim 3, wherein the main control board obtains a parameter configuration table, further comprising:
and if the fixed parameter configuration table is found, updating the parameter configuration table at intervals of second preset time.
8. The method of claim 3, wherein obtaining the fixed parameter configuration table comprises:
traversing all types of the main control boards, slot positions of the main control boards and the high-speed interfaces of the main control boards to obtain a first result;
traversing all types of the service boards, service board slot positions and the high-speed interfaces of the service boards to obtain a second result;
determining a plurality of high speed lanes based on the first and second results;
determining a first set of target parameters for each of the high speed lanes;
determining the parameter configuration table based on a plurality of the first target parameter groups.
9. The method according to claim 3, wherein the obtaining, by the master control board, the parameter configuration table based on a parameter scanning algorithm includes:
the main control board obtains a plurality of groups of parameters; each group of parameters comprises main control board parameters and service board parameters;
acquiring a second target parameter group of each high-speed channel based on the multiple groups of parameters;
determining the parameter configuration table based on a plurality of the second target parameter groups.
10. The method of claim 6, wherein the obtaining the set of target parameters for each high speed lane comprises:
the main control board sends a plurality of groups of parameters to the service board based on a low-speed interface;
the main control board configures the high-speed interface of the main control board according to the main control board parameters of each group of parameters; meanwhile, the service board configures the high-speed interface of the service board based on the service board parameters of each group of the parameters; forming a high-speed channel;
comparing the error rate of the high-speed channel matched with each group of the parameters;
and determining a group of parameters corresponding to the minimum bit error rate as a second target parameter group of the high-speed channel.
11. The method of claim 1, wherein the service board generates a service board address, comprising:
and the service board automatically generates the service board address according to the slot position ID.
12. The method of claim 1, wherein the information of the service board comprises:
the slot position ID of the service board, the type of the service board and the high-speed interface information of the service board.
13. The method of claim 1, wherein the information of the master control board comprises:
the slot position ID of the main control board, the type of the main control board and the high-speed interface information of the main control board.
14. A high-speed interface parameter configuration apparatus, comprising:
the first acquisition module is used for acquiring a parameter configuration table by the main control board;
the generating module is used for generating a service board address by the service board;
the second obtaining module is used for the main control board to access the service board based on the service board address to obtain the information of the service board;
the determining module is used for the main control board to search the parameter configuration table based on the information of the main control board and the information of the service board so as to determine a target parameter;
and the configuration module is used for configuring the high-speed interface of the main control board based on the target parameters by the main control board, and configuring the high-speed interface of the service board based on the target parameters by the service board.
15. An electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method of any of claims 1 to 13 when executing the computer program.
16. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method of any of claims 1-13.
CN202210141489.9A 2022-02-16 2022-02-16 High-speed interface parameter configuration method, device, equipment and storage medium Pending CN114500262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210141489.9A CN114500262A (en) 2022-02-16 2022-02-16 High-speed interface parameter configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210141489.9A CN114500262A (en) 2022-02-16 2022-02-16 High-speed interface parameter configuration method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114500262A true CN114500262A (en) 2022-05-13

Family

ID=81480122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210141489.9A Pending CN114500262A (en) 2022-02-16 2022-02-16 High-speed interface parameter configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114500262A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064928A (en) * 2010-12-10 2011-05-18 福建星网锐捷网络有限公司 Method and device for obtaining signal compensating parameters and network equipment
US20120198110A1 (en) * 2011-01-28 2012-08-02 Micro-Star Int'l Co., Ltd. Main board and method for dynamically configuring pcie ports thereof
CN102662896A (en) * 2012-03-30 2012-09-12 中兴通讯股份有限公司 Method and device for automatically adjusting preemphasis parameter and/or equalization parameter
CN105530028A (en) * 2015-11-26 2016-04-27 杭州华为数字技术有限公司 Equalizer configuration method and management module
WO2016150077A1 (en) * 2015-03-23 2016-09-29 中兴通讯股份有限公司 Method and device for parameter processing
CN108039961A (en) * 2017-12-01 2018-05-15 周阳 A kind of apparatus and method for automatically configuring high speed serialization transceiver parameters
CN111030778A (en) * 2019-11-30 2020-04-17 苏州浪潮智能科技有限公司 Parameter self-adaption method, device and equipment of high-speed signal and readable storage medium
CN111522772A (en) * 2020-04-27 2020-08-11 杭州迪普科技股份有限公司 Method and device for configuring service board

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064928A (en) * 2010-12-10 2011-05-18 福建星网锐捷网络有限公司 Method and device for obtaining signal compensating parameters and network equipment
US20120198110A1 (en) * 2011-01-28 2012-08-02 Micro-Star Int'l Co., Ltd. Main board and method for dynamically configuring pcie ports thereof
CN102662896A (en) * 2012-03-30 2012-09-12 中兴通讯股份有限公司 Method and device for automatically adjusting preemphasis parameter and/or equalization parameter
WO2016150077A1 (en) * 2015-03-23 2016-09-29 中兴通讯股份有限公司 Method and device for parameter processing
CN105530028A (en) * 2015-11-26 2016-04-27 杭州华为数字技术有限公司 Equalizer configuration method and management module
CN108039961A (en) * 2017-12-01 2018-05-15 周阳 A kind of apparatus and method for automatically configuring high speed serialization transceiver parameters
CN111030778A (en) * 2019-11-30 2020-04-17 苏州浪潮智能科技有限公司 Parameter self-adaption method, device and equipment of high-speed signal and readable storage medium
CN111522772A (en) * 2020-04-27 2020-08-11 杭州迪普科技股份有限公司 Method and device for configuring service board

Similar Documents

Publication Publication Date Title
US5481674A (en) Method and apparatus mapping the physical topology of EDDI networks
US10204072B2 (en) Method for automatically allocating addresses to similar bus users
US7009995B1 (en) Method and a device for communication among equal-access stations of a ring-shaped serial fiber-optic bus
CN102318322B (en) Device and method for distributing MAC address
CN111510350B (en) Data time-sharing acquisition method and device based on multiple channels
CN112511845B (en) Live broadcast wheat arrangement method, device, server and storage medium
CN109787724B (en) Method and device for determining transmission parameter configuration information and communication system
CN114500262A (en) High-speed interface parameter configuration method, device, equipment and storage medium
CN115529293A (en) Dynamic addressing method and system for combined battery pack
CN116055381A (en) Routing table updating method and device based on many-core system and electronic equipment
CN109861795B (en) CANFD bus system sampling point configuration and test method and corresponding data transmission method
CN112511662B (en) System communication address generation and distribution method and device and air conditioning system
CN112860495A (en) Debugging method of I2C slave device, I2C master device and storage medium
CN111371593B (en) Service deployment method, device, electronic equipment and storage medium
CN116684331A (en) Dual-mode module detection method and device, electronic equipment and storage medium
CN113676795B (en) BOSA automatic calibration and data storage system based on GPON router
CN111541487B (en) Networking method of multimode fiber laser and multimode fiber laser
CN113923073B (en) Method for distributing ID (identity) to CAN (controller area network) bus and CAN bus system
CN112702448A (en) Slave control unit address distribution method and system of battery management system
CN114884770B (en) Multi-machine communication system and communication method based on system bus
US7529268B1 (en) Multi-point electronic control system protocol
CN117591449B (en) Programmable logic device system of substrate and application equipment thereof
CN117768422A (en) Message processing method, device, electronic equipment and medium
CN113124799B (en) Precision detection method, apparatus and computer readable storage medium
CN113791804B (en) Method, device, computer equipment and storage medium for parallel upgrading of multipath instruments

Legal Events

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