CN115941465A - Network card configuration method and device, electronic equipment and computer readable storage medium - Google Patents

Network card configuration method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN115941465A
CN115941465A CN202211542717.XA CN202211542717A CN115941465A CN 115941465 A CN115941465 A CN 115941465A CN 202211542717 A CN202211542717 A CN 202211542717A CN 115941465 A CN115941465 A CN 115941465A
Authority
CN
China
Prior art keywords
network card
configuration parameter
cable
configuration
type
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
CN202211542717.XA
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.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information 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 Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202211542717.XA priority Critical patent/CN115941465A/en
Publication of CN115941465A publication Critical patent/CN115941465A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The disclosure provides a network card configuration method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of computers. The network card configuration method comprises the following steps: the network card responds to the configuration instruction, determines the media type of a cable in contact type physical connection with the network card, at least one configuration parameter group is arranged in the network card, the at least one configuration parameter group comprises a first type of configuration parameter group, and the cable is used for physically connecting the network card and the target equipment; the network card determines a first type of configuration parameter group matched with the media type of the cable from at least one configuration parameter group, wherein different media types correspond to different types of configuration parameter groups; and the network card traverses the first type of configuration parameter group and configures the physical connection interface of the network card and the cable so as to facilitate the logical negotiation link between the network card and the target equipment. The embodiment of the disclosure can enable the network card to dynamically configure the physical connection interface according to the type of the cable, so as to improve the compatibility of the logical negotiation link between the network card and the target device.

Description

Network card configuration method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a network card configuration method and apparatus, an electronic device, and a computer-readable storage medium.
Background
In the related art, configuration parameters are usually written in advance in the network card for different interfaces of the network card, so as to implement logical links between the network card and other devices (such as other network cards or switches) through the interfaces.
However, the configuration parameters in the above method are written in the physical memory of the network card and cannot be modified. That is, it is fixed and unchangeable (for example, if it is determined that the interface is connected by configuration a) whether the network card can be logically adapted through which interface and which device, and the devices that the network card can be adapted to are limited because the physical storage space of the network card is limited.
Therefore, the above scenarios limit the application scenarios of the network card, so that the network card can only be connected with fixed and limited devices.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure.
Disclosure of Invention
The present disclosure is directed to a network card configuration method, apparatus, electronic device and computer readable storage medium, which can dynamically adapt different configuration parameter sets according to different cables and devices.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
The embodiment of the disclosure provides a network card configuration method, which includes: the method comprises the steps that a network card responds to a configuration instruction, the media type of a cable in contact type physical connection with the network card is determined, at least one configuration parameter group is arranged in the network card, the at least one configuration parameter group comprises a first type of configuration parameter group, and the cable is used for physically connecting the network card and a target device; determining, by the network card, the first set of configuration parameters matching the media type of the cable from the at least one set of configuration parameters, wherein different media types correspond to different types of sets of configuration parameters; and the network card traverses the first type of configuration parameter group and configures a physical connection interface between the network card and the cable so as to facilitate the logical negotiation link between the network card and the target equipment.
In some embodiments, the first type of configuration parameter set includes a first configuration parameter set and a second configuration parameter set; wherein the step of traversing the first type of configuration parameter set by the network card and configuring a physical connection interface between the network card and the cable, so that the network card and the target device perform logical negotiation link includes: configuring a physical connection interface between the network card and the cable through the configuration parameter group; and if the negotiation link between the network card and the target equipment is unsuccessful under the configuration of the first configuration parameter group, continuing to use the configuration parameter group to configure the physical connection interface between the network card and the cable.
In some embodiments, the first set of configuration parameters comprises at least two cable rate parameters and at least two code error correction configuration parameters; wherein, configuring the physical connection interface between the network card and the cable by the configuration parameter set includes: when the network card configures the physical connection interface between the network card and the cable through the configuration parameter group, switching between the at least two cable speed parameters to determine a cable speed parameter suitable for the cable; when the network card configures the physical connection interface between the network card and the cable through the configuration parameter group, the network card also switches between the at least two encoding error correction configuration parameters to determine the encoding error correction configuration parameters suitable for the cable; and under the condition that the cable speed parameter suitable for the cable exists in the at least two cable speed parameters and the coding error correction configuration parameter suitable for the cable exists in the at least two coding error correction configuration parameters, successfully configuring the physical connection interface of the network card and the cable.
In some embodiments, the network card comprises an interface controller and a processor; the method for determining the media type of the cable in contact type physical connection with the network card by the network card in response to the configuration instruction comprises the following steps: the processor responds to a configuration instruction, and detects that the type of the medium of the cable in contact type physical connection with the network card is an optical fiber type or a copper type through the interface controller; wherein the determining, by the network card, the first type of configuration parameter set matching the media type of the cable in the at least one configuration parameter set comprises: the processor determining, in the at least one set of configuration parameters, the set of configuration parameters of the first type corresponding to the fiber type or the copper type; wherein, the network card traverses the first type of configuration parameter group, and configures a physical connection interface between the network card and the cable, so that the network card and the target device perform logical negotiation link, including: and the processor traverses the first type of configuration parameter group and configures the interface controller so as to facilitate the network card and the target device to perform logic negotiation link.
In some embodiments, before the network card responds to the configuration instruction, the method further comprises: and generating the configuration instruction when the network card is detected to be electrified or the cable plugging operation exists on the network card or the interface controller of the network card is detected to be reset.
In some embodiments, the network card comprises a processor, the processor being a read-write processor; wherein the method further comprises: acquiring a target configuration parameter group corresponding to the target device and the cable under the condition that the network card traverses the configuration parameter group of the first type to configure the physical connection interface of the network card and the cable and the configuration is failed; writing the target configuration parameter group corresponding to the target device and the cable into the processor in the network card, so that the processor configures the physical connection interface between the network card and the cable through the target configuration parameter group, and the network card and the target device perform logical negotiation linking.
In some embodiments, before the network card responds to the configuration instruction, the method further comprises: receiving device configuration parameters corresponding to at least one device, wherein the at least one device comprises the target device; generating at least one configuration parameter group according to different media types of cables and device configuration parameters corresponding to the at least one device, wherein the at least one configuration parameter group comprises the first type configuration parameter group; and writing the at least one configuration parameter group into a processor of the network card, so that the network card configures the network card, the cable and the logic link of the target device according to the at least one configuration parameter group.
The embodiment of the present disclosure provides a network card configuration device, including: the device comprises a media type determining module, a configuration parameter group determining module and a configuration module.
The media type determining module is used for a network card to respond to a configuration instruction and determine the media type of a cable in contact physical connection with the network card, at least one configuration parameter group is arranged in the network card, the at least one configuration parameter group comprises a first type of configuration parameter group, and the cable is used for physically connecting the network card and a target device; the configuration parameter group determining module may be configured to determine, by the network card, the first type of configuration parameter group matching the media type of the cable in the at least one configuration parameter group, where different media types correspond to different types of configuration parameter groups; the configuration module may be configured to, by the network card traversing the first type of configuration parameter group, configure a physical connection interface between the network card and the cable, so that the network card and the target device perform logical negotiation link.
An embodiment of the present disclosure provides an electronic device, including: a memory and a processor; the memory is to store program instructions; the processor calls the program instructions stored in the memory to implement any one of the network card configuration methods.
The embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the network card configuration method according to any one of the above items.
Embodiments of the present disclosure provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the network card configuration method.
The network card configuration method and device, the electronic device and the computer-readable storage medium provided by the embodiment of the disclosure implement logical link between the network card and the target device by identifying the media type of the cable, finding out the first type configuration parameter set matched with the media type of the cable, traversing the first type configuration parameter set, and the like. The embodiment realizes the dynamic configuration of the interface through the network card, and improves the logic compatibility between the network card and the target equipment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 is a schematic diagram illustrating device connection via a network card according to an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating a network card structure according to the related art.
Fig. 3 is a schematic diagram of a web session structure shown in accordance with an exemplary embodiment.
Fig. 4 is a schematic diagram illustrating device connection via a network card according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
Fig. 7 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
Fig. 9 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
Fig. 10 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
Fig. 11 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a network card configuring apparatus according to an example embodiment.
FIG. 13 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The drawings are merely schematic illustrations of the present disclosure, in which the same reference numerals denote the same or similar parts, and thus, a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or micro-interface controller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and steps, nor do they necessarily have to be performed in the order described. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In the description of this application, "/" denotes "or" means, for example, a/B may denote a or B, unless otherwise indicated. "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. Further, "at least one" means one or more, "a plurality" means two or more. The terms "first", "second", and the like do not necessarily limit the number or the execution order, and the terms "first", "second", and the like do not necessarily limit the difference; the terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.
In order that the above objects, features and advantages of the present invention can be more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments, it being understood that the embodiments and features of the embodiments of the present application can be combined with each other without conflict.
Some terms related to the embodiments of the present application will be explained below to facilitate understanding by those skilled in the art.
FPGA: field Programmable Gate Array, field Programmable Gate Array.
NIOS: a soft-core processor running on an (Intel Altera) FPGA.
AOC: active Optical Cables, active Cables, multi-fingered Optical fibers, optical transmission media.
DAC: direct Attach Cable, direct Cable, multi-finger copper Cable, and electric signal transmission medium.
FEC: it is a kind of error correction technique, which is suitable for high-speed communication (25G, 40G, 100G, especially 40G and 100G).
The foregoing describes some of the noun concepts related to embodiments of the present application, and the following describes some features related to embodiments of the present application.
As shown in fig. 1, the network card 102 may be disposed in a hardware device (e.g., a first device 101), and the second device 103 may be linked with the network card to implement communication between the first device and the second device. The network card may be an intelligent network card.
The first device and the second device may be disposed in an ethernet, but the present application does not limit this.
In some embodiments, the first device may be a server in an ethernet, and the second device may be another network card or another hardware device acquired by a switch in the ethernet, which is not limited in this application.
In the related art, an ethernet hardmac may be disposed inside each network card hardware, and the ethernet is a computer local area network technology, which specifies the content of the connection line including the physical layer, the electrical signal and the medium access layer protocol, and is the most commonly used local area network technology. Both the receiving and sending data packets of the network card need to be transmitted to the CPU for processing via ethernet (protocol). The network card may further include an ethernet interface controller (configurable interface) which is a dedicated circuit module, and there may be a large number of registers (tens to hundreds) that need to be configured to meet the requirement.
In the related art, as shown in fig. 2, a network card 202 in a first device 201 (which may be, for example, a server) may be configured with an ASIC chip 204 (an application specific integrated circuit), and the configuration information of an interface controller 203 (such as an ethernet interface controller) may be solidified in the ASIC chip by using physical logic, so as to configure the interface controller 203 when necessary, thereby realizing logical connection with other devices through an interface. However, the configuration information in the method is fixedly written in the ASIC chip through physical logic, and cannot be reconfigured unless the ASIC chip is reflowed, and the method occupies the physical storage space of the ASIC chip, so that the types of devices which can be adapted by the network card are limited. The manner of using physical logic to configure parameters in fig. 2 is generally applicable to static configuration, i.e. specifying an optimal set of parameters to write into the configuration flow. This has the advantage of simplicity, but the disadvantages are also evident, the extension of compatibility is limited and flexibility is poor.
In this embodiment, as shown in fig. 3, an FPGA (field programmable logic device) chip may be set in the network card 302 of the first device 301, and a soft-core processor 304 is set in the FPGA chip, and then the configuration information of the interface controller is written into the soft-core processor 304 in advance, so that the interface controller 303 is configured by using the configuration information in the soft-core processor when necessary.
In some embodiments, the internal control logic of the FPGA chip may set related parameters to successfully negotiate and link with an external peer network card or a switch device, thereby performing data interaction.
FIG. 4 is a diagram illustrating a device connection architecture in accordance with an exemplary embodiment. As shown in fig. 4, an intelligent network card 402 may be installed on a first device 401 (e.g., a server), and the following two components are configured on the intelligent network card 402: an interface controller 403 (such as an ethernet interface controller) and a nios soft-core processor 404. The Ethernet controller is a hard core IP provided by Intel and can be instantiated in engineering for direct use, and the nios soft core processor is a configurable processor which is developed based on C language and optimized by programmable logic. A second device 405 (e.g., a switch) may be connected (including both physically and logically) to network card 402 through ethernet controller 403. The second device can be physically connected with the network card in advance through a cable and an interface; the network card then configures the connection interface so that the second device negotiates a link with the network card logic.
The network card configures the connection interface, so that a specific process of the second device and the network card logically negotiating and linking may include the following embodiments.
Fig. 5 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
Referring to fig. 5, a network card configuration method provided by the embodiment of the present disclosure may include the following steps.
Step S502, the network card responds to the configuration instruction, determines the media type of the cable in contact type physical connection with the network card, at least one configuration parameter group is arranged in the network card, the at least one configuration parameter group comprises a first type configuration parameter group, and the cable is used for physically connecting the network card and the target device.
The network card may refer to an intelligent network card, and the intelligent network card may refer to a high-performance access card with a network processor as a core.
In some embodiments, the configuration instruction may be generated when it is detected that the network card is powered on (i.e., the device where the network card is located is powered on), or there is a cable plugging operation on the network card, or an interface controller of the network card is reset.
In some embodiments, the network card may detect the media type of the cable directly connected to the network card in response to the configuration command, for example, the network card may detect the media type of the cable inserted into the network card. The cables may include optical fiber cables, copper cables, etc., and the present application is not limited thereto.
In some embodiments, the cable may be used to physically connect the network card to a target device, which may be the second device 405 in fig. 4. It can be understood that, if the network card is required to communicate with the target device, the network card is further required to be controlled to perform a logical negotiation link with the target device after the network card is physically connected with the target device.
In some embodiments, interface configuration information (e.g., at least one configuration parameter group) corresponding to all devices that need to be connected to the network card may be pre-stored in the network card.
It can be understood that if the same device is connected to the network card through different cables, the information in the corresponding interface configuration parameter set may be different. Therefore, the same device can correspond to different sets of configuration parameters due to different connection cables.
Step S504, the network card determines a first type of configuration parameter set matching the media type of the cable in the at least one configuration parameter set, wherein different media types correspond to different types of configuration parameter sets.
In some embodiments, a first type configuration parameter set matching the media type of the cable may be determined in the at least one configuration parameter set.
Step S506, the network card traverses the first type of configuration parameter set, and configures the physical connection interface between the network card and the cable, so that the network card and the target device perform logical negotiation link.
In some embodiments, the traversal may be performed in the first type of configuration parameter set, and the physical connection interface between the cable and the network card is configured using the traversal result until the configuration parameter set matching the target device is found in the first type of configuration parameter set, so that the network card and the target device perform a logical negotiation link.
The network card configuration method provided by the embodiment of the disclosure realizes logical link between the network card and the target device by identifying the media type of the cable, finding out the first type configuration parameter group matched with the media type of the cable, traversing the first type configuration parameter group, and the like. The embodiment realizes the dynamic configuration of the interface through the network card, and improves the logic compatibility between the network card and the target equipment.
Fig. 6 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
In some embodiments, the first type of configuration parameter set may include a first configuration parameter set and a second configuration parameter set.
Referring to fig. 6, the network card configuration method may include the following steps.
Step S602, the network card determines, in response to the configuration instruction, a media type of a cable physically connected to the network card in a contact manner, where at least one configuration parameter group is set in the network card, the at least one configuration parameter group includes a first type of configuration parameter group, and the cable is used to physically connect the network card and the target device.
Step S604, the network card determines a first type of configuration parameter set matching the media type of the cable from the at least one configuration parameter set, where the first type of configuration parameter set includes a first configuration parameter set and a second configuration parameter set, and different media types correspond to different types of configuration parameter sets.
The network card may traverse the first type of configuration parameter group to configure the physical connection interface between the network card and the cable, which may specifically include the following steps.
Step S606, configure the physical connection interface between the network card and the cable by the configuration parameter set.
Step S608, if the negotiation link between the network card and the target device is unsuccessful under the configuration of the first configuration parameter group, continuing to configure the physical connection interface between the network card and the cable by using the second configuration parameter group.
In some embodiments, if the network card does not negotiate with the target device successfully under the configuration of the configuration parameter group one, the network card continues to be configured with the physical connection interface of the network card and the cable by using the configuration parameter group one.
In the embodiment, the first configuration parameter group and the second configuration parameter group in the first type configuration parameter group are configured for the physical connection interface between the network card and the cable, so that the logical negotiation link between the network card and the target device is realized, and the compatibility of the network card is improved.
Fig. 7 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
In some embodiments, the first set of configuration parameters may include at least two cable rate parameters and at least two code error correction configuration parameters.
Referring to fig. 7, a configuration method for configuring a network card by a configuration parameter set may include the following steps.
Step S702, when the network card configures the physical connection interface between the network card and the cable through the configuration parameter set, the network card switches between at least two cable speed parameters to determine the cable speed parameter suitable for the cable.
Step S704, when the network card configures the physical connection interface between the network card and the cable through the configuration parameter set, the network card further switches between at least two encoding error correction configuration parameters to determine the encoding error correction configuration parameters suitable for the cable.
Step S706, successfully configuring the physical connection interface between the network card and the cable when the cable rate parameter suitable for the cable exists in the at least two cable rate parameters and the code error correction configuration parameter suitable for the cable exists in the at least two code error correction configuration parameters.
In the above embodiment, the configuration of the physical connection interface between the network card and the cable is realized by switching the cable rate parameter and the coding error correction parameter, so as to determine whether the configuration of the physical connection interface between the network card and the cable is successful.
Fig. 8 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
In some embodiments, the network card may include an interface controller and a processor (such as interface controller 403 and soft-core processor 404 shown in fig. 4).
Referring to fig. 8, the network card configuration method may include the following processes.
Step S802, the processor of the network card responds to the configuration instruction, and detects that the media type of the cable in contact type physical connection with the network card is an optical fiber type or a copper type through the interface controller.
Step S804, the processor of the network card determines a first type of configuration parameter set corresponding to the fiber type or the copper type in the at least one configuration parameter set.
Step S806, the processor of the network card traverses the first type of configuration parameter set, and configures the interface controller of the network card, so that the network card and the target device perform logical negotiation link.
In the above embodiment, on one hand, at least one configuration parameter group is written into the processor, so that the configuration parameter group no longer occupies the physical content of the network card, thereby optimizing the use condition of the physical memory of the network card; on the other hand, the dynamic configuration of the interface is realized through the network card, and the logic compatibility between the network card and the target equipment is improved.
Fig. 9 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
In some embodiments, the network card may include a processor, which may be a read-write processor.
Referring to fig. 9, the network card configuration method may include the following steps.
Step S902, the network card determines, in response to the configuration instruction, a media type of a cable physically connected to the network card in a contact manner, where at least one configuration parameter group is set in the network card, the at least one configuration parameter group includes a first type of configuration parameter group, and the cable is used to physically connect the network card and the target device.
Step S904, the network card determines a first type of configuration parameter set matching the media type of the cable in the at least one configuration parameter set, wherein different media types correspond to different types of configuration parameter sets.
Step S906, the network card traverses the first type of configuration parameter set, and configures a physical connection interface between the network card and the cable, so that the network card and the target device perform a logical negotiation link.
Step S908, when the network card traverses the first type of configuration parameter set, and the configuration of the physical connection interface between the network card and the cable fails, acquiring a target configuration parameter set corresponding to the target device and the cable.
Step S910, writing the target configuration parameter set corresponding to the target device and the cable into a processor in the network card, so that the processor configures the physical connection interface between the network card and the cable through the target configuration parameter set, so as to perform logical negotiation link between the network card and the target device.
In the embodiment, when the physical connection interface configuration fails to be configured by traversing at least one configuration parameter group, the target configuration parameter group corresponding to the target device is acquired, and the target configuration parameter group is written into the processor of the network card, so that the interface configuration is performed on the cable corresponding to the target device (or the device of the same type as the target device) next time.
Fig. 10 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
In some embodiments, the network card configuration method described above may be performed before the network card responds to the configuration instruction.
Referring to fig. 10, the network card configuration method may include the following steps.
Step S1002, receiving device configuration parameters corresponding to at least one device, where the at least one device includes a target device.
Step S1004, generating at least one configuration parameter group according to different media types of the cable and device configuration parameters corresponding to the at least one device, where the at least one configuration parameter group includes a first type configuration parameter group.
Step S1006, writing the at least one configuration parameter group into the processor of the network card, so that the network card configures the network card, the cable, and the logical link of the target device according to the at least one configuration parameter group.
In the embodiment, the configuration parameters of all the devices which are possibly connected with the network card can be dynamically written into the network card in advance, so that the network card can dynamically configure the connection interface when the devices are connected with the network card, and the compatibility of the network card is improved.
Fig. 11 is a flowchart illustrating a network card configuration method according to an exemplary embodiment.
In some embodiments, as shown in fig. 4, a network card may be disposed on a first device (e.g., a server), the network card may include an interface controller (e.g., an ethernet interface controller) and a soft-core processor (e.g., a nios soft-core processor), and a second device may be physically and logically connected to the network card through the interface controller.
In some embodiments, before the following network card configuration method is performed, the corresponding configuration parameter sets of each device (e.g., a switch) that needs to be connected to the network card under different cable types (which may include, for example, an optical fiber type cable and a copper type cable) may be written into the network card through a read-write technology.
Referring to fig. 11, the network card configuration method may include the following steps.
S1101, electrifying the intelligent network card, integrally resetting the Ethernet controller or detecting hot plug of the cable.
Under the three conditions that the first equipment (such as a server) is started, so that the intelligent network card is electrified, the cable module DAC (copper cable)/AOC (optical fiber) is plugged and pulled or the interface controller is reset, the nios soft-core processor starts to work.
S1102, judging whether the cable type is an optical fiber type or a copper type.
The nios soft core processor reads relevant register parameters by controlling the Ethernet controller to detect the quality type of a cable connected with the network card and determine whether the cable is a DAC (copper cable) or an AOC (optical fiber).
In some embodiments, if it is determined that the cable is an optical fiber cable, steps S1103 to S1109 are performed; if the cable is a copper cable, step S1110 to step S1116 are performed.
When configuring An interface corresponding to the optical fiber cable, the configuration parameter group A1 to An may be traversed to configure the interface until a configuration parameter group that enables the logical link between the network card and the second device to be successful is found.
Referring to fig. 11, steps S1103 to S1109 may include the following processes.
S1103, configure the parameter group A1.
If it is detected that it is an AOC cable, configuration of the already prepared parameter set A1 is started.
S1104, the switching of the rate and the error correction configuration parameter support is carried out, and whether the link is successful is judged.
And after the parameter configuration is finished, switching the cable rate (25G/10G) and FEC (code error correction) related configuration, exiting the loop if the link with the current second device (such as a switch) is successful, otherwise, continuing to execute the step S1105.
S1105, configure parameter set A2.
Similarly, if the connection with the current second device via the configuration parameter set A2 is successful, the loop can be exited, otherwise, the next round of parameter set configuration is continued.
S1106, performs rate and error correction configuration parameter support switching, and determines whether the link is successful.
S1107, performs rate and error correction configuration parameter support switching, and determines whether the link is successful.
S1108, a parameter group An is configured.
S1109, carrying out rate and error correction configuration parameter support switching, and judging whether the link is successful.
It will be appreciated that since all of the second devices have been previously docked, it is inevitable that the linking will succeed on some set of parameters therein.
In some embodiments, the configuration parameter set corresponding to the copper cable may include configuration parameter sets B1 to Bn, and when an interface corresponding to the copper cable is configured, the interface may be configured by traversing the configuration parameter sets B1 to Bn until a configuration parameter set that enables the network card and the second device to be successfully linked is found.
Referring to fig. 11, steps S1110 to S1116 may include the following processes.
S1110, configure parameter set B1.
Similarly, if the DAC cable is detected, the already prepared parameter set B1 is configured, and the subsequent configuration process is similar to the above AOC cable, and will not be described here again.
S1111, carrying out rate and error correction configuration parameter support switching, and judging whether the link is successful.
S1112, configuring parameter group B2
S1113, the support of the rate and the error correction configuration parameters is switched, and whether the link is successful is judged.
S1114 performs rate and error correction configuration parameter support switching, and determines whether the link is successful.
And S1115, configuring the parameter group Bn.
S1116, perform rate and error correction configuration parameter support switching, and determine whether the link is successful.
In some embodiments, if a second device type is newly added in the middle of the process, and all parameter sets corresponding to the second device and the cable media types fail to be linked, a configuration parameter set corresponding to the second device needs to be obtained, and the configuration parameter set is written into the network card by encoding, and the technical solution corresponding to the embodiment shown in fig. 11 is executed again.
The technical scheme provided by the embodiment designs an improved method aiming at the problem of insufficient compatibility of the Ethernet interface in the current intelligent network card. The method adds a nios soft core processor in the hardware, and configures a plurality of groups of parameter configurations required to be used by the Ethernet controller according to a certain flow, thereby improving the compatibility of the intelligent network card port and the switch auto-negotiation.
Based on the same inventive concept, the embodiment of the present disclosure further provides a network card configuration device, such as the following embodiments. Because the principle of the embodiment of the apparatus for solving the problem is similar to that of the embodiment of the method, the embodiment of the apparatus can be implemented by referring to the implementation of the embodiment of the method, and repeated details are not described again.
Fig. 12 is a block diagram illustrating a network card configuring apparatus according to an example embodiment. Referring to fig. 12, a network card configuration device 1200 provided in the embodiment of the present disclosure may include: a media type determination module 1201, a configuration parameter set determination module 1202, and a configuration module 1203.
The media type determining module 1201 may be configured to, in response to a configuration instruction, determine a media type of a cable physically connected to a network card in a contact manner, where the network card is provided with at least one configuration parameter group, the at least one configuration parameter group includes a first type of configuration parameter group, and the cable is used to physically connect the network card and a target device; the configuration parameter set determining module 1202 may be configured for the network card to determine a first type of configuration parameter set matching a media type of the cable from among at least one configuration parameter set, where different media types correspond to different types of configuration parameter sets; the configuration module 1203 may be configured to traverse the first type of configuration parameter group by the network card, and configure a physical connection interface between the network card and the cable, so that the network card and the target device perform a logical negotiation link.
It should be noted here that the media type determining module 1201, the configuration parameter group determining module 1202, and the configuration module 1203 correspond to S502 to S506 in the method embodiment, and the modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the method embodiment. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
In some embodiments, the first type of configuration parameter set includes configuration parameter set one and configuration parameter set two; the configuration module 1203 may include: a configuration unit and a configuration failure unit.
The configuration parameter group one configuration unit can be used for configuring a physical connection interface of the network card and the cable through the configuration parameter group; the configuration failure unit may be configured to continue to use the configuration parameter group to configure the physical connection interface between the network card and the cable if the negotiation link between the network card and the target device is unsuccessful under the configuration of the configuration parameter group one.
In some embodiments, the first set of configuration parameters comprises at least two cable rate parameters and at least two code error correction configuration parameters; wherein, the configuration unit for configuring parameter group may include: the device comprises a rate parameter switching unit, an error correction configuration parameter switching unit and a configuration success determining unit.
The speed parameter switching unit can be used for switching between at least two cable speed parameters when the network card configures the physical connection interface between the network card and the cable through the configuration parameter group so as to determine the cable speed parameter suitable for the cable; the error correction configuration parameter switching unit may be configured to, when the network card configures the physical connection interface between the network card and the cable through the configuration parameter group, switch between at least two encoding error correction configuration parameters to determine an encoding error correction configuration parameter suitable for the cable; the configuration success determining unit may be configured to successfully configure the physical connection interface between the network card and the cable when a cable rate parameter suitable for the cable exists in the at least two cable rate parameters and a coding error correction configuration parameter suitable for the cable exists in the at least two coding error correction configuration parameters.
In some embodiments, the network card comprises an interface controller and a processor; the media type determining module 1201 may include: a type determination unit; the configuration parameter group determining module 1202 may include: a configuration parameter group determination unit; the configuration module 1203 may include: and configuring the unit.
The type determining unit may be configured to detect, by the processor in response to the configuration instruction, that a media type of a cable physically connected to the network card in a contact manner is an optical fiber type or a copper type; the configuration parameter set determining unit may be configured to determine, by the processor, a first type of configuration parameter set corresponding to a fiber type or a copper type in the at least one configuration parameter set; the configuration unit may be configured to, by the processor, traverse the first type of configuration parameter set, configure the interface controller so that the network card performs a logical negotiation link with the target device.
In some embodiments, the network card configuration device may further include a configuration instruction generation module; the configuration instruction generating module may be configured to generate the configuration instruction when the network card is detected to be powered on or a cable plugging operation exists on the network card or an interface controller of the network card is reset before the network card responds to the configuration instruction.
In some embodiments, the network card includes a processor, the processor being a read-write processor; wherein, the network card configuration device may further include: the device comprises a target configuration parameter group acquisition module and a target configuration parameter group writing module.
The target configuration parameter group acquiring module may be configured to acquire a target configuration parameter group corresponding to the target device and the cable when the network card traverses the first type of configuration parameter group and configures a physical connection interface between the network card and the cable and the configuration fails; the target configuration parameter group writing module may be configured to write a target configuration parameter group corresponding to the target device and the cable into a processor in the network card, so that the processor configures a physical connection interface between the network card and the cable through the target configuration parameter group, so that the network card and the target device perform logical negotiation linking.
In some embodiments, the network card configuring device may further include: the device comprises a device configuration parameter receiving module, at least one configuration parameter group generating module and at least one configuration parameter group writing module.
Wherein, the device configuration parameter receiving module is used for responding to the configuration instruction before the network card responds to the configuration instruction
Receiving device configuration parameters corresponding to at least one device, wherein the at least one device comprises a target device; the at least one configuration parameter group generating module is used for generating at least one configuration parameter group according to different media types of the cable and device configuration parameters corresponding to at least one device, wherein the at least one configuration parameter group comprises a first type configuration parameter group; the at least one configuration parameter group writing module is used for writing the at least one configuration parameter group into a processor of the network card, so that the network card configures the network card, the cable and the logical link of the target device according to the at least one configuration parameter group.
Since the functions of the apparatus 1200 have been described in detail in the corresponding method embodiments, the disclosure is not repeated herein.
The modules and/or units described in the embodiments of the present application may be implemented by software or hardware. The described modules and/or units may also be provided in a processor. Wherein the designation of such a module and/or unit does not in some way constitute a limitation on the module and/or unit itself.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
FIG. 13 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. It should be noted that the electronic device 1300 shown in fig. 13 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present disclosure.
As shown in fig. 13, the electronic apparatus 1300 includes a Central Processing Unit (CPU) 1301 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1302 or a program loaded from a storage portion 1308 into a Random Access Memory (RAM) 1303. In the RAM 1303, various programs and data necessary for the operation of the electronic apparatus 1300 are also stored. The CPU 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304. An input/output (I/O) interface 1305 is also connected to bus 1304.
The following components are connected to the I/O interface 1305: an input portion 1306 including a keyboard, a mouse, and the like; an output section 1307 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1308 including a hard disk and the like; and a communication section 1309 including a network interface card such as a LAN card, a modem, or the like. The communication section 1309 performs communication processing via a network such as the internet. A drive 1310 is also connected to the I/O interface 1305 as needed. A removable medium 1311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1310 as necessary, so that a computer program read out therefrom is mounted into the storage portion 1308 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications component 1309 and/or installed from removable media 1311. The computer program executes the above-described functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 1301.
It should be noted that the computer readable storage medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having 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 portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
As another aspect, the present application also provides a computer-readable storage medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable storage medium carries one or more programs which, when executed by a device, cause the device to perform functions including: the network card responds to a configuration instruction, determines the media type of a cable in contact physical connection with the network card, at least one configuration parameter group is arranged in the network card, the at least one configuration parameter group comprises a first type of configuration parameter group, and the cable is used for physically connecting the network card and the target equipment; the network card determines a first type of configuration parameter group matched with the media type of the cable in at least one configuration parameter group, wherein different media types correspond to different types of configuration parameter groups; and the network card traverses the first type of configuration parameter group, and configures a physical connection interface between the network card and the cable so as to perform logical negotiation link between the network card and the target device.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations of the embodiments described above.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, the technical solution of the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computing device (which may be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present disclosure, such as the steps shown in one or more of fig. 5 to 11.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the disclosure is not limited to the details of construction, the arrangements of the drawings, or the manner of implementation that have been set forth herein, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A network card configuration method is characterized by comprising the following steps:
the method comprises the steps that a network card responds to a configuration instruction, the media type of a cable in contact type physical connection with the network card is determined, at least one configuration parameter group is arranged in the network card, the at least one configuration parameter group comprises a first type of configuration parameter group, and the cable is used for physically connecting the network card and a target device;
the network card determines the first type of configuration parameter group matched with the media type of the cable in the at least one configuration parameter group, wherein different media types correspond to different types of configuration parameter groups;
and the network card traverses the first type of configuration parameter group and configures a physical connection interface between the network card and the cable so as to facilitate the logical negotiation link between the network card and the target equipment.
2. The method of claim 1, wherein the first type of configuration parameter set comprises a first configuration parameter set and a second configuration parameter set; wherein the step of traversing the first type of configuration parameter set by the network card and configuring a physical connection interface between the network card and the cable, so that the network card and the target device perform logical negotiation link includes:
configuring a physical connection interface between the network card and the cable through the configuration parameter group;
and if the negotiation link between the network card and the target equipment is unsuccessful under the configuration of the first configuration parameter group, continuing to use the configuration parameter group to configure the physical connection interface between the network card and the cable.
3. The method of claim 2, wherein the first configuration parameter set comprises at least two cable rate parameters and at least two code error correction configuration parameters; wherein, configuring the physical connection interface between the network card and the cable by the configuration parameter group includes:
when the network card configures the physical connection interface between the network card and the cable through the configuration parameter group, switching between the at least two cable speed parameters to determine a cable speed parameter suitable for the cable;
when the network card configures the physical connection interface between the network card and the cable through the configuration parameter group, the network card also switches between the at least two encoding error correction configuration parameters to determine the encoding error correction configuration parameters suitable for the cable;
and under the condition that the cable speed parameter suitable for the cable exists in the at least two cable speed parameters and the coding error correction configuration parameter suitable for the cable exists in the at least two coding error correction configuration parameters, successfully configuring the physical connection interface of the network card and the cable.
4. The method of claim 1, wherein the network card comprises an interface controller and a processor; the method for determining the media type of the cable in contact type physical connection with the network card by the network card in response to the configuration instruction comprises the following steps:
the processor responds to a configuration instruction, and detects that the type of a medium of a cable in contact type physical connection with the network card is an optical fiber type or a copper type through the interface controller;
wherein the determining, by the network card, the first type of configuration parameter set matching the media type of the cable in the at least one configuration parameter set comprises:
the processor determining the first type of configuration parameter set corresponding to the fiber type or the copper type in the at least one configuration parameter set;
wherein, the traversing, by the network card, the first type of configuration parameter set, and configuring a physical connection interface between the network card and the cable, so that the network card and the target device perform logical negotiation linking, includes:
and the processor traverses the first type of configuration parameter group and configures the interface controller so as to facilitate the network card and the target device to perform logic negotiation link.
5. The method of claim 1, wherein before the network card responds to the configuration instruction, the method further comprises:
and generating the configuration instruction when the network card is detected to be electrified or the cable plugging operation exists on the network card or the interface controller of the network card is detected to be reset.
6. The method of claim 1, wherein the network card comprises a processor, and wherein the processor is a read-write processor; wherein the method further comprises:
when the network card traverses the configuration parameter group of the first type to configure the physical connection interface between the network card and the cable and the configuration fails, acquiring a target configuration parameter group corresponding to the target device and the cable;
and writing the target configuration parameter group corresponding to the target device and the cable into the read-write processor in the network card, so that the read-write processor configures a physical connection interface between the network card and the cable through the target configuration parameter group, and the network card and the target device perform logical negotiation link.
7. The method of claim 1, wherein before the network card responds to the configuration instruction, the method further comprises:
receiving device configuration parameters corresponding to at least one device, wherein the at least one device comprises the target device;
generating at least one configuration parameter group according to different media types of cables and device configuration parameters corresponding to the at least one device, wherein the at least one configuration parameter group comprises the first type configuration parameter group;
and writing the at least one configuration parameter group into a processor of the network card, so that the network card configures the network card, the cable and the logic link of the target device according to the at least one configuration parameter group.
8. A network card configuration apparatus, comprising:
a media type determining module, configured to, by a network card in response to a configuration instruction, determine a media type of a cable physically connected to the network card in a contact manner, where the network card is provided with at least one configuration parameter group, where the at least one configuration parameter group includes a first type of configuration parameter group, and the cable is used to physically connect the network card and a target device;
a configuration parameter set determining module, configured to determine, by the network card, the first type of configuration parameter set that matches the media type of the cable in the at least one configuration parameter set, where different media types correspond to different types of configuration parameter sets;
and the configuration module is used for traversing the first type of configuration parameter group by the network card and configuring a physical connection interface between the network card and the cable so as to facilitate the logical negotiation link between the network card and the target equipment.
9. An electronic device, comprising:
a memory; and
a processor coupled to the memory, the processor being configured to perform the network card configuration method of any of claims 1-7 based on instructions stored in the memory.
10. A computer-readable storage medium having stored thereon program instructions which, when executed by a processor, implement the network card configuration method according to any one of claims 1 to 7.
CN202211542717.XA 2022-12-02 2022-12-02 Network card configuration method and device, electronic equipment and computer readable storage medium Pending CN115941465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211542717.XA CN115941465A (en) 2022-12-02 2022-12-02 Network card configuration method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211542717.XA CN115941465A (en) 2022-12-02 2022-12-02 Network card configuration method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115941465A true CN115941465A (en) 2023-04-07

Family

ID=86697387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211542717.XA Pending CN115941465A (en) 2022-12-02 2022-12-02 Network card configuration method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115941465A (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6516352B1 (en) * 1998-08-17 2003-02-04 Intel Corporation Network interface system and method for dynamically switching between different physical layer devices
CN101175226A (en) * 2006-10-31 2008-05-07 美国博通公司 Method and system for automatic cat cable configuration
CN101207290A (en) * 2006-12-19 2008-06-25 美国博通公司 System and method for power supply of Ethernet
CN102098178A (en) * 2006-12-19 2011-06-15 美国博通公司 Cable diagnosis system, method and system for configuring Ethernet port
WO2013120340A1 (en) * 2012-02-16 2013-08-22 华为技术有限公司 Port configuration method, device and frame-type communication apparatus for network interface module
CN103558812A (en) * 2013-08-29 2014-02-05 清华大学 MVB class 4 device network card based on FPGA and ARM
CN103795701A (en) * 2012-10-30 2014-05-14 富士施乐株式会社 Information processing apparatus and method
US20140372631A1 (en) * 2013-06-12 2014-12-18 International Business Machines Corporation Adaptive cable interface
US9166947B1 (en) * 2012-11-21 2015-10-20 Amazon Technologies, Inc. Maintaining private connections during network interface reconfiguration
CN106789152A (en) * 2016-11-17 2017-05-31 东软集团股份有限公司 Processor extended method and device based on many queue network interface cards
CN108243027A (en) * 2016-12-23 2018-07-03 大唐移动通信设备有限公司 A kind of port initialization method and device
CN108712290A (en) * 2018-05-25 2018-10-26 北京无线电测量研究所 network card driving method, device and storage medium
CN109586956A (en) * 2018-11-16 2019-04-05 上海博达数据通信有限公司 A kind of the FCoE interchanger and method of flexibly configurable port
CN109787818A (en) * 2018-12-28 2019-05-21 联想(北京)有限公司 A kind of interface configuration regulating method, device and electronic equipment
CN111030778A (en) * 2019-11-30 2020-04-17 苏州浪潮智能科技有限公司 Parameter self-adaption method, device and equipment of high-speed signal and readable storage medium
CN112448839A (en) * 2019-09-05 2021-03-05 中移(苏州)软件技术有限公司 Network card configuration method and device and computer storage medium
US11218394B1 (en) * 2019-09-30 2022-01-04 Amazon Technologies, Inc. Dynamic modifications to directional capacity of networking device interfaces

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6516352B1 (en) * 1998-08-17 2003-02-04 Intel Corporation Network interface system and method for dynamically switching between different physical layer devices
CN101175226A (en) * 2006-10-31 2008-05-07 美国博通公司 Method and system for automatic cat cable configuration
CN101207290A (en) * 2006-12-19 2008-06-25 美国博通公司 System and method for power supply of Ethernet
CN102098178A (en) * 2006-12-19 2011-06-15 美国博通公司 Cable diagnosis system, method and system for configuring Ethernet port
WO2013120340A1 (en) * 2012-02-16 2013-08-22 华为技术有限公司 Port configuration method, device and frame-type communication apparatus for network interface module
CN103795701A (en) * 2012-10-30 2014-05-14 富士施乐株式会社 Information processing apparatus and method
US9166947B1 (en) * 2012-11-21 2015-10-20 Amazon Technologies, Inc. Maintaining private connections during network interface reconfiguration
US20140372631A1 (en) * 2013-06-12 2014-12-18 International Business Machines Corporation Adaptive cable interface
CN103558812A (en) * 2013-08-29 2014-02-05 清华大学 MVB class 4 device network card based on FPGA and ARM
CN106789152A (en) * 2016-11-17 2017-05-31 东软集团股份有限公司 Processor extended method and device based on many queue network interface cards
CN108243027A (en) * 2016-12-23 2018-07-03 大唐移动通信设备有限公司 A kind of port initialization method and device
CN108712290A (en) * 2018-05-25 2018-10-26 北京无线电测量研究所 network card driving method, device and storage medium
CN109586956A (en) * 2018-11-16 2019-04-05 上海博达数据通信有限公司 A kind of the FCoE interchanger and method of flexibly configurable port
CN109787818A (en) * 2018-12-28 2019-05-21 联想(北京)有限公司 A kind of interface configuration regulating method, device and electronic equipment
CN112448839A (en) * 2019-09-05 2021-03-05 中移(苏州)软件技术有限公司 Network card configuration method and device and computer storage medium
US11218394B1 (en) * 2019-09-30 2022-01-04 Amazon Technologies, Inc. Dynamic modifications to directional capacity of networking device interfaces
CN111030778A (en) * 2019-11-30 2020-04-17 苏州浪潮智能科技有限公司 Parameter self-adaption method, device and equipment of high-speed signal and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李婧;曲展龙;: "网络物理接口的冗余设计", 科技风, no. 01, 10 January 2018 (2018-01-10), pages 69 *

Similar Documents

Publication Publication Date Title
CN104899085B (en) A kind of data processing method and device
KR20080016685A (en) Point-to-point link negotiation method and apparatus
CN114048164B (en) Chip interconnection method, system, device and readable storage medium
CN108900384A (en) Network flow monitoring method, apparatus and system, computer readable storage medium
CN107395476B (en) CAN chip for controlling local area network
CN107509051A (en) Long-range control method, device, terminal and computer-readable recording medium
CN110912836A (en) Method, control device, storage medium, and system for forwarding data by forwarding device
CN104363486B (en) A kind of the USB sharing methods and combination tv of combination tv
CA1226916A (en) Method of initializing and recovering from failures in a local area network
CN112769457A (en) Cable testing device and cable testing method
CN113406946A (en) Automobile diagnosis method and device and automobile diagnosis equipment
CN110198427A (en) Video call method and device
CN114055468B (en) Track reproduction method, track reproduction system and terminal equipment
CN112671936B (en) Special transmission module adapting method and device for different domestic systems
CN115941465A (en) Network card configuration method and device, electronic equipment and computer readable storage medium
CN116599589B (en) Signal synchronization method, device, equipment and medium
CN109522021A (en) Parameter adjusts back processing method, device, electronic equipment and storage medium
US6990538B2 (en) System comprising a state machine controlling transition between deskew enable mode and deskew disable mode of a system FIFO memory
CN115374042A (en) Bus switching method, device, equipment and medium
CN105915286B (en) Data distribution method and current divider
CN106130829B (en) Bus test method and device
CN115373919A (en) Soc debugging method and system, electronic equipment and storage medium
US9948515B2 (en) Automatic configuration of host networking device networking interface without user interaction
CN111027196B (en) Simulation analysis task processing method and device for power equipment and storage medium
CN113987725A (en) Automatic generation method for nuclear power station DCS transparent transmission network variable logic relation

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