CN115237718A - Link loss value confirmation method and device and electronic equipment - Google Patents

Link loss value confirmation method and device and electronic equipment Download PDF

Info

Publication number
CN115237718A
CN115237718A CN202210900046.3A CN202210900046A CN115237718A CN 115237718 A CN115237718 A CN 115237718A CN 202210900046 A CN202210900046 A CN 202210900046A CN 115237718 A CN115237718 A CN 115237718A
Authority
CN
China
Prior art keywords
group
board
connector
board card
loss value
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
CN202210900046.3A
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.)
Lenovo Beijing Information Technology Ltd
Original Assignee
Lenovo Beijing Information Technology 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 Lenovo Beijing Information Technology Ltd filed Critical Lenovo Beijing Information Technology Ltd
Priority to CN202210900046.3A priority Critical patent/CN115237718A/en
Publication of CN115237718A publication Critical patent/CN115237718A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3027Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The present disclosure provides a link loss value confirmation method, device, equipment and storage medium, including: determining at least one group based on the connection relationship between the first group of board cards and each connector in the system and the connection relationship between the second group of board cards and each connector; and/or determining at least one group based on the network information of each board card in the first group of board cards and the network information of each board card in the second group of board cards in the system; determining a loss value of at least one standby link corresponding to the at least one group based on data of each board card in the at least one group and data of a connector corresponding to the at least one group; each group comprises one board card in the first group of board cards and one board card in the second group of board cards, and the board cards in each group are not identical; the standby link comprises a link between a board card in the first group of board cards and a board card in the second group of board cards in each group.

Description

Link loss value confirmation method and device and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for confirming a link loss value, an electronic device, and a storage medium.
Background
In a system-level link, more than two boards are connected through a connector or a Cable, so that signals are transmitted from a transmitting end to a receiving end. In order to ensure the quality of signal transmission, it is necessary to evaluate the loss value (insertion loss) of the system link to determine the material, transmission line and Cable length used by each board card. As the complexity and bandwidth of the system architecture increase, the number and the type of high-speed signals increase, and the connection relationship becomes more complex. It is increasingly important to accurately and rapidly evaluate the loss of the whole link of the system.
Disclosure of Invention
The present disclosure provides a link loss value confirmation method, an apparatus and an electronic device, so as to at least solve the above technical problems in the prior art.
According to a first aspect of the present disclosure, there is provided a link loss value confirmation method, including:
determining at least one group based on the connection relationship between the first group of board cards and each connector in the system and the connection relationship between the second group of board cards and each connector;
and/or determining at least one group based on the network information of each board card in the first group of board cards and the network information of each board card in the second group of board cards in the system;
determining a loss value of at least one standby link corresponding to at least one group based on data of each board card and data of a connector corresponding to the at least one group in the at least one group;
each group comprises one board card in the first group of board cards and one board card in the second group of board cards, and the board cards in each group are not identical; the standby link comprises a link between a board card in the first group of board cards and a board card in the second group of board cards in each group.
In the above scheme, the determining at least one group based on the connection relationship between the first group of boards and each connector and the connection relationship between the second group of boards and each connector in the system includes performing the following operations on the first board in the first group of boards:
determining a first connector connected with a first board card and at least one board card connected with the first connector in the second group of board cards;
determining at least one group based on at least one board card connected with the first connector in the first board card and the second group of board cards; each group of the first group of boards comprises a first board and any board connected with the first connector in the second group of boards.
In the above scheme, the determining at least one group based on the network information of each board card in the first group of board cards and the network information of each board card in the second group of board cards in the system includes performing the following operations on the first board card in the first group of board cards:
confirming network information of a first board card and at least one board card in a second group of board cards, wherein the second group of board cards are the same as the first board card in network information;
determining at least one group based on at least one board card with the same network information as the first board card in the first board card and the second group of board cards; each group of the first group of boards comprises any board card of the first group of boards and the second group of boards, wherein the board card of the second group of boards has the same network information as the first board card.
In the foregoing solution, the determining, based on the data of each board card in the at least one packet and the data of the connector corresponding to the at least one packet, a loss value of at least one spare link corresponding to the at least one packet includes:
determining the line length and the board loss value of each board in the at least one group;
determining a connector cable loss value and the connector loss value corresponding to the at least one packet;
and determining the loss value of the standby link corresponding to each group in the at least one group based on the line length of each board card, the board card loss value of each board card, the cable loss value of the connector and the connector loss value.
In the foregoing solution, the determining the connector cable loss value and the connector loss value corresponding to the at least one packet includes:
determining a wire length between at least one sub-connector comprised by the connector;
determining a corresponding connector cable loss value and the connector loss value in the at least one packet based on a wire length between the at least one sub-connector and a loss value of the at least one sub-connector.
In the foregoing solution, after determining the loss value of at least one backup link corresponding to the at least one packet, the method further includes:
sorting the loss values of the at least one backup link;
and determining the maximum value in the loss values of the at least one standby link as the link loss value of the system.
In the foregoing solution, before determining at least one group based on a connection relationship between a first group of boards and each connector in the system and a connection relationship between a second group of boards and each connector, the method further includes:
acquiring data of each board card in the first group of board cards and each board card in the second group of board cards and data of each connector;
the data of the board card comprises connection information between the board card and each connector, network information of the board card, and line length between the board card and the connected sub-connectors; the connection information comprises the connection relation between the board card and each connector and the identification of the connector connected with the board card.
According to a second aspect of the present disclosure, there is provided a link loss value confirmation apparatus, the apparatus comprising:
the grouping unit is used for determining at least one group based on the connection relationship between the first group of board cards and each connector in the system and the connection relationship between the second group of board cards and each connector; and/or determining at least one group based on the network information of each board card in the first group of board cards and the network information of each board card in the second group of board cards in the system;
the processing unit is used for determining a loss value of at least one standby link corresponding to at least one packet based on data of each board card and data of a connector corresponding to the at least one packet in the at least one packet;
each group comprises one board card in the first group of board cards and one board card in the second group of board cards, and the board cards in each group are not identical; the standby link comprises a link between a board card in the first group of board cards and a board card in the second group of board cards in each group.
In the foregoing solution, the grouping unit is specifically configured to perform the following operations on a first board card in the first group of board cards:
determining a first connector connected with a first board card and at least one board card connected with the first connector in the second group of board cards;
determining at least one group based on at least one board card connected with the first connector in the first board card and the second group of board cards; each group comprises a first board card and any board card connected with the first connector in the second group of board cards.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods of the present disclosure.
The link loss value confirmation method disclosed by the invention is characterized in that at least one group is determined based on the connection relationship between a first group of board cards and each connector in the system and the connection relationship between a second group of board cards and each connector; and/or determining at least one group based on the network information of each board card in the first group of board cards and the network information of each board card in the second group of board cards in the system; determining a loss value of at least one standby link corresponding to at least one group based on data of each board card and data of a connector corresponding to the at least one group in the at least one group; therefore, the loss value of any standby link in the full link can be confirmed, and then the channel with the largest (worst) loss value can be positioned in the subsequent process, so that fine related adjustment is carried out, and the redundant relation is reduced, thereby reducing the cost.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description, which proceeds with reference to the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 illustrates a first alternative flowchart of a link loss value confirmation method provided in an embodiment of the present disclosure;
FIG. 2 illustrates a schematic diagram of a connection provided by an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating a second alternative flow of a link loss value confirmation method provided by an embodiment of the present disclosure;
FIG. 4 illustrates another connection scheme provided by embodiments of the present disclosure;
fig. 5 is a third alternative flowchart of a link loss value confirmation method provided in the embodiment of the present disclosure;
fig. 6 shows a fourth alternative flowchart of a link loss value confirmation method provided by the embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating an alternative structure of a link loss value confirmation apparatus provided in an embodiment of the present disclosure;
fig. 8 shows a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more obvious and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In the related art, the evaluation of the link loss value may include finding the longest link in the transmitting direction or the receiving direction of the a board card, and then finding the longest link in the transmitting direction or the receiving direction of the B board card. And then simply summing according to different plate loss information, and determining as a worst value (worst case) for analysis. The evaluation method does not pay attention to the specific link combination of the board routing and the connector matching, and the design evaluation is often performed, so that the plate cost and the Layout design (Layout) cost are increased. In addition, this manual approach to finding the most degraded channel data consumes a lot of manpower and time.
Aiming at the defects in the related art, the disclosure provides a link loss value confirmation method, which can more quickly and comprehensively realize the total loss evaluation of a full-link high-speed channel and solve part or all of the technical problems.
Fig. 1 shows a first alternative flowchart of a link loss value confirmation method provided by the embodiment of the present disclosure, which will be described according to various steps.
Step S101, determining at least one group based on the connection relationship between the first group of boards and each connector and the connection relationship between the second group of boards and each connector in the system.
In some embodiments, a link loss value confirmation apparatus (hereinafter referred to as an apparatus) determines a first connector connected to a first board and at least one board connected to the first connector in the second group of boards; determining at least one group based on at least one board card connected with the first connector in the first board card and the second group of board cards; each group of the first group of boards comprises a first board and any board connected with the first connector in the second group of boards.
In some embodiments, the first group of boards includes at least one board, each connector in each connector includes at least one sub-connector, and the connection relationship between the first group of boards and each connector may include connection or disconnection between any board in the first group of boards and the sub-connector of each connector; for example, if the board a in the first group of boards is connected to the sub-connector a included in the connector 1, the board a is connected to the connector 1.
In some embodiments, the second group of boards includes at least one board, and the connection relationship between the second group of boards and each connector may include connection or disconnection between any board in the second group of boards and a sub-connector of each connector; for example, if the board B in the second group of boards is connected to the sub-connector B included in the connector 1, the board B is connected to the connector 1.
In some optional embodiments, since the groups are determined based on the connection relationship between the boards and the connectors, each group includes not only the boards in the first group of boards and the boards in the second group of boards, but also the connectors (further, sub-connectors), and in this scenario, each group corresponds to only one spare link.
Fig. 2 shows a schematic connection diagram provided by an embodiment of the present disclosure.
As shown in fig. 2, the connector includes 2 sub-connectors respectively connected to the first set of boards and the second set of boards.
Further, if a first board card in the first group of board cards is connected with the first connector and a second group of board cards comprises a plurality of board cards connected with the first connector, it is determined that any board card connected with the first connector in the first board card and the second group of board cards is a group.
For example, the first board card is connected to the first connector, and in the second group of board cards, the board cards C, D, and E are all connected to the first connector, it is determined that the first board card and the board card C are in one group, the first board card and the board card D are in one group, and the first board card and the board card E are in one group.
Each group comprises one board card in the first group of board cards and one board card in the second group of board cards, and the board cards in each group are not identical; the standby link comprises a link between a board card in the first group of board cards and a board card in the second group of board cards in each group.
That is to say, the link between the first board C and the board D is a standby link, the link between the first board D and the board E is a standby link, and the link between the first board E and the board E is a standby link.
Step S102, determining a loss value of at least one backup link corresponding to the at least one packet based on data of each board card in the at least one packet and data of a connector corresponding to the at least one packet.
In some embodiments, the apparatus determines a line length and a board loss value for each board in the at least one group; determining a connector cable loss value and the connector loss value corresponding to the at least one packet; and determining the loss value of the standby link corresponding to each group in the at least one group based on the line length of each board card, the board card loss value of each board card, the cable loss value of the connector and the connector loss value. The line length of each board card may include a line length between the board card and the connector.
In particular implementation, the apparatus may further determine a length of a wire between at least one sub-connector included in the connector; determining a corresponding connector cable loss value and the connector loss value in the at least one group based on a line length between the at least one sub-connector and a loss value of the at least one sub-connector. The connector cable loss value comprises a cable loss value between any pair of sub-connectors on the connector; the connector loss value includes the loss value of any pair of sub-connectors on the connector.
For example, taking grouping of the board cards a and the board cards B as an example, the board cards a in the first group of board cards are connected with the sub-connector a included in the connector 1, and the board cards B in the second group of board cards are connected with the sub-connector B included in the connector 1, so that the board cards a and the board cards B are grouped together; confirming that the sum of the loss value of the board A and the loss value of the board B is the board loss value; the link length between the board card A and the sub-connector A is the line length of the board card A, and the link length between the board card B and the sub-connector B is the line length of the board card B; the loss value of the cable between the sub-connector A and the sub-connector B is the cable loss value of the connector 1; the loss values of the sub-connector a and the sub-connector B are the loss values of the connector 1.
Therefore, by the link loss value confirmation method provided by the embodiment of the disclosure, the possible grouping is confirmed through the connection relationship, the possible standby link is further confirmed, and the loss value of the standby link is further confirmed.
Fig. 3 shows a second alternative flowchart of the link loss value confirmation method provided by the embodiment of the present disclosure, which will be described according to various steps.
Step S201, determining at least one group based on the network information of each board in the first group of boards in the system and the network information of each board in the second group of boards.
In some embodiments, the link loss value confirmation apparatus confirms the network information of the first board and at least one board in the second group of boards, which has the same network information as the first board; determining at least one group based on at least one board card in the first group of board cards and the second group of board cards, wherein the at least one board card has the same network information as the first board card; each group of the first group of boards comprises any board card of the first group of boards and the second group of boards, wherein the board card of the second group of boards has the same network information as the first board card.
For example, if the network information of the board card a in the first group of board cards is the same as the network information of the board card G and the board card F in the second group of board cards, it is determined that the board card a and the board card G are in a group, and the board card a and the board card F are in a group; in this case, each packet corresponds to at least one backup link.
Fig. 4 shows another connection diagram provided by the embodiments of the present disclosure.
As shown in fig. 4, two boards in each group of boards are connected to multiple connectors, so that each group of boards may correspond to at least one spare link.
Step S202, determining a loss value of at least one backup link corresponding to the at least one packet based on data of each board card in the at least one packet and data of a connector corresponding to the at least one packet.
In some embodiments, the apparatus acknowledges the at least one packet before it acknowledges the corresponding at least one connector for each packet. For example, if the board cards a and G are grouped into one group, the board cards a are connected to the connector 1, the connector 2 and the connector 3, and the board cards G are connected to the connector 1 and the connector 2, it is determined that the connectors corresponding to the group of the board cards a and G are the connector 1 and the connector 2, and it is further determined that at least one backup link corresponding to each group is provided, if the backup links corresponding to the group of the board cards a and G are 2: board card a-connector 1-board card G, and board card a-connector 2-board card G.
In some embodiments, the apparatus determines a line length and a board loss value of each board in the at least one standby link; determining a connector cable loss value and the connector loss value corresponding to the at least one packet; and determining the loss value of the standby link corresponding to each group in the at least one group based on the line length of each board card, the board card loss value of each board card, the connector cable loss value and the connector loss value. The line length of each board card may include a line length between the board card and the connector.
In particular implementations, the apparatus may also determine a wire length between at least one sub-connector included in the connector; determining a corresponding connector cable loss value and the connector loss value in the at least one packet based on a wire length between the at least one sub-connector and a loss value of the at least one sub-connector. The connector cable loss value comprises a cable loss value between any pair of sub-connectors on the connector; the connector loss value includes the loss value of any pair of sub-connectors on the connector.
For example, taking a board card a-connector 1-a standby link corresponding to a board card G as an example, a board card a in the first group of board cards is connected with a sub-connector a included in the connector 1, and a board card G in the second group of board cards is connected with a sub-connector B included in the connector 1; confirming that the sum of the loss value of the board A and the loss value of the board G is the board loss value; the link length between the board card A and the sub-connector A is the line length of the board card A, and the link length between the board card G and the sub-connector B is the line length of the board card G; the loss value of the cable between the sub-connector A and the sub-connector B is the cable loss value of the connector 1; the loss values of the sub-connector a and the sub-connector B are the loss values of the connector 1.
Therefore, by the link loss value confirmation method provided by the embodiment of the disclosure, the possible grouping is confirmed through the network information, the possible standby link is further confirmed, and the loss value of the standby link is further confirmed.
Fig. 5 shows a third alternative flowchart of the link loss value confirmation method provided by the embodiment of the present disclosure, which will be described according to various steps.
Step S301, based on the connection relationship between the first group of boards and each connector in the system and the connection relationship between the second group of boards and each connector, and based on the network information of each board in the first group of boards and the network information of each board in the second group of boards in the system, at least one target group is determined.
In some embodiments, the board M may be connected to the connector 1, the board N is connected to the connector 1, but network information of the board M is different from that of the board N, that is, although the board M and the board N have a connection relationship, a link between the two may not be applied, and if only the connection relationship between the boards is considered, the worst loss value of the finally obtained spare link may be inaccurate.
In some embodiments, the apparatus determines a first connector to which a first board is connected, and at least one board of the second set of boards to which the first connector is connected; determining at least one group based on at least one board card connected with the first connector in the first board card and the second group of board cards; each group comprises a first board card and any board card connected with the first connector in the second group of board cards.
Further, the device confirms at least one group based on the connection relationship between the first group of board cards and each connector and the connection relationship between the second group of board cards and each connector in the system; confirming at least one target group based on the network relationship of the board cards included in the at least one group; specifically, the apparatus confirms that, in the at least one packet, a packet in which the network information of the first group of boards is the same as that of the second group of boards is the target packet.
Step S302, determining a loss value of at least one spare link corresponding to the at least one target packet based on data of each board card in the at least one target packet and data of a connector corresponding to the at least one target packet.
In some embodiments, the apparatus determines a line length and a board loss value of each board in the at least one target group; determining a connector cable loss value and the connector loss value corresponding to the at least one target packet; and determining a loss value of a standby link corresponding to each target group in the at least one target group based on the line length of each board card, the board card loss value of each board card, the cable loss value of the connector and the connector loss value. The line length of each board card may include a line length between the board card and the connector.
In particular implementations, the apparatus may also determine a wire length between at least one sub-connector included in the connector; determining a corresponding connector cable loss value and the connector loss value in the at least one target packet based on the line length between the at least one sub-connector and the loss value of the at least one sub-connector. The connector cable loss value comprises a cable loss value between any pair of sub-connectors on the connector; the connector loss value includes the loss value of any pair of sub-connectors on the connector.
Therefore, by the link loss value confirmation method provided by the embodiment of the disclosure, the connection relationship between the boards and the network information of the boards are comprehensively considered, so that the final grouping or at least one standby link corresponding to the grouping is feasible, the result of the link loss value is more accurate, further fine related adjustment can be performed, redundancy is reduced, and cost is reduced.
Fig. 6 shows a fourth alternative flowchart of a link loss value confirmation method provided by the embodiment of the present disclosure.
Step S401, obtain data of each board card in the first group of board cards and each board card in the second group of board cards, and data of each connector.
In some embodiments, the function of the link loss value confirmation apparatus or the link loss value confirmation method provided in this embodiment of the present disclosure may be implemented based on Python, where the apparatus acquires data of each board card in the first group of board cards and each board card in the second group of board cards, and data of each connector, and specifically may include: storing corresponding data in columns to obtain a plurality of number columns according to the connection relation between each board card and the connector (the affiliated machine position number or the connection relation between the board card and the sub-connector), the network information of each board card, the line length of each board card, the loss value of a connector cable and the loss value of the connector; a card or group of cards, a connector or sub-connector is in a row.
Step S402, analyzing the data of each board card, and determining at least one group according to the network information and/or the connection relation.
In some embodiments, the apparatus parses the data of each board, groups each board in the first group of boards and the second group of boards according to the same network information, and/or groups each board in the first group of boards and the second group of boards according to the connection relationship.
For a specific grouping manner, reference may be made to step S101, step S201, and step S301, and details are not repeated here.
In other embodiments, the device may further perform pairing splitting on the stored number sequences according to the connector type and the connection relationship, and place data of the same interconnection relationship (the same network information) into the same group of number sequences, where each number sequence corresponds to one group.
Step S403, matching the at least one packet, and confirming at least one target packet based on the matching result.
In some embodiments, the device matches the cards and connectors in each group, and confirms that the groups with the same network information and the connection between the cards and the connectors are the target groups.
In other embodiments, the apparatus matches the data in each array, and confirms the array with the same connector and the same network information as the array corresponding to the target packet.
Step S404, determining a loss value of at least one backup link corresponding to the at least one packet based on data of each board card in the at least one target packet and data of a connector corresponding to the at least one packet.
In some embodiments, the apparatus determines a line length and a board loss value for each board in the at least one group; determining a connector cable loss value and the connector loss value corresponding to the at least one packet; and determining the loss value of the standby link corresponding to each group in the at least one group based on the line length of each board card, the board card loss value of each board card, the cable loss value of the connector and the connector loss value. The line length of each board card may include a line length between the board card and the connector.
In particular implementations, the apparatus may also determine a wire length between at least one sub-connector included in the connector; determining a corresponding connector cable loss value and the connector loss value in the at least one packet based on a wire length between the at least one sub-connector and a loss value of the at least one sub-connector. The connector cable loss value comprises a cable loss value between any pair of sub-connectors on the connector; the connector loss value includes the loss value of any pair of sub-connectors on the connector.
In some embodiments, the device associates each set of line length data of the sequence corresponding to each target group with board loss data corresponding to a specific board, board line length, sub-connector, connector cable loss, and determines a loss value for each spare link based thereon. Loss values for all links are determined in this manner.
Step S405, sorting the loss values of the at least one backup link.
In some embodiments, the apparatus orders the loss values of the at least one backup link from high to low; and determining the maximum value in the loss values of the at least one standby link as the link loss value of the system.
Thus, the link loss value confirmation method provided by the embodiment of the disclosure uses the Python program to solve the detailed evaluation of the system full link loss. Compared with the manual speed, the execution efficiency and the calculation speed are obviously improved;
the method can quickly and accurately position the worst channel according to the system full-link summarized data, thereby carrying out fine design adjustment, reducing redundant design and lowering cost.
Fig. 7 is a schematic diagram illustrating an alternative structure of a link loss value confirmation apparatus provided in an embodiment of the present disclosure, which will be described according to various parts.
In some embodiments, the link loss value confirmation apparatus 700 includes a grouping unit 701 and a processing unit 702.
A grouping unit 701, configured to determine at least one group based on a connection relationship between a first group of boards and each connector in the system and a connection relationship between a second group of boards and each connector; and/or determining at least one group based on the network information of each board card in the first group of board cards and the network information of each board card in the second group of board cards in the system;
a processing unit 702, configured to determine, based on data of each board card in the at least one packet and data of a connector corresponding to the at least one packet, a loss value of at least one backup link corresponding to the at least one packet;
each group comprises one board card in the first group of board cards and one board card in the second group of board cards, and the board cards in each group are not identical; the standby link comprises a link between a board card in the first group of board cards and a board card in the second group of board cards in each group.
The grouping unit 701 is specifically configured to perform the following operations on a first board card in the first group of board cards:
determining a first connector connected with a first board card and at least one board card connected with the first connector in the second group of board cards;
determining at least one group based on at least one board card connected with the first connector in the first board card and the second group of board cards; each group of the first group of boards comprises a first board and any board connected with the first connector in the second group of boards.
The grouping unit 701 is specifically configured to perform the following operations on a first board card in the first group of board cards:
confirming network information of a first board card and at least one board card in a second group of board cards, wherein the second group of board cards are the same as the first board card in network information;
determining at least one group based on at least one board card with the same network information as the first board card in the first board card and the second group of board cards; each group of the first group of boards comprises any board card of the first group of boards and the second group of boards, wherein the board card of the second group of boards has the same network information as the first board card.
The processing unit 702 is specifically configured to determine a line length and a board loss value of each board in the at least one group;
determining a connector cable loss value and a connector loss value corresponding to the at least one packet;
and determining the loss value of the standby link corresponding to each group in the at least one group based on the line length of each board card, the board card loss value of each board card, the connector cable loss value and the connector loss value.
The processing unit 702 is specifically configured to determine a wire length between at least one sub-connector included in the connector;
determining a corresponding connector cable loss value and the connector loss value in the at least one group based on a line length between the at least one sub-connector and a loss value of the at least one sub-connector.
The processing unit 702, after determining the loss value of at least one backup link corresponding to the at least one packet, is further configured to order the loss value of the at least one backup link;
and determining the maximum value in the loss values of the at least one standby link as the link loss value of the system.
The grouping unit 701 is further configured to obtain data of each board card in the first group of board cards and each board card in the second group of board cards and data of each connector before determining at least one group based on a connection relationship between the first group of board cards and each connector and a connection relationship between the second group of board cards and each connector in the system;
the data of the board card comprises connection information between the board card and each connector, network information where the board card is located, and line length between the board card and a connected sub-connector; the connection information comprises the connection relation between the board card and each connector and the identification of the connector connected with the board card.
The present disclosure also provides an electronic device and a readable storage medium according to an embodiment of the present disclosure.
FIG. 8 illustrates a schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic apparatus 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the electronic device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 801 performs the respective methods and processes described above, such as the link loss value confirmation method. For example, in some embodiments, the link loss value validation method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 800 via the ROM 802 and/or the communication unit 809. When loaded into RAM 803 and executed by computing unit 801, a computer program may perform one or more steps of the link loss value validation method described above. Alternatively, in other embodiments, the calculation unit 801 may be configured to perform the link loss value validation method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, causes the functions/acts specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server combining a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
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 disclosure, "a plurality" means two or more unless specifically limited otherwise.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method of link loss value validation, the method comprising:
determining at least one group based on the connection relationship between a first group of board cards and each connector in the system and the connection relationship between a second group of board cards and each connector;
and/or determining at least one group based on the network information of each board card in the first group of board cards and the network information of each board card in the second group of board cards in the system;
determining a loss value of at least one standby link corresponding to the at least one group based on data of each board card in the at least one group and data of a connector corresponding to the at least one group;
each group comprises one board card in the first group of board cards and one board card in the second group of board cards, and the board cards in each group are not identical; the standby link comprises a link between a board card in the first group of board cards and a board card in the second group of board cards in each group.
2. The method of claim 1, wherein determining at least one group based on the connection relationships between the first set of boards and the connectors in the system and the connection relationships between the second set of boards and the connectors comprises:
determining a first connector connected with a first board card and at least one board card connected with the first connector in the second group of board cards;
determining at least one group based on at least one board card connected with the first connector in the first board card and the second group of board cards; each group of the first group of boards comprises a first board and any board connected with the first connector in the second group of boards.
3. The method of claim 1 or claim 2, wherein determining at least one group based on the network information for each of the first set of boards in the system and the network information for each of the second set of boards comprises:
confirming network information of a first board card and at least one board card in a second group of board cards, wherein the second group of board cards are the same as the first board card in network information;
determining at least one group based on at least one board card with the same network information as the first board card in the first board card and the second group of board cards; each group of the first group of boards comprises a first board and any board in the second group of boards, wherein the board has the same network information with the first board.
4. The method of claim 1, wherein determining a loss value of at least one backup link corresponding to the at least one packet based on data of each board card and data of a connector corresponding to the at least one packet in the at least one packet comprises:
determining the line length and the board loss value of each board in the at least one group;
determining a connector cable loss value and a connector loss value corresponding to the at least one packet;
and determining the loss value of the standby link corresponding to each group in the at least one group based on the line length of each board card, the board card loss value of each board card, the cable loss value of the connector and the connector loss value.
5. The method of claim 4, the determining the corresponding connector cable loss value and the connector loss value in the at least one packet comprising:
determining a wire length between at least one sub-connector comprised by the connector;
determining a corresponding connector cable loss value and the connector loss value in the at least one packet based on a wire length between the at least one sub-connector and a loss value of the at least one sub-connector.
6. The method of claim 1, after determining the loss value for the at least one backup link for the at least one packet, the method further comprising:
sorting the loss values of the at least one backup link;
and determining the maximum value in the loss values of the at least one standby link as the link loss value of the system.
7. The method of claim 1, before determining at least one group based on the connection relationships between the first set of boards and the connectors and the connection relationships between the second set of boards and the connectors in the system, the method further comprising:
acquiring data of each board card in the first group of board cards and each board card in the second group of board cards and data of each connector;
the data of the board card comprises connection information between the board card and each connector, network information where the board card is located, and line length between the board card and a connected sub-connector; the connection information comprises the connection relation between the board card and each connector and the identifier of the connector connected with the board card.
8. A link loss value confirmation apparatus, the apparatus comprising:
the grouping unit is used for determining at least one group based on the connection relationship between the first group of board cards and each connector in the system and the connection relationship between the second group of board cards and each connector; and/or determining at least one group based on the network information of each board card in the first group of board cards and the network information of each board card in the second group of board cards in the system;
the processing unit is used for determining a loss value of at least one standby link corresponding to at least one packet based on data of each board card and data of a connector corresponding to the at least one packet in the at least one packet;
each group comprises one board card in the first group of board cards and one board card in the second group of board cards, and the board cards in each group are not identical; the standby link comprises a link between a board card in the first group of board cards and a board card in the second group of board cards in each group.
9. The apparatus of claim 8, wherein the grouping unit is specifically configured to perform the following operations for a first board in the first group of boards:
determining a first connector connected with a first board card and at least one board card connected with the first connector in the second group of board cards;
determining at least one group based on at least one board card connected with the first connector in the first board card and the second group of board cards; each group of the first group of boards comprises a first board and any board connected with the first connector in the second group of boards.
10. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
CN202210900046.3A 2022-07-28 2022-07-28 Link loss value confirmation method and device and electronic equipment Pending CN115237718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210900046.3A CN115237718A (en) 2022-07-28 2022-07-28 Link loss value confirmation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210900046.3A CN115237718A (en) 2022-07-28 2022-07-28 Link loss value confirmation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115237718A true CN115237718A (en) 2022-10-25

Family

ID=83678358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210900046.3A Pending CN115237718A (en) 2022-07-28 2022-07-28 Link loss value confirmation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115237718A (en)

Similar Documents

Publication Publication Date Title
CN113795039A (en) Operator network switching method, device, equipment and computer readable storage medium
CN115296905B (en) Data acquisition and analysis method and system based on mobile terminal
EP4080915B1 (en) Connection method and apparatus, electronic device, storage medium and program product
CN115865753A (en) Data processing method and device and electronic equipment
CN115237718A (en) Link loss value confirmation method and device and electronic equipment
CN115408034A (en) Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium
CN111679885B (en) Method, device, medium and electronic equipment for determining virtual machine drift
CN115329597A (en) Method, device and equipment for simulation detection of high-precision map quality
CN115187821A (en) Method for verifying correctness before and after model conversion, related device and program product
CN116050321B (en) Data processing method, device, electronic equipment and storage medium
CN114693116A (en) Method and device for detecting code review validity and electronic equipment
CN113806312A (en) File processing method and device, electronic equipment and storage medium
CN113656286A (en) Software testing method and device, electronic equipment and readable storage medium
CN112835759A (en) Test data processing method and device, electronic equipment and storage medium
CN112925623A (en) Task processing method and device, electronic equipment and medium
CN113407844B (en) Version recommendation method, device and equipment of applet framework and storage medium
CN115293096B (en) Line generation method, device, electronic equipment and storage medium
CN116302897B (en) Data set establishing method and device, electronic equipment and storage medium
CN115292339B (en) Database updating method, device, electronic equipment and storage medium
CN113032040B (en) Method, apparatus, device, medium, and article for processing tasks
CN110647519B (en) Method and device for predicting missing attribute value in test sample
CN113434508B (en) Method and apparatus for storing information
CN114764713A (en) Method and device for generating merchant patrol task, electronic equipment and storage medium
CN118152674A (en) Method, device, equipment and storage medium for determining object position in meta universe
CN114418142A (en) Equipment inspection method and device

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