Request data unvarnished transmission method, data processor, equipment and storage medium

By introducing MCU and DPE units into the data processor (DPU), using flow table rules to match the data transmitted through and pass through to the board-level management controller, the problem of inability to filter through data transmission on the DPU is solved, and data processing efficiency and management capabilities are improved.

CN119938349APending Publication Date: 2025-05-06SHENZHEN JAGUAR MICROSYSTEMS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311447244.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-02
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The filtering of data transmission is not yet possible on the data processor (DPU).

Method used

By introducing a manageability control MCU unit and a data processing engine DPE unit in the DPU, the request data input from the network interface is received, and the data transmission is determined according to the flow table rule matching, and the data transmission is transmitted to the board-level management controller through the MCU unit.

Benefits of technology

The filtering and transmissible data on the DPU is realized, and the data processing efficiency and system management capabilities are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938349A_ABST
    Figure CN119938349A_ABST
Patent Text Reader

Abstract

The invention relates to a request data unvarnished transmission method, a data processor, equipment and a storage medium. The method comprises the following steps: a DPE unit receives request data input by a network interface, wherein the request data is data input by the network interface; the DPE unit matches the request data according to a flow table rule and determines unvarnished transmission data in the request data, the flow table rule is generated by converting a filtering condition of a sideband interface NCSI frame of a network controller, and the unvarnished transmission data is data which does not need to be processed by the MCU unit and is directly transmitted to a board-level management controller; and the DPE unit transmits the unvarnished transmission data to the board-level management controller through the MCU unit. By adopting the method, the filtering of the unvarnished transmission data can be realized in the data processor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data processors, and in particular to a method for transparently transmitting request data, a data processor, a device, and a storage medium. Background Art

[0002] The Data Processing Uni (DPU) is a dedicated processor built around data. The DPU uses software-defined technology to support infrastructure layer resource virtualization, thereby supporting infrastructure layer services such as storage, security, and service quality management. The DPU network card can be connected to the Baseboard Management Controller (BMC), allowing the Baseboard Management Controller to perform all required network functions.

[0003] In the related art, data between the BMC and the Ethernet controller is transmitted through the Network Controller Sideband Interface (NCSI). The data transmitted through the NCSI can be distinguished from the passthrough data exchanged between the network interface and the BMC and other user data through the frame filtering function.

[0004] However, currently it is not possible to filter transparent data on the DPU. Summary of the invention

[0005] Based on this, it is necessary to provide a method, data processor, device and storage medium for transparent transmission of request data that can implement filtering of transparent transmission data on the DPU in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for transparent transmission of request data. Applied to a data processor, the data processor includes a manageability control MCU unit and a data processing engine DPE unit, the method comprising:

[0007] The DPE unit receives request data input by a network interface, wherein the request data is network data input by the network interface;

[0008] The DPE unit matches the request data according to the flow table rule to determine the transparent transmission data in the request data, wherein the flow table rule is generated by converting the filter condition of the network controller sideband interface NCSI frame, and the transparent transmission data is data that is directly transmitted to the board management controller without being processed by the MCU unit;

[0009] The DPE unit transparently transmits the transparent data to the board-level management controller through the MCU unit.

[0010] In one of the embodiments, before the DPE unit matches the request data according to the flow table rule and determines the transparent transmission data in the request data, the method further includes:

[0011] The MCU unit receives a setting request sent by the board management controller, wherein the setting request includes a filtering condition of the NCSI frame;

[0012] The MCU unit converts the filtering condition of the NCSI frame into the flow table rule;

[0013] The MCU unit transmits the flow table rule to the DPE unit through a target memory, and the target memory is a shared memory of the MCU unit and the DPE unit.

[0014] In one embodiment, the MCU unit converts the filtering condition of the NCSI frame into the flow table rule, including:

[0015] The MCU unit converts the filtering condition of the NCSI frame into the flow table rule according to the filter type corresponding to the filtering condition of the NCSI frame.

[0016] In one of the embodiments, the MCU unit transmits the flow table rule to the DPE unit through the target memory, including:

[0017] The MCU unit writes the flow table rule into the target memory according to the target data format, and sends an interrupt message to the DPE unit, wherein the interrupt message is used to notify the DPE unit to read the data;

[0018] The DPE unit reads the flow table rule from the target memory.

[0019] In one of the embodiments, the target data format includes data transmission status, data type, data length and data content.

[0020] In one of the embodiments, after the DPE unit reads the flow table rule from the target memory, the method further includes:

[0021] The DPE unit modifies the data transmission state corresponding to the flow table rule to a processed state in the target memory;

[0022] If the MCU unit detects in the target memory that the data transmission status corresponding to the flow table rule is in a processed state, a reply message is sent to the board management controller, and the reply message indicates that the data processor has completed the configuration of the filtering conditions of the NCSI frame.

[0023] In one embodiment, the data processor further includes a virtualization processing engine VPE unit; the DPE unit transparently transmits the transparent data to the board-level management controller through the MCU unit, including:

[0024] The DPE unit sends the transparent transmission data to the VPE unit;

[0025] The VPE unit forwards the transparent transmission data to the MCU unit;

[0026] The MCU unit transparently transmits the transparent data to the board-level management controller.

[0027] In one of the embodiments, after the DPE unit transparently transmits the transparent transmission data to the board management controller through the MCU unit, the method further includes:

[0028] The MCU unit receives response data corresponding to the request data sent by the board management controller;

[0029] The MCU unit sends the response data to the DPE unit;

[0030] The DPE unit sends the response data through the network interface.

[0031] In a second aspect, the present application further provides a data processor. The data processor includes a manageability control MCU unit and a data processing engine DPE unit, the MCU unit is connected to a board-level management controller, and the DPE unit is connected to a network interface;

[0032] The DPE unit is used to receive request data input by a network interface, where the request data is network data input by the network interface; match the request data according to a flow table rule to determine transparent transmission data in the request data, where the flow table rule is generated by converting the filter condition of the NCSI frame of the network controller sideband interface, and the transparent transmission data is data that is directly transmitted to the board-level management controller without being processed by the MCU unit; and send the transparent transmission data to the MCU unit;

[0033] The MCU unit is used to transparently transmit the transparent data to the board-level management controller.

[0034] In one of the embodiments, the MCU unit is also used to receive a setting request sent by the board-level management controller, wherein the setting request includes the filtering conditions of the NCSI frame; convert the filtering conditions of the NCSI frame into the flow table rules; and transmit the flow table rules to the DPE unit through a target memory, wherein the target memory is a shared memory of the MCU unit and the DPE unit.

[0035] In one of the embodiments, the MCU unit is specifically configured to convert the filtering condition of the NCSI frame into the flow table rule according to a filter type corresponding to the filtering condition of the NCSI frame.

[0036] In one of the embodiments, the MCU unit is specifically used to write the flow table rule into the target memory according to the target data format, and send interrupt information to the DPE unit, wherein the interrupt information is used to notify the DPE unit to read data;

[0037] The DPE unit is further configured to read the flow table rules from the target memory.

[0038] In one of the embodiments, the target data format includes data transmission status, data type, data length and data content.

[0039] In one of the embodiments, the DPE unit is further used to modify the data transmission state corresponding to the flow table rule to a processed state in the target memory;

[0040] The MCU unit is also used to send a reply message to the board-level management controller if it is detected in the target memory that the data transmission status corresponding to the flow table rule is in a processed state, and the reply information indicates that the data processor has completed the configuration of the filtering conditions of the NCSI frame.

[0041] In one of the embodiments, the data processor further comprises a virtualization processing engine VPE unit;

[0042] The DPE unit is further used to send the transparent transmission data to the VPE unit;

[0043] The VPE unit is used to forward the transparent transmission data to the MCU unit;

[0044] The MCU unit is also used to transparently transmit the transparent data to the board-level management controller.

[0045] In one of the embodiments, the MCU unit is further used to receive response data corresponding to the request data sent by the board management controller; and send the response data to the DPE unit;

[0046] The DPE unit is further configured to send the response data through the network interface.

[0047] In a third aspect, the present application further provides a computer device, comprising a data processor as provided in the second aspect of the present application.

[0048] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for transparent transmission of request data described in the first aspect is implemented.

[0049] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for transparent transmission of request data described in the first aspect is implemented.

[0050] The transparent transmission method, data processor, device, storage medium and program product of the above-mentioned request data, the DPE unit first receives the request data input by the network interface, and the request data is the network data input by the network interface; the DPE unit then matches the request data according to the flow table rules to determine the transparent transmission data in the request data, the flow table rules are generated by the conversion of the filter conditions of the NCSI frame of the network controller sideband interface, and the transparent transmission data is the data that is directly transmitted to the board-level management controller without being processed by the MCU unit; finally, the DPE unit transparently transmits the transparent transmission data to the board-level management controller through the MCU unit. Since the DPE unit of the data processor has the function of unloading flow table services, after converting the filter conditions of the NCSI frame into flow table rules, the filtering of the transparent transmission data can be realized in the data processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 An application environment diagram of a method for transparent transmission of request data provided in an embodiment of the present application;

[0052] Figure 2 A flowchart of a method for transparent transmission of request data provided in an embodiment of the present application;

[0053] Figure 3 A signaling interaction diagram of a method for transparent transmission of request data provided in an embodiment of the present application;

[0054] Figure 4 A signaling interaction diagram of another method for transparent transmission of request data provided in an embodiment of the present application;

[0055] Figure 5 A structural block diagram of a device for transparent transmission of request data provided in an embodiment of the present application;

[0056] Figure 6 An internal structure diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] The transparent transmission method of request data provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, DPU101 is connected to the board-level management controller 102, and at the same time, DPU101 also receives request data through the network interface 104. DPU101 includes a manageability control unit (MCU) unit 1011 and a data processing engine (DPE) unit 1012. The DPE unit 1011 receives the request data input by the network interface 104, and the request data is the network data received by the network interface. Subsequently, the DPE unit 1011 matches the request data according to the flow table rules and determines the transparent data in the request data. The flow table rules are generated by converting the filter conditions of the NCSI frame of the network controller sideband interface. The transparent data is data that is directly transmitted to the board-level management controller without being processed by the MCU unit. Finally, the DPE unit 1011 transparently transmits the transparent data to the board-level management controller 102 through the MCU unit 1012.

[0059] Among them, the above-mentioned DPE1011 mainly provides hardware offloading capability and flow table service offloading capability in the DPU. Exemplarily, DPE1011 can realize hardware offloading capability through Transmission Control Protocol Segmentation Offload (TSO) technology, Large Receive Offload (LRO) technology, and Internet Protocol (IP), Transmission Control Protocol (TCP), User Datagram Protocol (UDP) checksum technology. In addition, DPE1011 can also realize flow table service offloading capability through open source virtual switching (Open vSwitch, OVS) technology. The NCSI protocol handler can be run in the MCU unit 1012 to transparently transmit the transparent data to the board-level management controller 102.

[0060] In some embodiments, the DPE unit 1011 further includes a virtual processing engine (Virtual Processing Engine, VPE) unit 1013, and the VPE unit 1013 is connected to the PCIE bus controller 103 via a high-speed serial computer expansion (Peripheral Component Interconnect Express, PCIE) bus. The VPE unit mainly provides a paravirtualization (virtio) hardware acceleration function.

[0061] In some embodiments, the transparent data transmitted between the DPE unit 1011 and the board-level management controller 102 can be first transmitted by the DPE unit 1011 to the VPE unit 1013, and then the VPE unit 1013 transmits the transparent data to the MCU unit 1011, and finally, the MCU unit 1011 transmits the transparent data to the board-level management controller 102.

[0062] In one embodiment, Figure 2 As shown, a method for transparent transmission of request data is provided, and this method is applied to Figure 1 The data processor in the example is used to illustrate that the data processor includes an MCU unit and a DPE unit, and the transparent transmission method of the request data includes S201-S203:

[0063] S201. The DPE unit receives request data input from a network interface.

[0064] In the present application, when the network interface receives the request data, the data processor may receive the request data input by the network interface through the DPE unit therein.

[0065] Among them, the request data is the network data input by the network interface, and the request data may include a web page access request, a web page image loading request, a network data download request, etc., as well as the response data of the server or the data generated between the server and the server, and the embodiment of the present application does not limit this. Exemplarily, when a user needs to access a web page, a trigger operation can be performed on the terminal device, so that the terminal data sends a web page access request to the data processor through the network interface to obtain the relevant web page data. Exemplarily, when a user needs to load a picture in a web page, a trigger operation can be performed on the terminal device, so that the terminal data sends a web page image loading request to the data processor through the network interface to obtain the picture to be loaded.

[0066] It should be understood that the embodiments of the present application do not limit the above network interface. In some embodiments, the above network interface can be a shared network port, which is a physical network interface shared by multiple devices or hosts. Through the shared network port, a device or host can divide the data processor into multiple logical network cards through virtualization technology, and each logical network card is assigned to a different device or host for use, so that multiple devices or hosts can share the bandwidth and connection of the same data processor to achieve network communication.

[0067] It should be noted that the data processor in the present application may be a data processor network card.

[0068] S202. The DPE unit matches the request data according to the flow table rules to determine the transparent transmission data in the request data.

[0069] In the present application, after the DPE unit receives the request data input by the network interface, it can match the request data according to the flow table rules to determine the transparent data in the request data.

[0070] Among them, transparent data is data that is directly transmitted to the board management controller without being processed by the MCU unit. It should be understood that during the transmission process, transparent data will be transmitted completely as it is without any processing such as parsing or modification. The MCU unit will not process the content of the transparent data. Transparent data can improve transmission efficiency, reduce latency, and maintain data integrity and consistency.

[0071] In some embodiments, the flow table rules may specify the processing method for the request data, including the matching fields and the operations after the matching fields. The DPE unit may match specific fields in the request data through the flow table rules, and perform the operations after the matching fields on the request data containing the matching specific fields.

[0072] Exemplarily, the operation after the above matching field may include forwarding the request data matched by the flow table rule to the MCU unit.

[0073] Exemplarily, in order to determine the transparent data in the request data, the flow table rule may include a specific protocol header field corresponding to the transparent data. When the request data arrives at the DPE unit, the DPE unit will match the request data one by one through the flow table rule. If a specific protocol header field is matched, the matched data is determined as transparent data, and the transparent data is forwarded to the MCU unit.

[0074] In the present application, since the DPE unit of the data processor has the function of unloading flow table services, after the filtering conditions of the NCSI frame are converted into flow table rules, the filtering of transparent data can be implemented in the data processor based on the flow table rules.

[0075] In the present application, the flow table rules are generated by converting the filter conditions of the NCSI frame of the network controller sideband interface.

[0076] The embodiment of the present application does not limit how to convert the filtering conditions of the NCSI frame into flow table rules. In some embodiments, the MCU unit may first receive a setting request sent by the board-level management controller, and the setting request includes the filtering conditions of the NCSI frame. Subsequently, the MCU unit converts the filtering conditions of the NCSI frame into flow table rules. Finally, the MCU unit transmits the flow table rules to the DPE unit through the target memory, and the target memory is the shared memory of the MCU unit and the DPE unit.

[0077] It should be understood that the filtering conditions in the above setting request can be sent by the board-level management controller to the MCU unit through the NCSI frame, and the MCU unit converts the filtering conditions into flow table rules and then transmits them to the DPE unit.

[0078] Among them, in the NCSI frame sent by the board-level management controller to the MCU unit, different filtering conditions can be represented by different types of filters. Exemplarily, the filters can include broadcast filters, virtual local area network filters, etc. The broadcast filter can be used to filter out Address Resolution Protocol packets (ARP) messages. The VLAN filter can be used to filter out non-VLAN data and data matching the specified VLAN tag (tag) of 0x45.

[0079] It should be understood that the embodiments of the present application do not limit how the MCU unit converts the filtering conditions of the NCSI frame into flow table rules. In some embodiments, the MCU unit may convert the filtering conditions of the NCSI frame into flow table rules according to the filter type corresponding to the filtering conditions of the NCSI frame.

[0080] Exemplarily, if the filtering condition of the NCSI frame corresponds to a broadcast filter, and the filtering condition is to filter out ARP packets, the flow table rule can match the destination media access control address (Destination Media Access ControlAddress, DMAC) and the Ethernet frame type (ethtype), and accordingly, the flow table rule can be "DMAC = 0xffffffffffff && ethtype = 0x0806".

[0081] Exemplarily, if the filtering condition of the NCSI frame corresponds to a vlan filter, and the filtering condition is to filter out non-VLAN data and match data with a specified VLAN tag of 0x45, then the flow table rule can match the Ethernet frame type and the VLAN tag. Accordingly, the flow table rule can be "(ethtype=0x8100 && vlantag=0x45)||ethtype!=0x8100".

[0082] It should be understood that the embodiments of the present application do not limit how the MCU unit transmits the flow table rules to the DPE unit. In some embodiments, the MCU unit can write the flow table rules into the target memory according to the target data format and send an interrupt message to the DPE unit. Subsequently, the DPE unit reads the flow table rules from the target memory. The interrupt message is used to notify the DPE unit to read the data.

[0083] It should be understood that after the target data format and the address of the target memory are set, the MCU unit and the DPE unit can be informed in advance so that the MCU unit and the DPE unit can share access to the target memory. Exemplarily, after the MCU unit generates the flow table rules, the MCU unit can write the flow table rules in the target memory. After the writing is completed, the MCU unit triggers the interrupt information and sends the interrupt information to the DPE unit to notify the DPE unit to read the data. Subsequently, the DPE unit reads the flow table rules from the target memory based on the address of the target memory, and then the DPE unit loads the flow table rules.

[0084] The target data format may include data transmission status, data type, data length and data content.

[0085] For example, Table 1 is a schematic table of a target data format provided in an embodiment of the present application. As shown in Table 1, the Flag field occupies 1 byte and is used to represent the data transmission status, the Type field occupies 1 byte and is used to represent the data type, the Length field occupies 2 bytes and is used to represent the data length, and the Dtata field occupies N bytes and is used to carry the actual data content, where N is an integer greater than or equal to 1.

[0086] Table 1

[0087]

[0088] In some embodiments, after the MCU unit transmits the flow table rules to the DPE unit through the target memory, the DPE unit can read the flow table rules in the target memory. Subsequently, the DPE unit can modify the data transmission status corresponding to the flow table rules to the processed state in the target memory. If the MCU unit detects that the data transmission status corresponding to the flow table rules in the target memory is the processed state, a reply message is sent to the board management controller, and the reply message indicates that the data processor has completed the configuration of the filtering conditions of the NCSI frame.

[0089] Among them, different values ​​of the field corresponding to the data transmission state corresponding to the flow table rule can be used to represent different data transmission states. For example, if the value of the field corresponding to the data transmission state corresponding to the flow table rule is 0, it can represent that the DPE unit has not processed the flow table rule written by the MCU unit in the target memory. If the value of the field corresponding to the data transmission state corresponding to the flow table rule is 1, it can represent that the DPE unit has processed the flow table rule written by the MCU unit in the target memory.

[0090] In some embodiments, after the MCU unit writes the flow table rule in the target memory, it can poll the data transmission status corresponding to the flow table rule in the target memory at a preset time interval. This allows the MCU unit to quickly determine whether the flow table rule is processed by the DPE unit. When the flow table rule is processed by the DPE unit, the MCU unit can stop polling and send a reply message to the board management controller to inform the board management controller that the configuration of the filtering conditions of the NCSI frame has been completed.

[0091] The above time interval can be set according to actual conditions, and can be set to 0.1 second, 0.5 second, 1 second, etc.

[0092] S203 , the DPE unit transparently transmits the transparent data to the board-level management controller through the MCU unit.

[0093] In this step, after the DPE unit matches the request data according to the flow table rule and determines the transparent transmission data in the request data, the DPE unit can transparently transmit the transparent transmission data to the board management controller through the MCU unit.

[0094] It should be understood that the embodiments of the present application do not limit how the DPE unit transmits transparent data to the board-level management controller through the MCU unit. In some embodiments, the data processor also includes a VPE unit, and the DPE unit can first send the transparent data to the VPE unit, and then the VPE unit sends the transparent data to the MCU unit. Finally, the MCU unit transparently transmits the transparent data to the board-level management controller. Exemplarily, the transmission of transparent data between the MCU unit and the VPE unit can be achieved by creating a virtio backend device in the MCU unit.

[0095] In the present application, after the MCU unit transparently transmits the transparent data to the board management controller, the board management controller may also return the response data corresponding to the request data through the data processor.

[0096] It should be understood that the embodiments of the present application do not limit how the board management controller returns the response data through the data processor. In some embodiments, the MCU unit may first receive the response data corresponding to the request data sent by the board management controller. Then, the MCU unit sends the response data to the DPE unit. Finally, the DPE unit sends the response data through the network interface.

[0097] Wherein, the above-mentioned response data corresponds to the request data. For example, if the request data is a web page access request, the response data may be the accessed web page data. For example, if the request data is a web page image loading request, the response data may be the loaded image data. For example, if the request data is a network data download request, the response data may be the downloaded network data.

[0098] In some embodiments, similar to the transmission of transparent data, the MCU unit may forward the response data to the DPE unit through the VPE unit. The MCU unit may first send the response data to the VPE unit, and then the VPE unit may send the response data to the DPE unit.

[0099] In some embodiments, after receiving the response data, the DPE unit can also determine the source of the response data and the interface of the MCU unit corresponding to the response data to determine the request data corresponding to the response data. Subsequently, the DPE unit sends the response data through the network interface based on the request data corresponding to the response data.

[0100] The transparent transmission method of request data provided by the embodiment of the present application, the DPE unit first receives the request data input by the network interface, the request data is the network data input by the network interface; the DPE unit then matches the request data according to the flow table rules, and determines the transparent transmission data in the request data, the flow table rules are generated by the conversion of the filter conditions of the NCSI frame of the network controller sideband interface, and the transparent transmission data is the data that is directly transmitted to the board management controller without being processed by the MCU unit; finally, the DPE unit transparently transmits the transparent transmission data to the board management controller through the MCU unit. Since the DPE unit of the data processor has the function of unloading flow table services, after converting the filter conditions of the NCSI frame into flow table rules, the filtering of the transparent transmission data can be implemented in the data processor based on the flow table rules.

[0101] The following describes how to configure flow table rules. Figure 3 This is a signaling interaction diagram of another method for transparent transmission of request data provided in an embodiment of the present application. Figure 3 As shown, the transparent transmission method of the request data includes S301-S307:

[0102] S301. The MCU unit receives a setting request sent by a board management controller, where the setting request includes a filtering condition for an NCSI frame.

[0103] Among them, in the NCSI frame sent by the board-level management controller to the MCU unit, different filtering conditions can be represented by different types of filters.

[0104] Exemplarily, the above filters may include broadcast filters, VLAN filters, etc. Broadcast filters may be used to filter out Address Resolution Protocol (ARP) packets. VLAN filters may be used to filter out non-VLAN data and data matching a specified VLAN tag of 0x45.

[0105] S302. The MCU unit converts the filtering condition of the NCSI frame into a flow table rule.

[0106] It should be understood that the embodiments of the present application do not limit how the MCU unit converts the filtering conditions of the NCSI frame into flow table rules. In some embodiments, the MCU unit may convert the filtering conditions of the NCSI frame into flow table rules according to the filter type corresponding to the filtering conditions of the NCSI frame.

[0107] Exemplarily, if the filtering condition of the NCSI frame corresponds to a broadcast filter, and the filtering condition is to filter out ARP packets, the flow table rule can match the destination media access control address (Destination Media Access ControlAddress, DMAC) and the Ethernet frame type (ethtype), and accordingly, the flow table rule can be "DMAC = 0xffffffffffff && ethtype = 0x0806".

[0108] Exemplarily, if the filtering condition of the NCSI frame corresponds to a vlan filter, and the filtering condition is to filter out non-VLAN data and match data with a specified VLAN tag of 0x45, then the flow table rule can match the Ethernet frame type and the VLAN tag. Accordingly, the flow table rule can be "(ethtype=0x8100 && vlantag=0x45)||ethtype!=0x8100".

[0109] S303. The MCU unit transmits the flow table rules to the DPE unit through the target memory, where the target memory is the shared memory of the MCU unit and the DPE unit.

[0110] It should be understood that the embodiments of the present application do not limit how the MCU unit transmits the flow table rules to the DPE unit. In some embodiments, the MCU unit can write the flow table rules into the target memory according to the target data format and send an interrupt message to the DPE unit. Subsequently, the DPE unit reads the flow table rules from the target memory.

[0111] The interrupt information is used to notify the DPE unit to read data. The target data format includes data transmission status, data type, data length and data content.

[0112] In some embodiments, after the MCU unit transmits the flow table rules to the DPE unit through the target memory, the DPE unit can read the flow table rules in the target memory, and modify the data transmission status corresponding to the flow table rules to the processed state after reading the flow table rules. If the MCU unit detects that the data transmission status corresponding to the flow table rules in the target memory is the processed state, a reply message is sent to the board management controller, indicating that the data processor has completed the configuration of the filtering conditions of the NCSI frame.

[0113] S304. The DPE unit receives request data input by the network interface, where the request data is network data input by the network interface.

[0114] S305. The DPE unit matches the request data according to the flow table rules to determine the transparent data in the request data. The flow table rules are generated by converting the filter conditions of the NCSI frame of the network controller sideband interface. The transparent data is data that is directly transmitted to the board-level management controller without being processed by the MCU unit.

[0115] S306. The DPE unit sends the transparent transmission data to the MCU unit.

[0116] S307 , the MCU unit sends the transparent transmission data to the board management controller.

[0117] The transparent transmission method of request data provided in the embodiment of the present application, the MCU unit first receives the setting request sent by the board-level management controller, and the setting request includes the filtering condition of the NCSI frame. Subsequently, the MCU unit converts the filtering condition of the NCSI frame into a flow table rule. Finally, the MCU unit transmits the flow table rule to the DPE unit through the target memory, and the target memory is the shared memory of the MCU unit and the DPE unit. In this way, the MCU unit can convert the filtering condition of the NCSI frame into a flow table rule, and then transmits the flow table rule to the DPE unit through the shared memory, so that the data filtering function of the network controller (NC) in the NCSI standard can be realized in the data processor.

[0118] The following describes the processing flow of requesting data in the frame filtering function. Figure 4 This is a signaling interaction diagram of another method for transparent transmission of request data provided in an embodiment of the present application. Figure 4 As shown, the transparent transmission method of the request data includes S401-S409:

[0119] S401. A DPE unit receives request data input by a network interface, where the request data is network data input by the network interface.

[0120] S402. The DPE unit matches the request data according to the flow table rules to determine the transparent data in the request data. The flow table rules are generated by converting the filter conditions of the NCSI frame of the network controller sideband interface. The transparent data is data that is directly transmitted to the board-level management controller without being processed by the MCU unit.

[0121] S403: The DPE unit sends the transparent transmission data to the VPE unit.

[0122] S404. The VPE unit sends the transparent transmission data to the MCU unit.

[0123] S405. The MCU unit sends the transparent transmission data to the board management controller.

[0124] S406. The MCU unit receives response data corresponding to the request data sent by the board management controller.

[0125] Wherein, the above-mentioned response data corresponds to the request data. For example, if the request data is a web page access request, the response data may be the accessed web page data. For example, if the request data is a web page image loading request, the response data may be the loaded image data. For example, if the request data is a network data download request, the response data may be the downloaded network data.

[0126] S407. The MCU unit sends the response data to the VPE unit.

[0127] S408. The VPE unit sends the response data to the DPE unit.

[0128] In some embodiments, similar to the transmission of transparent data, the MCU unit may forward the response data to the DPE unit through the VPE unit. The MCU unit may first send the response data to the VPE unit, and then the VPE unit may send the response data to the DPE unit.

[0129] S409. The DPE unit returns the response data through the network interface.

[0130] In some embodiments, after receiving the response data, the DPE unit can also determine the source of the response data and the interface of the MCU unit corresponding to the response data to determine the request data corresponding to the response data. Subsequently, the DPE unit returns the response data through the network interface based on the request data corresponding to the response data.

[0131] The transparent transmission method of request data provided by the embodiment of the present application, the DPE unit first receives the request data input by the network interface, the request data is the data input by the network interface; the DPE unit then matches the request data according to the flow table rules, and determines the transparent transmission data in the request data, the flow table rules are generated by the conversion of the filter conditions of the NCSI frame of the network controller sideband interface, and the transparent transmission data is the data that is directly transmitted to the board-level management controller without being processed by the MCU unit; finally, the DPE unit transparently transmits the transparent transmission data to the board-level management controller through the MCU unit. Since the DPE unit of the data processor has the function of unloading flow table services, after converting the filter conditions of the NCSI frame into flow table rules, the filtering of the transparent transmission data can be implemented in the data processor based on the flow table rules.

[0132] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0133] Based on the same inventive concept, the embodiment of the present application also provides a data processor for implementing the transparent transmission method of the request data involved above. The implementation scheme for solving the problem provided by the data processor is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more data processors provided below can refer to the limitations of the transparent transmission method of the request data above, and will not be repeated here.

[0134] In one embodiment, Figure 5 As shown, a data processor 500 is provided, which includes a manageability control MCU unit 501 and a data processing engine DPE unit 502. The MCU unit is connected to the board-level management controller, and the DPE unit is connected to the network interface.

[0135] The DPE unit 502 is used to receive the request data input by the network interface, where the request data is the network data input by the network interface; match the request data according to the flow table rules to determine the transparent data in the request data, where the flow table rules are generated by converting the filter conditions of the NCSI frame of the network controller sideband interface, and the transparent data is the data directly transmitted to the board management controller without being processed by the MCU unit; and send the transparent data to the MCU unit 501;

[0136] The MCU unit 501 is used to transparently transmit the transparent data to the board management controller.

[0137] In one of the embodiments, the MCU unit 501 is also used to receive a setting request sent by the board-level management controller, which includes filtering conditions for NCSI frames; convert the filtering conditions for the NCSI frames into flow table rules; and transmit the flow table rules to the DPE unit 502 through the target memory, which is the shared memory of the MCU unit 501 and the DPE unit 502.

[0138] In one of the embodiments, the MCU unit 501 is specifically configured to convert the filtering condition of the NCSI frame into a flow table rule according to a filter type corresponding to the filtering condition of the NCSI frame.

[0139] In one of the embodiments, the MCU unit 501 is specifically used to write the flow table rules into the target memory according to the target data format, and send interrupt information to the DPE unit 502, where the interrupt information is used to notify the DPE unit to read data.

[0140] The DPE unit 502 is also used to read the flow table rules from the target memory.

[0141] In one of the embodiments, the target data format includes data transmission status, data type, data length and data content.

[0142] In one of the embodiments, the DPE unit 502 is further configured to modify the data transmission state corresponding to the flow table rule to a processed state in the target memory.

[0143] The MCU unit 501 is also used to send a reply message to the board management controller if it is detected in the target memory that the data transmission status corresponding to the flow table rule is in a processed state, and the reply message indicates that the data processor has completed the configuration of the filtering conditions of the NCSI frame.

[0144] In one of the embodiments, the data processor further includes a virtualization processing engine VPE unit 503 .

[0145] The DPE unit 502 is further configured to send the transparent transmission data to the VPE unit 503 .

[0146] The VPE unit 503 is used to forward the transparent transmission data to the MCU unit 501.

[0147] The MCU unit 501 is also used to transparently transmit the transparent data to the board-level management controller.

[0148] In one of the embodiments, the MCU unit 501 is further configured to receive response data corresponding to the request data sent by the board-level management controller; and send the response data to the DPE unit 502 .

[0149] The DPE unit 502 is also used to return the response data through the network interface.

[0150] Each unit in the above data processor can be implemented in whole or in part by software, hardware, or a combination thereof. Each unit can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0151] In one embodiment, a computer device is provided, which may be an intelligent network card device, or the computer device may be a server or server cluster including a data processor as described in the present application. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, the above-mentioned method for transparent transmission of request data is implemented.

[0152] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0153] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for transparent transmission of request data is implemented.

[0154] In one embodiment, a computer program product is provided, including a computer program, which implements the above-mentioned method for transparent transmission of request data when executed by a processor.

[0155] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0156] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0157] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for transparent transmission of request data, characterized in that: Applied to a data processor, the data processor includes a manageability control MCU unit and a data processing engine DPE unit, the method includes: The DPE unit receives request data input by a network interface, wherein the request data is network data input by the network interface; The DPE unit matches the request data according to the flow table rule to determine the transparent transmission data in the request data, wherein the flow table rule is generated by converting the filter condition of the network controller sideband interface NCSI frame, and the transparent transmission data is data that is directly transmitted to the board management controller without being processed by the MCU unit; The DPE unit transparently transmits the transparent data to the board-level management controller through the MCU unit.

2. The method according to claim 1, characterized in that Before the DPE unit matches the request data according to the flow table rule and determines the transparent transmission data in the request data, the method further includes: The MCU unit receives a setting request sent by the board management controller, wherein the setting request includes a filtering condition of the NCSI frame; The MCU unit converts the filtering condition of the NCSI frame into the flow table rule; The MCU unit transmits the flow table rule to the DPE unit through a target memory, and the target memory is a shared memory of the MCU unit and the DPE unit.

3. The method according to claim 2, characterized in that The MCU unit converts the filtering condition of the NCSI frame into the flow table rule, including: The MCU unit converts the filtering condition of the NCSI frame into the flow table rule according to the filter type corresponding to the filtering condition of the NCSI frame.

4. The method according to claim 2 or 3, characterized in that: The MCU unit transmits the flow table rule to the DPE unit through the target memory, including: The MCU unit writes the flow table rule into the target memory according to the target data format, and sends an interrupt message to the DPE unit, wherein the interrupt message is used to notify the DPE unit to read the data; The DPE unit reads the flow table rule from the target memory.

5. The method according to claim 4, characterized in that The target data format includes data transmission status, data type, data length and data content.

6. The method according to claim 5, characterized in that After the DPE unit reads the flow table rule from the target memory, the method further includes: The DPE unit modifies the data transmission state corresponding to the flow table rule to a processed state in the target memory; If the MCU unit detects in the target memory that the data transmission status corresponding to the flow table rule is in a processed state, a reply message is sent to the board management controller, and the reply message indicates that the data processor has completed the configuration of the filtering conditions of the NCSI frame.

7. The method according to claim 1, characterized in that The data processor further includes a virtualization processing engine VPE unit; the DPE unit transparently transmits the transparent data to the board-level management controller through the MCU unit, including: The DPE unit sends the transparent transmission data to the VPE unit; The VPE unit forwards the transparent transmission data to the MCU unit; The MCU unit transparently transmits the transparent data to the board-level management controller.

8. The method according to any one of claims 1 to 7, characterized in that: After the DPE unit transparently transmits the transparent transmission data to the board management controller through the MCU unit, the method further includes: The MCU unit receives response data corresponding to the request data sent by the board management controller; The MCU unit sends the response data to the DPE unit; The DPE unit sends the response data through the network interface.

9. A data processor, characterized in that: The data processor includes a manageability control MCU unit and a data processing engine DPE unit, the MCU unit is connected to the board-level management controller, and the DPE unit is connected to the network interface; The DPE unit is used to receive request data input by a network interface, where the request data is network data input by the network interface; match the request data according to a flow table rule to determine transparent transmission data in the request data, where the flow table rule is generated by converting the filter condition of the NCSI frame of the network controller sideband interface, and the transparent transmission data is data that is directly transmitted to the board-level management controller without being processed by the MCU unit; and send the transparent transmission data to the MCU unit; The MCU unit is used to transparently transmit the transparent data to the board-level management controller.

10. A computer device, characterized in that: Comprising a data processor as claimed in claim 9.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.