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

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

Info

Publication number
CN115277640B
CN115277640B CN202210911271.7A CN202210911271A CN115277640B CN 115277640 B CN115277640 B CN 115277640B CN 202210911271 A CN202210911271 A CN 202210911271A CN 115277640 B CN115277640 B CN 115277640B
Authority
CN
China
Prior art keywords
data
storage
interface
forwarding
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.)
Active
Application number
CN202210911271.7A
Other languages
Chinese (zh)
Other versions
CN115277640A (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

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

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, wherein 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 a storage service from a service other than 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 an IP address of a logic interface of a first network bridge which is established in advance 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 a preset address, and then sends the storage service data to the storage equipment; and the forwarding module receives the 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. Thus, the complexity of network planning for the intelligent network card can be reduced.

Description

Data processing method, device, intelligent network card and storage medium
Technical Field
The present application relates to the field of network communications technologies, and in particular, to a data processing method, a device, an intelligent network card, and a storage medium.
Background
The intelligent network card (Smart_NIC) is a task which is unsuitable for processing by a CPU (Central Processing Unit ) of a server, such as network, storage, management and the like of the server, is unloaded to hardware for acceleration execution, so that the whole data processing capacity of the server is greatly improved, and the calculation power of the CPU is released. Based on the above, how to perform network planning on the intelligent network card, the functions of the intelligent network card, such as network and storage after unloading, are respectively realized, and become research hotspots.
At present, by means of network re-planning of the intelligent network card, the unloaded storage and management functions are realized. Specifically, different IP addresses need to be allocated to the offloaded storage task and management task respectively, so that the offloaded storage and management functions of the intelligent network card can be realized. However, this increases the complexity of network planning for the intelligent network card.
Disclosure of Invention
The application aims to provide a data processing method, a device, an intelligent network card and a storage medium aiming at the defects in the prior art, and the complexity of network planning of the intelligent network card can be reduced.
In order to achieve the above purpose, the technical scheme adopted by the embodiment of the application is as follows:
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, wherein the storage space is used for isolating a storage service from a service other than the storage service;
the control module adds a storage service interface and a pre-deployed storage processing unit into the storage space, and configures an IP address of the storage service interface as a preset address;
the forwarding module configures an IP address of a logic interface of a first network bridge which is established in advance 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, 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 the 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 takes an IP address of a logical interface of the first bridge as an IP address of a tunnel interface; the method further comprises the steps of:
and the forwarding module receives the network service data from the server and forwards 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 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 external switching equipment;
the forwarding module sends the storage service data to a storage device, including:
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 stored service flow table through the first network bridge according to the service characteristics of the stored service data;
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 the 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 and the preset address which are not added into the storage space includes:
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;
the forwarding module gives the encapsulated data to the first network bridge for processing through the second network bridge;
the forwarding module analyzes the encapsulated data through the first network bridge to obtain 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 forwarding module determines a forwarding path of the feedback data according to a data feature of the feedback data, including:
and if the data characteristic of the feedback data is used for indicating that the feedback data is the 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 network bridge.
Optionally, the forwarding module determines a forwarding path of the feedback data according to a data feature of the feedback data, including:
and 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 which reaches a server through the first network bridge and the second network bridge.
In a second aspect, an embodiment of the present application further provides a data processing apparatus, including:
the system comprises a creation module, a storage module and a storage module, wherein the creation module is used for creating a storage space, and the storage space is used for isolating a storage service from a service 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 an IP address of the storage service interface as a preset address;
the second configuration module is used for configuring the IP address of the logic interface of the first network bridge, which is established in advance, into 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 first forwarding module is used for receiving the storage service data based on the storage processing unit, forwarding the storage service data to the forwarding module through the storage service interface and the preset address, and sending the storage service data to storage equipment by the forwarding module;
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.
Optionally, the forwarding module takes 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 and the preset address, where the tunnel interface is not added into the storage space.
Optionally, the apparatus further comprises: creating a module;
the creation module is configured to access a first forwarding interface and a second forwarding interface on the creation 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 stored service data through the first network bridge to obtain service characteristics of the stored service data; determining a stored service flow table by the first network bridge according to the service characteristics of the stored service data; and sending the storage service data to the storage device through the external switching device by the first network bridge according to the forwarding path in the storage service flow table.
Optionally, the creating module is further configured to create a second bridge, and access a network service interface in the forwarding module and the tunnel interface to the second 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 and the preset address in the second bridge, so as to obtain encapsulated data; handing over 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 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 network bridge according to the 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 the forwarding path of the feedback data is a path passing through the first bridge if the data feature 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 the forwarding path of the feedback data is a path that passes through the first bridge and the second bridge to reach the server if the data feature 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 system 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 are communicated 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, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the steps of the data processing method of the first aspect described above.
The beneficial effects of the application are as follows:
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 a storage service from a service other than the storage service; the control module adds the storage service interface and a pre-deployed storage processing unit into a storage space, and configures an IP address of the storage service interface as a preset address; the forwarding module configures an IP address of a logic interface of a first bridge established in advance as a preset address according to the IP address of the storage service interface, wherein the logic interface of the first bridge is not added into the storage space; 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; and the forwarding module receives the 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.
By adopting the data processing method provided by the embodiment of the application, based on the effect that the storage space can isolate the storage service from the service except the storage service, the storage service interface added into the storage space and the logic interface of the first network bridge which is 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 same IP address as the storage service interface. After the intelligent network card is configured, 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 the intelligent network card can be provided with the functions of unloading the storage service and the management service from the server only by configuring one IP address (preset address), namely the IP addresses corresponding to the storage service module and the management service module are the same. That is, the complexity of configuring the intelligent network card can be reduced, namely, the complexity of planning the network of the intelligent network card is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a data processing method system according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another data processing method according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating another data processing method according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating another data processing method according to an embodiment of the present application;
FIG. 6 is a schematic 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
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
Before explaining the embodiment of the present application in detail, an application scenario of the present application will be described first. The application scenario may specifically be that the intelligent network card is configured, and the functions of unloading the storage service and managing the service from the server are realized based on the configured intelligent network card, and of course, other service functions carried by the unloading server, such as network service, may also be realized. The functions of unloading storage traffic, managing traffic and network traffic referred to herein are relative to the host, which may be understood as a server on which the intelligent network card is installed. As known, by introducing the intelligent network card at the server side, services unsuitable for processing by the server CPU, such as storage and management of the server, can be unloaded to the intelligent network card for execution, so that the overall data processing capacity of the server is greatly improved, and the computing power of the server CPU is released.
It should be appreciated that in a server environment using standard network cards, a user need only configure a server with an IP address to enable storage, management, and other functional applications of the server. After the intelligent network card is introduced into the server side, the intelligent network card needs to be configured in a network re-planning mode in the prior art, so that the functions of unloading storage service and managing service from the server can be realized. The network re-planning of the intelligent network card is that compared with the server environment of the standard network card, the server environment of the standard network card only needs to be configured with one IP address, namely the IP addresses corresponding to all the service modules are the same, and the network re-planning refers to the fact that different IP addresses need to be configured for different service modules of the intelligent network card, namely the IP addresses corresponding to the storage service modules are different from the IP addresses of the management service modules, so that the configured intelligent network card can realize the functions of unloading storage service and management service from the server.
It can be seen that the prior art does not configure the intelligent network card in the current standard network card configuration mode, 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 for a user can be 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, the embodiments of the present application provide a data processing method, which can also use the idea of configuring a standard network card currently to configure an IP address for an intelligent network card on the premise that the configured intelligent network card can realize the functions of unloading a storage service and managing a service from a server, that is, the IP addresses corresponding to the storage service module and the management service module are the same, so that the complexity of configuring the intelligent network card can be reduced, that is, the complexity of performing network planning on the intelligent network card is reduced. When the standard network card is upgraded to the intelligent network card, the user does not need to conduct network re-planning, so that the complexity of upgrading the standard network card to the intelligent network card environment is reduced, and the user does not feel to conduct network upgrading and transformation.
For ease of understanding the embodiments of the present application, several business functions of the intelligent network card offloaded from the server are explained herein.
Storing the service: the intelligent network card can forward the storage service of the network disk read-write access on the front-end server to the rear-end storage device, and simultaneously forward the received response data returned by the storage device to the server.
Network traffic: the intelligent network card can forward the access data of the front-end server to the network equipment to the back-end network equipment, and simultaneously forward the received response data returned by the network equipment to the server.
Management service: the management device sends the management data to the intelligent network card to manage the intelligent network card.
Fig. 1 is a schematic view of a scenario of a data processing system according to an embodiment of the present application, as shown in fig. 1, where the system includes an intelligent network card 10, where the intelligent network card 10 includes a control module 100 and a forwarding module 101, where the control module 100 may be a CPU, and the forwarding module 101 may be an FPGA (Field Programmable Gate Array, field-editable gate array), that is, a framework of the intelligent network card 10 is in a form of (cpu+fpga), and of course, the framework of the intelligent network card 10 may be in other forms, and fig. 1 is only an example and is not limited thereto.
The present application is illustrated by taking the architecture of the intelligent network card 10 in the form of (cpu+fpga) 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 from fig. 1, the control module 100 is communicatively coupled to the vnet200 interface on the 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, which are not limited by the present application.
Based on the above description, the intelligent network card 10 may perform configuration processing after receiving the initialization command. For example, when the intelligent network card 10 is installed on the server 20 in fig. 1, the intelligent network card 10 may configure the same IP address for each service module (e.g. store, manage) according to the following example of the present application, and create a bridge, etc. based on a received power-on command, which is the above-mentioned initialization command, which will not be described herein. It should be noted that, the specific scenario of generating the initialization trigger instruction is not limited by the present application.
After the configuration of the intelligent network card 10 is completed, the storage service, the management service, and the network service functions may be implemented based on the connection manner described below, and of course, other service functions may 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 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 on the forwarding module 101. When the intelligent network card 10 is in the service stage, 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 connected to the external switching device 30 in a communication manner, and the management platform 40 is further connected to the vnet300 on the forwarding module 101 in an interface manner.
For example, for a 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 front-end server 20, obtain an ethernet storage packet, and forward the ethernet storage packet to the back-end storage device 50 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 with the external switching device 30, and the management service data can be sent to the control module 100 in the intelligent network card 10 based on the first network bridge created by the forwarding module 101 to manage the intelligent network card 10.
For the network service scenario, the network interface (Net 1) is connected with the vnet100 on the forwarding module 101, and the first bridge and the second bridge created by the forwarding module 101 can be used for sending the network service data sent by the front-end server 20 through the network interface (Net 1) to the external switching device 30, and then forwarding the network service data to the network device 60 through the external switching device 30.
The data processing method according to the application is illustrated in the following with reference to the accompanying drawings. Fig. 2 is a flow chart of a data processing method according to an embodiment of the present application, where the method may be applied to the above-mentioned intelligent network card. As shown in fig. 2, the method may include:
S201, the control module creates a storage space.
Wherein, the storage space is used for isolating the storage service from the service outside the storage service, and the service outside the storage service can comprise a management service, a network service and the like, and the application is not limited thereto.
The three steps S201 to S203 in fig. 2 can be understood as the configuration phase of the intelligent network card. In one example, the control module, upon receiving a configuration instruction (initialization instruction), creates a memory space that enables isolation applications between service modules, such as isolating storage services from management services.
S202, the control module adds the storage service interface and the pre-deployed storage processing unit into the storage space, and configures the 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) thereon may be added to the storage space, and the preset address may be configured as an 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) for 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 communication connection between the storage processing unit 100A and the storage device 50, and further the intelligent network card realizes the function of processing the storage service after configuration is completed.
S203, the forwarding module configures the IP address of the logic interface of the first network bridge, which is built in advance, as a preset address according to the IP address of the storage service interface.
The first bridge logical interface does not join the storage space, and because the first bridge logical interface does not join the storage space joined by the above-mentioned storage service interface, that is, the first bridge logical interface and the storage service interface are in an isolated state, the forwarding module may configure the IP address of the first bridge logical interface based on the IP address corresponding to the above-mentioned storage service interface, and may successfully set the IP address of the first bridge logical interface to the same IP address as the storage service interface. That is, the IP address of the storage service and the IP address of the logical interface of the first bridge correspond to the same preset address (e.g., IP 1).
It is to be understood that the logical interface of the first bridge mentioned here may function as a management interface, through which the intelligent network card may be managed by 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, 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.
After the intelligent network card is configured, the storage service data and the management service data generated by the server can be forwarded through steps S204-S205, namely, the steps S204-S205 are application stages of the intelligent network card.
For a storage service scenario, an exemplary storage processing unit may convert a storage message corresponding to storage service data sent by a server into an ethernet storage message after receiving the storage message, and because both the storage processing unit and the storage service port are located in a storage space, the storage processing unit may send the ethernet storage message obtained by conversion to a storage service interface, where the ethernet storage message sent by 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 message received by the forwarding module includes the preset address, and then the forwarding module may forward the ethernet storage message to a storage device that establishes communication connection with 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 of the first network bridge and the preset address.
For the management service scenario, after receiving the management service data sent by the external switching device, the forwarding module can send the management service data to the logic interface of the first network bridge, and the service message corresponding to the management service data sent by the logic interface of the first network bridge carries the preset address corresponding to the logic interface of the first network bridge, so that the control module in the intelligent network card can perform corresponding processing, such as management login, on the basis of the service message carrying the preset address, so as to realize 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 service other than the storage service, the storage service interface added into the storage space and the logic interface of the first 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 bridge to be the same as the IP address of the storage service interface. After the intelligent network card is configured, 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 the intelligent network card can be provided with the functions of unloading the storage service and the management service from the server only by configuring one IP address (preset address), namely the IP addresses corresponding to the storage service module and the management service module are the same. That is, the complexity of configuring the intelligent network card can be reduced, namely, the complexity of planning the network of the intelligent network card is reduced.
Optionally, the forwarding module uses an IP address of the logical interface of the first bridge as an IP address of the tunnel interface. That is, the IP address of the tunnel interface may be set to borrow 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 the tunnel interface which is not added into the storage space and the preset address.
The tunnel interface is not added with a storage space, and can be, for example, a save interface or a VXLAN interface, which is not limited by the present application. Because the tunnel interface is not added with the storage space added by the storage service interface, that is, the tunnel interface and the storage service interface are in an isolated state, the IP address of the tunnel interface can be set as the 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 traffic interface, e.g., IP addresses are all 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.
An exemplary forwarding module may send a network packet corresponding to network service data sent by a server to a tunnel interface after receiving the network packet, and encapsulate the network packet by using an IP address of a logical interface of the first bridge, that is, a preset address, to obtain encapsulated data, and then forward the encapsulated data corresponding to the network service data to a network device.
It should be understood that, because the storage service interface, the logic interface of the first network bridge, and the tunnel interface are all successfully configured with IP addresses, the intelligent network card may 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 examples mainly describe the ability of the intelligent network card to offload server storage traffic, i.e., how the intelligent network card forwards storage traffic 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 communicatively connected to the storage service interface, and the second forwarding interface is communicatively connected to the external switching device.
Wherein, the forwarding module can be pre-deployed with an OVS (Open Virtual Switch ) component, and can create a bridge of a required type, such as br0 bridge and br-int bridge, according to the OVS component. In one embodiment, the first bridge is a br0 bridge, and the logic interface of the br0 bridge may be understood as a logic interface of the forwarding module, and since the logic interface of the br0 bridge is not added into the storage space added by the above-mentioned storage service interface, that is, the storage space isolates the logic interface of the br0 bridge from the storage service interface, the forwarding module may configure the IP address of the logic interface of the br0 bridge based on the IP address corresponding to the above-mentioned storage service interface, and may successfully configure the IP address of the logic interface of the br0 bridge to be the same IP address as the storage service interface, for example, the IP address of the storage service interface and the IP address of the logic interface of the br0 bridge respectively correspond to preset addresses are all 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, the MAC addresses corresponding to the interfaces with the same IP address are configured to be the same, and further the situation that the messages sent out by the intelligent network card carry the same IP address but carry different MAC addresses can be avoided, and further the stability of network communication of the intelligent network card is improved.
As can be seen from 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. For illustration with reference to fig. 1, when the forwarding module is an FPGA, the first forwarding interface may be a vnet200 interface on the FPGA, the second forwarding interface may be a vnet300 interface on the FPGA, the network service interface may be a vnet100 interface, the vnet200 interface is in communication connection with the storage service interface (Net 2 interface), and the vnet300 is in communication connection with the external switching device (Switch). The present application is not limited to this.
After the forwarding module creates and obtains the br0 bridge (the first bridge), the forwarding module can access the vnet200 interface and the vnet300 interface on the forwarding module 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 above configuration of the intelligent network card, the following is a description explaining the step of the forwarding module transmitting the storage service data to the storage device.
Fig. 3 is a flowchart of another data processing method according to an embodiment of the present application. Optionally, the forwarding module sends the storage service data to a storage device, including:
s301, the forwarding module analyzes the stored service data through the first network bridge to obtain service characteristics of the stored service data.
According to the above description, the storage service data may be sent to the vnet200 interface through the Net2 interface, where the vnet200 interface is located on the first bridge (br 0 bridge), and the first bridge may analyze and process the storage service data after obtaining the storage service data. It will be appreciated that the storage service data is generated according to a pre-configured storage service protocol, which provides the generated storage service data with storage service attributes. Therefore, when the first network bridge analyzes and processes the stored service data, the service characteristics of the stored service data can be obtained.
S302, the forwarding module determines a stored service flow table through the first network bridge according to the service characteristics of the stored service data.
And S303, the forwarding module sends the storage service data to the storage device through the external switching device by the first network bridge according to the forwarding path in the storage service flow table.
The forwarding module is pre-deployed with various service flow tables, such as a storage service flow table, a management service flow table, a network service flow table, and the like, which is not limited by the present application. Each service flow table includes a service feature and a forwarding path, and the stored service flow table is described as an example, and includes a service feature corresponding to a stored service and a forwarding path corresponding to stored service data.
In an embodiment, the control module is configured with an OVS control plane, the forwarding module is configured with an OVS data plane, the OVS control plane is configured to send a configured service flow table to the OVS data plane, and synchronize the updated service flow table to the OVS data plane, so that a first bridge in the forwarding module can directly obtain the latest service flow table on the local OVS data plane, and further, the data processing efficiency of the intelligent network card is improved.
As can be seen from the above description, the interface on the br0 bridge (first bridge) is a vnet200 interface and a vnet300 interface, and as can be seen in connection with fig. 1, the Net2 interface for communicatively connecting the storage processing module 100A with the storage device 50 is communicatively connected with the vnet200 interface, and the vnet300 interface is connected with the external switching device 30 communicatively connected with the storage device 50. Then one achievable forwarding path in the stored traffic table is: the forwarding path settings in the vnet200-vnet300, i.e. the storage traffic table, may be implemented by the br0 bridge (first bridge). That is, after the forwarding paths in the storage traffic table are determined, the storage traffic data may be forwarded to the storage device through the forwarding paths in the storage traffic table on the br0 bridge. In one example, the forwarding module may first send the storage traffic data to the external switching device via the br0 bridge and then to the storage device via the external switching device.
The following examples mainly describe the ability of the intelligent network card to offload server network traffic, i.e., how the intelligent network card forwards network traffic data sent by the server to the network device.
Optionally, the forwarding module creates a second bridge, and accesses the network service interface and the tunnel interface in the forwarding module to the second bridge, where the network service interface is used to receive the network service data from the server.
From the above description, the forwarding module is preconfigured with OVS components related to the second bridge, and the second bridge may be created according to these OVS components. In one possible embodiment, the second bridge is a br-int bridge. The tunnel interface may encapsulate the network packet by using an 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, communication between the second bridge and the first bridge may be implemented.
After the forwarding module creates and obtains the br-int bridge (second bridge), the vnet100 interface and the tunnel interface on the forwarding module can be accessed to the br-int bridge.
Fig. 4 is a flow chart of another data processing method based on an intelligent network according to an embodiment of the present application. Optionally, as shown in fig. 4, forwarding the network service data to the network device through the tunnel interface and the preset address without adding the storage space includes:
S401, the forwarding module encapsulates the network service data through a tunnel interface and a preset address in the second network bridge to obtain encapsulated data.
According to 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 after the second bridge obtains the network service data, the second bridge may encapsulate the network service data through the tunnel interface and the IP address of the logical interface of the first bridge to obtain encapsulated data.
S402, the forwarding module gives the encapsulated data to the first network bridge for processing through the second network bridge.
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 the encapsulation process may be sent to the logic interface of the first bridge for subsequent processing based on the association between the tunnel interface and the logic interface of the first bridge.
It will be appreciated that the network traffic data may be generated in accordance with a pre-configured network traffic protocol that provides the generated network traffic data with attribute information for the network traffic. Therefore, after the first network bridge analyzes 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 according to the service characteristics of the network service data through the first network bridge.
And S405, forwarding the encapsulated data to the network equipment through the first network bridge by the forwarding module according to the forwarding path in the network service flow table.
The forwarding module is pre-deployed with a plurality of service flow tables. Such as a network traffic flow table, which includes traffic characteristics corresponding to network traffic and forwarding paths for network traffic data corresponding to network traffic. As can be seen from the above description, the interface on the br0 bridge (first bridge) has a logical interface, a vnet300 interface, and 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 one achievable forwarding path in the network traffic table is: the logical interface-vnet 300, i.e. the forwarding path set in the network traffic table, may be implemented by the br0 bridge (first bridge).
That is, after the forwarding paths in the network traffic table are determined, the network traffic data may be forwarded to the network device via the forwarding paths in the network traffic table on the br0 bridge. In one example, the forwarding module may first send network traffic data to the external switching device via the br0 bridge and then to the network device via the external switching device.
Fig. 5 is a 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 switching 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 above-mentioned management service data may also 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 can respectively send feedback data to the intelligent network card, wherein the feedback data is response data of the storage device and response data of the network data. Meanwhile, the intelligent network card is equivalent to a single device, and can be managed through a management platform in communication connection with external interaction equipment, 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 scenario type of the feedback data sent by the external switching device intelligent network card.
As an example, as can be seen in connection with fig. 1, the vnet300 interface (the second forwarding interface) on the forwarding module 101 is communicatively connected to the external switching device, so that the intelligent network card feeds back data through the vnet300 interface, regardless of the service scenario currently in.
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 feedback data corresponding to each service scene through the vnet300 interface, the feedback data carries attribute information of the corresponding service scene, and the forwarding module can forward the feedback data according to a forwarding path corresponding to each service scene through data features 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 parse the feedback data through the first bridge, and determine the service flow table according to the data characteristics of the feedback data obtained by parsing, for the response data of the stored service data and the response data of the network service data, the opposite path of the forwarding path for sending the stored service data in the stored service flow table may be used as the forwarding path corresponding to the response data of the stored service data, and similarly, the opposite path of the forwarding path for sending the network service data in the network service flow table may be used as the forwarding path corresponding to the response data of the network service data.
The following examples mainly describe forwarding paths of response data for storing service data and response data for network service data.
Optionally, the forwarding module determines a forwarding path of the feedback data according to the data characteristics of the feedback data, including: if the data characteristic of the feedback data is used for indicating that the feedback data is response data of the storage service data, the forwarding module determines that a forwarding path of the feedback data is a path passing through the first network bridge.
As can be seen from the above description, the first bridge may independently carry the function of forwarding the stored traffic data, and the first bridge and the second bridge combine the function of forwarding the network traffic data. Based on this, if the data characteristic of the feedback data is used to indicate that the feedback data is the response data of the storage service data, the forwarding path of the response data of the storage service data determined by the forwarding module is the reverse path of the forwarding path of the storage service data in the storage service flow table. In an embodiment, as described with reference to fig. 1, the forwarding path of the response data of the storage service data is vnet300-vnet200, where vnet200 is connected to the storage service interface (Net 2), and then 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 forwarding module determines a forwarding path of the feedback data according to a data feature of the feedback data, including: if the data characteristic of the feedback data is used for indicating that the feedback data is the 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 network bridge and the second network bridge to reach the server.
If the data characteristic of the feedback data is used for indicating that the feedback data is the 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 the opposite path of the forwarding path of the network service data in the network service flow table. In one possible embodiment, described in connection with fig. 1, the forwarding path of the response data storing the service data is: after the logic interface obtains the response data of the network service data, the logic interface sends the response data of the network service data to the tunnel interface in the second network bridge, the tunnel interface performs decapsulation processing on the response data of the network service data, and then the decapsulated response data is forwarded 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 network bridge and the second network bridge.
Optionally, if the data characteristic of the feedback data is used to indicate that the feedback data is management service data, the forwarding module determines that the forwarding path of the feedback data is a vnet 300-logic interface, and since the vnet300 and the logic interface belong to the first bridge, the first bridge sends the management service data to the logic interface to manage the intelligent network card.
It can be seen that the intelligent network card forwards the feedback data based on the data characteristics of the feedback data, so that the intelligent network card not only can bear 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 a service other than the storage service;
the first configuration module 602 is configured to add the storage service interface and the pre-deployed storage processing unit into the 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 logical interface of the first bridge, which is established in advance, as a preset address, where the logical interface of the first bridge does not join the storage space;
The first forwarding module 604 is configured to receive the storage service data based on the storage processing unit, forward the storage service data to the forwarding module through the storage service interface and the preset address, and send 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 of the first bridge and the preset address.
Optionally, the forwarding module takes an IP address of the logical interface of the first bridge as an IP address of the tunnel interface;
correspondingly, the device further 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: creating a module;
the creation module is used for accessing a first forwarding interface and a second forwarding interface on the creation module to a first network bridge, wherein the first forwarding interface is in communication connection with a storage service interface, and the second forwarding interface is in communication connection with external switching equipment;
correspondingly, the first forwarding module 604 is further configured to parse the stored service data through the first bridge to obtain service characteristics of the stored service data; determining a stored service flow table through a first network bridge according to service characteristics of stored service data; and sending the storage service data to the storage device through the external switching device by the first network bridge according to the forwarding path in the storage service flow table.
Optionally, the creating module is further configured to create a second bridge, and access the network service interface and the tunnel interface in the forwarding module to the second 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 a tunnel interface and a preset address in the second bridge, so as to obtain encapsulated data; delivering the encapsulated data to the first network bridge for processing through the second network bridge; analyzing the encapsulated data through the first network bridge to obtain service characteristics of network service data; determining a network service flow table through a first network bridge according to service characteristics of network service data; and forwarding the encapsulated data to the network equipment through the first network bridge according to the 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 the 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 storing service data.
Optionally, the determining module is further specifically configured to determine that the forwarding path of the feedback data is a path that reaches the 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.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (Digital Signal Processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like. For another example, when a module above 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 (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the 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 according to an embodiment of the present application, where, as shown in fig. 7, the intelligent network card may include: a processor 701, a storage medium 702, and a bus 703, the storage medium 702 storing machine-readable instructions executable by the processor 701, the processor 701 executing machine-readable instructions to perform the steps of the method embodiments described above when the intelligent network card is operating, the processor 701 communicating with the storage medium 702 via the bus 703. The specific implementation manner and the technical effect are similar, and are not repeated here.
Optionally, the present application further provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor performs the steps of the above-described method embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the application. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Claims (10)

1. A data processing method, wherein 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 control module creates a storage space, wherein the storage space is used for isolating a storage service from a service other than the storage service;
the control module adds a storage service interface and a pre-deployed storage processing unit into the storage space, and configures an IP address of the storage service interface as a preset address;
the forwarding module configures an IP address of a logic interface of a first network bridge which is established in advance 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, 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;
the forwarding module receives management service data and forwards the management service data to the control module through a logic interface of the first network bridge and the preset address;
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 external switching equipment;
the forwarding module sends the storage service data to a storage device, including:
and the forwarding module sends the storage service data to the storage device through the external switching device by the second forwarding interface.
2. The method of claim 1, wherein 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 steps of:
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;
the forwarding the network service data to a network device through the tunnel interface and the preset address which are not added into the storage space includes:
the forwarding module encapsulates the network service data through the tunnel interface and the preset address to obtain the encapsulated data;
The forwarding module sends the encapsulated data to the network device through the external switching device via the second forwarding interface.
3. The method of claim 1, wherein the forwarding module sending the stored service data to a storage device 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 is configured to store traffic characteristics of traffic data via the first bridge,
determining a stored service flow table;
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 the forwarding path in the storage service flow table.
4. The method according to claim 2, wherein 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 and the preset address which are not added into the storage space includes:
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;
the forwarding module gives the encapsulated data to the first network bridge for processing through the second network bridge;
the forwarding module analyzes the encapsulated data through the first network bridge to obtain 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. A method according to claim 3, characterized in that 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.
6. The method of claim 5, wherein the forwarding module determining a forwarding path for the feedback data based on the data characteristics of the feedback data comprises:
and if the data characteristic of the feedback data is used for indicating that the feedback data is the 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 network bridge.
7. The method of claim 5, wherein the forwarding module determining a forwarding path for the feedback data based on the data characteristics of the feedback data comprises:
and 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 which reaches a server through the first network bridge and the second network bridge.
8. A data processing apparatus, the apparatus comprising:
The system comprises a creation module, a storage module and a storage module, wherein the creation module is used for creating a storage space, and the storage space is used for isolating a storage service from a service 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 an IP address of the storage service interface as a preset address;
the second configuration module is used for configuring the IP address of the logic interface of the first network bridge, which is established in advance, into 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 first forwarding module is used for receiving the storage service data based on the storage processing unit, forwarding the storage service data to the forwarding module through the storage service interface and the preset address, and sending the storage service data to storage equipment by the forwarding module;
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;
the creation module is further configured to access a first forwarding interface and a second forwarding interface on the creation 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 an external switching device;
The first forwarding module is further configured to send the storage service data to the storage device through the second forwarding interface via the external switching device.
9. An intelligent network card, comprising: a processor, a storage medium and a bus, said storage medium storing machine-readable instructions executable by said processor, said processor and said storage medium communicating over the bus when said intelligent network card is running, said processor executing said machine-readable instructions to perform the steps of the data processing method according to any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the data processing method according to any of claims 1-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 CN115277640A (en) 2022-11-01
CN115277640B true 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 (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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)

Family Cites Families (6)

* 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
US10075524B1 (en) * 2015-09-29 2018-09-11 Amazon Technologies, Inc. Storage bridge device for communicating with network storage
CN113220242B (en) * 2017-04-17 2023-10-24 伊姆西Ip控股有限责任公司 Storage management method, apparatus, and computer readable medium
CN111147615B (en) * 2019-12-12 2022-08-16 加弘科技咨询(上海)有限公司 Method and system for taking over IP address, computer readable storage medium and server
CN114124889B (en) * 2020-08-31 2023-04-28 华为技术有限公司 Method for determining service server address and communication device
CN112615778B (en) * 2020-11-06 2023-06-13 北京东土军悦科技有限公司 Message forwarding method, device, router, storage medium and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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
CN113497740A (en) * 2020-03-18 2021-10-12 中国电信股份有限公司 Network forwarding equipment, link fault detection method, device and storage medium
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
基于Web与LDAP技术的IP地址管理方案及实现;黄强雄, 许晓东, 冯缨;江苏大学学报(自然科学版)(第04期);全文 *
设计企业信息数据集中存储系统平台建设;张瑞祥;吴东婷;石悦琪;;土木建筑工程信息技术(第01期);全文 *

Also Published As

Publication number Publication date
CN115277640A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
US10547463B2 (en) Multicast helper to link virtual extensible LANs
US10541836B2 (en) Virtual gateways and implicit routing in distributed overlay virtual environments
CN108293019B (en) Flow table processing method and device
US9749145B2 (en) Interoperability for distributed overlay virtual environment
CN111901244B (en) Network message forwarding system
CN116057910B (en) Virtual private cloud communication and configuration method and related device
US20210320872A1 (en) Cloud computing data center system, gateway, server, and packet processing method
US9515890B2 (en) Method, system and controlling bridge for obtaining port extension topology information
CN111131037B (en) Data transmission method, device, medium and electronic equipment based on virtual gateway
US10516544B2 (en) Extranet connectivity in LISP networks
CN114640556A (en) Cross-cluster network communication system and method
EP4145729A1 (en) Port state configuration method, apparatus, system, and storage medium
CN113765801B (en) Message processing method and device applied to data center, electronic equipment and medium
CN115277640B (en) Data processing method, device, intelligent network card and storage medium
CN110417573A (en) A kind of method and system of data transmission
CN114422297B (en) Multi-scene virtual network flow monitoring method, system, terminal and medium
CN114650290A (en) Network connection method, processing device, terminal and storage medium
US20160065384A1 (en) Proxy tunnel end point unit, communication system for scalable network virtualization having the same and communication method for scalable network virtualization
CN114221895A (en) Data transmission method, device and network equipment
US20170126430A1 (en) Multiple gateway operation on single operating system
CN116760795B (en) Network address translation NAT gateway equipment, message processing method and device
CN113422921B (en) Audio/video communication system, method, medium and computing equipment based on K8s cluster
WO2017219272A1 (en) Packet forwarding method and device
CN112565048B (en) Three-layer VPN (virtual private network) network creation method, three-layer VPN network data transmission method, three-layer VPN network creation device, three-layer VPN network data transmission device and electronic equipment
CN111641724B (en) Application method of LVS load balancer in cloud

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