CN117539812A - Server and data transmission method - Google Patents

Server and data transmission method Download PDF

Info

Publication number
CN117539812A
CN117539812A CN202311323076.3A CN202311323076A CN117539812A CN 117539812 A CN117539812 A CN 117539812A CN 202311323076 A CN202311323076 A CN 202311323076A CN 117539812 A CN117539812 A CN 117539812A
Authority
CN
China
Prior art keywords
data packet
bmc
management data
service data
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311323076.3A
Other languages
Chinese (zh)
Inventor
陈李雍
梁红伟
刘胜
张春媚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202311323076.3A priority Critical patent/CN117539812A/en
Publication of CN117539812A publication Critical patent/CN117539812A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/111Switch interfaces, e.g. port details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express

Abstract

The application is applicable to the technical field of computer application, and provides a server and a data transmission method, comprising the following steps: a server, comprising: the system comprises a Central Processing Unit (CPU), a high-speed serial computer expansion bus standard PCIe exchange module, at least one expansion card and a Baseboard Management Controller (BMC); the expansion card is used for acquiring the service data packet, sending the service data packet to the PCIe exchange module and receiving the management data packet; the PCIe switching module is used for acquiring the service data packet and forwarding the service data packet to the CPU or the BMC according to the first addressing information, receiving the management data packet and forwarding the management data packet to the CPU or the expansion card according to the second addressing information; the CPU is used for acquiring and processing the service data packet and/or the management data packet; the BMC is used for acquiring the service data packet and acquiring the management data packet and processing or forwarding the management data packet to the PCIe exchange module. Therefore, the expansion card and the BMC can be communicated, and bidirectional data transmission is realized.

Description

Server and data transmission method
Technical Field
The application belongs to the technical field of computer application, and particularly relates to a server and a data transmission method.
Background
With the development of computer technology, there is an increasing demand for remote management and monitoring of hardware states and behaviors of computer servers in remote management and monitoring services, wherein a technology of accessing a baseboard management controller (baseboard management controller, BMC) through a network card is an important technical means in remote management services, which allows an administrator to connect to the BMC of a server through a network, thereby realizing remote monitoring, control and management of the server, and operating even if the server is located without physical access. This technology plays a critical role in modern IT infrastructure management, particularly in a large-scale, distributed environment, enabling administrators to efficiently manage and maintain server devices.
In the related art, the conventional method generally uses an open source computing item (open compute project, OCP) network card supporting a network controller side band interface (network controller sideband interface, NCSI) to access the BMC to achieve remote management of the server, however, the use of the conventional method described above causes a problem that an AIC (add in card, AIC) not supporting NCSI cannot be interconnected with the BMC.
Disclosure of Invention
The embodiment of the application provides a server and a data transmission method, which can solve the problem that a network card which does not support NCSI at present cannot be connected to a BMC, so that communication with the BMC and data transmission cannot be performed.
In a first aspect, an embodiment of the present application provides a server, including: the system comprises a Central Processing Unit (CPU), a high-speed serial computer expansion bus standard PCIe exchange module, at least one expansion card and a Baseboard Management Controller (BMC); the expansion card is used for acquiring a service data packet from the service platform, sending the service data packet to the PCIe switching module, and receiving a management data packet forwarded by the PCIe switching module, wherein the service data packet comprises first addressing information, and the management data packet comprises second addressing information; the PCIe switching module is configured to obtain the service data packet sent by the expansion card, forward the service data packet to the CPU or the BMC according to the first addressing information, receive the management data packet sent by the BMC, and forward the management data packet to the CPU or the expansion card according to the second addressing information; the CPU is used for acquiring the service data packet and/or the management data packet forwarded by the PCIe switching module and processing the service data packet and/or the management data packet; the BMC is used for acquiring the service data packet forwarded by the PCIe switching module, acquiring the management data packet from a management platform, and processing the management data packet or forwarding the management data packet to the PCIe switching module.
According to the technical scheme, the service data packet is sent to the PCIe exchange module through the expansion card, the PCIe exchange module sends the service data packet to the CPU or the BMC for processing so as to realize communication and connection between the expansion card and the BMC, the management data packet can be sent to the PCIe exchange module through the BMC, and the PCIe exchange module sends the management data packet to the CPU or the expansion card for processing so as to realize communication and connection between the BMC and the expansion card, so that the expansion card and the BMC can be communicated, bidirectional transmission of data is realized, and user experience is improved.
In a possible implementation manner of the first aspect, the PCIe switching module is further configured to:
when the first addressing information is matched with the address corresponding to the CPU, forwarding the service data packet to the CPU;
and when the first addressing information is matched with the address corresponding to the BMC, forwarding the service data packet to the BMC.
Optionally, in another possible implementation manner of the first aspect, the PCIe switching module is further configured to:
when the second addressing information is matched with the address corresponding to the CPU, forwarding the management data packet to the CPU;
and forwarding the management data packet to the expansion card when the second addressing information is matched with the address corresponding to the expansion card.
Optionally, in still another possible implementation manner of the first aspect, the service data packet further includes first network segment information, the management data packet further includes second network segment information, and the BMC includes a BMC network port, where the BMC is further configured to:
when the network segment information corresponding to the BMC is matched with the first network segment information, processing the service data packet;
and when the network segment information corresponding to the BMC is not matched with the first network segment information, forwarding the service data packet to the BMC network port.
Optionally, in a further possible implementation manner of the first aspect, the BMC portal is further configured to:
and acquiring the management data packet from the management platform, and receiving the service data packet forwarded by the BMC.
Optionally, in a further possible implementation manner of the first aspect, the BMC is further configured to:
when the network segment information corresponding to the BMC is matched with the second network segment information, processing the management data packet;
and when the network segment information corresponding to the BMC is not matched with the second network segment information, forwarding the management data packet to the PCIe switching module.
In a second aspect, an embodiment of the present application provides a data transmission method, which is used for any PCIe switching module in a server, including: acquiring a service data packet sent by an expansion card, wherein the service data packet comprises first addressing information; forwarding the service data packet to a CPU or BMC in the server according to the first addressing information; receiving a management data packet sent by the BMC, wherein the management data packet comprises second addressing information; and forwarding the management data packet to the CPU or the expansion card according to the second addressing information.
In a possible implementation manner of the second aspect, forwarding the service data packet to a CPU or a BMC in the server according to the first addressing information includes:
when the first addressing information is matched with the address corresponding to the CPU, forwarding the service data packet to the CPU;
and when the first addressing information is not matched with the address corresponding to the BMC, forwarding the service data packet to the BMC.
Optionally, in another possible implementation manner of the second aspect, forwarding the management data packet to the CPU or the expansion card according to the second addressing information includes:
when the second addressing information is matched with the address corresponding to the CPU, forwarding the management data packet to the CPU;
and forwarding the management data packet to the expansion card when the second addressing information is not matched with the address corresponding to the expansion card.
In a third aspect, an embodiment of the present application provides another data transmission method, which is used for any BMC in a server, including: acquiring a service data packet forwarded by a PCIe switching module in the server; acquiring a management data packet; and processing the management data packet or forwarding the management data packet to the PCIe switching module.
In a possible implementation manner of the third aspect, the service data packet further includes first network segment information, the management data packet further includes second network segment information, the BMC includes a BMC network port, and after the obtaining the service data packet forwarded by the PCIe switching module in the server, the method further includes:
when the network segment information corresponding to the BMC is matched with the first network segment information, processing the service data packet;
and when the network segment information corresponding to the BMC is not matched with the first network segment information, forwarding the service data packet to the BMC network port.
Optionally, in still another possible implementation manner of the third aspect, the acquiring a management data packet includes:
and acquiring the management data packet from the management platform through the BMC network port.
Optionally, in a further possible implementation manner of the third aspect, the processing the management data packet or forwarding the management data packet to the PCIe switching module further includes:
when the network segment information corresponding to the BMC is matched with the second network segment information, processing the management data packet;
and when the network segment information corresponding to the BMC is not matched with the second network segment information, forwarding the management data packet to the PCIe switching module.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a further server according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a data transmission method according to an embodiment of the present application;
fig. 4 is a flow chart of another data transmission method according to an embodiment of the present application;
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The server and the data transmission method provided by the application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present application.
As shown in fig. 1, the server 100 includes: at least one expansion card 110, a high-speed serial computer expansion bus standard PCIe switch module 120, a central processing unit CPU130, and a baseboard management controller BMC140;
the expansion card 110 is configured to obtain a service data packet from the service platform, send the service data packet to the PCIe switching module, and receive a management data packet forwarded by the PCIe switching module, where the service data packet includes first addressing information, and the management data packet includes second addressing information.
It should be noted that, the expansion card 110 is connected with the service platform through the switch, the connection mode of the expansion card 110 and the switch may be connected by using a network cable, and the expansion card 110 and the PCIe switching module 120 are connected through a PCIe protocol.
The expansion card may be a network card that may be added to a computer system, and is a pluggable expansion card for providing a network connection function, where the network card is usually designed with a PCIe interface or other suitable interface, and may be plugged into a corresponding slot of the computer to implement network connection.
The service platform may refer to an application platform erected on the cloud server, for example, by applying the service platform, an instruction may be issued to the local server to obtain resources contained in the local server at the external cloud.
The service data packet may refer to a set of data sent by the service platform.
The PCIe switching module may refer to a hardware device, which is configured to extend and manage device connection on a PCIe bus, where a communication protocol between the PCIe switching module and other devices is PCIe.
The management data packet may refer to a set of data sent by the management platform.
Addressing information, which may refer to information used to uniquely identify and locate a particular device, resource, or network node, allows data to accurately find a destination in the network.
For example, the form of the first addressing information corresponding to the service data packet is in the form of an IP address, that is, 192.168.0.1, and the IP address corresponding to the CPU is also 192.168.0.1, and at this time, the first addressing information corresponding to the service data packet matches the IP address of the CPU, so that the service data packet will be sent to the CPU. The present application is not limited to this.
The PCIe switching module 120 is configured to obtain a service data packet sent by the expansion card 110, forward the service data packet to the CPU130 or the BMC140 according to the first addressing information, receive a management data packet sent by the BMC140, and forward the management data packet to the CPU130 or the expansion card 110 according to the second addressing information.
The PCIe switch module 120 and the CPU130 are connected by a PCIe protocol, the PCIe switch module 120 and the BMC140 are connected by a PCIe protocol, and the PCIe switch module 120 and the expansion card 110 are connected by a PCIe protocol.
As a possible implementation manner, when the connection requirements of multiple expansion cards need to be met, the PCIe switching module 120 can be used to connect with the multiple expansion cards through multiple card slots, thereby expanding the expansibility and the connection capability of the system, and thus meeting the requirements in different application scenarios.
The CPU, which may be a central processing unit, is a main computing and control unit inside the computer, is a hardware component for executing instruction sets in the computer system, and is responsible for executing various computing tasks and controlling the flow of data.
The BMC may refer to a special chip or module embedded on a computer motherboard, and is used for monitoring, managing and remotely controlling computer hardware resources, and is usually an independent microprocessor, and has a memory and a network interface.
The CPU130 is configured to obtain the service data packet and/or the management data packet forwarded by the PCIe switching module 120, and process the service data packet and/or the management data packet.
The CPU130 and the PCIe switch module 120 are connected by a PCIe protocol, and the CPU130 and the BMC140 are connected by a PCIe protocol.
In the embodiment of the application, after the service data packet and the management data packet reach the CPU, the CPU firstly analyzes the data packet, and then realizes connection between the BMC and the expansion card according to the analyzed data. For example, when the service data packet arrives at the CPU, the CPU may act as a data transfer station, and needs to parse the address information contained in the service data packet to determine to which device the data should be transferred, and then decide to transfer the data to the BMC according to the specific address information.
The BMC140 is configured to obtain the service data packet forwarded by the PCIe switching module 120, obtain the management data packet from the management platform, and process the management data packet or forward the management data packet to the PCIe switching module 120.
It should be noted that, the BMC140 is connected to the PCIe switch module 120 through a PCIe protocol, the BMC140 is connected to the management platform through a switch, and the BMC140 is connected to the CPU130 through a PCIe protocol.
The management platform can be software or a system for managing and monitoring the BMC, and allows an administrator to remotely access and control the BMC through a network so as to monitor and manage computer hardware resources.
In the embodiment of the application, the expansion card can acquire the service data packet from the service platform and forward the service data packet to the PCIe exchange module, and then the service data packet is sent to the CPU or the BMC according to the addressing information corresponding to the service data packet, so that the communication and the data transmission between the service platform and the management platform are realized, the BMC can acquire the management data packet through the management platform and forward the management data packet to the PCIe exchange module, and then the PCIe exchange module sends the management data packet to the CPU or the expansion card according to the addressing information corresponding to the management data packet, so that the communication and the data transmission between the management platform and the service platform are realized, the bidirectional data circulation between the service platform and the management platform is realized through the bidirectional connection between the expansion card and the BMC, and the user experience is improved.
The server provided in the embodiment of the present application is further described below.
In the server, PCIe switching module 120 may also be used to:
forwarding the service data packet to the CPU130 when the first addressing information matches an address corresponding to the CPU130;
and forwarding the service data packet to the BMC140 when the first addressing information is matched with the address corresponding to the BMC140.
It should be noted that, when data needs to be acquired from the management platform through the service platform, connection needs to be established between the service platform and the management platform, the service platform sends the service data packet to the PCIe switching module 120 through the expansion card 110, at this time, the PCIe switching module 120 parses out first addressing information in the service data packet, where the first addressing information includes address information corresponding to a device to which the service data packet is to be sent, when the first addressing information matches an address corresponding to the CPU130, the service data packet is forwarded to the CPU130, and when the first addressing information matches an address corresponding to the BMC140, the service data packet is forwarded to the BMC140.
In the embodiment of the application, the PCIe switching module may send the service data packet to the CPU or the BMC according to the first addressing information, so that connectivity between the expansion card and the BMC may be achieved.
The server provided in the embodiments of the present application is further described below.
In the server, PCIe switching module 120 may also be used to:
forwarding the management data packet to the CPU130 when the second addressing information matches an address corresponding to the CPU130;
when the second addressing information matches the address corresponding to the expansion card 110, the management data packet is forwarded to the expansion card 110.
It should be noted that, when data needs to be acquired from the service platform through the management platform, the management platform needs to establish a connection with the service platform, the management platform sends the management data packet to be forwarded to the PCIe switching module 120 through the BMC140, at this time, the PCIe switching module 120 parses second addressing information in the management data packet, where the second addressing information includes address information corresponding to a device to which the management data packet is to be sent, when the second addressing information matches an address corresponding to the CPU130, the management data packet is forwarded to the CPU130, and when the second addressing information matches an address corresponding to the expansion card 110, the management data packet is forwarded to the expansion card 110.
In the embodiment of the application, the PCIe switching module may send the management data packet to the CPU or the expansion card according to the second addressing information, so that connectivity between the BMC and the expansion card may be achieved.
The server provided in the embodiment of the present application is further described below with reference to fig. 2.
Fig. 2 is a schematic structural diagram of still another server according to an embodiment of the present application.
As shown in fig. 2, on the basis of fig. 1, the server 100 may further include: a BMC portal 141, a physical layer PHY (PHY) chip 142, and a BMC chip 143;
the BMC network port may be a network interface in the BMC, where the BMC network port is configured to obtain a management data packet from the management platform and receive a service data packet forwarded by the BMC, for example, when the management platform is to establish a connection with the service platform, the management platform may send the management data packet, forward the management data packet to the BMC network port through the switch, and then the BMC network port continues to send the management data packet to the BMC; when the service platform is to be connected with the management platform, the service platform can send service data packets, and when the BMC judges that the service data packet network segment is not matched with the BMC network segment, the BMC network port receives the service data packets sent by the BMC.
It should be noted that, when the management platform needs to establish connection with the service platform, the management platform sends a management data packet to the BMC network port 141 through the switch, then the BMC network port 141 sends the management data packet to the PHY chip 142 through the medium-related interface MDI (media dependent interface, MDI), and further, the PHY chip 142 sends the management data packet to the BMC chip 143 through the gigabit medium independent interface RGMII (reduced gigabit media independent interface, RGMII); when the service platform needs to be connected with the management platform, firstly, the BMC chip 143 receives the service data packet, then the BMC chip 143 sends the service data packet to the PHY chip through RGMII, and further the PHY chip sends the service data packet to the BMC network port 141 through MDI.
In the embodiment of the application, the functions of BMC receiving and forwarding data can be realized by utilizing a BMC network port, a PHY chip and a BMC chip.
The server provided in the embodiment of the present application is further described below.
In the server, the service data packet further includes first network segment information, and the management data packet further includes second network segment information, where the BMC140 may be further configured to:
when the network segment information corresponding to the BMC140 is matched with the first network segment information, processing the service data packet;
and when the network segment information corresponding to the BMC140 is not matched with the first network segment information, forwarding the service data packet to the BMC network port 141.
Where network segment information, which may refer to a specific range of IP addresses in the network, share the same network address prefix and subnet mask, thereby identifying interconnected devices in the network.
For example, when there are two devices a and B, the IP addresses corresponding to a and B are 192.168.1.10 and 192.168.1.20, respectively, and their subnet masks are 255.255.255.0, in which case the two IP addresses belong to the same network segment, their first 24 bits (192.168.1) are the same, and only the last byte is different, respectively ".10" and ".20", within this network segment they share the same network address prefix.
It should be noted that, when data needs to be acquired from the management platform through the service platform, the service platform needs to establish a connection with the management platform, after the PCIe switching module 120 sends the service data packet to the BMC140, the BMC140 needs to parse the service data packet and acquire first network segment information corresponding to the service data packet, match the first network segment information with network segment information of the BMC140 itself, if the matching is successful, continue to process the service data packet, and if the matching is not successful, forward the service data packet to the BMC network port 141.
As a possible implementation manner, when the network segment information corresponding to the BMC140 does not match the first network segment information, forwarding the service data packet to the BMC network port 141 may further include: the BMC140 sends the service data packet to the PHY chip 142 through the BMC chip 143 through the RGMII, and then the PHY chip 142 forwards the service data packet to the BMC portal 141 through the MDI, which is not limited in this application.
In the embodiment of the application, the BMC can send the service data packet to the BMC network port or continue to process data according to the first network segment information and the network segment information of the BMC, so that the communication between the expansion card and the BMC can be realized.
The server provided in the embodiment of the present application is further described below.
In the server, BMC140 may also be configured to:
when the network segment information corresponding to the BMC140 is matched with the second network segment information, processing the management data packet;
and when the network segment information corresponding to the BMC140 is not matched with the second network segment information, forwarding the management data packet to the PCIe switching module 120.
It should be noted that, when data needs to be acquired from the service platform through the management platform, the management platform needs to establish a connection with the service platform, after the BMC portal 141 sends the management data packet to the BMC140, the BMC140 needs to parse the management data packet and acquire second network segment information corresponding to the management data packet, match the second network segment information with the network segment information of the BMC140 itself, if the matching is successful, continue to process the service data packet, and if the matching is not successful, forward the management data packet to the PCIe switching module 120.
As a possible implementation manner, before the matching between the network segment information corresponding to the BMC140 and the second network segment information, the foregoing method may further include: the BMC portal 141 receives the management data packet, forwards the management data packet to the PHY chip 142 through MDI, and then the PHY chip 142 forwards the management data packet to the BMC chip through RGMII, which is not limited in this application.
In the embodiment of the application, the BMC can send the management data packet to the PCIe exchange module or continue to process the data according to the second network segment information and the network segment information of the BMC, so that the communication between the BMC and the expansion card can be realized.
Fig. 3 is a flow chart of a data transmission method according to an embodiment of the present application.
As shown in fig. 3, the data transmission method is applied to any PCIe switching module in a server, and includes the following steps:
step 301, a service data packet sent by an expansion card is obtained, wherein the service data packet includes first addressing information.
And step 302, forwarding the service data packet to a CPU or BMC in the server according to the first addressing information.
And step 303, receiving a management data packet sent by the BMC, wherein the management data packet comprises second addressing information.
And step 304, forwarding the management data packet to the CPU or the expansion card according to the second addressing information.
The specific implementation process and principle of the above steps 301 to 304 may refer to the detailed description of the above embodiments, which is not repeated here.
Further, in one possible implementation manner of the embodiment of the present application, the step 302 includes:
and forwarding the service data packet to the CPU when the first addressing information is matched with the address corresponding to the CPU.
And when the first addressing information is not matched with the address corresponding to the BMC, forwarding the service data packet to the BMC.
The specific implementation process and principle of the above steps may refer to the detailed description of the above embodiments, which is not repeated herein.
Further, in one possible implementation manner of the embodiment of the present application, the step 304 includes:
and forwarding the management data packet to the CPU when the second addressing information is matched with the address corresponding to the CPU.
And forwarding the management data packet to the expansion card when the second addressing information is not matched with the address corresponding to the expansion card.
The specific implementation process and principle of the above steps may refer to the detailed description of the above embodiments, which is not repeated herein.
In the embodiment of the application, the PCIe exchange module can be used for transmitting the management data packet and the service data packet, so that the expansion card and the BMC can be interconnected, bidirectional communication and transmission of the management platform and the service platform data can be further realized, and user experience and requirements are improved.
Fig. 4 is a flowchart of another data transmission method according to an embodiment of the present application.
As shown in fig. 4, the data transmission method is applied to any BMC in a server, and includes the following steps:
step 401, obtaining a service data packet forwarded by a PCIe switching module in a server.
Step 402, a management data packet is acquired.
Step 403, processing the management data packet or forwarding the management data packet to the PCIe switch module.
The specific implementation and principles of the steps 401 to 403 may refer to the detailed description of the embodiments, which is not repeated here.
Further, in a possible implementation manner of the embodiment of the present application, the service data packet further includes first network segment information, the management data packet further includes second network segment information, and the BMC includes a BMC network port, and after the step 401, further includes:
and when the network segment information corresponding to the BMC is matched with the first network segment information, processing the service data packet.
And when the network segment information corresponding to the BMC is not matched with the first network segment information, forwarding the service data packet to the BMC network port.
The specific implementation process and principle of the above steps may refer to the detailed description of the above embodiments, which is not repeated herein.
Further, in one possible implementation manner of the embodiment of the present application, the step 402 includes:
and acquiring the management data packet from the management platform through the BMC network port.
The specific implementation process and principle of the above steps may refer to the detailed description of the above embodiments, which is not repeated herein.
Further, in one possible implementation manner of the embodiment of the present application, the step 403 further includes:
and when the network segment information corresponding to the BMC is matched with the second network segment information, processing the management data packet.
And when the network segment information corresponding to the BMC is not matched with the second network segment information, forwarding the management data packet to the PCIe switching module.
The specific implementation process and principle of the above steps may refer to the detailed description of the above embodiments, which is not repeated herein.
In the embodiment of the application, the BMC can receive the management data packet and forward the management data packet to the expansion card through the PCIe exchange module, and also can receive the service data packet sent by the expansion card, so that bidirectional communication and data transmission between the BMC and the expansion card are realized, bidirectional communication and data transmission between the management platform and the service platform are further realized, the data transmission efficiency is improved, and the user experience is improved.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed server and method may be implemented in other manners. For example, the above-described embodiments of servers and methods are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (13)

1. A server, comprising: the system comprises a Central Processing Unit (CPU), a high-speed serial computer expansion bus standard PCIe exchange module, at least one expansion card and a Baseboard Management Controller (BMC);
the expansion card is used for acquiring a service data packet from a service platform, sending the service data packet to the PCIe switching module, and receiving a management data packet forwarded by the PCIe switching module, wherein the service data packet comprises first addressing information, and the management data packet comprises second addressing information;
the PCIe switching module is configured to obtain the service data packet sent by the expansion card, forward the service data packet to the CPU or the BMC according to the first addressing information, receive the management data packet sent by the BMC, and forward the management data packet to the CPU or the expansion card according to the second addressing information;
the CPU is used for acquiring the service data packet and/or the management data packet forwarded by the PCIe switching module and processing the service data packet and/or the management data packet;
the BMC is configured to obtain the service data packet forwarded by the PCIe switch module, obtain the management data packet from a management platform, and process the management data packet or forward the management data packet to the PCIe switch module.
2. The server of claim 1, wherein the PCIe switching module is further to:
forwarding the service data packet to the CPU when the first addressing information is matched with the address corresponding to the CPU;
and forwarding the service data packet to the BMC when the first addressing information is matched with the address corresponding to the BMC.
3. The server of claim 1, wherein the PCIe switching module is further to:
forwarding the management data packet to the CPU when the second addressing information is matched with the address corresponding to the CPU;
and forwarding the management data packet to the expansion card when the second addressing information is matched with the address corresponding to the expansion card.
4. The server of any of claims 1-3, wherein the service data packet further includes first network segment information, the management data packet further includes second network segment information, the BMC includes a BMC portal, and the BMC is further configured to:
when the network segment information corresponding to the BMC is matched with the first network segment information, processing the service data packet;
and forwarding the service data packet to the BMC network port when the network segment information corresponding to the BMC is not matched with the first network segment information.
5. The server of claim 4, wherein the BMC portal is further to:
and acquiring the management data packet from the management platform, and receiving the service data packet forwarded by the BMC.
6. The server of any of claims 1-3, wherein the BMC is further to:
when the network segment information corresponding to the BMC is matched with the second network segment information, processing the management data packet;
and when the network segment information corresponding to the BMC is not matched with the second network segment information, forwarding the management data packet to the PCIe exchange module.
7. A method of data transmission, characterized in that a PCIe switching module for use in a server according to any one of claims 1 to 6, comprises:
acquiring a service data packet sent by an expansion card, wherein the service data packet comprises first addressing information;
forwarding the service data packet to a CPU or BMC in the server according to the first addressing information;
receiving the management data packet sent by the BMC, wherein the management data packet comprises second addressing information;
and forwarding the management data packet to the CPU or the expansion card according to the second addressing information.
8. The method of claim 7, wherein forwarding the service data packet to a CPU or BMC in the server according to the first addressing information comprises:
forwarding the service data packet to the CPU when the first addressing information is matched with the address corresponding to the CPU;
and forwarding the service data packet to the BMC when the first addressing information is not matched with the address corresponding to the BMC.
9. The method of claim 7, wherein forwarding the management data packet to the CPU or the expansion card according to the second addressing information comprises:
forwarding the management data packet to the CPU when the second addressing information is matched with the address corresponding to the CPU;
and forwarding the management data packet to the expansion card when the second addressing information is not matched with the address corresponding to the expansion card.
10. A data transmission method, characterized in that it is used in the BMC of the server according to any of claims 1 to 6, and comprises:
acquiring a service data packet forwarded by a PCIe switching module in the server;
acquiring a management data packet;
and processing the management data packet or forwarding the management data packet to the PCIe switching module.
11. The method of claim 10, wherein the service data packet further includes first segment information, the management data packet further includes second segment information, the BMC includes a BMC portal, and after the obtaining the service data packet forwarded by the PCIe switching module in the server, further includes:
when the network segment information corresponding to the BMC is matched with the first network segment information, processing the service data packet;
and forwarding the service data packet to the BMC network port when the network segment information corresponding to the BMC is not matched with the first network segment information.
12. The method of claim 10, wherein the acquiring the management packet comprises:
and acquiring the management data packet from the management platform through the BMC network port.
13. The method of claim 10, wherein the processing the management data packet or forwarding the management data packet to the PCIe switch module further comprises:
when the network segment information corresponding to the BMC is matched with the second network segment information, processing the management data packet;
and when the network segment information corresponding to the BMC is not matched with the second network segment information, forwarding the management data packet to the PCIe exchange module.
CN202311323076.3A 2023-10-12 2023-10-12 Server and data transmission method Pending CN117539812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311323076.3A CN117539812A (en) 2023-10-12 2023-10-12 Server and data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311323076.3A CN117539812A (en) 2023-10-12 2023-10-12 Server and data transmission method

Publications (1)

Publication Number Publication Date
CN117539812A true CN117539812A (en) 2024-02-09

Family

ID=89794653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311323076.3A Pending CN117539812A (en) 2023-10-12 2023-10-12 Server and data transmission method

Country Status (1)

Country Link
CN (1) CN117539812A (en)

Similar Documents

Publication Publication Date Title
US10986171B2 (en) Method for unified communication of server, baseboard management controller, and server
CN109388213B (en) Server system, computer-implemented method, and non-transitory computer-readable medium
US8214528B2 (en) Address identifier scaling in converged networks
US6988161B2 (en) Multiple port allocation and configurations for different port operation modes on a host
US7440415B2 (en) Virtual network addresses
CN114024880B (en) Network target range probe acquisition method and system based on proxy IP and flow table
US20110202685A1 (en) System and Method for Communication Between an Information Handling System and Management Controller Through a Shared LOM
CN113645047B (en) Out-of-band management system and server based on intelligent network card
US9197490B2 (en) System and method for providing remote management of a switching device
CN110011941B (en) Message forwarding method and device
WO2019071800A1 (en) Electronic device and network sharing method and device
US20150006700A1 (en) Establishing connectivity of modular nodes in a pre-boot environment
CN116170409B (en) SD-WAN network address planning system based on virtual domain name
CN109150724B (en) Communication method and network card
CN114401324B (en) Message forwarding method, network equipment and system
CN107769960B (en) BMC management architecture based on CAN bus
CN117539812A (en) Server and data transmission method
CN107547341B (en) Access method and device of virtual extensible local area network VXLAN
CN106993068A (en) A kind of blade server managing intranet IP auto-allocation method
CN106713008B (en) The method that a kind of pair of EOC local-side device is tested for the property
US11606274B1 (en) Method for operations of virtual machines in monitoring cloud activities, system, and device applying the method
EP2105842B1 (en) Method for rmotely managing an ATCA System
CN117648276A (en) Out-of-band management system and method
CN115604206A (en) Universal terminal connection state acquisition method and device, electronic equipment and storage medium
CN116627750A (en) Monitoring method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination