CN115277640A - Data processing method and device, intelligent network card and storage medium - Google Patents

Data processing method and device, intelligent network card and storage medium Download PDF

Info

Publication number
CN115277640A
CN115277640A CN202210911271.7A CN202210911271A CN115277640A CN 115277640 A CN115277640 A CN 115277640A CN 202210911271 A CN202210911271 A CN 202210911271A CN 115277640 A CN115277640 A CN 115277640A
Authority
CN
China
Prior art keywords
data
storage
interface
network
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210911271.7A
Other languages
Chinese (zh)
Other versions
CN115277640B (en
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN202210911271.7A priority Critical patent/CN115277640B/en
Publication of CN115277640A publication Critical patent/CN115277640A/en
Application granted granted Critical
Publication of CN115277640B publication Critical patent/CN115277640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a data processing method, a data processing device, an intelligent network card and a storage medium, and relates to the technical field of network communication. The method is applied to an intelligent network card, the intelligent network card comprises a control module and a forwarding module, and the method comprises the following steps: the control module creates a storage space, and the storage space is used for isolating the storage service from the services except the storage service; the control module adds the storage service interface into the storage space and configures the IP address of the storage service interface as a preset address; the forwarding module configures the pre-established IP address of the logic interface of the first network bridge as a preset address; the control module receives the storage service data, forwards the storage service data to the forwarding module through the storage service interface and the preset address, and then sends the storage service data to the storage device; and the forwarding module receives the management service data and forwards the management service data to the control module through the logic interface and the preset address of the first network bridge. Therefore, the complexity of network planning of the intelligent network card can be reduced.

Description

Data processing method and device, intelligent network card and storage medium
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a data processing method and apparatus, an intelligent network card, and a storage medium.
Background
The Smart card (Smart _ NIC) is a task that is not suitable for the Processing of a Central Processing Unit (CPU) of a server, such as the network, storage, and management of the server, is unloaded to hardware for accelerated execution, so that the overall data Processing capability of the server is greatly improved, and the computing power of the CPU is released. Based on the above, how to perform network planning on the intelligent network card, so that the intelligent network card respectively realizes the functions of network, storage and the like after being unloaded becomes a research hotspot.
At present, the storage and management functions after uninstallation are realized by a network replanning mode for the intelligent network card. Specifically, different IP addresses need to be allocated to the unloaded storage task and the unloaded management task, so that the intelligent network card can realize the storage and management functions after unloading. However, this increases the complexity of network planning for the intelligent network card.
Disclosure of Invention
An object of the present application is to provide a data processing method, an apparatus, an intelligent network card and a storage medium, which can reduce the complexity of network planning for the intelligent network card.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, an embodiment of the present application provides a data processing method, where the method is applied to an intelligent network card, where the intelligent network card includes a control module and a forwarding module, and the method includes:
the control module creates a storage space, and the storage space is used for isolating a storage service from services except the storage service;
the control module adds a storage service interface and a pre-deployed storage processing unit into the storage space, and configures the IP address of the storage service interface as a preset address;
the forwarding module configures an IP address of a pre-established logic interface of a first network bridge as the preset address according to the IP address of the storage service interface, wherein the logic interface of the first network bridge is not added into the storage space;
the control module receives storage service data based on the storage processing unit, and forwards the storage service data to the forwarding module through the storage service interface and the preset address, and the forwarding module sends the storage service data to storage equipment;
and the forwarding module receives management service data and forwards the management service data to the control module through the logic interface of the first network bridge and the preset address.
Optionally, the forwarding module uses an IP address of a logical interface of the first bridge as an IP address of a tunnel interface; the method further comprises the following steps:
and the forwarding module receives network service data from a server and forwards the network service data to network equipment through the tunnel interface which is not added into the storage space and the preset address.
Optionally, the method further comprises:
the forwarding module accesses a first forwarding interface and a second forwarding interface on the forwarding module to the first network bridge, wherein the first forwarding interface is in communication connection with the storage service interface, and the second forwarding interface is in communication connection with an external switching device;
the forwarding module sends the storage service data to a storage device, and the forwarding module comprises:
the forwarding module analyzes the stored service data through the first network bridge to obtain service characteristics of the stored service data;
the forwarding module determines a storage service flow table according to the service characteristics of the storage service data through the first network bridge;
and the forwarding module sends the storage service data to the storage device through the external switching device by the first network bridge according to a forwarding path in the storage service flow table.
Optionally, the method further comprises:
the forwarding module creates a second network bridge and accesses a network service interface and the tunnel interface in the forwarding module to the second network bridge, wherein the network service interface is used for receiving the network service data from a server;
the forwarding the network service data to a network device through the tunnel interface not added to the storage space and the preset address includes:
the forwarding module encapsulates the network service data through the tunnel interface in the second network bridge and the preset address to obtain encapsulated data;
the forwarding module gives the encapsulated data to the first bridge for processing through the second bridge;
the forwarding module analyzes the encapsulated data through the first network bridge to obtain the service characteristics of the network service data;
the forwarding module determines a network service flow table according to the service characteristics of the network service data through the first network bridge;
and the forwarding module forwards the encapsulated data to the network equipment through the first network bridge according to a forwarding path in the network service flow table.
Optionally, the method further comprises:
the forwarding module receives feedback data through the external switching device and the second forwarding interface, where the feedback data includes: storing response data of the service data and response data of the network service data;
the forwarding module analyzes the feedback data to obtain the data characteristics of the feedback data;
the forwarding module determines a forwarding path of the feedback data according to the data characteristics of the feedback data;
and the forwarding module forwards the feedback data through a forwarding path of the feedback data.
Optionally, the determining, by the forwarding module, a forwarding path of the feedback data according to the data characteristic of the feedback data includes:
if the data characteristics of the feedback data are used for indicating that the feedback data are response data of the stored service data, the forwarding module determines that a forwarding path of the feedback data is a path passing through the first bridge.
Optionally, the determining, by the forwarding module, a forwarding path of the feedback data according to the data characteristic of the feedback data includes:
if the data characteristics of the feedback data are used for indicating that the feedback data are response data of the network service data, the forwarding module determines that a forwarding path of the feedback data is a path from the first bridge to the server through the second bridge.
In a second aspect, an embodiment of the present application further provides a data processing apparatus, where the apparatus includes:
the system comprises a creating module, a storing module and a processing module, wherein the creating module is used for creating a storage space, and the storage space is used for isolating a storage service from services except the storage service;
the first configuration module is used for adding a storage service interface and a pre-deployed storage processing unit into the storage space and configuring the IP address of the storage service interface as a preset address;
a second configuration module, configured to configure, according to the IP address of the storage service interface, an IP address of a pre-established logical interface of the first bridge as the preset address, where the logical interface of the first bridge is not added to the storage space;
the first forwarding module is used for receiving storage service data based on the storage processing unit and forwarding the storage service data to the forwarding module through the storage service interface and the preset address, and the forwarding module sends the storage service data to storage equipment;
and the second forwarding module is used for receiving management service data and forwarding the management service data to the control module through the logic interface of the first network bridge and the preset address.
Optionally, the forwarding module uses an IP address of a logical interface of the first bridge as an IP address of a tunnel interface;
correspondingly, the device further comprises: a third forwarding module;
the third forwarding module is configured to receive network service data from a server, and forward the network service data to a network device through the tunnel interface that is not added to the storage space and the preset address.
Optionally, the apparatus further comprises: a creation module;
the creating module is configured to access a first forwarding interface and a second forwarding interface on the creating module to the first bridge, where the first forwarding interface is communicatively connected to the storage service interface, and the second forwarding interface is communicatively connected to an external switching device;
correspondingly, the first forwarding module is further configured to parse the storage service data through the first network bridge to obtain the service features of the storage service data; determining a storage service flow table according to the service characteristics of the storage service data through the first network bridge; and according to the forwarding path in the storage service flow table, sending the storage service data to the storage device through the external switching device by the first network bridge.
Optionally, the creating module is further configured to create a second network bridge, and access a network service interface and the tunnel interface in the forwarding module to the second network bridge, where the network service interface is configured to receive the network service data from a server;
correspondingly, the third forwarding module is specifically configured to perform encapsulation processing on the network service data through the tunnel interface in the second network bridge and the preset address to obtain encapsulated data; passing the encapsulated data to the first bridge for processing by the second bridge; analyzing the encapsulated data through the first network bridge to obtain the service characteristics of the network service data; determining a network service flow table according to the service characteristics of the network service data through the first network bridge; and forwarding the encapsulation data to the network equipment through the first bridge according to a forwarding path in the network service flow table.
Optionally, the apparatus further comprises: a determining module;
the determining module is configured to receive feedback data through the external switching device and the second forwarding interface, where the feedback data includes: storing response data of the service data and response data of the network service data; analyzing the feedback data to obtain the data characteristics of the feedback data; determining a forwarding path of the feedback data according to the data characteristics of the feedback data; and forwarding the feedback data through a forwarding path of the feedback data.
Optionally, the determining module is specifically configured to determine that a forwarding path of the feedback data is a path passing through the first bridge if the data characteristic of the feedback data is used to indicate that the feedback data is response data of the storage service data.
Optionally, the determining module is further specifically configured to determine that a forwarding path of the feedback data is a path that reaches a server through the first bridge and the second bridge if the data characteristic of the feedback data is used to indicate that the feedback data is response data of the network service data.
In a third aspect, an embodiment of the present application provides an intelligent network card, including: the data processing method comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the intelligent network card runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the data processing method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the data processing method of the first aspect.
The beneficial effect of this application is:
the embodiment of the application provides a data processing method, a device, an intelligent network card and a storage medium, wherein the method is applied to the intelligent network card, the intelligent network card comprises a control module and a forwarding module, and the method comprises the following steps: the control module creates a storage space, and the storage space is used for isolating the storage service from the services except the storage service; the control module adds the storage service interface and the pre-deployed storage processing unit into a storage space, and configures the IP address of the storage service interface as a preset address; the forwarding module configures the IP address of the pre-established logic interface of the first network bridge as a preset address according to the IP address of the storage service interface, wherein the logic interface of the first network bridge is not added into the storage space; the control module receives the storage service data based on the storage processing unit, and forwards the storage service data to the forwarding module through the storage service interface and the preset address, and the forwarding module sends the storage service data to the storage device; the forwarding module receives the management service data and forwards the management service data to the control module through the logic interface and the preset address of the first network bridge.
By adopting the data processing method provided by the embodiment of the application, based on the function that the storage space can isolate the storage service from the services except the storage service, the storage service interface added into the storage space and the logic interface of the first network bridge not added into the storage space are in an isolated state, so that the intelligent network card can successfully configure the IP address of the logic interface of the first network bridge into the IP address same as the storage service interface. After the configuration of the intelligent network card is completed, the intelligent network card forwards the storage service data to the storage device based on the storage processing unit which is in communication connection with the storage device, the storage service interface which is added into the storage space and the preset address, and the intelligent network card can also forward the network service data to the network device based on the logic interface of the first network bridge which is not added into the storage space and the preset address. It can be seen that, in the application, the intelligent network card only needs to configure one IP address (preset address), that is, the IP addresses corresponding to the storage service module and the management service module are the same, so that the configured intelligent network card can offload the functions of storing services and managing services from the server. That is, the complexity of configuring the intelligent network card, that is, the complexity of network planning for the intelligent network card, can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic view of a data processing method system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another data processing method provided in the embodiment of the present application;
fig. 5 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an intelligent network card according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Before explaining the embodiments of the present application in detail, an application scenario of the present application will be described first. The application scenario may specifically be to configure the intelligent network card and to implement the functions of offloading the storage service and managing the service from the server based on the configured intelligent network card, and certainly may also implement other service functions, such as a network service, carried by the server, which is not limited in this application. The functions of offloading storage traffic, management traffic, and network traffic mentioned herein are relative to a host machine, which may be understood as a server on which an intelligent network card is installed. It is known that, by introducing an intelligent network card to the server side, services which are not suitable for processing by the server CPU, such as storage and management of the server, can be offloaded to the intelligent network card for execution, so that the overall data processing capability of the server is greatly improved, and the computing power of the server CPU is released.
It should be understood that in a server environment using a standard network card, a user only needs to configure an IP address for the server to implement the storage, management, and other functions of the server. After the intelligent network card is introduced to the server side, in the prior art, the intelligent network card needs to be configured in a network replanning mode, and then the functions of unloading the storage service and managing the service from the server by the intelligent network card can be realized. Compared with the server environment of the standard network card, the network replanning of the intelligent network card is realized by only configuring one IP address in the server environment of the standard network card, namely the IP addresses corresponding to all the service modules are the same, and the network replanning refers to the situation that different IP addresses are required to be configured for different service modules of the intelligent network card, namely the IP address corresponding to the service storage module is different from the IP address of the service management module, so that the configured intelligent network card can realize the functions of unloading the storage service and managing the service from the server.
It can be seen that, in the prior art, the intelligent network card is not configured in the current standard network card configuration manner, so that the configuration process of the intelligent network card is complex, the complexity of upgrading the standard network card to the intelligent network card environment by a user is greatly increased, the user can perceive the network upgrading and reconstruction, and the burden of the user is increased.
In view of the above problems, embodiments of the present application provide a data processing method, which can configure an IP address for an intelligent network card by following the idea of configuring a standard network card currently on the premise that the configured intelligent network card can achieve the functions of offloading storage services and managing services from a server, that is, the IP addresses corresponding to a storage service module and a management service module are the same, so that the complexity of configuring the intelligent network card, that is, the complexity of network planning for the intelligent network card, can be reduced. When the standard network card is upgraded into the intelligent network card, a user does not need to perform network re-planning, so that the complexity of the environment that the user upgrades the standard network card into the intelligent network card is reduced, and the user can perform network upgrading and reconstruction without perception.
For the convenience of understanding the embodiments of the present application, several service functions of the intelligent network card unloaded from the server are explained herein.
And (4) storage service: the intelligent network card can forward the storage service of read-write access to the network disk on the front-end server to the rear-end storage device, and forward the received response data returned by the storage device to the server.
Network service: the intelligent network card can forward the access data of the server at the front end to the network equipment at the back end, and simultaneously forward the received response data returned by the network equipment to the server.
And (4) managing services: and the management equipment sends the management data to the intelligent network card so as to manage the intelligent network card.
Fig. 1 is a scene schematic diagram of a data processing system according to an embodiment of the present application, as shown in fig. 1, the system includes an intelligent network card 10, the intelligent network card 10 includes a control module 100 and a forwarding module 101, the control module 100 may specifically be a CPU, the forwarding module 101 may specifically be an FPGA (Field Programmable Gate Array), that is, a framework of the intelligent network card 10 is in a (CPU + FPGA) form, of course, the framework of the intelligent network card 10 may also be in other forms, and fig. 1 is only an example, and is not limited thereto.
The present application is described by taking an intelligent network card 10 with a (CPU + FPGA) architecture as an example, and the storage service interface, the first forwarding interface, the second forwarding interface, and the network service interface mentioned in the present application may be respectively a Net2 interface, a vnet200 interface, a vnet300 interface, and a vnet100 interface in fig. 1. As can be seen in fig. 1, control module 100 is communicatively coupled to vnet200 interface on forwarding module 101 via the Net2 interface thereon. It should be noted that the control module 100 and the forwarding module 101 may also have other interfaces connected, and the present application is not limited thereto.
Based on the above description, the smart network card 10 may perform configuration processing after receiving the initialization instruction. For example, when the intelligent network card 10 is installed in the server 20 in fig. 1, the intelligent network card 10 may configure the same IP address, create a bridge, and the like for each service module (e.g., storage, management) according to the following example of the present application based on the received power-on instruction, which is the above-mentioned initialization instruction, and will not be described here again. It should be noted that the present application does not limit the specific scenario for generating the initialization trigger instruction.
After the configuration of the intelligent network card 10 is completed, the functions of storage service, management service, and network service may be implemented based on the connection manner described below, and of course, other service functions may also be implemented, which is not limited herein.
As shown in fig. 1, the server 20 may include a network disk interface (BLK), a network interface (Net 1), and of course, may also include other service interfaces. The network disk interface (BLK) is connected to the control module 100, and the network interface (Net 1) is connected to the vnet100 interface of the forwarding module 101. When the intelligent network card 10 is in a service phase, the system may further include an external switching device 30, a management platform 40, a storage device 50, and a network device 60, where the management platform 40, the storage device 50, and the network device 60 are respectively in communication connection with the external switching device 30, and the management platform 40 is further connected to a vnet300 interface on the forwarding module 101.
For an exemplary storage service scenario, the control module 100 may be preconfigured with a storage processing unit 100A, and a network disk interface (BLK) is connected to the storage processing unit 100A, where the storage processing unit 100A is configured to convert a storage packet corresponding to storage service data sent by the server 20 at the front end, obtain an ethernet storage packet, and forward the ethernet storage packet to the storage device 50 at the back end through the forwarding module 101 and the external switching device 30.
For the management service scenario, the vnet300 interface on the forwarding module 101 is connected to the external switching device 30, and the management service data may be sent to the control module 100 in the intelligent network card 10 based on the first bridge created by the forwarding module 101, so as to manage the intelligent network card 10.
For a network service scenario, the network interface (Net 1) is connected to the vnet100 interface on the forwarding module 101, and the network service data sent by the server 20 at the front end through the network interface (Net 1) may be sent to the external switching device 30 based on the first bridge and the second bridge created by the forwarding module 101, and then forwarded to the network device 60 through the external switching device 30.
The data processing method mentioned in the present application is explained below with reference to the drawings. Fig. 2 is a schematic flow chart of a data processing method according to an embodiment of the present application, where the method is applicable to the aforementioned intelligent network card. As shown in fig. 2, the method may include:
s201, the control module creates a storage space.
The storage space is used for isolating the storage service from services other than the storage service, and the services other than the storage service may include a management service, a network service, and the like, which is not limited in the present application.
The three steps S201 to S203 in fig. 2 can be understood as the configuration stage of the intelligent network card. For example, after receiving the configuration command (initialization command), the control module creates a storage space, and the storage space can implement isolation application between the service modules, such as isolation of storage service from management service.
S202, the control module adds the storage service interface and the pre-deployed storage processing unit into a storage space, and configures an internet protocol address of the storage service interface as a preset address.
As described with reference to fig. 1, after the control module 100 completes creation of the storage space, the storage service interface (Net 2) on the control module may be added to the storage space, and the preset address may be configured as an internet protocol IP address of the storage service interface (Net 2), for example, the preset address is IP1, and further, the control module 100 may also configure a physical address (MAC address) of the storage service interface (Net 2) as MAC1.
The control module 100 adds the storage service interface (Net 2) and the storage processing unit 100A into the storage space, so that the storage service interface (Net 2) can establish a communication connection between the storage processing unit 100A and the storage device 50, and the intelligent network card can realize the function of processing the storage service after the configuration is completed.
S203, the forwarding module configures the IP address of the pre-established logic interface of the first network bridge as a preset address according to the IP address of the storage service interface.
The logic interface of the first bridge is not added into the storage space, and the logic interface of the first bridge is not added into the storage space added by the storage service interface, namely the logic interface of the first bridge and the storage service interface are in an isolated state, so that the forwarding module can configure the IP address of the logic interface of the first bridge based on the IP address corresponding to the mentioned storage service interface, and can successfully set the IP address of the logic interface of the first bridge to be the same as the IP address of the storage service interface. That is, the IP address of the storage service interface and the IP address of the logical interface of the first bridge correspond to the same preset address (e.g., IP 1).
It is understood that the logical interface of the first network bridge mentioned here may function as a management interface, through which the intelligent network card may be managed through the control module of the intelligent network card. Therefore, based on the storage space, the intelligent network card can successfully configure the IP address corresponding to the storage service and the IP address corresponding to the management service to be the same.
S204, the control module receives the storage service data based on the storage processing unit, forwards the storage service data to the forwarding module through the storage service interface and the preset address, and the forwarding module sends the storage service data to the storage device.
After the configuration of the intelligent network card is completed, the intelligent network card can forward the storage service data and the management service data generated by the server through steps S204 to S205, that is, steps S204 to S205 are the application stage of the intelligent network card.
For a storage service scenario, an exemplary scenario is that after receiving a storage packet corresponding to storage service data sent by a server, a storage processing unit may convert the storage packet into an ethernet storage packet, because the storage processing unit and a storage service port are both located in a storage space, the storage processing unit may send the converted ethernet storage packet to a storage service interface, and the ethernet storage packet sent through the storage service interface may carry a preset address corresponding to the storage service interface, that is, the storage service data in the form of the ethernet storage packet received by a forwarding module includes the preset address, and then the forwarding module may forward the ethernet storage packet to a storage device in which communication connection is established between the packet and the storage processing unit.
S205, the forwarding module receives the management service data and forwards the management service data to the control module through the logic interface and the preset address of the first network bridge.
For a management service scenario, after receiving management service data sent by an external switching device, a forwarding module may send the management service data to a logical interface of a first network bridge, where a service packet corresponding to the management service data sent through the logical interface of the first network bridge carries a preset address corresponding to the logical interface of the first network bridge, and then a control module in the intelligent network card may perform corresponding processing based on the service packet carrying the preset address, for example, perform management login to implement management of the intelligent network card.
In summary, in the data processing method provided by the present application, based on the effect that the storage space can isolate the storage service from the services other than the storage service, the storage service interface added to the storage space and the logic interface of the first network bridge not added to the storage space are in an isolated state, so the intelligent network card can successfully configure the IP address of the logic interface of the first network bridge to the same IP address as the storage service interface. After the configuration of the intelligent network card is completed, the intelligent network card forwards the storage service data to the storage device based on the storage processing unit which is in communication connection with the storage device, the storage service interface which is added into the storage space and the preset address, and the intelligent network card can also forward the network service data to the network device based on the logic interface of the first network bridge which is not added into the storage space and the preset address. It can be seen that, in the present application, the intelligent network card only needs to configure one IP address (preset address), that is, the IP addresses corresponding to the storage service module and the management service module are the same, so that the configured intelligent network card can offload the functions of storing services and managing services from the server. That is, the complexity of configuring the intelligent network card, that is, the complexity of network planning for the intelligent network card, can be reduced.
Optionally, the forwarding module takes the IP address of the logical interface of the first bridge as the IP address of the tunnel interface. That is, the IP address of the tunnel interface may be set to a manner of borrowing the IP address of the logical interface of the first bridge, that is, when the tunnel interface encapsulates the network packet, the network packet may be encapsulated by the IP address of the logical interface of the first bridge.
Accordingly, the method may further comprise: and the forwarding module receives the network service data from the server and forwards the network service data to the network equipment through a tunnel interface which is not added into the storage space and a preset address.
The tunnel interface is not added with a storage space, and the tunnel interface may be, for example, a gene interface or a VXLAN interface, which is not limited in the present application. The tunnel interface is not added into the memory space added by the storage service interface, namely the tunnel interface and the storage service interface are in an isolated state, and meanwhile, the IP address of the tunnel interface can be set to a mode of borrowing the IP address of the logic interface of the first network bridge. Based on this, the tunnel interface may have the same IP address as the storage service interface, e.g., the IP addresses are both IP1.
It can be seen that, based on the storage space and the address borrowing, the intelligent network card can successfully set the IP address corresponding to the storage service, the IP address corresponding to the management service, and the IP address corresponding to the network service to be the same.
For example, after receiving a network packet corresponding to network service data sent by a server, a forwarding module may send the network packet to a tunnel interface, encapsulate the network packet by using an IP address, that is, a preset address, of a logic interface of a first network bridge to obtain encapsulated data, and forward the encapsulated data corresponding to the network service data to a network device.
It should be understood that, since the storage service interface, the logical interface of the first network bridge, and the tunnel interface are all configured with IP addresses successfully, the intelligent network card can forward the storage service data, the management service data, and the network service data to the storage device, the control module in the intelligent network card, and the network device, respectively, based on the IP addresses of the interfaces.
The following example mainly describes the capability of the intelligent network card to offload the storage service of the server, that is, how the intelligent network card forwards the storage service data sent by the server to the storage device.
Optionally, the forwarding module accesses a first forwarding interface and a second forwarding interface on the forwarding module to the first bridge, where the first forwarding interface is in communication connection with the storage service interface, and the second forwarding interface is in communication connection with the external switching device.
The forwarding module may be pre-deployed with an Open Virtual Switch (OVS) component, and may create a bridge of a required type, such as a br0 bridge or a br-int bridge, according to the OVS component. In an implementation embodiment, the first bridge is a br0 bridge, the logical interface of the br0 bridge may be understood as a logical interface of the forwarding module, and since the logical interface of the br0 bridge is not added to the storage space added by the storage service interface, that is, the storage space isolates the logical interface of the br0 bridge from the storage service interface, the forwarding module may configure the IP address of the logical interface of the br0 bridge based on the IP address corresponding to the mentioned storage service interface, and may successfully configure the IP address of the logical interface of the br0 bridge as the same IP address as the storage service interface, for example, the preset addresses corresponding to the IP address of the storage service interface and the IP address of the logical interface of the br0 bridge are both IP1.
Alternatively, if the control module configures the physical address (MAC address) of the storage service interface to be MAC1, the forwarding module may configure the MAC address of the logical interface of the br0 bridge based on the MAC address of the storage service interface, and may successfully configure the MAC address of the logical interface of the br0 bridge to be MAC1.
Therefore, MAC addresses corresponding to interfaces with the same IP address are configured to be the same, the situation that messages sent out by the intelligent network card carry the same IP address but different MAC addresses can be avoided, and the stability of the intelligent network card in network communication is improved.
According to the above description, the forwarding module includes a first forwarding interface, a second forwarding interface and a network service interface, where the first forwarding interface is communicatively connected to the storage service interface, and the second forwarding interface is communicatively connected to the external switching device. When the forwarding module is an FPGA, the first forwarding interface may specifically be a vnet200 interface on the FPGA, the second forwarding interface may be a vnet300 interface on the FPGA, and the network service interface may be a vnet100 interface, where the vnet200 interface is in communication connection with a storage service interface (Net 2 interface), and the vnet300 is in communication connection with an external switching device (Switch), which is described with reference to fig. 1. The present application is not limited to this.
After the forwarding module creates the br0 bridge (first bridge), the forwarding module may access the vnet200 interface and the vnet300 interface thereon to the br0 bridge.
It can be seen that the configured first bridge has a logical interface, a first forwarding interface, and a second forwarding interface, where an IP address and a MAC address configured by the logical interface are respectively consistent with an IP address and a MAC address configured by the storage service interface, and may be specifically IP1 and MAC1.
Based on the configuration of the intelligent network card, the following description explains a step of sending the storage service data to the storage device by the forwarding module.
Fig. 3 is a schematic flowchart of another data processing method according to an embodiment of the present application. Optionally, the sending, by the forwarding module, the storage service data to the storage device includes:
s301, the forwarding module analyzes the storage service data through the first network bridge to obtain the service characteristics of the storage service data.
According to the above description, the storage service data may be sent to the vnet200 interface through the Net2 interface, and the vnet200 interface is located on the first bridge (br 0 bridge), so that the first bridge may analyze and process the storage service data after acquiring the storage service data. It can be understood that the storage service data is generated according to a pre-configured storage service protocol, and the storage service protocol enables the generated storage service data to have the attribute of the storage service. Therefore, when the first bridge analyzes and processes the storage service data, the service characteristics of the storage service data can be obtained.
S302, the forwarding module determines a storage service flow table through the first network bridge according to the service characteristics of the storage service data.
And S303, the forwarding module sends the storage service data to the storage device through the external switching device through the first network bridge according to the forwarding path in the storage service flow table.
The forwarding module is pre-deployed with multiple service flow tables, such as a storage service flow table, a management service flow table, a network service flow table, and the like, which are not limited in the present application. Each service flow table includes service features and a forwarding path, which is described by taking a stored service flow table as an example, and the stored service flow table includes service features corresponding to the stored services and a forwarding path corresponding to the stored service data corresponding to the stored services.
In an implementation embodiment, the control module is deployed with an OVS control plane, the forwarding module is deployed with an OVS data plane, and the OVS control plane is used to issue a configured service flow table to the OVS data plane and synchronize the updated service flow table to the OVS data plane, so that the first network bridge in the forwarding module can directly obtain the latest service flow table on the local OVS data plane, thereby improving the data processing efficiency of the intelligent network card.
As can be seen from the above description, the interfaces on the br0 bridge (first bridge) include a vnet200 interface and a vnet300 interface, and as can be seen from fig. 1, the Net2 interface for communicatively connecting the storage processing module 100A and the storage device 50 is communicatively connected to the vnet200 interface, and the vnet300 interface is connected to the external switching device 30 communicatively connected to the storage device 50. Then, in one implementation, the forwarding path in the stored traffic flow table is: the vnets 200-300, i.e., the forwarding paths in the storage traffic flow table, may be set up to be implemented by the br0 bridge (first bridge). That is, after the forwarding path in the storage service flow table is determined, the storage service data may be forwarded to the storage device through the forwarding path in the storage service flow table on the br0 bridge. For example, the forwarding module may first send the storage service data to the external switch device through the br0 bridge, and then send the storage service data to the storage device through the external switch device.
The following example mainly describes the capability of the intelligent network card to offload the network traffic of the server, that is, how the intelligent network card forwards the network traffic data sent by the server to the network device.
Optionally, the forwarding module creates a second bridge, and accesses a network service interface and a tunnel interface in the forwarding module to the second bridge, where the network service interface is configured to receive the network service data from the server.
As can be seen from the above description, the forwarding module is pre-configured with OVS components related to the second bridge, and the second bridge can be created according to these OVS components. In one implementable embodiment, the second bridge is a br-int bridge. The tunnel interface may encapsulate the network packet by using the IP address of the logical interface of the first bridge, and based on the association between the tunnel interface and the logical interface of the first bridge, the communication between the second bridge and the first bridge may be implemented.
After the forwarding module creates the br-int bridge (second bridge), the vnet100 interface and the tunnel interface on the forwarding module may be accessed to the br-int bridge.
Fig. 4 is a schematic flowchart of another data processing method based on an intelligent network according to an embodiment of the present application. Optionally, as shown in fig. 4, the forwarding the network service data to the network device through the tunnel interface not added to the storage space and the preset address includes:
s401, the forwarding module encapsulates the network service data through the tunnel interface and the preset address in the second network bridge to obtain encapsulated data.
As can be seen from the above description, the vnet100 interface receives the network service data sent by the server and sends the network service data to the tunnel interface, and the vnet100 interface is located on the second bridge, so that after the second bridge acquires the network service data, the network service data can be encapsulated through the tunnel interface and the IP address of the logical interface of the first bridge, so as to obtain encapsulated data.
S402, the forwarding module gives the encapsulated data to the first bridge for processing through the second bridge.
And S403, the forwarding module analyzes the encapsulated data through the first network bridge to obtain the service characteristics of the network service data.
After the tunnel interface in the second bridge encapsulates the network service data, the encapsulated data obtained after encapsulation can be sent to the logic interface of the first bridge for subsequent processing based on the relevance between the tunnel interface and the logic interface of the first bridge.
It is understood that the network service data may be generated according to a pre-configured network service protocol, and the network service protocol enables the generated network service data to have attribute information of the network service. Therefore, after the first bridge parses the received network service data, the service characteristics of the network service data can be obtained.
S404, the forwarding module determines a network service flow table through the first network bridge according to the service characteristics of the network service data.
S405, the forwarding module forwards the encapsulated data to the network device through the first network bridge according to the forwarding path in the network service flow table.
Wherein, a plurality of service flow tables are pre-deployed on the forwarding module. For example, the network traffic flow table includes service features corresponding to the network traffic and forwarding paths of network traffic data corresponding to the network traffic. As can be seen from the above description, the interface on the br0 bridge (first bridge) includes a logical interface and a vnet300 interface, where the vnet300 interface is connected to the external switching device 30, and the external switching device 30 is connected to the network device 60. Then, in one implementation, the forwarding path in the network traffic flow table is: the logical interface-vnet 300, i.e., the forwarding path in the network traffic flow table, may be set up to be implemented by the br0 bridge (first bridge).
That is, after the forwarding path in the network traffic flow table is determined, the network traffic data may be forwarded to the network device through the forwarding path in the network traffic flow table on the br0 bridge. For example, the forwarding module may first send the network service data to the external switch device through the br0 bridge, and then send the network service data to the network device through the external switch device.
Fig. 5 is a schematic flowchart of another data processing method according to an embodiment of the present application. Optionally, as shown in fig. 5, the method further includes:
s501, the forwarding module receives feedback data through the external exchange equipment and the second forwarding interface.
Wherein the feedback data comprises: the response data of the service data and the response data of the network service data are stored, and of course, the management service data mentioned above can be included.
It can be understood that, after the intelligent network card forwards the storage service data and the network service data sent by the server to the storage device and the network device which are in communication connection with the external switching device, the storage device and the network device may send feedback data to the intelligent network card respectively, where the feedback data is response data of the storage device and response data of the network data. Meanwhile, because the intelligent network card is equivalent to a single device, the intelligent network card can also be managed through a management platform in communication connection with the external interaction device, namely the intelligent network card can receive management service data generated by the management platform. It should be noted that the present application does not limit the service scene type of the feedback data sent by the external switching device-based intelligent network card.
For an example, as can be seen in fig. 1, a vnet300 interface (second forwarding interface) on the forwarding module 101 is in communication connection with an external switching device, so that the intelligent network card feeds back data through the vnet300 interface regardless of a current service scenario.
S502, the forwarding module analyzes the feedback data to obtain the data characteristics of the feedback data.
S503, the forwarding module determines a forwarding path of the feedback data according to the data characteristics of the feedback data.
S504, the forwarding module forwards the feedback data through a forwarding path of the feedback data.
According to the above description, the forwarding module in the intelligent network card receives the feedback data corresponding to each service scene through the vnet300 interface, the feedback data carries the attribute information of the corresponding service scene, and the forwarding module can forward the feedback data according to the forwarding path corresponding to each service scene through the data characteristics indicated by the feedback data.
As can be seen from the above description, the vnet300 interface is an interface on the first bridge, that is, the forwarding module may analyze the feedback data through the first bridge, and determine the service flow table according to the data characteristics of the feedback data obtained through the analysis, and for the response data of the stored service data and the response data of the network service data, an opposite path of a forwarding path that sends the stored service data in the stored service flow table may be used as a forwarding path corresponding to the response data of the stored service data.
The following examples mainly describe forwarding paths for storing response data of service data and response data of network service data.
Optionally, the determining, by the forwarding module, a forwarding path of the feedback data according to the data characteristic of the feedback data includes: if the data characteristics of the feedback data are used for indicating that the feedback data are response data of the stored service data, the forwarding module determines that the forwarding path of the feedback data is a path passing through the first network bridge.
According to the above description, the first bridge may solely carry the function of forwarding the stored service data, and the first bridge and the second bridge combine to carry the function of forwarding the network service data. Based on this, if the data characteristics of the feedback data are used to indicate that the feedback data are response data of the stored service data, the forwarding path of the response data of the stored service data determined by the forwarding module is an opposite path of the forwarding path of the stored service data sent in the stored service flow table. With reference to fig. 1, in an implementation embodiment, a forwarding path of response data of the storage service data is vnet300-vnet200, where the vnet200 is connected to the storage service interface (Net 2), the response data of the storage service data is forwarded to the storage service interface (Net 2) through the first bridge, and then the storage processing unit converts the response data into a storage packet and sends the storage packet to the server.
Optionally, the determining, by the forwarding module, a forwarding path of the feedback data according to the data characteristic of the feedback data includes: if the data characteristics of the feedback data are used for indicating that the feedback data are response data of the network service data, the forwarding module determines that the forwarding path of the feedback data is a path which passes through the first bridge and the second bridge and reaches the server.
If the data characteristics of the feedback data are used for indicating that the feedback data are response data of the network service data, the forwarding path of the response data of the network service data determined by the forwarding module is an opposite path of the forwarding path for sending the network service data in the network service flow table. As explained in conjunction with fig. 1, in an implementation embodiment, the forwarding path of the response data storing the service data is: the vnet 300-logical interface, after acquiring the response data of the network service data, the logical interface sends the response data of the network service data to a tunnel interface in the second bridge, the tunnel interface decapsulates the response data of the network service data, and then forwards the decapsulated response data to the server through the vnet100, that is, the response data of the network service data can be sent to the server through the first bridge and the second bridge.
Optionally, if the data characteristics of the feedback data are used to indicate that the feedback data are management service data, the forwarding module determines that a forwarding path of the feedback data is a vnet 300-logical interface, and since the vnet300 and the logical interface belong to the first network bridge, the first network bridge sends the management service data to the logical interface to manage the intelligent network card.
As can be seen, the intelligent network card forwards the feedback data based on the data characteristics of the feedback data, which not only can carry the storage service, the network card service, and the management service, but also can isolate the storage service, the network card service, and the management service.
Fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. As shown in fig. 6, the apparatus includes:
a creating module 601, configured to create a storage space, where the storage space is used to isolate a storage service from services other than the storage service;
a first configuration module 602, configured to add a storage service interface and a pre-deployed storage processing unit into a storage space, and configure an IP address of the storage service interface as a preset address;
a second configuration module 603, configured to configure, according to the IP address of the storage service interface, an IP address of a pre-established logical interface of the first bridge as a preset address, where the logical interface of the first bridge is not added into the storage space;
a first forwarding module 604, configured to receive the storage service data based on the storage processing unit, and forward the storage service data to the forwarding module through the storage service interface and the preset address, where the forwarding module sends the storage service data to the storage device;
the second forwarding module 605 is configured to receive the management service data, and forward the management service data to the control module through the logical interface and the preset address of the first bridge.
Optionally, the forwarding module uses the IP address of the logical interface of the first bridge as the IP address of the tunnel interface;
correspondingly, the device also comprises: a third forwarding module;
and the third forwarding module is used for receiving the network service data from the server and forwarding the network service data to the network equipment through the tunnel interface which is not added into the storage space and the preset address.
Optionally, the apparatus further comprises: a creation module;
the creating module is used for accessing a first forwarding interface and a second forwarding interface on the creating module into a first network bridge, wherein the first forwarding interface is in communication connection with the storage service interface, and the second forwarding interface is in communication connection with the external switching equipment;
correspondingly, the first forwarding module 604 is further configured to parse the storage service data through the first network bridge to obtain service features of the storage service data; determining a storage service flow table through the first network bridge according to the service characteristics of the storage service data; and according to the forwarding path in the storage service flow table, transmitting the storage service data to the storage device through the external switching device by the first bridge.
Optionally, the creating module is further configured to create a second network bridge, and access a network service interface and a tunnel interface in the forwarding module to the second network bridge, where the network service interface is configured to receive network service data from the server;
correspondingly, the third forwarding module is specifically configured to perform encapsulation processing on the network service data through the tunnel interface and the preset address in the second network bridge to obtain encapsulated data; the second bridge sends the encapsulated data to the first bridge for processing; analyzing the encapsulated data through the first network bridge to obtain the service characteristics of the network service data; determining a network service flow table through the first network bridge according to the service characteristics of the network service data; and forwarding the encapsulated data to the network equipment through the first bridge according to the forwarding path in the network service flow table.
Optionally, the apparatus further comprises: a determination module;
the determining module is configured to receive feedback data through the external switching device and the second forwarding interface, where the feedback data includes: storing response data of the service data and response data of the network service data; analyzing the feedback data to obtain the data characteristics of the feedback data; determining a forwarding path of the feedback data according to the data characteristics of the feedback data; and forwarding the feedback data through a forwarding path of the feedback data.
Optionally, the determining module is specifically configured to determine that a forwarding path of the feedback data is a path passing through the first bridge if the data characteristic of the feedback data is used to indicate that the feedback data is response data of the stored service data.
Optionally, the determining module is further specifically configured to determine that a forwarding path of the feedback data is a path from the first bridge to the server through the second bridge if the data characteristic of the feedback data is used to indicate that the feedback data is response data of the network service data.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. As another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 7 is a schematic structural diagram of an intelligent network card provided in an embodiment of the present application, and as shown in fig. 7, the intelligent network card may include: the processor 701, the storage medium 702 and the bus 703, the storage medium 702 stores machine-readable instructions executable by the processor 701, when the smart card operates, the processor 701 and the storage medium 702 communicate with each other through the bus 703, and the processor 701 executes the machine-readable instructions to perform the steps of the method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the above method embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to perform some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. A data processing method is applied to an intelligent network card, the intelligent network card comprises a control module and a forwarding module, and the method comprises the following steps:
the control module establishes a storage space, and the storage space is used for isolating storage services from services except the storage services;
the control module adds a storage service interface and a pre-deployed storage processing unit into the storage space, and configures the IP address of the storage service interface as a preset address;
the forwarding module configures an IP address of a pre-established logic interface of a first network bridge as the preset address according to the IP address of the storage service interface, wherein the logic interface of the first network bridge is not added into the storage space;
the control module receives storage service data based on the storage processing unit, and forwards the storage service data to the forwarding module through the storage service interface and the preset address, and the forwarding module sends the storage service data to storage equipment;
and the forwarding module receives management service data and forwards the management service data to the control module through the logic interface of the first network bridge and the preset address.
2. The method of claim 1, wherein the forwarding module uses the IP address of the logical interface of the first bridge as the IP address of the tunnel interface; the method further comprises the following steps:
and the forwarding module receives network service data from a server and forwards the network service data to network equipment through the tunnel interface which is not added into the storage space and the preset address.
3. The method of claim 1, further comprising:
the forwarding module accesses a first forwarding interface and a second forwarding interface on the forwarding module to the first network bridge, wherein the first forwarding interface is in communication connection with the storage service interface, and the second forwarding interface is in communication connection with an external switching device;
the forwarding module sends the storage service data to a storage device, and the forwarding module comprises:
the forwarding module analyzes the stored service data through the first network bridge to obtain service characteristics of the stored service data;
the forwarding module determines a storage service flow table according to the service characteristics of the storage service data through the first network bridge;
and the forwarding module sends the storage service data to the storage device through the external switching device by the first network bridge according to a forwarding path in the storage service flow table.
4. The method of claim 2, further comprising:
the forwarding module creates a second network bridge, and accesses a network service interface and the tunnel interface in the forwarding module to the second network bridge, wherein the network service interface is used for receiving the network service data from a server;
the forwarding the network service data to a network device through the tunnel interface not added to the storage space and the preset address includes:
the forwarding module encapsulates the network service data through the tunnel interface in the second network bridge and the preset address to obtain encapsulated data;
the forwarding module gives the encapsulated data to the first bridge for processing through the second bridge;
the forwarding module analyzes the encapsulated data through the first network bridge to obtain the service characteristics of the network service data;
the forwarding module determines a network service flow table according to the service characteristics of the network service data through the first network bridge;
and the forwarding module forwards the encapsulated data to the network equipment through the first network bridge according to a forwarding path in the network service flow table.
5. The method of claim 3, further comprising:
the forwarding module receives feedback data through the external switching device and the second forwarding interface, where the feedback data includes: storing response data of the service data and response data of the network service data;
the forwarding module analyzes the feedback data to obtain the data characteristics of the feedback data;
the forwarding module determines a forwarding path of the feedback data according to the data characteristics of the feedback data;
and the forwarding module forwards the feedback data through a forwarding path of the feedback data.
6. The method of claim 5, wherein the forwarding module determines a forwarding path of the feedback data according to the data characteristics of the feedback data, and comprises:
if the data characteristics of the feedback data are used for indicating that the feedback data are response data of the stored service data, the forwarding module determines that a forwarding path of the feedback data is a path passing through the first bridge.
7. The method of claim 5, wherein the forwarding module determines a forwarding path of the feedback data according to the data characteristics of the feedback data, and comprises:
if the data characteristics of the feedback data are used for indicating that the feedback data are response data of the network service data, the forwarding module determines that a forwarding path of the feedback data is a path from the first bridge to the server through the second bridge.
8. A data processing apparatus, characterized in that the apparatus comprises:
the system comprises a creating module, a storing module and a processing module, wherein the creating module is used for creating a storage space, and the storage space is used for isolating a storage service from services except the storage service;
the first configuration module is used for adding a storage service interface and a pre-deployed storage processing unit into the storage space and configuring the IP address of the storage service interface as a preset address;
a second configuration module, configured to configure, according to the IP address of the storage service interface, an IP address of a pre-established logical interface of the first bridge as the preset address, where the logical interface of the first bridge is not added to the storage space;
the first forwarding module is used for receiving storage service data based on the storage processing unit and forwarding the storage service data to the forwarding module through the storage service interface and the preset address, and the forwarding module sends the storage service data to storage equipment;
and the second forwarding module is used for receiving the management service data and forwarding the management service data to the control module through the logic interface of the first network bridge and the preset address.
9. An intelligent network card, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the smart network card is in operation, the processor executing the machine-readable instructions to perform the steps of the data processing method according to any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the data processing method according to any one of claims 1 to 7.
CN202210911271.7A 2022-07-29 2022-07-29 Data processing method, device, intelligent network card and storage medium Active CN115277640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210911271.7A CN115277640B (en) 2022-07-29 2022-07-29 Data processing method, device, intelligent network card and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210911271.7A CN115277640B (en) 2022-07-29 2022-07-29 Data processing method, device, intelligent network card and storage medium

Publications (2)

Publication Number Publication Date
CN115277640A true CN115277640A (en) 2022-11-01
CN115277640B CN115277640B (en) 2023-11-24

Family

ID=83747510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210911271.7A Active CN115277640B (en) 2022-07-29 2022-07-29 Data processing method, device, intelligent network card and storage medium

Country Status (1)

Country Link
CN (1) CN115277640B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077325A1 (en) * 2007-09-19 2009-03-19 On Demand Microelectronics Method and arrangements for memory access
CN103441948A (en) * 2013-07-03 2013-12-11 华为技术有限公司 Data access method, network card and storage system
CN104540189A (en) * 2014-12-24 2015-04-22 北京奇虎科技有限公司 Method for providing wireless network access for mobile device through web device and web device
WO2015165249A1 (en) * 2014-04-28 2015-11-05 华为技术有限公司 Method and device for establishing service path
CN107592209A (en) * 2016-07-08 2018-01-16 北京奇虎科技有限公司 A kind of multi-network card server automatically configures the method and system of IP address information
CN107659677A (en) * 2017-11-07 2018-02-02 湖南长城银河科技有限公司 The apparatus and method that a kind of IP address based on BMC automatically configures
US10075524B1 (en) * 2015-09-29 2018-09-11 Amazon Technologies, Inc. Storage bridge device for communicating with network storage
US20180300080A1 (en) * 2017-04-17 2018-10-18 EMC IP Holding Company LLC Storage management method, device and computer-readable medium
CN110071900A (en) * 2018-01-23 2019-07-30 华为技术有限公司 The method and apparatus that data are sent
CN111147615A (en) * 2019-12-12 2020-05-12 加弘科技咨询(上海)有限公司 Method and system for taking over IP address, computer readable storage medium and server
CN111628921A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Message processing method, message forwarding device and message processing device
CN112615778A (en) * 2020-11-06 2021-04-06 北京东土军悦科技有限公司 Message forwarding method, device, router, storage medium and system
CN112783804A (en) * 2019-11-08 2021-05-11 华为技术有限公司 Data access method, device and storage medium
CN112910802A (en) * 2021-01-13 2021-06-04 新华三大数据技术有限公司 Message processing method and device
CN113497740A (en) * 2020-03-18 2021-10-12 中国电信股份有限公司 Network forwarding equipment, link fault detection method, device and storage medium
CN113872847A (en) * 2021-11-18 2021-12-31 浪潮思科网络科技有限公司 Message forwarding method, device and medium based on VXLAN (virtual extensible local area network)
CN114124889A (en) * 2020-08-31 2022-03-01 华为技术有限公司 Method and communication device for determining address of service server

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090077325A1 (en) * 2007-09-19 2009-03-19 On Demand Microelectronics Method and arrangements for memory access
CN103441948A (en) * 2013-07-03 2013-12-11 华为技术有限公司 Data access method, network card and storage system
WO2015165249A1 (en) * 2014-04-28 2015-11-05 华为技术有限公司 Method and device for establishing service path
CN104540189A (en) * 2014-12-24 2015-04-22 北京奇虎科技有限公司 Method for providing wireless network access for mobile device through web device and web device
US10075524B1 (en) * 2015-09-29 2018-09-11 Amazon Technologies, Inc. Storage bridge device for communicating with network storage
CN107592209A (en) * 2016-07-08 2018-01-16 北京奇虎科技有限公司 A kind of multi-network card server automatically configures the method and system of IP address information
US20180300080A1 (en) * 2017-04-17 2018-10-18 EMC IP Holding Company LLC Storage management method, device and computer-readable medium
CN107659677A (en) * 2017-11-07 2018-02-02 湖南长城银河科技有限公司 The apparatus and method that a kind of IP address based on BMC automatically configures
CN110071900A (en) * 2018-01-23 2019-07-30 华为技术有限公司 The method and apparatus that data are sent
CN111628921A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Message processing method, message forwarding device and message processing device
CN112783804A (en) * 2019-11-08 2021-05-11 华为技术有限公司 Data access method, device and storage medium
CN111147615A (en) * 2019-12-12 2020-05-12 加弘科技咨询(上海)有限公司 Method and system for taking over IP address, computer readable storage medium and server
CN113497740A (en) * 2020-03-18 2021-10-12 中国电信股份有限公司 Network forwarding equipment, link fault detection method, device and storage medium
CN114124889A (en) * 2020-08-31 2022-03-01 华为技术有限公司 Method and communication device for determining address of service server
CN112615778A (en) * 2020-11-06 2021-04-06 北京东土军悦科技有限公司 Message forwarding method, device, router, storage medium and system
CN112910802A (en) * 2021-01-13 2021-06-04 新华三大数据技术有限公司 Message processing method and device
CN113872847A (en) * 2021-11-18 2021-12-31 浪潮思科网络科技有限公司 Message forwarding method, device and medium based on VXLAN (virtual extensible local area network)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张瑞祥;吴东婷;石悦琪;: "设计企业信息数据集中存储系统平台建设", 土木建筑工程信息技术, no. 01 *
黄强雄, 许晓东, 冯缨: "基于Web与LDAP技术的IP地址管理方案及实现", 江苏大学学报(自然科学版), no. 04 *

Also Published As

Publication number Publication date
CN115277640B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
US9602307B2 (en) Tagging virtual overlay packets in a virtual networking system
US10541836B2 (en) Virtual gateways and implicit routing in distributed overlay virtual environments
US11929945B2 (en) Managing network traffic in virtual switches based on logical port identifiers
CN109074330B (en) Network interface card, computing device, and data packet processing method
US10547463B2 (en) Multicast helper to link virtual extensible LANs
US9749145B2 (en) Interoperability for distributed overlay virtual environment
CN107078969B (en) Realize computer equipment, the system and method for load balancing
US11831551B2 (en) Cloud computing data center system, gateway, server, and packet processing method
CN108293019B (en) Flow table processing method and device
CN111880902A (en) Pod creation method, device, equipment and readable storage medium
US20180006930A1 (en) Virtual extensible lan intercommunication mechanism for multicast in networking
CN111131037A (en) Data transmission method, device, medium and electronic equipment based on virtual gateway
CN112217747A (en) Network interface card, computing device, and data packet processing method
CN114070723A (en) Virtual network configuration method and system of bare metal server and intelligent network card
CN110999265A (en) Managing network connectivity between cloud computing service endpoints and virtual machines
CN113268308B (en) Information processing method, device and storage medium
CN114172905B (en) Cluster network networking method, device, computer equipment and storage medium
EP4145729A1 (en) Port state configuration method, apparatus, system, and storage medium
CN108650337B (en) Server detection method, system and storage medium
CN115277640B (en) Data processing method, device, intelligent network card and storage medium
CN106803804B (en) Method and device for transmitting message
CN110417573A (en) A kind of method and system of data transmission
CN112511440B (en) Message forwarding method, system, storage medium and electronic equipment
EP3579502A1 (en) Outer multicast ip address allocation method and device
CN114531320A (en) Communication method, device, equipment, system and computer readable storage medium

Legal Events

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