Network connection device and electronic device
By configuring virtual LAN and dynamic IP address management, the problem of IP address management resource occupation of chips such as server BMC and DPU is solved, and efficient IP address operation and maintenance is achieved.
Patent Information
- Application Number
- CN202411748799.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-30
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2044-11-30
AI Technical Summary
In existing technologies, the IP addresses of chips such as the BMC and DPU in management servers require a large amount of computing resources, resulting in severe resource consumption.
A network connection device is adopted, and a first baseboard management controller, switching module and network card device are configured. Through virtual local area network and dynamic IP address management, efficient IP address management of chips such as BMC and DPU can be achieved.
It reduces the number of dynamic IP addresses, lowers the requirements for IP address maintenance, saves computing resources, and enables efficient IP address management for server BMC and network interface card devices.
Smart Images

Figure CN119402471B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computers, and particularly relates to a network connection device and electronic equipment. BACKGROUND
[0002] At present, after a chip such as a BMC (Baseboard Management Controller) and a DPU (Data Processing Unit) of a server is accessed to a ToR switch, the IP (Internet Protocol Address) address of the chip such as the BMC and the DPU can be managed through a DHCP (Dynamic Host Configuration Protocol) server connected to the ToR switch. If the number of chips to be managed is large, the corresponding IP address operation and maintenance work is also large, and more computing resources need to be allocated for the management of the IP address, and resource occupation exists.
[0003] Therefore, how to efficiently manage the IP address of the chip such as the BMC and the DPU of the server is a problem to be solved by the person skilled in the art. SUMMARY
[0004] Therefore, the present application aims to provide a network connection device and electronic equipment to efficiently manage the IP address of the chip such as the BMC and the DPU of the server. The specific scheme is as follows:
[0005] In a first aspect, the present application provides a network connection device, comprising: a first baseboard management controller, a switching module and at least one network card device.
[0006] The switching module is provided with a first network port divided into a first virtual local area network, a second network port divided into a second virtual local area network and at least one third network port divided into the first virtual local area network and the second virtual local area network; the first network port is used to connect the first baseboard management controller, the second network port is used to connect a switching network, and the at least one third network port is used to respectively connect the at least one network card device.
[0007] The at least one network card device comprises a second baseboard management controller and a processor; the first baseboard management controller, the second baseboard management controller and the processor are configured with a static IP address in the same network segment, and the second baseboard management controller is further configured with a dynamic IP address.
[0008] Optionally, the exchange network comprises a DHCP server.
[0009] The DHCP server is configured to configure the dynamic IP address for the second baseboard management controller.
[0010] Optionally, the exchange module is arranged on a target board card, and the first baseboard management controller is arranged on a server mainboard, and the target board card is plugged into the server mainboard.
[0011] Optionally, the first network port is configured in a label-free mode of the first virtual local area network, the second network port is configured in a label-free mode of the second virtual local area network, and the at least one third network port is configured in a labeled mode of the first virtual local area network and a label-free mode of the second virtual local area network.
[0012] Optionally, the second baseboard management controller is configured with a port forwarding rule.
[0013] Correspondingly, the second baseboard management controller is configured to forward communication data from the exchange network to the first baseboard management controller according to the port forwarding rule, or forward communication data from the first baseboard management controller to the exchange network according to the port forwarding rule.
[0014] Optionally, the second baseboard management controller is configured to, after receiving communication data from the exchange network with a destination port corresponding to the first baseboard management controller, encapsulate the communication data by taking a static IP address of the first baseboard management controller as a destination address of the communication data, taking a static IP address of the second baseboard management controller as a source address of the communication data, and sending the encapsulated communication data to the first baseboard management controller.
[0015] The second baseboard management controller is configured to, after receiving a server management instruction from the exchange network with a destination port corresponding to the first baseboard management controller, encapsulate the server management instruction by taking a static IP address of the first baseboard management controller as a destination address of the server management instruction, taking a static IP address of the second baseboard management controller as a source address of the server management instruction, and sending the encapsulated server management instruction to the first baseboard management controller.
[0016] Optionally, the exchange network comprises an exchange device.
[0017] The second baseboard management controller is configured to: after receiving the communication data sent by the first baseboard management controller, encapsulating the communication data by taking the dynamic IP address of the second baseboard management controller as a source address and taking the dynamic IP address of the exchange device as a destination address, and sending the encapsulated communication data to the exchange device.
[0018] The second baseboard management controller is configured to: after receiving the response data of the server management instruction sent by the first baseboard management controller, encapsulating the response data by taking the dynamic IP address of the second baseboard management controller as a source address and taking the dynamic IP address of the exchange device as a destination address, and sending the encapsulated response data to the exchange device.
[0019] Optionally, the second baseboard management controller is configured to: after receiving the communication data sent by the exchange network, sending the communication data to the processor.
[0020] Optionally, the second baseboard management controller is configured to: after receiving the communication data sent by the processor, sending the communication data to the exchange network.
[0021] In a second aspect, the present application provides an electronic device, comprising the network connection device as any one of the preceding aspects.
[0022] It can be known from the above solution that the present application provides a network connection device, comprising: a first baseboard management controller, an exchange module and at least one network card device; wherein the exchange module is provided with a first network port divided into a first virtual local area network, a second network port divided into a second virtual local area network and at least one third network port divided into the first virtual local area network and the second virtual local area network; the first network port is configured to connect the first baseboard management controller, the second network port is configured to connect an exchange network, and the at least one third network port is configured to connect the at least one network card device respectively; the at least one network card device comprises: a second baseboard management controller and a processor; the first baseboard management controller, the second baseboard management controller and the processor are configured with static IP addresses in the same network segment, and the second baseboard management controller is further configured with a dynamic IP address.
[0023] It can be seen that the network connection device provided by the application can realize mutual communication among the first baseboard management controller, the second baseboard management controller in the network card device and the processor by configuring the static IP addresses of the same network segment for the first baseboard management controller, the second baseboard management controller in the network card device and the processor. Meanwhile, the switching module is provided with the first network port connected to the first baseboard management controller and divided into the first virtual local area network, the second network port connected to the switching network and divided into the second virtual local area network, and at least one third network port connected to at least one network card device and divided into the first virtual local area network and the second virtual local area network. Therefore, the switching module and any network card device can serve as a communication bridge between the first baseboard management controller and the switching network, that is, the dynamic IP address configured for the second baseboard management controller in the network card device can communicate with the switching network, and the static IP address configured for the second baseboard management controller in the network card device can communicate with the static IP address of the first baseboard management controller. Since only the second baseboard management controller is configured with a dynamic IP address, the number of IP addresses that need to be dynamically managed is small, and the IP address operation and maintenance work is less, so that too many computing resources are not needed for the management of IP addresses, and efficient management of IP addresses of the server BMC and the network card device can be realized.
[0024] Correspondingly, the electronic device provided by the application also has the above technical effects. BRIEF DESCRIPTION OF DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description only constitute the embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of the provided drawings.
[0026] Figure 1 A network connection device provided by the application is shown in the figure;
[0027] Figure 2 Another network connection device provided by the application is shown in the figure;
[0028] Figure 3 A functional module provided by the application is shown in the figure;
[0029] Figure 4 A server structure provided by the application is shown in the figure;
[0030] Figure 5 A terminal structure provided by the application is shown in the figure. DETAILED DESCRIPTION
[0031] With reference to the drawings of the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments of the present application, all other examples obtained by those of ordinary skill in the art without creative efforts are within the scope of the present application.
[0032] Currently, after the chips such as BMC and DPU of the server are connected to the ToR switch, the IP addresses of the chips such as BMC and DPU can be managed through the DHCP server connected to the ToR switch. If the number of chips to be managed is large, the corresponding IP address operation and maintenance work is also large, and more computing resources need to be allocated for the management of IP addresses, and resource occupation exists. Therefore, the present application provides a network connection scheme, only the second baseboard management controller of the network card device is configured with a dynamic IP address, the number of IP addresses to be dynamically managed is small, the corresponding IP address operation and maintenance work is small, and too many computing resources do not need to be allocated for the management of IP addresses, and efficient management of the IP addresses of the server BMC and the network card device can be achieved.
[0033] Referring to Figure 1 As shown in the figure, the embodiment of the present application discloses a network connection device, comprising: a first baseboard management controller, a switching module and at least one network card device. Wherein, the switching module is provided with a first network port divided into a first virtual local area network, a second network port divided into a second virtual local area network and at least one third network port divided into the first virtual local area network and the second virtual local area network; the first network port is used to connect the first baseboard management controller, the second network port is used to connect the switching network, and the at least one third network port is used to connect the at least one network card device respectively. And, the at least one network card device comprises: a second baseboard management controller and a processor; the first baseboard management controller, the second baseboard management controller and the processor are configured with static IP addresses in the same network segment, and the second baseboard management controller is further configured with a dynamic IP address.
[0034] That is, any one network card device comprises: one baseboard management controller and one processor, and the baseboard management controller and the processor are configured with static IP addresses in the same network segment; at the same time, the second baseboard management controller outside the network card device is also configured with a static IP address in the same network segment, and the communication between the baseboard management controller inside the network card device, the baseboard management controller outside the network card device and the processor inside the network card device can be achieved.
[0035] It should be noted that the first virtual local area network and the second virtual local area network can be implemented based on a VLAN technology. Devices and users in a VLAN (Virtual Local Area Network) are not limited by physical locations, and can be organized according to functions, departments, and applications, and the like, and communication between the devices and the users is as if they are in the same network segment. A VLAN is a broadcast domain, and communication between VLANs is completed by a Layer 3 router. Compared with a traditional local area network technology, the VLAN technology is more flexible, the management overhead of network device movement, addition, and modification is reduced, broadcast activities can be controlled, and the security of the network can be improved.
[0036] In an embodiment, the switching network comprises a DHCP server, and the DHCP server is configured to configure a dynamic IP address for the second baseboard management controller. In this embodiment, only the second baseboard management controller is configured with a dynamic IP address, and thus the number of IP addresses that need to be dynamically managed is relatively small.
[0037] In an embodiment, the switching module is arranged on a target board card, the first baseboard management controller is arranged on a server mainboard, and the target board card is plugged into the server mainboard. That is, the first baseboard management controller is located in the server.
[0038] In an embodiment, the first network port is configured in a no-tag mode of the first virtual local area network, the second network port is configured in a no-tag mode of the second virtual local area network, and the at least one third network port is configured in a no-tag mode of the first virtual local area network and a no-tag mode of the second virtual local area network. The first virtual local area network and the second virtual local area network are isolated from each other. For example, the second network port supports a VLAN 100 untag mode, the first network port supports a VLAN 200 untag mode, and any one of the third network ports supports both the VLAN 100 untag mode and the VLAN 200 tag+ mode.
[0039] In an embodiment, the second baseboard management controller is configured with a port forwarding rule, and the second baseboard management controller is configured to forward communication data from the switching network to the first baseboard management controller according to the port forwarding rule, or to forward communication data from the first baseboard management controller to the switching network according to the port forwarding rule.
[0040] In an embodiment, the second BMC is configured to, after receiving the communication data sent by the switching network and destined to the first BMC, encapsulate the communication data with the static IP address of the first BMC as the destination address and the static IP address of the second BMC as the source address, and send the encapsulated communication data to the first BMC. In an example, the second BMC is configured to, after receiving the server management instruction sent by the switching network and destined to the first BMC, encapsulate the server management instruction with the static IP address of the first BMC as the destination address and the static IP address of the second BMC as the source address, and send the encapsulated server management instruction to the first BMC.
[0041] In an embodiment, the switching network comprises a switching device, and the second BMC is configured to, after receiving the communication data sent by the first BMC and destined to the switching device, encapsulate the communication data with the dynamic IP address of the switching device as the destination address and the dynamic IP address of the second BMC as the source address, and send the encapsulated communication data to the switching device. In an example, the second BMC is configured to, after receiving the response data of the server management instruction sent by the first BMC and destined to the switching device, encapsulate the response data with the dynamic IP address of the switching device as the destination address and the dynamic IP address of the second BMC as the source address, and send the encapsulated response data to the switching device.
[0042] In an embodiment, the second BMC is configured to, after receiving the communication data sent by the switching network and destined to the processor, send the communication data to the processor. In an embodiment, the second BMC is configured to, after receiving the communication data sent by the processor and destined to the switching network, send the communication data to the switching network.
[0043] It can be seen that the network connection device provided in the application can realize mutual communication among the first baseboard management controller, the second baseboard management controller in the network card device and the processor in the network card device by configuring the static IP addresses of the same network segment for the first baseboard management controller, the second baseboard management controller in the network card device and the processor in the network card device. Meanwhile, the switching module is provided with the first network port connected to the first baseboard management controller and divided into the first virtual local area network, the second network port connected to the switching network and divided into the second virtual local area network, and at least one third network port connected to at least one network card device and divided into the first virtual local area network and the second virtual local area network. Therefore, the switching module and any network card device can serve as a communication bridge between the first baseboard management controller and the switching network, that is, the dynamic IP address configured for the second baseboard management controller in the network card device can communicate with the switching network, and the static IP address configured for the second baseboard management controller in the network card device can communicate with the static IP address of the first baseboard management controller. Since only the second baseboard management controller is configured with a dynamic IP address, the number of IP addresses that need to be dynamically managed is small, and the IP address operation and maintenance work is less, so that too many computing resources are not needed for the management of IP addresses, and efficient management of IP addresses of the server BMC and the network card device can be realized.
[0044] Please refer to Figure 2 The GE (Gigabit Ethernet) network port of the BMC in the server is connected to one GE network port port3 of the lan switch (switching module) on the IO board, another GE network port port0 of the lan switch is connected to the ToR switch (switching device in the switching network), and the third GE network port port1 is connected to the BF3 (BlueField3, an acceleration chip). The port0 is configured to support the VLAN 100 untag mode, the port3 is configured to support the VLAN 200 untag mode, and the port1 is configured to support both the VLAN 100 untag mode and the VLAN 200 tag+ mode. Among them, only the BMC of the BF3 is exposed to the ToR switch, so that the BF3 can obtain a dynamic IP address through the DHCP network service. For this purpose, the software in the BMC of the BF3 needs to be modified to realize the function of dynamically obtaining an IP address for one network interface and configure a static IP address 192.168.1.10 for another network interface. The BF3 network card can be configured in the DPU mode and used as a DPU.
[0045] In an example, the modification of the software in the BMC to realize the function of dynamically obtaining an IP address for one network interface includes: the BMC interacts with the DHCP server to confirm the dynamic IP address of itself; and the BMC obtains the static IP address and the port forwarding rule configured by the user.
[0046] Specifically, the BMC in the server is configured with a static IP address: 192.168.1.20, the BMC in the BF3 is configured with a static IP address: 192.168.1.10, and the processor SOC (System On Chip) in the BF3 is configured with a static IP address: 192.168.1.30. The three static IP addresses are configured in the same network segment, thereby ensuring the intercommunication of the three. The port forwarding rule is configured on the BMC of the BF3, so as to redirect the BMC request of the BF3 to the BMC in the server. Specifically, the port forwarding can be performed on the 623 port of the IPMI service and the 443 port of the web service of the BMC in the server.
[0047] In the embodiment, the IO board integrated with the two-layer switch function is newly added to the mainboard of the server, the lan switch chip draws three RJ45 network ports to integrate the network connection of the BF3 and the BMC, and finally access to the ToR switch network. In addition, the port isolation is realized on the lan switch based on the vlan in the embodiment, thereby ensuring the privacy of the internal network: only the network equipment of the BF3 is exposed to the ToR switch network, thereby saving the occupation of a large amount of IP resources and facilitating the unified management of the operation and maintenance personnel.
[0048] The electronic device provided by the embodiment of the present application is described below. The electronic device described below can be mutually referred to with other embodiments described herein.
[0049] The electronic device provided by the embodiment of the present application is described below. The electronic device described below can be mutually referred to with other embodiments described herein.
[0050] In the embodiment, the network connection device includes: a first baseboard management controller, a switching module and at least one network card device. The switching module is provided with a first network port divided into a first virtual local area network, a second network port divided into a second virtual local area network and at least one third network port divided into the first virtual local area network and the second virtual local area network; the first network port is used to connect the first baseboard management controller, the second network port is used to connect a switching network, and the at least one third network port is used to respectively connect the at least one network card device; the at least one network card device includes: a second baseboard management controller and a processor; the first baseboard management controller, the second baseboard management controller and the processor are configured with static IP addresses in the same network segment, and the second baseboard management controller is further configured with a dynamic IP address.
[0051] In an implementation manner, the switching network includes: a DHCP server; the DHCP server is used to configure the dynamic IP address for the second baseboard management controller. In an implementation manner, the switching network includes: a DHCP server; the DHCP server is used to configure the dynamic IP address for the second baseboard management controller.
[0052] In one embodiment, the exchange module is arranged on a target board card, the first baseboard management controller is arranged on a server mainboard, and the target board card is plugged into the server mainboard.
[0053] In one embodiment, the first network port is configured in a tag-free mode of the first virtual local area network, the second network port is configured in a tag-free mode of the second virtual local area network, and the at least one third network port is configured in a tag-free mode of the first virtual local area network and a tag-free mode of the second virtual local area network.
[0054] In one embodiment, the second baseboard management controller is configured with a port forwarding rule, and accordingly, the second baseboard management controller is configured to forward communication data from the exchange network to the first baseboard management controller according to the port forwarding rule, or forward communication data from the first baseboard management controller to the exchange network according to the port forwarding rule.
[0055] In one embodiment, the second baseboard management controller is configured to, after receiving communication data from the exchange network with a destination port corresponding to the first baseboard management controller, encapsulate the communication data with a static IP address of the first baseboard management controller as a destination address of the communication data, a static IP address of the second baseboard management controller as a source address of the communication data, and send the encapsulated communication data to the first baseboard management controller; and the second baseboard management controller is configured to, after receiving a server management instruction from the exchange network with a destination port corresponding to the first baseboard management controller, encapsulate the server management instruction with a static IP address of the first baseboard management controller as a destination address of the server management instruction, a static IP address of the second baseboard management controller as a source address of the server management instruction, and send the encapsulated server management instruction to the first baseboard management controller.
[0056] In one embodiment, the exchange network comprises an exchange device, and the second baseboard management controller is configured to, after receiving communication data from the first baseboard management controller with a destination port corresponding to the exchange device, encapsulate the communication data with a dynamic IP address corresponding to the exchange device as a destination address of the communication data, a dynamic IP address of the second baseboard management controller as a source address of the communication data, and send the encapsulated communication data to the exchange device; and the second baseboard management controller is configured to, after receiving response data of a server management instruction from the first baseboard management controller with a destination port corresponding to the exchange device, encapsulate the response data with a dynamic IP address corresponding to the exchange device as a destination address of the response data, a dynamic IP address of the second baseboard management controller as a source address of the response data, and send the encapsulated response data to the exchange device.
[0057] In an embodiment, the second baseboard management controller is configured to: after receiving the communication data from the switch network, send the communication data to the processor corresponding to the destination port.
[0058] In an embodiment, the second baseboard management controller is configured to: after receiving the communication data from the processor, send the communication data to the switch network corresponding to the destination port.
[0059] The more specific working processes of the modules and units in this embodiment can refer to the corresponding content disclosed in the foregoing embodiments, which will not be described in detail here.
[0060] It can be seen that the embodiment configures the second baseboard management controller of the network card device with a dynamic IP address, and the number of IP addresses that need to be dynamically managed is small, and the IP address operation and maintenance work is less, so that too many computing resources are not needed for IP address management, and efficient management of IP addresses of the server BMC and the network card device can be achieved.
[0061] A function module provided by an embodiment of the application will be described below. The function module described below can be mutually referred to with other embodiments described herein. The function module described in this embodiment can be the first baseboard management controller, the second baseboard management controller, the switch module, or the network card device described in the foregoing embodiments.
[0062] Referring to Figure 3 The embodiment of the application discloses a function module, which comprises:
[0063] The memory 301 is configured to save a computer program.
[0064] The processor 302 is configured to execute the computer program to implement the method disclosed in any of the foregoing embodiments.
[0065] In this embodiment, when the processor executes the computer program saved in the memory, the following steps can be specifically implemented: forwarding the communication data from the switch network to the first baseboard management controller according to the port forwarding rule; or forwarding the communication data from the first baseboard management controller to the switch network according to the port forwarding rule.
[0066] In this embodiment, when the processor executes the computer program saved in the memory, the following steps can be specifically implemented: after receiving the communication data from the switch network, sending the communication data to the first baseboard management controller corresponding to the destination port.
[0067] In the embodiment, the processor, when executing the computer program stored in the memory, can implement the following steps: receiving the server management instruction corresponding to the first baseboard management controller sent by the exchange network, encapsulating the server management instruction by taking the static IP address of the first baseboard management controller as the destination address of the server management instruction and taking the static IP address of the second baseboard management controller as the source address of the server management instruction, and sending the encapsulated server management instruction to the first baseboard management controller.
[0068] In the embodiment, the processor, when executing the computer program stored in the memory, can implement the following steps: receiving the communication data corresponding to the exchange device sent by the first baseboard management controller, encapsulating the communication data by taking the dynamic IP address corresponding to the exchange device as the destination address of the communication data and taking the dynamic IP address of the second baseboard management controller as the source address of the communication data, and sending the encapsulated communication data to the exchange device.
[0069] In the embodiment, the processor, when executing the computer program stored in the memory, can implement the following steps: receiving the response data of the server management instruction corresponding to the exchange device sent by the first baseboard management controller, encapsulating the response data by taking the dynamic IP address corresponding to the exchange device as the destination address of the response data and taking the dynamic IP address of the second baseboard management controller as the source address of the response data, and sending the encapsulated response data to the exchange device.
[0070] In the embodiment, the processor, when executing the computer program stored in the memory, can implement the following steps: receiving the communication data corresponding to the processor sent by the exchange network, and sending the communication data to the processor.
[0071] In the embodiment, the processor, when executing the computer program stored in the memory, can implement the following steps: receiving the communication data corresponding to the exchange network sent by the processor, and sending the communication data to the exchange network.
[0072] Further, the embodiment of the present application further provides a function module. Figure 4 The function module can be a server as shown in Figure 5 or a terminal. Figure 4 and Figure 5 are function module structure diagrams according to an exemplary embodiment, and the content in the diagrams cannot be considered as any limitation on the use range of the present application.
[0073] Figure 4A structural schematic diagram of a server is provided in the embodiment. The server can specifically include at least one processor, at least one memory, a power supply, a communication interface, an input / output interface and a communication bus. The memory is configured to store a computer program, and the computer program is loaded and executed by the processor to implement the related steps in the communication disclosed in any of the foregoing embodiments.
[0074] In the embodiment, the power supply is configured to provide working voltage for each hardware device on the server; the communication interface is configured to create a data transmission channel between the server and external devices, and the communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input / output interface is configured to obtain external input data or output data to the outside, and the specific interface type can be selected according to the specific application requirement, which is not specifically limited herein.
[0075] In addition, the memory as a carrier for resource storage can be a read-only memory, a random access memory, a magnetic disk or an optical disk, and the resources stored thereon include an operating system, a computer program and data, etc., and the storage mode can be temporary storage or permanent storage.
[0076] The operating system is configured to manage and control each hardware device and the computer program on the server, so as to implement the operation and processing of the processor on the data in the memory, and the operating system can be Windows Server, Netware, Unix, Linux, etc. The computer program can further include a computer program for completing other specific work in addition to the computer program for completing the communication method disclosed in any of the foregoing embodiments. The data can include the developer information of the application program in addition to the data such as the update information of the application program.
[0077] Figure 5 A structural schematic diagram of a terminal is provided in the embodiment, and the terminal can specifically include but is not limited to a smart phone, a tablet computer, a notebook computer or a desktop computer, etc.
[0078] Generally, the terminal in the embodiment includes a processor and a memory.
[0079] The processor can include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor can be implemented in at least one of a hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array). The processor can also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor can be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor can also include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations.
[0080] The memory can include one or more computer non-volatile storage media that can be non-transitory. The memory can also include a high-speed random access memory and a non-volatile memory such as one or more disk storage devices, flash memory devices. In this embodiment, the memory is at least used to store the following computer programs, wherein the computer programs are loaded and executed by the processor, and can realize the related steps in the communication method executed by the terminal side disclosed in any of the preceding embodiments. In addition, the resources stored by the memory can also include an operating system and data, and the storage mode can be temporary storage or permanent storage. The operating system can include Windows, Unix, Linux, and the like. The data can include but is not limited to application update information.
[0081] In some embodiments, the terminal can also include a display screen, an input / output interface, a communication interface, a sensor, a power supply, and a communication bus.
[0082] Those skilled in the art can understand that the structure shown in the above embodiments does not constitute a limitation on the terminal, and can include more or fewer components than the illustrated components. Figure 5
[0083] A non-volatile storage medium provided by an embodiment of the present application is described below. The non-volatile storage medium described below can be mutually referred to with other embodiments described herein.
[0084] A non-volatile storage medium for storing a computer program, wherein the computer program is executed by a processor to implement the communication method disclosed in the foregoing embodiments. The non-volatile storage medium is a computer-readable non-volatile storage medium, which is a carrier for storing resources, and can be a read-only memory, a random access memory, a magnetic disk, an optical disk, or the like. The resources stored on the non-volatile storage medium include an operating system, a computer program, and data, and the storage mode can be temporary storage or permanent storage.
[0085] In the embodiment, the computer program executed by the processor can specifically implement the following steps: forwarding the communication data from the switching network to the first baseboard management controller according to the port forwarding rule; or forwarding the communication data from the first baseboard management controller to the switching network according to the port forwarding rule.
[0086] In the embodiment, the computer program executed by the processor can specifically implement the following steps: after receiving the communication data from the switching network and destined to the first baseboard management controller, encapsulating the communication data by taking the static IP address of the first baseboard management controller as the destination address and the static IP address of the second baseboard management controller as the source address, and sending the encapsulated communication data to the first baseboard management controller.
[0087] In the embodiment, the computer program executed by the processor can specifically implement the following steps: after receiving the server management instruction from the switching network and destined to the first baseboard management controller, encapsulating the server management instruction by taking the static IP address of the first baseboard management controller as the destination address and the static IP address of the second baseboard management controller as the source address, and sending the encapsulated server management instruction to the first baseboard management controller.
[0088] In the embodiment, the computer program executed by the processor can specifically implement the following steps: after receiving the communication data from the first baseboard management controller and destined to the switching device, encapsulating the communication data by taking the dynamic IP address of the switching device as the destination address and the dynamic IP address of the second baseboard management controller as the source address, and sending the encapsulated communication data to the switching device.
[0089] In the embodiment, the computer program executed by the processor can implement the following steps: after receiving the response data of the server management instruction of the exchange device corresponding to the destination port sent by the first baseboard management controller, encapsulating the response data by taking the dynamic IP address of the exchange device as the destination address of the response data and taking the dynamic IP address of the second baseboard management controller as the source address of the response data, and sending the encapsulated response data to the exchange device.
[0090] In the embodiment, the computer program executed by the processor can implement the following steps: after receiving the communication data of the exchange network corresponding to the destination port sent by the exchange network, sending the communication data to the processor.
[0091] In the embodiment, the computer program executed by the processor can implement the following steps: after receiving the communication data of the exchange network corresponding to the destination port sent by the exchange network, sending the communication data to the processor.
[0092] The embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other.
[0093] The steps of the method or algorithm described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of the two. The 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 disks, removable disks, CD-ROMs, or any other form of non-volatile storage medium known in the art.
[0094] The principles and implementation modes of the present application are described by using specific examples in the present application, and the above description of the embodiments is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed, and the above description of the embodiments should not be understood as the limitation of the present application.
Claims
1. A network connection device, characterized by The application relates to a server management system. The server management system comprises a first baseboard management controller, a switching module and at least one network card device. The switching module is provided with a first network port divided into a first virtual local area network, a second network port divided into a second virtual local area network and at least one third network port divided into the first virtual local area network and the second virtual local area network; the first network port is used for connecting the first baseboard management controller, the second network port is used for connecting a switching network, and the at least one third network port is used for connecting the at least one network card device respectively. The at least one network card device comprises a second baseboard management controller and a processor; the first baseboard management controller, the second baseboard management controller and the processor are configured with static IP addresses in the same network segment, and only the second baseboard management controller is configured with a dynamic IP address. The second baseboard management controller is used for receiving communication data sent by the switching network and corresponding to the first baseboard management controller, encapsulating the communication data by taking the static IP address of the first baseboard management controller as a destination address of the communication data and taking the static IP address of the second baseboard management controller as a source address of the communication data, and sending the encapsulated communication data to the first baseboard management controller. The second baseboard management controller is used for receiving server management instructions sent by the switching network and corresponding to the first baseboard management controller, encapsulating the server management instructions by taking the static IP address of the first baseboard management controller as a destination address of the server management instructions and taking the static IP address of the second baseboard management controller as a source address of the server management instructions, and sending the encapsulated server management instructions to the first baseboard management controller.
2. The network connection device of claim 1, wherein, The switching module is arranged on a target board card, the first baseboard management controller is arranged on a server mainboard, and the target board card is plugged into the server mainboard.
3. The network connection device of claim 1, wherein, The first network port is configured with a label-free mode of the first virtual local area network, the second network port is configured with a label-free mode of the second virtual local area network, and the at least one third network port is configured with a label mode of the first virtual local area network and a label-free mode of the second virtual local area network.
4. The network connection device of claim 1, wherein, The second baseboard management controller is configured with a port forwarding rule. Accordingly, the second baseboard management controller is used for forwarding communication data from the switching network to the first baseboard management controller according to the port forwarding rule or forwarding communication data from the first baseboard management controller to the switching network according to the port forwarding rule.
5. The network connection device of claim 4, wherein, The switching network comprises a switching device. The second baseboard management controller is used for receiving communication data sent by the first baseboard management controller and corresponding to the switching device, encapsulating the communication data by taking a dynamic IP address corresponding to the switching device as a destination address of the communication data and taking a dynamic IP address of the second baseboard management controller as a source address of the communication data, and sending the encapsulated communication data to the switching device. The second baseboard management controller is configured to receive the response data of the server management instruction corresponding to the switch device from the first baseboard management controller, encapsulate the response data by taking the dynamic IP address of the switch device as the destination address of the response data and taking the dynamic IP address of the second baseboard management controller as the source address of the response data, and send the encapsulated response data to the switch device.
6. The network connection device of claim 1, wherein, The switch network comprises a DHCP server. The DHCP server is configured to configure the dynamic IP address for the second baseboard management controller.
7. The network connection device according to any one of claims 1 to 6, characterized in that, The second baseboard management controller is configured to receive the communication data corresponding to the processor from the switch network, and send the communication data to the processor.
8. The network connection device according to any one of claims 1 to 6, characterized in that, The second baseboard management controller is configured to receive the communication data corresponding to the switch network from the processor, and send the communication data to the switch network.
9. An electronic device, comprising: The network connection device comprises: The network connection device according to any one of claims 1 to 8.
Citation Information
Patent Citations
Management communication method, device, equipment and medium
CN118748640A