A local area network switching board, network management method and device, and readable storage medium
The combination of the LAN switching chip and Slimline connector of the LAN switching board solves the problem of space occupation and network port resources of dual-node server network connections, and realizes adaptive switching of network connections and resource conservation.
Patent Information
- Application Number
- CN202411458707.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2044-10-18
AI Technical Summary
When a dual-node server uses a network pass-through board to achieve network connection, it occupies more chassis front window space resources and network port resources.
A LAN switch board is used, and the LAN switch chip is used to configure the network signal pins according to the target node mode. The network signal is forwarded through the Slimline connector, saving the internal space and external network port resources of the dual-node server.
Adaptive switching of network connections between single-node and dual-node servers is achieved, saving internal space and external network port resources of the dual-node server.
Smart Images

Figure CN119232685B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, in particular to a LAN switching board, a network management method and device, and a computer readable storage medium. BACKGROUND
[0002] A single-node server is a server with only one mainboard in a case, and all hardware configurations in the server are connected to the mainboard. A double-node server is a server with two mainboards in a case, and the two mainboards correspond to two nodes.
[0003] The network connection problem of a single-node server can be solved by a network pass-through board. The network pass-through board is suitable for a single-node server. If the network pass-through board is applied to a double-node server, each node needs a network pass-through board, and the double-node server needs two network pass-through boards to ensure normal network connection. Although this network connection method can realize normal connection of two nodes, it occupies more case front window space resources and network port resources.
[0004] In summary, how to effectively solve the problem of double-node server network connection through a network pass-through board and the problem of occupying more case front window space resources and network port resources are urgent problems for those skilled in the art. SUMMARY
[0005] The present application aims to provide a LAN switching board which saves internal space and external network port resources of a double-node server, and another object of the present application is to provide a network management method and device and a computer readable storage medium.
[0006] To solve the above technical problems, the present application provides the following technical solutions.
[0007] A LAN switching board comprises:
[0008] A LAN switching chip is configured to analyze a received node mode control instruction to obtain a target node mode to be controlled, load a target firmware from a firmware storage according to the target node mode, receive a network signal sent by an RJ45 connector, configure a network signal pin according to the target firmware, and send the network signal to a first Slimline connector. The target node mode is any one of a single-node mode and a double-node mode. The target firmware is any one of a single-node firmware and a double-node firmware.
[0009] The firmware storage is configured to obtain a target firmware corresponding to the target node mode and store the target firmware.
[0010] The RJ45 connector is used for receiving network signals of external network devices and transmitting the network signals to the LAN switching chip.
[0011] The first Slimline connector is used for forwarding the network signals to a second Slimline connector in the first node and / or a third Slimline connector in the second node according to the network signal pin configuration.
[0012] In an embodiment of the present application, further comprising:
[0013] The first temperature sensor chip is used for monitoring temperature information of the LAN switching board, and when receiving a temperature information reading request sent by the first node, the temperature information is transmitted to the first node.
[0014] The second temperature sensor chip is used for monitoring temperature information of the LAN switching board, and when receiving a temperature information reading request sent by the second node, the temperature information is transmitted to the second node.
[0015] In an embodiment of the present application, further comprising:
[0016] The first storage chip is used for storing board card information of the LAN switching board, and when receiving a board card information reading request sent by the first node, the board card information is transmitted to the first node.
[0017] The second storage chip is used for storing the board card information, and when receiving a board card information reading request sent by the second node, the board card information is transmitted to the second node.
[0018] In an embodiment of the present application, the firmware memory, the first storage chip and the second storage chip are all erasable programmable read-only memories.
[0019] In an embodiment of the present application, the LAN switching chip is specifically used for transmitting the network signals to the first Slimline connector through a first network signal pin corresponding to the first node and / or a second network signal pin corresponding to the second node.
[0020] In an embodiment of the present application, further comprising:
[0021] a multiplexer, configured to switch the link to connect the firmware storage with the first Slimline connector to perform firmware upgrade through the link between the first Slimline connector and the firmware storage when receiving a firmware upgrade link switching instruction; and switch the link to connect the firmware storage with the LAN switch chip to perform firmware loading through the link between the LAN switch chip and the firmware storage when receiving a firmware loading link switching instruction.
[0022] In one specific embodiment of the present application, the LAN switch chip is an 88E6141 chip.
[0023] A network management method, comprising:
[0024] parsing a received node mode control instruction to obtain a target node mode to be controlled, wherein the target node mode is any one of a single-node mode and a double-node mode;
[0025] loading a target firmware from a firmware storage according to the target node mode, wherein the target firmware is any one of a single-node firmware and a double-node firmware;
[0026] receiving a network signal sent by an RJ45 connector;
[0027] configuring a network signal pin according to the target firmware, and sending the network signal to a first Slimline connector, so that the first Slimline connector forwards the network signal to a second Slimline connector in the first node and / or a third Slimline connector in the second node according to the network signal pin configuration.
[0028] A network management device, comprising:
[0029] a node mode obtaining module, configured to parse a received node mode control instruction to obtain a target node mode to be controlled, wherein the target node mode is any one of a single-node mode and a double-node mode;
[0030] a firmware loading module, configured to load a target firmware from a firmware storage according to the target node mode, wherein the target firmware is any one of a single-node firmware and a double-node firmware;
[0031] a network signal receiving module, configured to receive a network signal sent by an RJ45 connector;
[0032] The network signal forwarding module is configured to perform network signal pin configuration according to the target firmware, and send the network signal to the first Slimline connector, so that the first Slimline connector forwards the network signal to the second Slimline connector in the first node and / or the third Slimline connector in the second node according to the network signal pin configuration.
[0033] A computer-readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of the network management method as described above.
[0034] The LAN switching board provided by the application comprises a LAN switching chip, a firmware storage, an RJ45 connector and a first Slimline connector.
[0035] According to the technical scheme, the LAN switching chip is configured to perform network signal pin configuration according to the target node mode to be controlled, and perform network signal pin configuration according to the target firmware loaded from the firmware storage, and send the network signal to the first Slimline connector, and the first Slimline connector is configured to forward the network signal to the second Slimline connector in the first node and / or the third Slimline connector in the second node according to the network signal pin configuration. Thus, adaptive switching of network connection of a single-node server and network connection of a double-node server is realized, single-double node network board cards are multiplexed, the internal space of the double-node server is saved, one LAN switching chip is used to provide network connection functions for two nodes, the LAN switching chip is applicable to both single-node application scenarios and double-node application scenarios, and the internal space of the double-node server and external network port resources are saved.
[0036] Correspondingly, the application further provides a network management method, device and computer readable storage medium corresponding to the local area network exchange board, which have the above technical effects and will not be described here. BRIEF DESCRIPTION OF DRAWINGS
[0037] With the continuous development of computer technology, servers have become an indispensable part of modern enterprises. The hardware modules inside the server are mainly composed of a mainboard, a processor, a memory, a hard disk, a network card and a power supply, etc. With the continuous iteration and update of servers, the functions supported by the servers are becoming more and more complex, so the computing performance requirements of the servers are getting higher and higher, and the computing performance of single-node servers has gradually failed to meet the demand for huge computing power, so dual-node servers have emerged.
[0038] The traditional single-node server refers to a single node composed of one server, which is used to carry and run application programs or provide specific services. The single-node server has only one mainboard inside the case, and all hardware configurations inside the server are connected to this mainboard, including power board, network board, fan board, hard disk backboard and riser card slot (RISER) and other sub-card configurations. The configuration and management of the single-node server are relatively simple, the cost is low, it is easy to deploy, and since there is only one node, the performance is relatively consistent, and there is no difference between nodes. However, the single-node server has no redundancy mechanism, and once the server fails, the entire service will be immediately interrupted, and the scalability of the single-node server will be limited. When the load increases, a single node may not be able to handle all requests, and the expansion capability is limited. In addition, the computing performance and resources of the single-node server are limited, and the central processing unit (CPU), memory and storage resources of a single node are limited, which cannot meet large-scale demand. The development of dual-node servers effectively solves various problems of single-node servers.
[0039] The dual-node server generally refers to a cluster system composed of two server nodes. The dual-node server has two mainboards in the chassis, and the two mainboards correspond to the two nodes. In the dual-node server, each node has its own separate hardware configuration and common hardware modules. For example, the power board in the dual-node server can supply power to node 0 or node 1, so that the power supply of the two nodes in the dual-node server can be met by using one power board, greatly saving the space inside the server. In addition to the power supply requirement, the network connection problem of the dual-node server also needs to be focused on. The network connection problem of the single-node server can be solved by using a network pass-through board. The Slimline connector on the network pass-through board is connected to the Slimline connector on the mainboard through a cable, and then the network cable is connected to the RJ45 connector on the network pass-through board to realize the network connection of the single-node server. This network pass-through board is suitable for single-node servers. If the network pass-through board is applied to the dual-node server, each node needs a network pass-through board, and the dual-node server needs two identical network pass-through boards to ensure normal network connection. Although this network connection method can realize the normal connection of the two nodes, it will occupy more chassis front window space resources and network port resources.
[0040] Referring to Figure 1 , Figure 1 is a structural diagram of a network pass-through board. The network pass-through board is composed of an RJ45 connector, a Slimline connector and a chip on the board. The chip on the network pass-through board mainly includes a temperature sensor and a memory. The temperature sensor is mainly used to monitor the temperature of the network pass-through board, and the memory is mainly used to store the relevant information of the network pass-through board.
[0041] Referring to Figure 2 , Figure 2A network connection topology diagram of a single-node server in the related art is shown in FIG. 1. As shown in the diagram, a Slimline connector at the end of a mainboard and a Slimline connector at the end of a network pass-through board are connected by a cable, so that the mainboard and the network pass-through board are in communication. Network signals (MDI) between a physical layer interface (PHY) chip on the mainboard and an RJ45 connector on the network pass-through board are directly connected, and devices such as electrostatic protection (ESD) devices can be connected in between to protect the quality of the network signals. The LINK_ACT signal and the lighting signal (such as the 100M / 1000M lighting signal) are controlled by the physical layer interface chip on the mainboard, and when the RJ45 connector on the network pass-through board is connected to an external network port or switch through a network cable, the network port light on the RJ45 connector will indicate the status of the network connection under the control of the physical layer interface chip.
[0042] When the network port light is normally lit, it means that the network connection function of the single-node server is normal. As can be intuitively felt from the above diagram, this network connection method is very suitable for single-node servers, the principle is very simple, and the implementation of network connection is very convenient, which not only ensures the convenience of network connection of the single-node server, but also guarantees the stability of network connection of the single-node server.
[0043] In the actual server field, dual-node servers are becoming more and more common. Both nodes in the dual-node server need network connection, and a network pass-through board can only realize the network connection function of one node, so it is obvious that there are certain disadvantages in using a network pass-through board in a dual-node server.
[0044] Referring to Figure 3 , Figure 3 A network connection topology diagram of a dual-node server in the related art is shown in FIG. 2. As shown in the diagram, if a network pass-through board is used to realize the network connection of the dual-node server, node 0 and node 1 (i.e., mainboard 0 and mainboard 1) both need to be connected to a separate network pass-through board, and each network pass-through board needs to be connected to a different RJ45 connector by a separate network cable. Although this method can realize the network connection function of the two nodes of the dual-node server, using two network pass-through boards not only makes the internal space of the dual-node server more cramped, but also occupies more space of the front window of the server by the two RJ45 connectors, wasting network port resources.
[0045] Therefore, the local area network switching board provided in the present application saves the internal space of the dual-node server and the external network port resources.
[0046] In order to make the technical scheme of the present application or the related art clearer, the accompanying drawings needed in the embodiment or the related art description will be briefly introduced. Obviously, the accompanying drawings described are only some of the embodiments of the present application, and not all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by a person of ordinary skill in the art without creative labor are within the protection scope of the present application.
[0047] Figure 1 It is a structural schematic diagram of a network pass-through board;
[0048] Figure 2 It is a network connection topology diagram of a single-node server in the related art;
[0049] Figure 3 It is a network connection topology diagram of a double-node server in the related art;
[0050] Figure 4 It is a structural schematic diagram of a local area network exchange board in the embodiment of the present application;
[0051] Figure 5 It is a network connection topology diagram of a single-node server in the embodiment of the present application;
[0052] Figure 6 It is a network connection topology diagram of a double-node server in the embodiment of the present application;
[0053] Figure 7 It is an implementation flowchart of a network management method in the embodiment of the present application;
[0054] Figure 8 It is a structural block diagram of a network management device in the embodiment of the present application.
[0055] The reference signs are as follows:
[0056] 1-local area network exchange chip, 2-firmware memory, 3-first Slimline connector, 4-RJ45 connector, 5-first temperature sensor chip, 6-second temperature sensor chip, 7-first storage chip, 8-second storage chip, 9-multiplexer. DETAILED DESCRIPTION
[0057] In order to make the technical scheme of the present application or the related art clearer, the accompanying drawings needed in the embodiment or the related art description will be briefly introduced. Obviously, the accompanying drawings described are only some of the embodiments of the present application, and not all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by a person of ordinary skill in the art without creative labor are within the protection scope of the present application.
[0058] Referring to Figure 4 ,Figure 4 A structure schematic diagram of a LAN switch board in an embodiment of the present application, which can include:
[0059] The LAN switch chip 1 is used for analyzing the received node mode control instruction to obtain a target node mode to be controlled, loading a target firmware from the firmware storage 2 according to the target node mode, receiving a network signal sent by the RJ45 connector 4, performing network signal pin configuration according to the target firmware, and sending the network signal to the first Slimline connector 3; wherein the target node mode is any one of a single node mode and a double node mode; and the target firmware is any one of a single node firmware and a double node firmware.
[0060] The firmware storage 2 is used for obtaining a target firmware corresponding to the target node mode and storing the target firmware.
[0061] The RJ45 connector 4 is used for receiving a network signal of an external network device and sending the network signal to the LAN switch chip 1.
[0062] The first Slimline connector 3 is used for forwarding the network signal to a second Slimline connector in a first node and / or a third Slimline connector in a second node according to the network signal pin configuration.
[0063] The LAN switch board (LAN SWITCH) provided by the embodiment of the present application can include the LAN switch chip 1, the firmware storage 2, the firmware storage 2 and the RJ45 connector 4. The baseboard management control in a node sends a node mode control instruction to the LAN switch chip 1, the LAN switch chip 1 analyzes the received node mode control instruction to obtain a target node mode to be controlled, and the target node mode is a single node mode or a double node mode. The firmware storage 2 obtains a target firmware corresponding to the target node mode in advance and stores the target firmware, and the target firmware is a single node firmware or a double node firmware. The LAN switch chip 1 loads the target firmware (Firmware, FW) from the firmware storage 2 according to the target node mode. The RJ45 connector 4 receives a network signal of an external network device and sends the network signal to the LAN switch chip 1. The LAN switch chip 1 receives the network signal sent by the RJ45 connector 4 and performs network signal pin configuration according to the loaded target firmware, and sends the network signal to the first Slimline connector 3.
[0064] According to the technical scheme, the network signal pin configuration is performed according to the target node mode to be controlled by the local area network switching chip, the network signal pin configuration is performed according to the loaded target firmware, and the network signal is sent to the first Slimline connector. The first Slimline connector selects the corresponding Slimline connector from the second Slimline connector in the first node and the third Slimline connector in the second node according to the network signal pin configuration to forward the network signal. Thus, adaptive switching of network connection of a single-node server and network connection of a double-node server is realized, single-double node network board cards are multiplexed, internal space of the double-node server is saved, one local area network switching chip is used to provide network connection functions for two nodes, the local area network switching chip is suitable for both single-node application scenarios and double-node application scenarios, internal space of the double-node server and external network port resources are saved.
[0065] It should be noted that based on the above embodiment, the present embodiment also provides a corresponding improvement scheme. In subsequent embodiments, the steps involved in the above embodiments or between the corresponding steps can be mutually referred to, and the corresponding beneficial effects can also be mutually referred to. In the following improved embodiments, they will not be described one by one.
[0066] In one specific embodiment of the present application, it further comprises:
[0067] The first temperature sensor chip 5 is used to monitor the temperature information of the local area network switching board. When receiving the temperature information reading request sent by the first node, the temperature information is transmitted to the first node.
[0068] The second temperature sensor chip 6 is used to monitor the temperature information of the local area network switching board. When receiving the temperature information reading request sent by the second node, the temperature information is transmitted to the second node.
[0069] The LAN switch board provided by the embodiment of the present application can further comprise a first temperature sensor chip 5 and a second temperature sensor chip 6, both of which are used to monitor the temperature information of the LAN switch board. When the first node needs to read the temperature information of the LAN switch board, a temperature information reading request is sent to the first temperature sensor chip 5, and when the first temperature sensor chip 5 receives the temperature information reading request sent by the first node, the temperature information is transmitted to the first node. When the second node needs to read the temperature information of the LAN switch board, a temperature information reading request is sent to the second temperature sensor chip 6, and when the second temperature sensor chip 6 receives the temperature information reading request sent by the second node, the temperature information is transmitted to the second node. By setting the first temperature sensor chip 5 to monitor the temperature information of the LAN switch board for the first node and setting the second temperature sensor chip 6 to monitor the temperature information of the LAN switch board for the second node, the temperature information on the LAN switch board can be obtained by both the first node and the second node, so that even if one node is dead, the other node can still monitor the temperature on the LAN switch board, the conflict in obtaining the temperature information by the two nodes is avoided, effective monitoring of the temperature information of the LAN switch board is realized, and the reliability of the system is improved.
[0070] In one specific embodiment of the present application, the LAN switch board can further comprise:
[0071] A first storage chip 7 is used to store the board card information of the LAN switch board, and when a board card information reading request sent by the first node is received, the board card information is transmitted to the first node.
[0072] A second storage chip 8 is used to store the board card information, and when a board card information reading request sent by the second node is received, the board card information is transmitted to the second node.
[0073] The LAN switch board provided by the embodiment of the present application can further comprise a first storage chip 7 and a second storage chip 8, both of which store the board card information of the LAN switch board. When the first node needs to read the board card information of the LAN switch board, a board card information reading request is sent to the LAN switch board. When the LAN switch board receives the board card information reading request sent by the first node, the board card information is transmitted to the first node. When the second node needs to read the board card information of the LAN switch board, a board card information reading request is sent to the LAN switch board. When the LAN switch board receives the board card information reading request sent by the second node, the board card information is transmitted to the second node. Thus, effective storage of the board card information of the LAN switch board is realized, the conflict in obtaining the board card information by the two nodes is avoided, and the user can conveniently call and display the board card information at random.
[0074] The first storage chip 7 and the second storage chip 8 are mainly used to store the information of the manufacturer of the LAN switching board, the production date of the board, the PCBA version of the board, the PN of the board and the SN of the board, and the like. By storing the board information of the LAN switching board in the first storage chip 7 and the second storage chip 8 respectively, it is ensured that the two nodes in the dual-node server can both obtain the board information of the LAN switching board. For example, the two nodes can obtain the board information of the LAN switching board through the I2C, so that the advantages of the I2C, such as simplicity, high flexibility and strong scalability, are fully utilized.
[0075] In an embodiment of the present application, the firmware memory 2, the first storage chip 7 and the second storage chip 8 are all EEPROMs.
[0076] The firmware memory 2, the first storage chip 7 and the second storage chip 8 are all EEPROMs. By making the firmware memory 2, the first storage chip 7 and the second storage chip 8 all EEPROMs, the advantages of the EEPROM, such as programmable, erasable, long-term data retention, random access, low power consumption, high reliability and good flexibility, are fully utilized.
[0077] In an embodiment of the present application, the LAN switching chip 1 is specifically used to send network signals to the first Slimline connector 3 through the first network signal pin corresponding to the first node and / or the second network signal pin corresponding to the second node.
[0078] The LAN switch chip 1 comprises a plurality of network signal pins. When it is determined that the current node mode is the single node mode, if the node to be connected to the network currently is the first node, the LAN switch chip 1 sends network signals to the first Slimline connector 3 through the first network signal pin corresponding to the first node; when it is determined that the current node mode is the single node mode, if the node to be connected to the network currently is the second node, the LAN switch chip 1 sends network signals to the first Slimline connector 3 through the second network signal pin corresponding to the second node. When it is determined that the current node mode is the double node mode, the LAN switch chip 1 sends network signals to the first Slimline connector 3 through the first network signal pin corresponding to the first node, and sends network signals to the first Slimline connector 3 through the second network signal pin corresponding to the second node. Thus, the network expansion function of the LAN switch chip 1 is fully utilized, and the function of providing network connection for two mainboards in the double node server simultaneously is realized.
[0079] In one specific embodiment of the present application, the LAN switch board can further comprise:
[0080] The multiplexer is configured to switch the link to connect the firmware storage 2 and the first Slimline connector 3 when the firmware upgrade link switching instruction is received, so as to perform firmware upgrade through the link between the first Slimline connector 3 and the firmware storage 2; and switch the link to connect the firmware storage 2 and the LAN switch chip 1 when the firmware loading link switching instruction is received, so as to perform firmware loading through the link between the LAN switch chip 1 and the firmware storage 2.
[0081] Referring to Figure 5 , Figure 5 Fig. 1 is a network connection topology diagram of a single node server in an embodiment of the present application. Referring to Figure 6 , Figure 6Figure 1 is a network connection topology diagram of a two-node server according to an embodiment of the present application. The LAN switch board according to an embodiment of the present application can further comprise a multiplexer (MUX). When receiving a firmware upgrade link switching instruction, the multiplexer switches the link to connect the firmware memory 2 with the first Slimline connector 3, for example, by selecting the first Slimline connector 3 through the selection pin (SEL PIN) of the multiplexer, so that the firmware upgrade is performed through the link between the first Slimline connector 3 and the firmware memory 2. When receiving a firmware loading link switching instruction, the multiplexer switches the link to connect the firmware memory 2 with the LAN switch chip 1, for example, by selecting the LAN switch chip 1 through the selection pin of the multiplexer, so that the firmware loading is performed through the link between the LAN switch chip 1 and the firmware memory 2. The multiplexer enables fast switching between the firmware upgrade and the firmware loading.
[0082] In one specific embodiment of the present application, the LAN switch chip 1 is an 88E6141 chip.
[0083] The LAN switch chip 1 according to an embodiment of the present application can be configured as an 88E6141 chip, and the chip pins thereof can be connected with four groups of network signals. One group of network signals accessed by the external RJ45 connector 4 can be expanded to two or three groups of network signals through the 88E6141 chip, so that the advantages of the 88E6141 chip, such as high integration, high performance, high safety, energy saving, strong compatibility, high reliability, etc., are fully utilized.
[0084] It should be noted that, in addition to the 88E6141 chip, the LAN switch chip 1 can also be configured as other chips with network signal expansion function, for example, an RTL8367SC chip. The RTL8367SC chip can be connected with five groups of network signals, and the selection of the LAN switch chip 1 can be made according to the quantity demand of the expansion resources of the network resources, which is not limited in the present application.
[0085] Corresponding to the above LAN switch board embodiment, the present application further provides a network management method, and the network management method described below can be referred to in conjunction with the above LAN switch board.
[0086] Referring to Figure 7 , Figure 7 Figure 2 is a flowchart of a network management method according to an embodiment of the present application. The method can comprise the following steps:
[0087] S701: Analyzing the received node mode control instruction to obtain a target node mode to be controlled.
[0088] The target node mode is any one of a single-node mode and a double-node mode.
[0089] S702: loading the target firmware from the firmware storage according to the target node mode.
[0090] The target firmware is any one of a single-node firmware and a double-node firmware.
[0091] S703: receiving a network signal sent by the RJ45 connector.
[0092] S704: configuring a network signal pin according to the target firmware, and sending the network signal to the first Slimline connector, so that the first Slimline connector forwards the network signal to the second Slimline connector in the first node and / or the third Slimline connector in the second node according to the network signal pin configuration.
[0093] According to the above technical solution, the LAN switching chip is configured to perform network signal pin configuration according to the target node mode to be controlled, to perform network signal pin configuration according to the loaded target firmware, and to send the network signal to the first Slimline connector, and the first Slimline connector selects a corresponding Slimline connector from the second Slimline connector in the first node and the third Slimline connector in the second node to forward the network signal according to the network signal pin configuration. Thus, adaptive switching of network connection of a single-node server and network connection of a double-node server is realized, single-double node network board cards are multiplexed, internal space of the double-node server is saved, one LAN switching chip is used to provide network connection functions for two nodes, the LAN switching chip is suitable for both single-node application scenarios and double-node application scenarios, and internal space of the double-node server and external network port resources are saved.
[0094] In one specific embodiment of the present application, sending the network signal to the first Slimline connector can include the following steps:
[0095] The network signal is sent to the first Slimline connector through the first network signal pin corresponding to the first node and / or the second network signal pin corresponding to the second node.
[0096] Corresponding to the above LAN switching board embodiment, the present application further provides a network management device, and the network management device described below can be mutually corresponding and referred to the LAN switching board described above.
[0097] Referring to Figure 8 , Figure 8A structural block diagram of a network management device in an embodiment of the present application, which can include:
[0098] A node mode obtaining module 81 is configured to parse the received node mode control instruction to obtain a target node mode to be controlled, wherein the target node mode is any one of a single-node mode and a double-node mode.
[0099] A firmware loading module 82 is configured to load a target firmware from a firmware storage according to the target node mode, wherein the target firmware is any one of a single-node firmware and a double-node firmware.
[0100] A network signal receiving module 83 is configured to receive a network signal sent by an RJ45 connector.
[0101] A network signal forwarding module 84 is configured to perform network signal pin configuration according to the target firmware, and send the network signal to the first Slimline connector, so that the first Slimline connector forwards the network signal to the second Slimline connector in the first node and / or the third Slimline connector in the second node according to the network signal pin configuration.
[0102] According to the above technical solution, the LAN switching chip is configured to perform network signal pin configuration according to the target node mode to be controlled, perform network signal pin configuration according to the loaded target firmware, and send the network signal to the first Slimline connector, and the first Slimline connector selects the corresponding Slimline connector from the second Slimline connector in the first node and the third Slimline connector in the second node to forward the network signal according to the network signal pin configuration. Thus, adaptive switching of network connection of a single-node server and network connection of a double-node server is realized, single-double node network board cards are multiplexed, the internal space of the double-node server is saved, one LAN switching chip is used to provide network connection functions for two nodes, the LAN switching chip is suitable for both single-node application scenarios and double-node application scenarios, and the internal space of the double-node server and external network port resources are saved.
[0103] In a specific embodiment of the present application, the network signal forwarding module 84 specifically includes a module for sending the network signal to the first Slimline connector through the first network signal pin corresponding to the first node and / or the second network signal pin corresponding to the second node.
[0104] Corresponding to the above method embodiment, the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the following steps:
[0105] The received node mode control instruction is parsed to obtain a target node mode to be controlled, wherein the target node mode is any one of a single node mode and a double node mode; a target firmware is loaded from the firmware storage according to the target node mode, wherein the target firmware is any one of a single node firmware and a double node firmware; a network signal sent by the RJ45 connector is received; the network signal pin configuration is performed according to the target firmware, and the network signal is sent to the first Slimline connector, so that the network signal is forwarded to the second Slimline connector in the first node and / or the third Slimline connector in the second node according to the network signal pin configuration.
[0106] The computer readable storage medium can include a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
[0107] For the computer readable storage medium provided by the present application, refer to the above method embodiments, and the present application will not be described here.
[0108] Corresponding to the above method embodiments, the present application further provides a computer program product, comprising a computer program, which is executed by a processor to realize the steps of the above network management method.
[0109] In the specification, each embodiment is 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. For the network management method, device and computer readable storage medium disclosed by the embodiments, since they correspond to the method disclosed by the embodiments, the description is relatively simple, and the related parts can be referred to the method part.
[0110] The principles and implementation manners of the present application are described by using specific examples in this paper, and the above embodiment description is only used to help understand the technical solutions and core ideas of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the principles of the present application, the present application can be improved and modified in several ways, and these improvements and modifications also fall within the protection scope of the present application.
Claims
1. A local area network switch board, characterized in that: include: The LAN switching chip is used to parse the received node mode control instruction to obtain the target node mode to be controlled; Loading target firmware from a firmware memory according to the target node mode; receiving a network signal sent by an RJ45 connector; configuring network signal pins according to the target firmware, and sending the network signal to a first Slimline connector; wherein the target node mode is either a single-node mode or a dual-node mode; and the target firmware is either a single-node firmware or a dual-node firmware; The firmware memory is used to obtain the target firmware corresponding to the target node mode and store the target firmware; An RJ45 connector is used to receive network signals from external network devices and send the network signals to the LAN switch chip; The first Slimline connector is configured to forward the network signal to the second Slimline connector in the first node and / or the third Slimline connector in the second node according to the network signal pin configuration; Among them, the LAN switching chip includes multiple network signal pins. When the current node mode is determined to be a single-node mode, if the node currently to be connected to the network is a first node, the LAN switching chip sends the network signal to the first Slimline connector through the first network signal pin corresponding to the first node; when the current node mode is determined to be a single-node mode, if the node currently to be connected to the network is a second node, the LAN switching chip sends the network signal to the first Slimline connector through the second network signal pin corresponding to the second node; when the current node mode is determined to be a dual-node mode, the LAN switching chip sends the network signal to the first Slimline connector through the first network signal pin corresponding to the first node, and sends the network signal to the first Slimline connector through the second network signal pin corresponding to the second node.
2. The LAN switch board according to claim 1, characterized in that: Also includes: A first temperature sensor chip is used to monitor the temperature information of the local area network switch board; When receiving the temperature information reading request sent by the first node, transmitting the temperature information to the first node; A second temperature sensor chip is used to monitor the temperature information of the LAN switch board; When the temperature information reading request sent by the second node is received, the temperature information is transmitted to the second node.
3. The LAN switch board according to claim 1, wherein: Also includes: A first storage chip is used to store the board information of the local area network switch board; When receiving the board information reading request sent by the first node, transmitting the board information to the first node; A second storage chip is used to store the board information; When the board information reading request sent by the second node is received, the board information is transmitted to the second node.
4. The LAN switch board according to claim 3, characterized in that: The firmware memory, the first storage chip and the second storage chip are all erasable programmable read-only memories.
5. The LAN switch board according to any one of claims 1 to 4, characterized in that: Also includes: a multiplexer configured to, upon receiving a firmware upgrade link switching instruction, switch the link so that the firmware memory is connected to the first Slimline connector, so as to perform a firmware upgrade through the link between the first Slimline connector and the firmware memory; When a firmware loading link switching instruction is received, the link is switched so that the firmware memory is connected to the LAN switch chip, so that firmware loading is performed through the link between the LAN switch chip and the firmware memory.
6. The LAN switch board according to claim 1, characterized in that: The local area network switching chip is an 88E6141 chip.
7. A network management method, characterized in that: include: Parsing the received node mode control instruction to obtain a target node mode to be controlled; wherein the target node mode is any one of a single node mode and a dual node mode; Loading target firmware from a firmware memory according to the target node mode; wherein the target firmware is any one of single-node firmware and dual-node firmware; Receive network signals sent by the RJ45 connector; Performing network signal pin configuration according to the target firmware, and sending the network signal to the first Slimline connector, so that the first Slimline connector forwards the network signal to the second Slimline connector in the first node and / or the third Slimline connector in the second node according to the network signal pin configuration; Among them, the LAN switching chip includes multiple network signal pins. When the current node mode is determined to be a single-node mode, if the node currently to be connected to the network is a first node, the LAN switching chip sends the network signal to the first Slimline connector through the first network signal pin corresponding to the first node; when the current node mode is determined to be a single-node mode, if the node currently to be connected to the network is a second node, the LAN switching chip sends the network signal to the first Slimline connector through the second network signal pin corresponding to the second node; when the current node mode is determined to be a dual-node mode, the LAN switching chip sends the network signal to the first Slimline connector through the first network signal pin corresponding to the first node, and sends the network signal to the first Slimline connector through the second network signal pin corresponding to the second node.
8. A network management device, characterized in that: include: A node mode acquisition module is used to parse the received node mode control instruction to obtain a target node mode to be controlled; wherein the target node mode is any one of a single node mode and a dual node mode; A firmware loading module, configured to load target firmware from a firmware memory according to the target node mode; wherein the target firmware is any one of single-node firmware and dual-node firmware; A network signal receiving module is used to receive network signals sent by the RJ45 connector; a network signal forwarding module, configured to configure network signal pins according to the target firmware, and send the network signal to the first Slimline connector, so that the first Slimline connector forwards the network signal to the second Slimline connector in the first node and / or the third Slimline connector in the second node according to the network signal pin configuration; Among them, the LAN switching chip includes multiple network signal pins. When the current node mode is determined to be a single-node mode, if the node currently to be connected to the network is a first node, the LAN switching chip sends the network signal to the first Slimline connector through the first network signal pin corresponding to the first node; when the current node mode is determined to be a single-node mode, if the node currently to be connected to the network is a second node, the LAN switching chip sends the network signal to the first Slimline connector through the second network signal pin corresponding to the second node; when the current node mode is determined to be a dual-node mode, the LAN switching chip sends the network signal to the first Slimline connector through the first network signal pin corresponding to the first node, and sends the network signal to the first Slimline connector through the second network signal pin corresponding to the second node.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the network management method according to claim 7 are implemented.
Citation Information
Patent Citations
Automatic configuration method for server multi-IO expansion and related equipment
CN112527715A
Device, system and method for preventing wrong connection of a slimline cable
CN113064770A