CN115834369A - Server network configuration method and system - Google Patents
Server network configuration method and system Download PDFInfo
- Publication number
- CN115834369A CN115834369A CN202211412458.9A CN202211412458A CN115834369A CN 115834369 A CN115834369 A CN 115834369A CN 202211412458 A CN202211412458 A CN 202211412458A CN 115834369 A CN115834369 A CN 115834369A
- Authority
- CN
- China
- Prior art keywords
- server
- connectors
- network card
- target network
- connector
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000009977 dual effect Effects 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000004590 computer program Methods 0.000 description 17
- 101000818569 Homo sapiens Zinc finger and BTB domain-containing protein 24 Proteins 0.000 description 8
- 102100021129 Zinc finger and BTB domain-containing protein 24 Human genes 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
本申请公开了计算机技术领域内的一种服务器网络配置方法及系统。本申请在服务器开机启动后,识别两个连接器的Loopback信号;若两个连接器的Loopback信号相同,则配置目标网卡为单机模式,并使两个连接器均分服务器的总带宽;若两个连接器的Loopback信号不同,则配置目标网卡为双机模式,并使两个连接器的带宽与服务器的总带宽相同,由此可完成网卡配置和连接器的带宽配置。该方案能够实现服务器网卡及带宽的自动配置,还无需在服务器主板上进行电路变动,硬件成本低。
The application discloses a server network configuration method and system in the field of computer technology. This application identifies the Loopback signals of the two connectors after the server is turned on; if the Loopback signals of the two connectors are the same, configure the target network card as a stand-alone mode, and make the two connectors equally share the total bandwidth of the server; If the Loopback signals of the two connectors are different, configure the target network card to be in dual-machine mode, and make the bandwidth of the two connectors the same as the total bandwidth of the server, thereby completing the configuration of the network card and the bandwidth of the connector. The solution can realize the automatic configuration of the network card and bandwidth of the server, without changing the circuit on the main board of the server, and the hardware cost is low.
Description
技术领域technical field
本申请涉及计算机技术领域,特别涉及一种服务器网络配置方法及系统。The present application relates to the field of computer technology, in particular to a server network configuration method and system.
背景技术Background technique
目前,一般通过在服务器主板上设置电阻来适用服务器所连接的网卡的工作模式。而针对网卡的单机模式和双机模式,需要在主板上进行不同的设计,因此硬件成本较大,也不易进行电路连接变动。At present, the working mode of the network card connected to the server is generally adapted by setting a resistor on the main board of the server. For the stand-alone mode and dual-mode of the network card, different designs need to be carried out on the motherboard, so the hardware cost is relatively large, and it is not easy to change the circuit connection.
因此,如何提供一种低硬件成本的服务器网络配置方案,是本领域技术人员需要解决的问题。Therefore, how to provide a server network configuration solution with low hardware cost is a problem to be solved by those skilled in the art.
发明内容Contents of the invention
有鉴于此,本申请的目的在于提供一种服务器网络配置方法及系统,以提供一种低硬件成本的服务器网络配置方案。其具体方案如下:In view of this, the purpose of the present application is to provide a server network configuration method and system, so as to provide a low hardware cost server network configuration solution. The specific plan is as follows:
第一方面,本申请提供了一种服务器网络配置方法,应用于设有双处理器的服务器,包括:In the first aspect, the present application provides a server network configuration method, which is applied to a server with dual processors, including:
若所述服务器开机启动,则识别用于连接所述服务器和目标网卡的两个连接器的Loopback信号;If the server is powered on, then identify the Loopback signal used to connect the two connectors of the server and the target network card;
若所述两个连接器的Loopback信号相同,则配置所述目标网卡为单机模式,并使所述两个连接器均分所述服务器的总带宽;If the Loopback signals of the two connectors are the same, then configure the target network card to be a stand-alone mode, and make the two connectors equally share the total bandwidth of the server;
若所述两个连接器的Loopback信号不同,则配置所述目标网卡为双机模式,并使所述两个连接器的带宽与所述服务器的总带宽相同。If the Loopback signals of the two connectors are different, configure the target network card in dual-machine mode, and make the bandwidth of the two connectors the same as the total bandwidth of the server.
可选地,所述识别用于连接所述服务器和目标网卡的两个连接器的Loopback信号,包括:Optionally, the identifying the Loopback signal of the two connectors used to connect the server and the target network card includes:
利用所述服务器的主板中的CPLD识别所述两个连接器的Loopback信号。Utilize the CPLD in the motherboard of the server to identify the Loopback signals of the two connectors.
可选地,所述配置所述目标网卡为单机模式,或所述配置所述目标网卡为双机模式,包括:Optionally, the configuring the target network card as a stand-alone mode, or configuring the target network card as a dual-machine mode, includes:
利用所述CPLD配置所述目标网卡为单机模式或双机模式。Utilize the CPLD to configure the target network card as a stand-alone mode or a dual-machine mode.
可选地,所述若所述两个连接器的Loopback信号相同,则配置所述目标网卡为单机模式,包括:Optionally, if the Loopback signals of the two connectors are the same, configuring the target network card as a stand-alone mode includes:
若所述两个连接器的Loopback信号均为低电平,则将所述目标网卡的BIF设定为单机模式标志位,以配置所述目标网卡为单机模式。If the Loopback signals of the two connectors are both at low level, then set the BIF of the target network card as a stand-alone mode flag to configure the target network card as a stand-alone mode.
可选地,所述若所述两个连接器的Loopback信号不同,则配置所述目标网卡为双机模式,包括:Optionally, if the Loopback signals of the two connectors are different, configuring the target network card as a dual-machine mode includes:
若所述两个连接器中的一个连接器的Loopback信号为高电平,另一个连接器的Loopback信号为低电平,则将所述目标网卡的BIF设定为双机模式标志位,以配置所述目标网卡为双机模式。If the Loopback signal of a connector in the two connectors is a high level, and the Loopback signal of the other connector is a low level, then the BIF of the target network card is set as a dual-machine mode flag, to Configure the target network card as a dual-machine mode.
可选地,利用所述服务器的BIOS配置所述两个连接器的带宽。Optionally, the bandwidth of the two connectors is configured by using the BIOS of the server.
可选地,所述利用所述服务器的BIOS配置所述两个连接器的带宽,包括:Optionally, configuring the bandwidth of the two connectors using the BIOS of the server includes:
利用所述BIOS识别每一连接器对应的第一信号和第二信号;Using the BIOS to identify the first signal and the second signal corresponding to each connector;
若仅有一个连接器对应的第一信号和第二信号不同,则利用所述BIOS配置所述两个连接器均分所述服务器的总带宽;If the first signal corresponding to only one connector is different from the second signal, then using the BIOS to configure the two connectors to equally share the total bandwidth of the server;
若所述每一连接器对应的第一信号和第二信号都不同,则利用所述BIOS配置所述两个连接器的带宽与所述服务器的总带宽相同。If the first signal and the second signal corresponding to each connector are different, the BIOS is used to configure the bandwidth of the two connectors to be the same as the total bandwidth of the server.
可选地,服务器通过自身中的第一处理器的任一运算单元连接两个连接器;或服务器通过自身中的第一处理器的任一运算单元连接两个连接器中的一个连接器,同时服务器通过自身中的第二处理器的任一运算单元连接两个连接器中的另一连接器。Optionally, the server is connected to the two connectors through any computing unit of the first processor in itself; or the server is connected to one of the two connectors through any computing unit of the first processor in itself, At the same time, the server is connected to the other connector of the two connectors through any computing unit of the second processor in itself.
可选地,两个连接器均为MCIO连接器。Optionally, both connectors are MCIO connectors.
第二方面,本申请提供了一种服务器网络配置系统,包括:设有双处理器的服务器、以及通过两个连接器与所述服务器连接的目标网卡;In a second aspect, the present application provides a server network configuration system, including: a server with dual processors, and a target network card connected to the server through two connectors;
所述服务器用于:若开机启动,则识别所述两个连接器的Loopback信号;若所述两个连接器的Loopback信号相同,则配置所述目标网卡为单机模式,并使所述两个连接器均分自身总带宽;若所述两个连接器的Loopback信号不同,则配置所述目标网卡为双机模式,并使所述两个连接器的带宽与自身总带宽相同。The server is used for: if starting up, then identify the Loopback signals of the two connectors; if the Loopback signals of the two connectors are the same, then configure the target network card as a stand-alone mode, and make the two The connectors equally share their own total bandwidth; if the loopback signals of the two connectors are different, configure the target network card as a dual-machine mode, and make the bandwidth of the two connectors the same as its own total bandwidth.
可选地,所述服务器通过自身中的第一处理器的任一运算单元连接所述两个连接器;或所述服务器通过自身中的第一处理器的任一运算单元连接所述两个连接器中的一个连接器,同时所述服务器通过自身中的第二处理器的任一运算单元连接所述两个连接器中的另一连接器。Optionally, the server connects the two connectors through any computing unit of the first processor in itself; or the server connects the two connectors through any computing unit of the first processor in itself. one of the connectors, and at the same time, the server is connected to the other of the two connectors through any computing unit of the second processor in itself.
可选地,所述两个连接器均为MCIO连接器。Optionally, the two connectors are both MCIO connectors.
可选地,所述服务器具体用于:利用自身主板中的CPLD识别所述两个连接器的Loopback信号。Optionally, the server is specifically configured to: identify the Loopback signals of the two connectors by using the CPLD in its own motherboard.
可选地,所述服务器具体用于:利用自身主板中的CPLD配置所述目标网卡为单机模式或双机模式。Optionally, the server is specifically configured to: use the CPLD in its own motherboard to configure the target network card to be in single-machine mode or dual-machine mode.
可选地,所述服务器具体用于:若所述两个连接器的Loopback信号均为低电平,则将所述目标网卡的BIF设定为单机模式标志位,以配置所述目标网卡为单机模式。Optionally, the server is specifically configured to: if the Loopback signals of the two connectors are both low, then set the BIF of the target network card as a stand-alone mode flag to configure the target network card as Standalone mode.
可选地,所述服务器具体用于:若所述两个连接器中的一个连接器的Loopback信号为高电平,另一个连接器的Loopback信号为低电平,则将所述目标网卡的BIF设定为双机模式标志位,以配置所述目标网卡为双机模式。Optionally, the server is specifically configured to: if the Loopback signal of one of the two connectors is at a high level and the Loopback signal of the other connector is at a low level, send the The BIF is set as a dual-machine mode flag bit to configure the target network card as a dual-machine mode.
可选地,所述服务器具体用于:利用自身中的BIOS配置所述两个连接器的带宽。Optionally, the server is specifically configured to: configure bandwidths of the two connectors by using a BIOS in itself.
可选地,所述服务器具体用于:利用自身中的BIOS识别每一连接器对应的第一信号和第二信号;若仅有一个连接器对应的第一信号和第二信号不同,则利用所述BIOS配置所述两个连接器均分所述服务器的总带宽;若所述每一连接器对应的第一信号和第二信号都不同,则利用所述BIOS配置所述两个连接器的带宽与所述服务器的总带宽相同。Optionally, the server is specifically configured to: use the BIOS in itself to identify the first signal and the second signal corresponding to each connector; if the first signal and the second signal corresponding to only one connector are different, use The BIOS configures the two connectors to equally share the total bandwidth of the server; if the first signal and the second signal corresponding to each connector are different, then use the BIOS to configure the two connectors The bandwidth of the server is the same as the total bandwidth of the server in question.
第三方面,本申请提供了一种电子设备,包括:In a third aspect, the present application provides an electronic device, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序,以实现前述公开的服务器网络配置方法。A processor, configured to execute the computer program to implement the server network configuration method disclosed above.
第四方面,本申请提供了一种计算机可读存储介质,用于保存计算机程序,其中,所述计算机程序被处理器执行时实现前述公开的服务器网络配置方法。In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program implements the server network configuration method disclosed above when executed by a processor.
通过以上方案可知,本申请提供了一种服务器网络配置方法,应用于设有双处理器的服务器,包括:若所述服务器开机启动,则识别用于连接所述服务器和目标网卡的两个连接器的Loopback信号;若所述两个连接器的Loopback信号相同,则配置所述目标网卡为单机模式,并使所述两个连接器均分所述服务器的总带宽;若所述两个连接器的Loopback信号不同,则配置所述目标网卡为双机模式,并使所述两个连接器的带宽与所述服务器的总带宽相同。It can be seen from the above solutions that the present application provides a server network configuration method, which is applied to a server with dual processors, including: if the server is started, identify two connections for connecting the server and the target network card the Loopback signal of the device; if the Loopback signals of the two connectors are the same, the target network card is configured as a stand-alone mode, and the two connectors are equally divided into the total bandwidth of the server; if the two connections If the Loopback signals of the network adapters are different, configure the target network interface card as a dual-machine mode, and make the bandwidth of the two connectors the same as the total bandwidth of the server.
可见,本申请针对双处理器服务器,利用两个连接器连接该服务器和其要用的目标网卡。在服务器开机启动后,识别这两个连接器的Loopback信号;若两个连接器的Loopback信号相同,则配置目标网卡为单机模式,并使两个连接器均分服务器的总带宽;若两个连接器的Loopback信号不同,则配置目标网卡为双机模式,并使两个连接器的带宽与服务器的总带宽相同,由此可完成网卡配置和连接器的带宽配置。该方案能够通过识别连接器的Loopback信号,使服务器自动确定网卡是配置成单机模式还是配置成多机模式,并基于网卡工作模式的配置自动配置带宽,实现了服务器网卡及带宽的自动配置。该方案还无需在服务器主板上进行电路变动,用两个连接器就能完成服务器和网卡之间的连接,因此用一个主板就能完成不同连接方案,硬件成本低,且容易进行连接变动。It can be seen that this application is aimed at a dual-processor server, using two connectors to connect the server and the target network card to be used. After the server is started, identify the Loopback signals of the two connectors; if the Loopback signals of the two connectors are the same, configure the target NIC as a stand-alone mode, and make the two connectors equally share the total bandwidth of the server; if two If the loopback signals of the connectors are different, configure the target network card to be in dual-machine mode, and make the bandwidth of the two connectors equal to the total bandwidth of the server, thereby completing the network card configuration and the bandwidth configuration of the connector. This solution enables the server to automatically determine whether the network card is configured in single-machine mode or multi-machine mode by identifying the Loopback signal of the connector, and automatically configures the bandwidth based on the configuration of the network card working mode, realizing the automatic configuration of the server network card and bandwidth. In this solution, there is no need to change the circuit on the main board of the server, and the connection between the server and the network card can be completed with two connectors, so different connection solutions can be completed with one main board, the hardware cost is low, and the connection change is easy.
相应地,本申请提供的一种服务器网络配置系统及其他组件,也同样具有上述技术效果。其他组件为:电子设备或计算机可读存储介质。Correspondingly, a server network configuration system and other components provided by the present application also have the above technical effects. Other components are: electronic device or computer readable storage medium.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present application, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本申请公开的一种服务器网络配置方法流程图;FIG. 1 is a flow chart of a server network configuration method disclosed in the present application;
图2为本申请公开的一种服务器主板与网卡的连接示意图;Fig. 2 is a schematic diagram of connection between a server motherboard and a network card disclosed in the present application;
图3为本申请公开的另一种服务器主板与网卡的连接示意图;Fig. 3 is the connection schematic diagram of another kind of server motherboard and network card disclosed by the present application;
图4为本申请公开的一种连接器与PE的连接示意图;FIG. 4 is a schematic diagram of a connection between a connector and PE disclosed in the present application;
图5为本申请公开的一种电子设备示意图。FIG. 5 is a schematic diagram of an electronic device disclosed in the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
目前,一般通过在服务器主板上设置电阻来适用服务器所连接的网卡的工作模式。而针对网卡的单机模式和双机模式,需要在主板上进行不同的设计,因此硬件成本较大,也不易进行电路连接变动。为此,本申请提供了一种服务器网络配置方案,能够提供一种低硬件成本的服务器网络配置方案,可实现服务器网卡及带宽的自动配置,还无需在服务器主板上进行电路变动,用两个连接器就能完成服务器和网卡之间的连接,因此硬件成本低,且容易进行连接变动。At present, the working mode of the network card connected to the server is generally adapted by setting a resistor on the main board of the server. For the stand-alone mode and dual-mode of the network card, different designs need to be carried out on the motherboard, so the hardware cost is relatively large, and it is not easy to change the circuit connection. For this reason, the application provides a server network configuration scheme, which can provide a server network configuration scheme with low hardware cost, which can realize automatic configuration of server network card and bandwidth, and does not need to change the circuit on the server motherboard. The connector can complete the connection between the server and the network card, so the hardware cost is low, and the connection change is easy.
参见图1所示,本申请实施例公开了一种服务器网络配置方法,应用于设有双处理器的服务器,包括:Referring to Figure 1, the embodiment of the present application discloses a server network configuration method, which is applied to a server with dual processors, including:
S101、若服务器开机启动,则识别用于连接服务器和目标网卡的两个连接器的Loopback信号。S101. If the server is powered on, identify the Loopback signal of the two connectors used to connect the server and the target network card.
在本实施例中,服务器通过自身中的第一处理器的任一运算单元连接两个连接器;或服务器通过自身中的第一处理器的任一运算单元连接两个连接器中的一个连接器,同时服务器通过自身中的第二处理器的任一运算单元连接两个连接器中的另一连接器。在一种具体实施方式中,两个连接器均为MCIO(Mini Cooledge Input/Output purposeconnector)连接器。In this embodiment, the server is connected to the two connectors through any computing unit of the first processor in itself; or the server is connected to one of the two connectors through any computing unit of the first processor in itself. the server, and at the same time, the server is connected to the other connector of the two connectors through any computing unit of the second processor in itself. In a specific implementation, both connectors are MCIO (Mini Cooledge Input/Output purpose connector) connectors.
通常情况下,一个处理器包括多个运算单元,每个运算单元对应有0~15个lane。因此可以使一个运算单元的0~7lane与一个连接器连接,而该运算单元的8~15lane与另一个连接器连接,由此可使一个运算单元连接两个连接器。当一个运算单元与一个连接器连接时,该连接器连接该运算单元的0~7lane或8~15lane。Usually, a processor includes multiple computing units, and each computing unit corresponds to 0 to 15 lanes. Therefore,
在一种示例中,可以在服务器主板上设置CPLD(Complex Programmable LogicDevice,复杂可程化逻辑装置)来识别连接器的Loopback信号。在一种具体实施方式中,识别用于连接服务器和目标网卡的两个连接器的Loopback信号,包括:利用服务器的主板中的CPLD识别两个连接器的Loopback信号。相应地,服务器主板上的CPLD还可以配置目标网卡的工作模式,即:CPLD配置目标网卡为单机模式或双机模式。因此在一种具体实施方式中,配置目标网卡为单机模式,或配置目标网卡为双机模式,包括:利用CPLD配置目标网卡为单机模式或双机模式。两个连接器也可以设置于服务器主板。In an example, a CPLD (Complex Programmable Logic Device, Complex Programmable Logic Device) may be set on the main board of the server to identify the Loopback signal of the connector. In a specific implementation manner, identifying the loopback signals of the two connectors used to connect the server and the target network card includes: identifying the loopback signals of the two connectors by using the CPLD in the motherboard of the server. Correspondingly, the CPLD on the main board of the server can also configure the working mode of the target network card, that is, the CPLD configures the target network card as a stand-alone mode or a dual-machine mode. Therefore, in a specific implementation manner, configuring the target network card to be in single-machine mode, or configuring the target network card to be in dual-machine mode includes: configuring the target network card to be in single-machine mode or dual-machine mode by using CPLD. The two connectors can also be provided on the server mainboard.
S102、若两个连接器的Loopback信号相同,则配置目标网卡为单机模式,并使两个连接器均分服务器的总带宽。S102. If the Loopback signals of the two connectors are the same, configure the target network card as a stand-alone mode, and make the two connectors equally share the total bandwidth of the server.
在一种具体实施方式中,若两个连接器的Loopback信号相同,则配置目标网卡为单机模式,包括:若两个连接器的Loopback信号均为低电平,则将目标网卡的BIF(bifurcation)设定为单机模式标志位,以配置目标网卡为单机模式。当然,也可以在两个连接器的Loopback信号均为高电平时,配置目标网卡为单机模式。其中,单机模式标志位包括:BIF0=0且BIF1=0且BIF2=0。In a specific implementation manner, if the Loopback signals of the two connectors are the same, configuring the target network card as a stand-alone mode includes: if the Loopback signals of the two connectors are both low, then setting the BIF (bifurcation ) is set as the stand-alone mode flag to configure the target network card as a stand-alone mode. Of course, when the Loopback signals of the two connectors are at high level, the target network card can also be configured as a stand-alone mode. Wherein, the stand-alone mode flag bits include: BIF0=0, BIF1=0, and BIF2=0.
S103、若两个连接器的Loopback信号不同,则配置目标网卡为双机模式,并使两个连接器的带宽与服务器的总带宽相同。S103. If the Loopback signals of the two connectors are different, configure the target network card as a dual-machine mode, and make the bandwidth of the two connectors equal to the total bandwidth of the server.
在一种具体实施方式中,若两个连接器的Loopback信号不同,则配置目标网卡为双机模式,包括:若两个连接器中的一个连接器的Loopback信号为高电平,另一个连接器的Loopback信号为低电平,则将目标网卡的BIF设定为双机模式标志位,以配置目标网卡为双机模式。其中,双机模式标志位包括:BIF0=0且BIF1=0且BIF2=1。In a specific implementation, if the Loopback signals of the two connectors are different, configuring the target network card as a dual-machine mode includes: if the Loopback signal of one of the two connectors is high, the other is connected to If the Loopback signal of the device is at a low level, the BIF of the target network card is set as a dual-machine mode flag bit to configure the target network card as a dual-machine mode. Wherein, the dual-machine mode flag bits include: BIF0=0, BIF1=0, and BIF2=1.
在一种具体实施方式中,利用服务器的BIOS(Basic Input/Output Sysem,基本输入/输出系统)可以配置两个连接器的带宽。其中,利用服务器的BIOS配置两个连接器的带宽,包括:利用BIOS识别每一连接器对应的第一信号和第二信号;若仅有一个连接器对应的第一信号和第二信号不同,则利用BIOS配置两个连接器均分服务器的总带宽;若每一连接器对应的第一信号和第二信号都不同,则利用BIOS配置两个连接器的带宽与服务器的总带宽相同。每一连接器对应的第一信号和第二信号具体请参见表1。In a specific implementation manner, the bandwidth of the two connectors can be configured by using a BIOS (Basic Input/Output System, Basic Input/Output System) of the server. Wherein, using the BIOS of the server to configure the bandwidth of the two connectors includes: using the BIOS to identify the first signal and the second signal corresponding to each connector; if the first signal and the second signal corresponding to only one connector are different, Then use the BIOS to configure the two connectors to equally share the total bandwidth of the server; if the first signal and the second signal corresponding to each connector are different, then use the BIOS to configure the bandwidth of the two connectors to be the same as the total bandwidth of the server. For the first signal and the second signal corresponding to each connector, please refer to Table 1 for details.
表1Table 1
对于一个连接器而言,其对应的第一信号为表1中的ID1,其对应的第二信号为表1中的ID0,并且,该连接器连接某一处理器CPUx的某一运算单元PEx的0~7lane或8~15lane。如果确认两个连接器中的一个连接器连接CPUx的PEx的8~15Lane,那么该连接器的ID1取1且ID0取0;同时两个连接器中的另一个连接器连接CPUx的PEx的0~7Lane,并且另一个连接器的ID1取1且ID0取0,那么这两个连接器对应的第一信号和第二信号都不同,表示这两个连接器连接了同一处理器,因此利用BIOS配置两个连接器均分服务器的总带宽,即:一个连接器配置带宽为x8,另一连接器也配置带宽为x8,以使该连接器所连接的该处理器按照服务器的总带宽x16进行数据处理。如果确认两个连接器中的一个连接器连接CPUx的PEx的8~15Lane,那么该连接器的ID1取1且ID0取0;同时两个连接器中的另一个连接器连接CPUy的PEy的8~15Lane,并且另一个连接器的ID1取1且ID0取1,那么这两个连接器中仅有一个连接器对应的第一信号和第二信号不同,表示这两个连接器连接了不同处理器,因此利用BIOS配置两个连接器的带宽与服务器的总带宽相同,即:一个连接器配置带宽为x16,另一连接器也配置带宽为x16,以使两个连接器所连接的CPUx和CPUy都按照服务器的总带宽x16进行数据处理。其中,每一连接器对应的第一信号和第二信号由其所连PE的8个Lane传递至该连接器。如果每一连接器对应的第一信号和第二信号都是1,如表1中倒数第2行,则表示该连接器未连接网卡。For a connector, its corresponding first signal is ID1 in Table 1, and its corresponding second signal is ID0 in Table 1, and the connector is connected to a certain computing unit PEx of a
需要说明的是,一个处理器一般包括多个PE,这些PE除了通过连接器连接网卡,还可以连接其他PCIE设备。It should be noted that a processor generally includes multiple PEs, and these PEs can be connected to other PCIE devices in addition to connecting to network cards through connectors.
可见,本实施例针对双处理器服务器,利用两个连接器连接该服务器和其要用的目标网卡。在服务器开机启动后,识别这两个连接器的Loopback信号;若两个连接器的Loopback信号相同,则配置目标网卡为单机模式,并使两个连接器均分服务器的总带宽;若两个连接器的Loopback信号不同,则配置目标网卡为双机模式,并使两个连接器的带宽与服务器的总带宽相同,由此可完成网卡配置和连接器的带宽配置。该方案能够通过识别连接器的Loopback信号,使服务器自动确定网卡是配置成单机模式还是配置成多机模式,并基于网卡工作模式的配置自动配置带宽,实现了服务器网卡及带宽的自动配置。该方案还无需在服务器主板上进行电路变动,用两个连接器就能完成服务器和网卡之间的连接,因此用一个主板就能完成不同连接方案,硬件成本低,且容易进行连接变动。It can be seen that this embodiment is aimed at a dual-processor server, using two connectors to connect the server and the target network card to be used. After the server is started, identify the Loopback signals of the two connectors; if the Loopback signals of the two connectors are the same, configure the target NIC as a stand-alone mode, and make the two connectors equally share the total bandwidth of the server; if two If the loopback signals of the connectors are different, configure the target network card to be in dual-machine mode, and make the bandwidth of the two connectors equal to the total bandwidth of the server, thereby completing the network card configuration and the bandwidth configuration of the connector. This solution enables the server to automatically determine whether the network card is configured in single-machine mode or multi-machine mode by identifying the Loopback signal of the connector, and automatically configures the bandwidth based on the configuration of the network card working mode, realizing the automatic configuration of the server network card and bandwidth. In this solution, there is no need to change the circuit on the main board of the server, and the connection between the server and the network card can be completed with two connectors, so different connection solutions can be completed with one main board, the hardware cost is low, and the connection change is easy.
参见图2所示,本申请实施例提供了一种连接方案示意图。如图2所示,在双处理器系统中,系统主板上的CPU0的一个PE的0~7lane连接一个连接器,系统主板上的CPU1的一个PE的0~7lane连接另一个连接器,这两个连接器都连接同一网卡。其中,该网卡为OCP3.0NIC卡,可配置PCIE x16带宽。在此连接方案中,该网卡被配置为双机模式,两个连接器所在线路的带宽均为x16。具体的配置过程包括:系统主板上的CPLD定义网卡的3个引脚信号:BIF0、BIF1、BIF2,使BIF0=0且BIF1=0且BIF2=1,以将网卡设置为双机模式。系统BIOS依照网卡的工作模式配置,为连接网卡的PE设置bifurcation,在此方案中,系统BIOS可以识别到CPU1连接的连接器有1信号,同时识别到CPU0连接的连接器有0信号,那么系统BIOS将CPU1中连接网卡的PE的带宽设置为x16,将CPU0中连接网卡的PE的带宽也设置为x16,那么这两个连接器的带宽均为系统总带宽。由此可完成配置流程。Referring to FIG. 2 , the embodiment of the present application provides a schematic diagram of a connection scheme. As shown in Figure 2, in a dual-processor system,
其中,OCP(Open Compute Project)为开放计算项目。Among them, OCP (Open Compute Project) is an open computing project.
参见图3所示,本申请实施例提供了另一种连接方案示意图。如图3所示,在双处理器系统中,系统主板上的CPU0的一个PE的0~7lane连接一个连接器,CPU0的该PE的8~15lane连接另一个连接器,这两个连接器都连接同一网卡;系统主板上的CPU1连其他设备。其中,该网卡为OCP 3.0NIC卡,可配置PCIE x16带宽。在此连接方案中,该网卡被配置为单机模式,两个连接器所在线路的带宽均为x8。具体的配置过程包括:系统主板上的CPLD定义网卡的3个引脚信号:BIF0、BIF1、BIF2,使BIF0=0且BIF1=0且BIF2=0,以将网卡设置为单机模式。系统BIOS依照网卡的工作模式配置,为连接网卡的PE设置bifurcation,在此方案中,系统BIOS可以识别到CPU0连接的连接器有0信号,同时识别到CPU0连接的另一连接器有0信号,那么系统BIOS将CPU0中连接网卡的PE的0~7lane带宽设置为x8,将该PE的8~15lane带宽也设置为x8,那么两个连接器的带宽为系统总带宽的一半。由此可完成配置流程。Referring to FIG. 3 , this embodiment of the present application provides a schematic diagram of another connection scheme. As shown in Figure 3, in a dual-processor system,
可见,针对网卡双机模式和网卡单机模式需要进行不同的电路连接,但可以按照同一逻辑完成网卡配置和网络带宽配置。It can be seen that different circuit connections are required for the network card dual-machine mode and the network card single-machine mode, but the network card configuration and network bandwidth configuration can be completed according to the same logic.
需要说明的是,可参照图4使任意CPU的一个PE与一个MCIO连接器进行连接。如图4所示,CPU的一个PE通过主板上设置的PCH(路径控制器)控制该PE的0~7lane、8~15lane与连接器是否连通,并以此确定连接器对应的ID0信号和ID1信号。将图4中的脚位A8上拉4.7K,A26空接,那么当MCIO连接器未连接网卡时,0~7lane的ID0和ID1、8~15lane的ID0和ID1取值为:1111,此时设置对应的组态x16。在网卡双机模式下,可以参照图4灵活选择让MCIO连接器接通CPU0的PE的0~7lane或8~15lane,被接上的ID将会因MOS做反向,另一MCIO连接器接通另一CPU1的PE的0~7lane或8~15lane,从而让BIOS识别到:1110或0111,从而使CPU0和CPU1各有一个MCIO连接器接到网卡上。在网卡单机模式下,可以参照图4使一个MCIO连接器连接CPU0或CPU1的PE的0~7lane,同时使另一个MCIO连接器连接该PE的8~15lane,此时BIOS可以识别到:1010。It should be noted that one PE of any CPU can be connected to one MCIO connector with reference to FIG. 4 . As shown in Figure 4, a PE of the CPU controls whether the 0-7 lanes, 8-15 lanes of the PE are connected to the connector through the PCH (path controller) set on the main board, and determines the corresponding ID0 signal and ID1 of the connector. Signal. Pull up the pin A8 in Figure 4 to 4.7K, and connect A26 to vacant, then when the MCIO connector is not connected to the network card, the values of ID0 and ID1 of
其中,在单机模式下,将一个CPU的同一PE的两个A30引脚通过外部上拉电阻连接至主板上的CPLD,一个A30引脚对应该PE的0~7lane,另一A30引脚对应该PE的8~15lane,这两个A30引脚连接到不同连接器。将网卡端B30引脚连接到CPLD,此时CPLD识别到两个连接器所连的Loopback信号都为低电平,即认为同一CPU的一个PE连接了两个连接器,那么CPLD设置网卡的BIF0=0且BIF1=0且BIF2=0,以将网卡设置为单机模式。而在双机模式下,将一个CPU的一个PE的一个A30引脚通过外部上拉电阻连接至CPLD,另一个CPU的一个PE的一个A30引脚通过外部上拉电阻也连接至CPLD,这两个A30引脚连接到不同连接器,那么CPLD可以识别到两个连接器的Loopback信号一个为高电平,一个为低电平,所以设置网卡的BIF0=0且BIF1=0且BIF2=1,以将网卡设置为双机模式。Among them, in stand-alone mode, connect the two A30 pins of the same PE of a CPU to the CPLD on the main board through an external pull-up resistor, one A30 pin corresponds to 0-7 lanes of the PE, and the other A30 pin corresponds to the For
可见,针对网卡双机模式和网卡单机模式需要进行不同的电路连接,但基于这两种不同的电路连接,能按照同一逻辑完成网卡配置和网络带宽配置。在改动电路连接时,网卡、CPLD、BIOS等无需进行固件改动,可做最小程度的改动来使网卡工作在双机模式或单机模式,使得网卡的使用更为弹性,硬体成本更低。It can be seen that different circuit connections are required for the network card dual-machine mode and the network card single-machine mode, but based on these two different circuit connections, the network card configuration and network bandwidth configuration can be completed according to the same logic. When changing the circuit connection, there is no need to modify the firmware of the network card, CPLD, BIOS, etc., and the minimal changes can be made to make the network card work in dual-machine mode or stand-alone mode, making the use of the network card more flexible and lower hardware costs.
下面对本申请实施例提供的一种服务器网络配置系统进行介绍,下文描述的服务器网络配置系统与上文描述的一种服务器网络配置方法可以相互参照。A server network configuration system provided by an embodiment of the present application is introduced below, and the server network configuration system described below and the server network configuration method described above may refer to each other.
本申请实施例公开了一种服务器网络配置系统,包括:设有双处理器的服务器、以及通过两个连接器与服务器连接的目标网卡。The embodiment of the present application discloses a server network configuration system, which includes: a server with dual processors, and a target network card connected to the server through two connectors.
服务器用于:若开机启动,则识别两个连接器的Loopback信号;若两个连接器的Loopback信号相同,则配置目标网卡为单机模式,并使两个连接器均分自身总带宽;若两个连接器的Loopback信号不同,则配置目标网卡为双机模式,并使两个连接器的带宽与自身总带宽相同。The server is used to: if it is powered on, identify the Loopback signals of the two connectors; if the Loopback signals of the two connectors are the same, configure the target network card as a stand-alone mode, and make the two connectors share their total bandwidth equally; If the Loopback signals of the two connectors are different, configure the target NIC in dual-machine mode, and make the bandwidth of the two connectors the same as the total bandwidth of itself.
在一种具体实施方式中,服务器通过自身中的第一处理器的任一运算单元连接两个连接器;或服务器通过自身中的第一处理器的任一运算单元连接两个连接器中的一个连接器,同时服务器通过自身中的第二处理器的任一运算单元连接两个连接器中的另一连接器。In a specific implementation, the server connects the two connectors through any computing unit of the first processor in itself; or the server connects the two connectors through any computing unit of the first processor in itself. a connector, and the server is connected to the other connector of the two connectors through any computing unit of the second processor in itself.
在一种具体实施方式中,两个连接器均为MCIO连接器。In a specific implementation, both connectors are MCIO connectors.
在一种具体实施方式中,服务器具体用于:利用自身主板中的CPLD识别两个连接器的Loopback信号。In a specific implementation manner, the server is specifically configured to: use the CPLD in its own motherboard to identify the Loopback signals of the two connectors.
在一种具体实施方式中,服务器具体用于:利用自身主板中的CPLD配置目标网卡为单机模式或双机模式。In a specific implementation manner, the server is specifically configured to: use the CPLD in its own motherboard to configure the target network card as a single-machine mode or a dual-machine mode.
在一种具体实施方式中,服务器具体用于:若两个连接器的Loopback信号均为低电平,则将目标网卡的BIF设定为单机模式标志位,以配置目标网卡为单机模式。In a specific implementation manner, the server is specifically configured to: if the Loopback signals of the two connectors are both low level, then set the BIF of the target network card as a stand-alone mode flag, so as to configure the target network card as a stand-alone mode.
在一种具体实施方式中,服务器具体用于:若两个连接器中的一个连接器的Loopback信号为高电平,另一个连接器的Loopback信号为低电平,则将目标网卡的BIF设定为双机模式标志位,以配置目标网卡为双机模式。In a specific implementation manner, the server is specifically configured to: if the Loopback signal of one of the two connectors is at a high level and the Loopback signal of the other connector is at a low level, then set the BIF of the target network card to Set it as the dual-machine mode flag to configure the target network card as the dual-machine mode.
在一种具体实施方式中,服务器具体用于:利用自身中的BIOS配置两个连接器的带宽。In a specific implementation manner, the server is specifically configured to: use the BIOS in itself to configure the bandwidth of the two connectors.
在一种具体实施方式中,服务器具体用于:利用自身中的BIOS识别每一连接器对应的第一信号和第二信号;若仅有一个连接器对应的第一信号和第二信号不同,则利用BIOS配置两个连接器均分服务器的总带宽;若每一连接器对应的第一信号和第二信号都不同,则利用BIOS配置两个连接器的带宽与服务器的总带宽相同。In a specific implementation manner, the server is specifically configured to: use the BIOS in itself to identify the first signal and the second signal corresponding to each connector; if the first signal and the second signal corresponding to only one connector are different, Then use the BIOS to configure the two connectors to equally share the total bandwidth of the server; if the first signal and the second signal corresponding to each connector are different, then use the BIOS to configure the bandwidth of the two connectors to be the same as the total bandwidth of the server.
其中,关于本实施例中各个模块、单元更加具体的工作过程可以参考前述实施例中公开的相应内容,在此不再进行赘述。For the more specific working process of each module and unit in this embodiment, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
可见,本实施例提供了一种服务器网络配置系统,能够通过识别连接器的Loopback信号,使服务器自动确定网卡是配置成单机模式还是配置成多机模式,并基于网卡工作模式的配置自动配置带宽,实现了服务器网卡及带宽的自动配置。该方案还无需在服务器主板上进行电路变动,用两个连接器就能完成服务器和网卡之间的连接,因此用一个主板就能完成不同连接方案,硬件成本低,且容易进行连接变动。It can be seen that this embodiment provides a server network configuration system, which can automatically determine whether the network card is configured as a single-machine mode or a multi-machine mode by the server by identifying the Loopback signal of the connector, and automatically configures the bandwidth based on the configuration of the network card working mode , realizing the automatic configuration of the server network card and bandwidth. In this solution, there is no need to change the circuit on the main board of the server, and the connection between the server and the network card can be completed with two connectors, so different connection solutions can be completed with one main board, the hardware cost is low, and the connection change is easy.
下面对本申请实施例提供的一种电子设备进行介绍,下文描述的一种电子设备与上文描述的一种服务器网络配置方法及装置可以相互参照。An electronic device provided by an embodiment of the present application is introduced below, and the electronic device described below and the server network configuration method and device described above may refer to each other.
参见图5所示,本申请实施例公开了一种电子设备,包括:Referring to Figure 5, the embodiment of the present application discloses an electronic device, including:
存储器501,用于保存计算机程序;
处理器502,用于执行所述计算机程序,以实现上述任意实施例公开的方法。The
进一步的,本申请实施例还提供了一种服务器来作为上述电子设备。该服务器,具体可以包括:至少一个处理器、至少一个存储器、电源、通信接口、输入输出接口和通信总线。其中,所述存储器用于存储计算机程序,所述计算机程序由所述处理器加载并执行,以实现前述任一实施例公开的服务器网络配置方法中的相关步骤。Further, the embodiment of the present application also provides a server as the above-mentioned electronic device. The server may specifically include: at least one processor, at least one memory, a power supply, a communication interface, an input and output interface, and a communication bus. Wherein, the memory is used to store a computer program, and the computer program is loaded and executed by the processor, so as to implement relevant steps in the server network configuration method disclosed in any of the foregoing embodiments.
本实施例中,电源用于为服务器上的各硬件设备提供工作电压;通信接口能够为服务器创建与外界设备之间的数据传输通道,其所遵循的通信协议是能够适用于本申请技术方案的任意通信协议,在此不对其进行具体限定;输入输出接口,用于获取外界输入数据或向外界输出数据,其具体的接口类型可以根据具体应用需要进行选取,在此不进行具体限定。In this embodiment, the power supply is used to provide working voltage for each hardware device on the server; the communication interface can create a data transmission channel between the server and external devices, and the communication protocol it follows is applicable to the technical solution of this application Any communication protocol is not specifically limited here; the input/output interface is used to obtain external input data or output data to the external, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
另外,存储器作为资源存储的载体,可以是只读存储器、随机存储器、磁盘或者光盘等,其上所存储的资源包括操作系统、计算机程序及数据等,存储方式可以是短暂存储或者永久存储。In addition, memory, as a resource storage carrier, can be read-only memory, random access memory, magnetic disk or optical disk, etc. The resources stored on it include operating system, computer program and data, etc., and the storage method can be temporary storage or permanent storage.
其中,操作系统用于管理与控制服务器上的各硬件设备以及计算机程序,以实现处理器对存储器中数据的运算与处理,其可以是Windows Server、Netware、Unix、Linux等。计算机程序除了包括能够用于完成前述任一实施例公开的服务器网络配置方法的计算机程序之外,还可以进一步包括能够用于完成其他特定工作的计算机程序。数据除了可以包括虚拟机等数据外,还可以包括虚拟机的开发商信息等数据。Wherein, the operating system is used to manage and control various hardware devices and computer programs on the server, so as to realize the calculation and processing of the data in the memory by the processor, which may be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the server network configuration method disclosed in any of the foregoing embodiments, the computer program can further include a computer program that can be used to complete other specific tasks. In addition to data such as the virtual machine, the data may also include data such as developer information of the virtual machine.
进一步的,本申请实施例还提供了一种终端来作为上述电子设备。该终端具体可以包括但不限于智能手机、平板电脑、笔记本电脑或台式电脑等。Further, the embodiment of the present application also provides a terminal as the above-mentioned electronic device. The terminal specifically may include, but is not limited to, a smart phone, a tablet computer, a notebook computer or a desktop computer, and the like.
通常,本实施例中的终端包括有:处理器和存储器。Generally, the terminal in this embodiment includes: a processor and a memory.
其中,处理器可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称处理器(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。Wherein, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor can be realized by at least one hardware form of DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) . The processor may also include a main processor and a coprocessor, the main processor is a processor for processing data in the wake-up state, also called a processor (Central Processing Unit, central processing unit); Low-power processor for processing data in standby state. In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing content that needs to be displayed on the display screen. In some embodiments, the processor may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is configured to process computing operations related to machine learning.
存储器可以包括一个或多个计算机计算机可读存储介质,该计算机计算机可读存储介质可以是非暂态的。存储器还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器至少用于存储以下计算机程序,其中,该计算机程序被处理器加载并执行之后,能够实现前述任一实施例公开的由终端侧执行的服务器网络配置方法中的相关步骤。另外,存储器所存储的资源还可以包括操作系统和数据等,存储方式可以是短暂存储或者永久存储。其中,操作系统可以包括Windows、Unix、Linux等。数据可以包括但不限于应用程序的更新信息。The memory may include one or more computer-readable storage media, which may be non-transitory. Memory may also include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory is at least used to store the following computer program, wherein, after the computer program is loaded and executed by the processor, it can implement the relevant steps in the server network configuration method performed by the terminal side disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory may also include an operating system and data, etc., and the storage method may be temporary storage or permanent storage. Wherein, the operating system may include Windows, Unix, Linux and so on. Data may include, but is not limited to, application update information.
在一些实施例中,终端还可包括有显示屏、输入输出接口、通信接口、传感器、电源以及通信总线。In some embodiments, the terminal may further include a display screen, an input/output interface, a communication interface, a sensor, a power supply, and a communication bus.
下面对本申请实施例提供的一种计算机可读存储介质进行介绍,下文描述的一种计算机可读存储介质与上文描述的一种服务器网络配置方法、装置及设备可以相互参照。A computer-readable storage medium provided by an embodiment of the present application is introduced below. The computer-readable storage medium described below and the server network configuration method, device, and equipment described above may refer to each other.
一种计算机可读存储介质,用于保存计算机程序,其中,所述计算机程序被处理器执行时实现前述实施例公开的服务器网络配置方法。A computer-readable storage medium is used to store a computer program, wherein the computer program implements the server network configuration method disclosed in the foregoing embodiments when executed by a processor.
本申请涉及的“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法或设备固有的其它步骤或单元。"First", "second", "third", "fourth" and the like referred to in the present application, if any, are used to distinguish similar objects and not necessarily to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, e.g. a process, method or apparatus comprising a series of steps or elements is not necessarily limited to those steps or elements explicitly listed , but may include other steps or elements not explicitly listed or inherent to the process, method or apparatus.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions in this application involving "first", "second" and so on are for descriptive purposes only, and should not be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features . Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In addition, the technical solutions of the various embodiments can be combined with each other, but it must be based on the realization of those skilled in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of technical solutions does not exist , nor within the scope of protection required by the present application.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的计算机可读存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known form of computer-readable storage media.
本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。In this paper, specific examples are used to illustrate the principles and implementation methods of the application. The descriptions of the above embodiments are only used to help understand the method and core idea of the application; meanwhile, for those of ordinary skill in the art, according to the application There will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as limiting the application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211412458.9A CN115834369B (en) | 2022-11-11 | 2022-11-11 | Method and system for configuring server network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211412458.9A CN115834369B (en) | 2022-11-11 | 2022-11-11 | Method and system for configuring server network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115834369A true CN115834369A (en) | 2023-03-21 |
CN115834369B CN115834369B (en) | 2024-10-18 |
Family
ID=85527761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211412458.9A Active CN115834369B (en) | 2022-11-11 | 2022-11-11 | Method and system for configuring server network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115834369B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7412516B1 (en) * | 2003-12-29 | 2008-08-12 | Aol Llc | Using a network bandwidth setting based on determining the network environment |
CN108153630A (en) * | 2017-12-21 | 2018-06-12 | 曙光信息产业股份有限公司 | A kind of signal-testing apparatus |
CN109889620A (en) * | 2019-01-29 | 2019-06-14 | 普联技术有限公司 | The method, apparatus and storage medium of network address translation loopback are realized under Linux system |
CN113347017A (en) * | 2021-04-09 | 2021-09-03 | 中科创达软件股份有限公司 | Network communication method and device, network node equipment and hybrid network |
CN113472576A (en) * | 2021-06-30 | 2021-10-01 | 苏州浪潮智能科技有限公司 | Bandwidth allocation method of OCP network card and related device |
US20210320885A1 (en) * | 2018-08-08 | 2021-10-14 | Nippon Telegraph And Telephone Corporation | Server, server system, and method of increasing network bandwidth of server |
-
2022
- 2022-11-11 CN CN202211412458.9A patent/CN115834369B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7412516B1 (en) * | 2003-12-29 | 2008-08-12 | Aol Llc | Using a network bandwidth setting based on determining the network environment |
CN108153630A (en) * | 2017-12-21 | 2018-06-12 | 曙光信息产业股份有限公司 | A kind of signal-testing apparatus |
US20210320885A1 (en) * | 2018-08-08 | 2021-10-14 | Nippon Telegraph And Telephone Corporation | Server, server system, and method of increasing network bandwidth of server |
CN109889620A (en) * | 2019-01-29 | 2019-06-14 | 普联技术有限公司 | The method, apparatus and storage medium of network address translation loopback are realized under Linux system |
CN113347017A (en) * | 2021-04-09 | 2021-09-03 | 中科创达软件股份有限公司 | Network communication method and device, network node equipment and hybrid network |
CN113472576A (en) * | 2021-06-30 | 2021-10-01 | 苏州浪潮智能科技有限公司 | Bandwidth allocation method of OCP network card and related device |
Also Published As
Publication number | Publication date |
---|---|
CN115834369B (en) | 2024-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115562738B (en) | Port configuration method, component and hard disk expansion device | |
CN103105684B (en) | LCD MODULE method of testing, device, system and testing apparatus | |
CN103345407B (en) | Control circuit, connection controller, connection control method and mainboard | |
US11232060B2 (en) | Method, apparatus and system for power supply policy exchange on a bus | |
CN111901164A (en) | Adaptive control method, device, equipment and system for OCP NIC network card | |
CN114153477B (en) | PCIE driving card firmware upgrading method, device, system, equipment and medium | |
CN113608684B (en) | Memory information acquisition method, device, system, electronic equipment and storage medium | |
CN103098039A (en) | High-speed peripheral-device interconnected-bus port configuration method and apparatus | |
CN107070548A (en) | A kind of device and method for automatically adjusting QSFP+ optical module power grades | |
CN115344520B (en) | Method and device for using PCIe interface compatible with silver fir card, storage medium and equipment | |
CN111159090B (en) | Information processing method and device and electronic equipment | |
CN116107945A (en) | Device, method, system, equipment and medium for configuring bandwidth | |
CN103530215A (en) | Self-inspection method and device of inter integrated circuit host and host | |
WO2023272989A1 (en) | Bandwidth allocation method for ocp network card, and related apparatus | |
CN115834369B (en) | Method and system for configuring server network | |
WO2024108938A1 (en) | Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server | |
CN114461142B (en) | Method, system, device and medium for reading and writing Flash data | |
WO2023155363A1 (en) | Server dynamic hot backup method, apparatus and device, and storage medium | |
CN115640185A (en) | Slot diagnosis card, slot diagnosis method and diagnosis system | |
CN110955629B (en) | Computing device | |
CN208239938U (en) | A kind of computer motherboard circuit | |
CN115454748A (en) | Test board, node selection method and component | |
CN112000189A (en) | Server mainboard based on S2500 processor | |
CN113886190B (en) | Device management system, method, device and storage medium for server | |
TWI612424B (en) | Switch system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |