CN115484322A - Data packet decapsulation and uninstallation method and device, electronic device and storage medium - Google Patents
Data packet decapsulation and uninstallation method and device, electronic device and storage medium Download PDFInfo
- Publication number
- CN115484322A CN115484322A CN202210913659.0A CN202210913659A CN115484322A CN 115484322 A CN115484322 A CN 115484322A CN 202210913659 A CN202210913659 A CN 202210913659A CN 115484322 A CN115484322 A CN 115484322A
- Authority
- CN
- China
- Prior art keywords
- flow table
- data packet
- outer layer
- decapsulated
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000012545 processing Methods 0.000 claims abstract description 64
- 238000006243 chemical reaction Methods 0.000 claims description 90
- 238000013519 translation Methods 0.000 claims description 43
- 230000015654 memory Effects 0.000 claims description 27
- 238000007499 fusion processing Methods 0.000 claims description 18
- 230000004927 fusion Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 239000000284 extract Substances 0.000 description 4
- 230000007423 decrease Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to the field of data packet decapsulation, in particular to a data packet decapsulation and uninstallation method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a data packet to be decapsulated; identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to an identification result; fusing the outer layer flow table and the inner layer flow table to generate a target flow table; and unloading the target flow table to the hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table, wherein the method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding. According to the data packet decapsulation and unloading method, only the data packet to be decapsulated needs to be matched based on the target flow table and then processed, so that the processing time of a single data packet is shortened, the number of data packets processed in unit time is increased, and the network performance is improved.
Description
Technical Field
The invention relates to the field of data packet decapsulation, in particular to a data packet decapsulation and uninstallation method and device, electronic equipment and a storage medium.
Background
With the continuous development of intelligent network connection, the application of the intelligent network card is generated. The intelligent network card can generate a flow table rule corresponding to the data packet based on the software OVS, wherein the flow table rule comprises a matching field and an action field, the matching field is composed of data packet message information, and the action field specifies an action to be executed by the data packet. The software OVS can convert the generated flow table rule and write the flow table rule into hardware, and then the data packet is matched with the hardware flow table and is directly forwarded.
In the prior art, the intelligent network card generally implements packet receiving and encapsulating and forwarding or discarding processing on a data packet based on the OVS-DPDK. Specifically, the intelligent network card may generate two flow table rules, an outer-layer flow table and an inner-layer flow table, corresponding to the data packet based on the software OVS, wherein a matching field of the outer-layer flow table is outer information of a packet message, and an action field of the outer-layer flow table is to decapsulate the data packet; the matching domain of the inner layer flow table is an inner layer message corresponding to a target data packet after the data packet is unpacked and a temporary variable generated based on the outer layer message of the data packet, and the action domain of the inner layer flow table is used for forwarding the data packet. After the outer layer flow table and the inner layer flow table are generated, the outer layer flow table and the inner layer flow table are converted to generate an outer layer conversion flow table and an inner layer conversion flow table. The outer translation flow table and the inner translation flow table are then offloaded to hardware. Then, the packet is matched based on the outer layer translation flow table and the inner layer translation flow table, and then the packet is processed.
In the above method, since the data packets need to be matched based on the outer layer translation flow table and the inner layer translation flow table and then processed, the processing time of a single data packet increases, the number of data packets processed in a unit time decreases, and the network performance decreases.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a method for decapsulating and offloading a data packet, which aims to solve the problems in the prior art that the processing time of a single data packet is increased, the number of data packets processed in a unit time is reduced, and the network performance is reduced.
According to a first aspect, an embodiment of the present invention provides a method for decapsulating and offloading a data packet, including:
acquiring a data packet to be decapsulated;
identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to an identification result;
performing fusion processing on the outer layer flow table and the inner layer flow table to generate a target flow table;
and unloading the target flow table to the hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table, wherein the method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding.
The data packet decapsulation and offloading method provided by the embodiment of the invention obtains a data packet to be decapsulated; and identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to an identification result, thereby ensuring the accuracy of the generated outer layer flow table and inner layer flow table. And then, the outer layer flow table and the inner layer flow table are subjected to fusion processing to generate a target flow table, so that the accuracy of the generated target flow table is ensured. The target flow table is unloaded to the hardware equipment, the data packet to be decapsulated is processed based on the content of the target flow table, and the accuracy of processing the data packet to be decapsulated is guaranteed. According to the data packet decapsulation and unloading method, the target flow table is unloaded to the hardware device, the data packet to be decapsulated is processed based on the content of the target flow table, and therefore the data packet to be decapsulated only needs to be matched based on the target flow table and then processed, the processing time of a single data packet is shortened, the number of data packets processed in unit time is increased, and the network performance is improved.
With reference to the first aspect, in the first embodiment of the first aspect, fusion processing is performed on the outer layer flow table and the inner layer flow table, so as to generate a target flow table;
converting the format of the outer layer flow table to generate an outer layer conversion flow table, extracting identification information corresponding to the data packet to be unpacked, and storing the outer layer conversion flow table based on the identification information;
converting the format of the inner layer flow table to generate an inner layer conversion flow table, and extracting identification information corresponding to the data packet to be unpacked;
and searching the outer layer conversion flow table based on the identification information, fusing the outer layer conversion flow table and the inner layer conversion flow table, and generating a target flow table.
The data packet decapsulation and offloading method provided by the embodiment of the present invention performs conversion processing on the format of the outer layer flow table to generate the outer layer conversion flow table, thereby ensuring the accuracy of the generated outer layer conversion flow table. The identification information corresponding to the data packet to be decapsulated is extracted, the outer layer conversion flow table is stored based on the identification information, the correspondence between the data packet to be decapsulated and the outer layer conversion flow table is guaranteed, and the accuracy of storing the outer layer conversion flow table is further guaranteed. The format of the inner layer flow table is converted, the inner layer conversion flow table is generated, and the accuracy of the generated inner layer conversion flow table is guaranteed. The identification information corresponding to the data packet to be unpacked is extracted, the outer layer conversion flow table is searched based on the identification information, the accuracy of the searched outer layer conversion flow table is guaranteed, and the consistency of the inner layer conversion flow table and the outer layer conversion flow table is guaranteed. And then, the outer layer conversion flow table and the inner layer conversion flow table are subjected to fusion processing to generate a target flow table, so that the accuracy of the generated target flow table is ensured.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, performing fusion processing on the outer layer translation flow table and the inner layer translation flow table to generate a target flow table includes:
identifying the outer layer conversion flow table, and acquiring a first matching domain and a first action domain corresponding to the outer layer conversion flow table;
identifying the inner layer translation flow table, and acquiring a second matching domain and a second action domain corresponding to the inner layer translation flow table;
merging the first matching domain and the second matching domain to generate a target matching domain;
merging the first action domain and the second action domain to generate a target action domain;
and generating a target flow table based on the contents of the target matching field and the target action field.
The method for decapsulating and unloading the data packet provided by the embodiment of the invention identifies the outer layer conversion flow table, acquires the first matching domain and the first action domain corresponding to the outer layer conversion flow table, and ensures the accuracy of the acquired first matching domain and the acquired first action domain. And identifying the inner layer translation flow table, and acquiring a second matching domain and a second action domain corresponding to the inner layer translation flow table, so that the accuracy of the acquired second matching domain and second action domain is ensured. And then, the first matching domain and the second matching domain are combined to generate a target matching domain, the first action domain and the second action domain are combined to generate a target action domain, and the accuracy of the generated target matching domain and the target action domain is ensured. And the target flow table is generated based on the contents of the target matching domain and the target action domain, so that the accuracy of the generated target flow table is ensured.
With reference to the first embodiment of the first aspect, in a third embodiment of the first aspect, the method further includes:
and mounting the inner layer conversion flow table into a linked list node taking the outer layer conversion flow table as a linked list head.
The data packet decapsulation and offloading method provided by the embodiment of the present invention mounts the inner layer translation flow table into the linked list node using the outer layer translation flow table as the linked list header, thereby ensuring the matching and consistency between the inner layer translation flow table and the outer layer translation flow table.
With reference to the first aspect, in a fourth implementation manner of the first aspect, the offloading the target flow table to the hardware device, and processing the to-be-decapsulated packet based on the content of the target flow table includes:
offloading the target flow table to a hardware device;
matching the data packet to be decapsulated with a target matching domain in a target flow table based on hardware equipment, and determining a matching action corresponding to the data packet to be decapsulated according to a matching result;
and processing the data packet to be decapsulated based on the content in the matching action.
The data packet decapsulation and offloading method provided by the embodiment of the present invention offloads the target flow table to the hardware device, and ensures that the target flow table is stored in the hardware device. And matching the data packet to be decapsulated with a target matching domain in a target flow table based on hardware equipment, determining a matching action corresponding to the data packet to be decapsulated according to a matching result, ensuring the accuracy of the determined matching action, and processing the data packet to be decapsulated based on the content in the matching action. The accuracy of processing the data packet to be decapsulated is ensured. According to the data packet decapsulation and unloading method, the target flow table is unloaded to the hardware device, the data packet to be decapsulated is processed based on the content of the target flow table, and therefore the data packet to be decapsulated only needs to be matched based on the target flow table and then processed, the processing time of a single data packet is shortened, the number of data packets processed in unit time is increased, and the network performance is improved.
With reference to the first aspect, in a fifth implementation manner of the first aspect, identifying a packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to an identification result includes:
identifying an outer layer message of the data packet to be decapsulated, and generating an outer layer flow table according to the content of the outer layer message; the matching domain in the outer layer flow table is an outer layer message, and the action domain is a decapsulation action;
and generating an inner-layer flow table based on the relation between the outer-layer flow table and the data packet to be unpacked.
The data packet decapsulation and offloading method provided by the embodiment of the present invention identifies the outer layer packet of the data packet to be decapsulated, and generates the outer layer flow table according to the content of the outer layer packet, thereby ensuring the accuracy of the generated outer layer flow table. And based on the relation between the outer layer flow table and the data packet to be unpacked, the inner layer flow table is generated, and the accuracy of the generated inner layer flow table is ensured.
With reference to the fifth implementation manner of the first aspect, in the sixth implementation manner of the first aspect, generating the inner layer flow table based on the relationship between the outer layer flow table and the packet to be decapsulated includes:
based on the action domain in the outer layer flow table, performing decapsulation processing on the data packet to be decapsulated, and generating a target data packet and a temporary variable corresponding to the data packet to be decapsulated; the temporary variable is generated based on an outer layer message after the data packet to be unpacked is unpacked;
identifying temporary variables and inner layer messages in a target data packet, and generating an inner layer flow table based on an identification result; the matching domain of the inner layer flow table is temporary variable and inner layer message, and the action domain is at least one of forwarding and discarding.
According to the data packet decapsulation and unloading method provided by the embodiment of the invention, based on the action domain in the outer layer flow table, decapsulation processing is performed on the data packet to be decapsulated, and a target data packet and a temporary variable corresponding to the data packet to be decapsulated are generated, so that the accuracy of the generated target data and the temporary variable is ensured. And identifying temporary variables and inner layer messages in the target data packet, and generating an inner layer flow table based on an identification result, so that the accuracy of the generated inner layer flow table is ensured.
According to a second aspect, an embodiment of the present invention further provides a device for decapsulating and unloading a data packet, including:
the acquisition module is used for acquiring a data packet to be decapsulated;
the identification module is used for identifying the data packet to be decapsulated and generating an outer layer flow table and an inner layer flow table according to an identification result;
the fusion module is used for performing fusion processing on the outer layer flow table and the inner layer flow table to generate a target flow table;
and the processing module is used for unloading the target flow table to the hardware equipment and processing the data packet to be decapsulated based on the content of the target flow table, wherein the method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding.
The data packet decapsulation loading and unloading device provided by the embodiment of the invention obtains a data packet to be decapsulated; and identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to an identification result, thereby ensuring the accuracy of the generated outer layer flow table and inner layer flow table. And then, the outer layer flow table and the inner layer flow table are subjected to fusion processing to generate a target flow table, so that the accuracy of the generated target flow table is ensured. And unloading the target flow table to the hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table, so that the accuracy of processing the data packet to be decapsulated is ensured. According to the data packet decapsulation loading and unloading device, the target flow table is unloaded to the hardware equipment, the data packet to be decapsulated is processed based on the content of the target flow table, and therefore the data packet to be decapsulated only needs to be matched based on the target flow table and then processed, the processing time of a single data packet is shortened, the number of data packets processed in unit time is increased, and the network performance is improved.
According to a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory and the processor are communicatively connected to each other, and the memory stores computer instructions, and the processor executes the computer instructions, thereby performing the method for decapsulating and offloading data packets in the first aspect or any implementation manner of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to execute the method for decapsulating and offloading data packets in the first aspect or any implementation manner of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for decapsulating and offloading a data packet according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for decapsulating and offloading data packets according to another embodiment of the present invention;
fig. 3 is a schematic diagram of storing an outer layer translation stream table and an inner layer translation stream table according to another embodiment of the present invention;
fig. 4 is a schematic diagram of generating a target flow table according to another embodiment of the present invention;
fig. 5 is a flowchart of a method for decapsulating and offloading data packets according to another embodiment of the invention;
fig. 6 is a flowchart of a method for decapsulating and offloading data packets according to another embodiment of the invention;
fig. 7 is a flowchart of a method for decapsulating and offloading data packets according to another embodiment of the present invention;
fig. 8 is a functional block diagram of a packet decapsulation and offloading apparatus according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
It should be noted that, in the method for decapsulating and offloading a data packet provided in the embodiment of the present application, an execution main body of the method may be a device for decapsulating and offloading a data packet, and the device for decapsulating and offloading a data packet may be implemented as part or all of a computer device in a software, hardware, or a combination of software and hardware, where the computer device may be a server or a terminal, where a server in the embodiment of the present application may be one server or a server cluster composed of multiple servers, and a terminal in the embodiment of the present application may be other intelligent hardware devices such as a smart phone, a personal computer, a tablet computer, a wearable device, and an intelligent robot. In the following method embodiments, the execution subject is an electronic device as an example.
In an embodiment of the present application, as shown in fig. 1, a method for decapsulating and offloading a data packet is provided, which is described by taking an example that the method is applied to an electronic device, and includes the following steps:
s11, obtaining the data packet to be unpacked.
Specifically, the electronic device may receive a data packet to be decapsulated input by a user, and may also receive a data packet to be decapsulated sent by another device.
The data packet to be decapsulated may be a VXLAN data packet or other data packets, which is not specifically limited in this embodiment of the present application.
And S12, identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to the identification result.
In an optional implementation manner of the present application, the electronic device may identify an outer layer packet of the to-be-decapsulated data packet based on a software program, and generate an outer layer flow table according to an identification result. The electronic device may identify an inner layer packet of the to-be-decapsulated data packet, and generate an inner layer flow table according to an identification result. The software program may be software OVS or other software, and the software program is not specifically limited in this embodiment of the present application.
Details regarding this step will be described below.
And S13, performing fusion processing on the outer layer flow table and the inner layer flow table to generate a target flow table.
Specifically, the electronic device may perform fusion processing of the outer layer flow table and the inner layer flow table based on the contents of the outer layer flow table and the inner layer flow table by using a software program after generating the outer layer flow table and the inner layer flow table, and generate the target flow table.
Details regarding this step will be described below.
And S14, unloading the target flow table to the hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table.
The method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding.
Specifically, after the electronic device generates the target flow table, the to-be-decapsulated data packet may be matched with the target flow table, and then, the to-be-decapsulated data packet may be processed according to a matching result.
Details regarding this step will be described below.
The data packet decapsulation and offloading method provided by the embodiment of the invention obtains a data packet to be decapsulated; and identifying the data packet to be unpacked, and generating an outer layer flow table and an inner layer flow table according to the identification result, so that the accuracy of the generated outer layer flow table and the generated inner layer flow table is ensured. And then, the outer layer flow table and the inner layer flow table are subjected to fusion processing to generate a target flow table, so that the accuracy of the generated target flow table is ensured. And unloading the target flow table to the hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table, so that the accuracy of processing the data packet to be decapsulated is ensured. According to the data packet decapsulation and unloading method, the target flow table is unloaded to the hardware device, the data packet to be decapsulated is processed based on the content of the target flow table, and therefore the data packet to be decapsulated only needs to be matched based on the target flow table and then processed, the processing time of a single data packet is shortened, the number of data packets processed in unit time is increased, and the network performance is improved.
In an embodiment of the present application, as shown in fig. 2, a method for decapsulating and offloading a data packet is provided, which is described by taking an example that the method is applied to an electronic device, and includes the following steps:
and S21, acquiring the data packet to be decapsulated.
For this step, please refer to fig. 1 for description of S11, which is not described herein.
And S22, identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to the identification result.
Please refer to fig. 1 for an introduction of S12 for this step, which is not described herein.
And S23, performing fusion processing on the outer layer flow table and the inner layer flow table to generate a target flow table.
In an optional embodiment of the application, the step S23 of performing fusion processing on the outer flow table and the inner flow table to generate the target flow table may include the following steps:
s231, converting the format of the outer layer flow table to generate an outer layer conversion flow table, extracting identification information corresponding to the data packet to be unpacked, and storing the outer layer conversion flow table based on the identification information.
Specifically, after the electronic device generates the outer layer flow table, the format of the outer layer flow table may be converted, the outer layer conversion flow table is generated, the identification information corresponding to the data packet to be decapsulated in the outer layer flow table is extracted, and the outer layer conversion flow table is saved based on the identification information.
The identification information corresponding to the data packet to be decapsulated may be an outer-layer source IP address, or may be other identification information, which is not specifically limited by this embodiment.
For example, as shown in fig. 3, the electronic device may store the outer translation flow table in the HASH table HASH of KEY (source IP), unlike the prior art, the outer translation flow table is not offloaded to hardware.
For example, assuming that the outer layer FLOW table is FLOW _ a, the electronic device may perform conversion processing on the format of the outer layer FLOW table to convert the outer layer FLOW table into RTE _ FLOW _ a. And simultaneously extracts the outer layer source IP address of the data packet in FLOW _ A. The electronic device may store RTE _ FLOW _ a into the HASH table HASH of KEY (source IP), unlike the prior art, RTE _ FLOW _ a is no longer offloaded to hardware.
S232, converting the format of the inner layer flow table, generating an inner layer conversion flow table, and extracting identification information corresponding to the data packet to be unpacked.
Specifically, after generating the inner layer flow table, the electronic device may perform conversion processing on the format of the inner layer flow table, generate the inner layer conversion flow table, and extract the identification information corresponding to the to-be-decapsulated data packet in the inner layer flow table. The identification information corresponding to the data packet to be decapsulated may be an outer layer source IP address in a temporary variable corresponding to the data packet to be decapsulated, or may be other identification information.
For example, assuming that the inner layer FLOW table is FLOW _ B, the electronic device may perform conversion processing on the format of the inner layer FLOW table to convert it into RTE _ FLOW _ B. And simultaneously extracting an outer layer source IP address in a temporary variable corresponding to the data packet to be decapsulated in the FLOW _ B.
And S233, searching the outer layer conversion flow table based on the identification information, fusing the outer layer conversion flow table and the inner layer conversion flow table, and generating a target flow table.
In an optional implementation manner of the present application, the electronic device searches the outer translation flow table based on the identification information. Then, the electronic device may perform merge processing on the outer layer translation flow table and the inner layer translation flow table, and generate a target flow table.
For example, since the outer layer source IP address in the temporary variable corresponding to the packet to be decapsulated is equal to the outer layer message source IP of the packet to be decapsulated, the outer layer source IP address in S232 is used to find the RTE _ FLOW _ a corresponding to RTE _ FLOW _ B by looking up the HASH table according to KEY (source IP). Unlike the prior art, RTE _ FLOW _ B is no longer offloaded to hardware.
In an optional embodiment of the present application, the step of performing fusion processing on the outer layer translation stream table and the inner layer translation stream table to generate the target stream table in S233 may include the following steps:
(1) And identifying the outer layer conversion flow table, and acquiring a first matching domain and a first action domain corresponding to the outer layer conversion flow table.
(2) And identifying the inner layer translation flow table, and acquiring a second matching domain and a second action domain corresponding to the inner layer translation flow table.
(3) And merging the first matching domain and the second matching domain to generate a target matching domain.
(4) And merging the first action domain and the second action domain to generate a target action domain.
(5) And generating a target flow table based on the contents of the target matching field and the target action field.
Specifically, the electronic device may identify the outer layer translation flow table, and obtain a first matching domain and a first action domain corresponding to the outer layer translation flow table. And identifying the inner layer translation flow table, and acquiring a second matching domain and a second action domain corresponding to the inner layer translation flow table. And merging the first action domain and the second action domain to generate a target action domain. And generating a target flow table based on the contents of the target matching field and the target action field.
For example, as shown in fig. 4, the electronic device may extract the outer layer message information (MAC, IP, UDP), the temporary variable VNI, and the inner layer message information (MAC, IP, L4) in RTE _ FLOW _ a and RTE _ FLOW _ B, and combine them into a new RTE _ FLOW _ C.
In an optional embodiment of the present application, the method may further include the following steps:
(6) And mounting the inner layer conversion flow table into a linked list node taking the outer layer conversion flow table as a linked list head.
Specifically, as shown in fig. 3, the electronic device may mount the inner translation flow table into a linked list node with the outer translation flow table as a linked list header.
And S24, unloading the target flow table to the hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table.
The method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding.
For this step, please refer to fig. 1 for the description of S14, which is not described herein.
The data packet decapsulation and offloading method provided by the embodiment of the invention performs conversion processing on the format of the outer layer flow table to generate the outer layer conversion flow table, thereby ensuring the accuracy of the generated outer layer conversion flow table. The identification information corresponding to the data packet to be unpacked is extracted, the outer layer conversion flow table is stored based on the identification information, the correspondence between the data packet to be unpacked and the outer layer conversion flow table is guaranteed, and the accuracy of storing the outer layer conversion flow table is further guaranteed. And the format of the inner layer flow table is converted, the inner layer conversion flow table is generated, and the accuracy of the generated inner layer conversion flow table is ensured. The identification information corresponding to the data packet to be unpacked is extracted, the outer layer conversion flow table is searched based on the identification information, the accuracy of the searched outer layer conversion flow table is guaranteed, and the consistency of the inner layer conversion flow table and the outer layer conversion flow table is guaranteed. And then, the format of the outer layer flow table is converted, and the outer layer conversion flow table is generated, so that the accuracy of the generated outer layer conversion flow table is ensured. The identification information corresponding to the data packet to be unpacked is extracted, the outer layer conversion flow table is stored based on the identification information, the correspondence between the data packet to be unpacked and the outer layer conversion flow table is guaranteed, and the accuracy of storing the outer layer conversion flow table is further guaranteed. The format of the inner layer flow table is converted, the inner layer conversion flow table is generated, and the accuracy of the generated inner layer conversion flow table is guaranteed. The identification information corresponding to the data packet to be unpacked is extracted, the outer layer conversion flow table is searched based on the identification information, the accuracy of the searched outer layer conversion flow table is guaranteed, and the consistency of the inner layer conversion flow table and the outer layer conversion flow table is guaranteed. And then, the outer layer conversion flow table and the inner layer conversion flow table are subjected to fusion processing to generate a target flow table, so that the accuracy of the generated target flow table is ensured.
In addition, the method for decapsulating and unloading the data packet according to the embodiment of the present invention mounts the inner translation flow table into the linked list node whose outer translation flow table is the linked list header, thereby ensuring the matching and consistency between the inner translation flow table and the outer translation flow table.
In an embodiment of the present application, as shown in fig. 5, a method for decapsulating and offloading a data packet is provided, which is described by taking an example where the method is applied to an electronic device, and includes the following steps:
and S31, acquiring the data packet to be decapsulated.
For this step, please refer to fig. 2 for description of S21, which is not described herein.
And S32, identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to the identification result.
For this step, please refer to fig. 2 for description of S22, which is not described herein.
And S33, performing fusion processing on the outer layer flow table and the inner layer flow table to generate a target flow table.
For this step, please refer to fig. 2 for description of S23, which is not described herein.
And S34, unloading the target flow table to the hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table.
The method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding.
In an optional implementation manner of this application, the foregoing S34 "uninstall the target flow table to the hardware device, and process the to-be-decapsulated data packet based on the content of the target flow table," may include the following steps:
and S341, unloading the target flow table to the hardware device.
Specifically, the electronic device may offload the target flow table to a hardware device based on the target flow table, where the hardware device may be an intelligent network card or other devices.
And S342, matching the data packet to be decapsulated with a target matching domain in the target flow table based on the hardware device, and determining a matching action corresponding to the data packet to be decapsulated according to a matching result.
Specifically, after the electronic device offloads the target flow table to the hardware device, the hardware device in the electronic device may match the packet to be decapsulated with a target matching field in the target flow table, and then, according to a matching result, determine a matching action corresponding to the packet to be decapsulated in the target flow table.
And S343, processing the data packet to be unpacked based on the content in the matching action.
Specifically, after determining a matching action corresponding to the data packet to be decapsulated, a hardware device in the electronic device processes the data packet to be decapsulated based on content in the matching action.
The data packet decapsulation and offloading method provided by the embodiment of the present invention offloads the target flow table to the hardware device, and ensures that the target flow table is stored in the hardware device. And matching the data packet to be decapsulated with a target matching domain in a target flow table based on hardware equipment, determining a matching action corresponding to the data packet to be decapsulated according to a matching result, ensuring the accuracy of the determined matching action, and processing the data packet to be decapsulated based on the content in the matching action. The accuracy of processing the data packet to be decapsulated is ensured. According to the data packet decapsulation and offloading method, the target flow table is offloaded to the hardware device, the data packet to be decapsulated is processed based on the content of the target flow table, and therefore the data packet to be decapsulated only needs to be matched based on the target flow table and then processed, processing time of a single data packet is shortened, the number of data packets processed in unit time is increased, and network performance is improved. In addition, the data packet decapsulation and unloading method does not need to process extra software processing logic when the data packet to be decapsulated is uploaded because only the outer-layer flow table is hit and the inner-layer flow table is not hit.
In an embodiment of the present application, as shown in fig. 6, a method for decapsulating and offloading a data packet is provided, which is described by taking an example where the method is applied to an electronic device, and includes the following steps:
and S41, acquiring the data packet to be decapsulated.
Please refer to fig. 5 for an introduction of S31 for this step, which is not described herein.
And S42, identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to an identification result.
In an optional implementation manner of this application, the step S42 "of identifying the packet to be decapsulated, and generating the outer layer flow table and the inner layer flow table according to the identification result" may include the following steps:
s421, identifying the outer layer message of the data packet to be decapsulated, and generating an outer layer flow table according to the content of the outer layer message.
Wherein, the matching domain in the outer layer flow table is an outer layer message, and the action domain is a decapsulation action. The outer layer message may be MAC, IP, UDP, or the like.
Specifically, the electronic device may identify an outer layer packet of the to-be-decapsulated data packet based on the software OVS, and generate an outer layer flow table according to the content of the outer layer packet.
S422, based on the relation between the outer layer flow table and the data packet to be unpacked, the inner layer flow table is generated.
In an optional implementation manner of this application, the step S422 "generating the inner layer flow table based on the relationship between the outer layer flow table and the packet to be decapsulated" may include the following steps:
(1) And based on the action domain in the outer layer flow table, performing decapsulation processing on the data packet to be decapsulated, and generating a target data packet and a temporary variable corresponding to the data packet to be decapsulated.
The temporary variable is generated based on an outer layer message after the data packet to be unpacked is unpacked;
(2) And identifying the temporary variable and the inner layer message in the target data packet, and generating an inner layer flow table based on the identification result.
The matching domain of the inner layer flow table is a temporary variable and an inner layer message, and the action domain is at least one of forwarding and discarding.
Specifically, after the electronic device generates the outer layer flow table, the electronic device may perform decapsulation processing on the to-be-decapsulated data packet based on the action field in the outer layer flow table, and generate a target data packet and a temporary variable corresponding to the to-be-decapsulated data packet. The temporary variable is generated based on an outer layer packet after decapsulation of the data packet to be decapsulated, and the temporary variable may include VNI, an outer layer IP, an outer layer UDP, and the like.
Then, the electronic device may identify the temporary variable and the inner layer packet in the target packet, and generate the inner layer flow table based on the identification result.
The inner layer packet may include MAC, IP, L4, and the like.
And S43, performing fusion processing on the outer layer flow table and the inner layer flow table to generate a target flow table.
For this step, please refer to fig. 5 for description of S33, which is not described herein.
And S44, unloading the target flow table to the hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table.
The method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding.
For this step, please refer to fig. 5 for description of S34, which is not described herein.
The data packet decapsulation and unloading method provided by the embodiment of the invention identifies the outer layer message of the data packet to be decapsulated, generates the outer layer flow table according to the content of the outer layer message, and ensures the accuracy of the generated outer layer flow table. And based on the action domain in the outer layer flow table, the data packet to be decapsulated is subjected to decapsulation processing, and a target data packet and a temporary variable corresponding to the data packet to be decapsulated are generated, so that the accuracy of the generated target data and the temporary variable is ensured. And identifying temporary variables and inner layer messages in the target data packet, and generating an inner layer flow table based on an identification result, so that the accuracy of the generated inner layer flow table is ensured. In addition, the data packet decapsulation and offloading method provided by the embodiment of the present invention only modifies the hardware offload module of the OVS-DPDK, and does not modify the data packet decapsulation flow of the software OVS-DPDK to be decapsulated, so that the method can be applied to both the intelligent network card and the non-intelligent network card scenarios, and has high compatibility.
To better describe the method for decapsulating and unloading a data packet according to the embodiment of the present invention, as shown in fig. 7, a VXLAN data packet is taken as an example for description, the VXLAN data packet enters a VXLAN decapsulation module, the VXLAN decapsulation module identifies an outer layer packet of the VXLAN data packet, generates an OVS FLOW table, converts the OVS FLOW table to generate RTE _ FLOW, and a DPDK unloads the RTE _ FLOW to an intelligent network card. The VXLAN data packet enters an intelligent network card, the intelligent network card matches the VXLAN data packet with RTE _ FLOW (hardware FLOW table), and then the VXLAN data packet is forwarded.
It should be understood that, although the steps in the flowcharts of fig. 1, 2, 5 and 6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1, 2, 5, and 6 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least some of the other steps.
As shown in fig. 8, this embodiment provides a packet decapsulation and offloading apparatus, including:
an obtaining module 51, configured to obtain a data packet to be decapsulated;
the identification module 52 is configured to identify the data packet to be decapsulated, and generate an outer layer flow table and an inner layer flow table according to the identification result;
the fusion module 53 is configured to perform fusion processing on the outer layer flow table and the inner layer flow table to generate a target flow table;
and the processing module 54 is configured to offload the target flow table to a hardware device, and process the to-be-decapsulated data packet based on the content of the target flow table, where a method for processing the to-be-decapsulated data packet includes at least one of decapsulating, forwarding, and discarding.
In an embodiment of the present application, the fusion module 53 is specifically configured to perform conversion processing on a format of an outer layer flow table, generate an outer layer conversion flow table, extract identification information corresponding to a data packet to be decapsulated, and store the outer layer conversion flow table based on the identification information; converting the format of the inner layer flow table to generate an inner layer conversion flow table, and extracting identification information corresponding to the data packet to be unpacked; and searching the outer layer conversion flow table based on the identification information, and fusing the outer layer conversion flow table and the inner layer conversion flow table to generate a target flow table.
In an embodiment of the present application, the merging module 53 is specifically configured to identify an outer layer translation flow table, and obtain a first matching field and a first action field corresponding to the outer layer translation flow table; identifying the inner layer conversion flow table, and acquiring a second matching domain and a second action domain corresponding to the inner layer conversion flow table; merging the first matching domain and the second matching domain to generate a target matching domain; merging the first action domain and the second action domain to generate a target action domain; and generating a target flow table based on the contents of the target matching field and the target action field.
In an embodiment of the present application, the merging module 53 is specifically configured to mount the inner translation stream table to a linked list node using the outer translation stream table as a linked list header.
In an embodiment of the present application, the processing module 54 is specifically configured to; offloading the target flow table to a hardware device; matching the data packet to be decapsulated with a target matching domain in a target flow table based on hardware equipment, and determining a matching action corresponding to the data packet to be decapsulated according to a matching result; and processing the data packet to be unpacked based on the content in the matching action.
In an embodiment of the present application, the identifying module 52 is specifically configured to identify an outer layer packet of a data packet to be decapsulated, and generate an outer layer flow table according to content of the outer layer packet; the matching domain in the outer layer flow table is an outer layer message, and the action domain is a decapsulation action; and generating an inner-layer flow table based on the relation between the outer-layer flow table and the data packet to be unpacked.
In an embodiment of the present application, the identifying module 52 is specifically configured to perform decapsulation processing on a to-be-decapsulated data packet based on an action field in an outer layer flow table, and generate a target data packet and a temporary variable corresponding to the to-be-decapsulated data packet; the temporary variable is generated based on the outer layer message after the data packet to be decapsulated is decapsulated; identifying temporary variables and inner layer messages in a target data packet, and generating an inner layer flow table based on an identification result; the matching domain of the inner layer flow table is a temporary variable and an inner layer message, and the action domain is at least one of forwarding and discarding.
For specific limitations and beneficial effects of the data packet decapsulation and offloading device, reference may be made to the above limitations on the data packet decapsulation and offloading method, which is not described herein again. The modules in the packet decapsulation and offloading apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The modules may be embedded in a hardware form or may be independent of a processor in the electronic device, or may be stored in a memory in the electronic device in a software form, so that the processor calls and executes operations corresponding to the modules.
An embodiment of the present invention further provides an electronic device, which has the apparatus for decapsulating and unloading data packets shown in fig. 8.
As shown in fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, and as shown in fig. 9, the electronic device may include: at least one processor 61, such as a CPU (Central Processing Unit), at least one communication interface 63, memory 64, at least one communication bus 62. Wherein a communication bus 62 is used to enable the connection communication between these components. The communication interface 63 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 63 may also include a standard wired interface and a standard wireless interface. The Memory 64 may be a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 64 may optionally be at least one memory device located remotely from the processor 61. Wherein the processor 61 may be in connection with the apparatus described in fig. 8, the memory 64 stores an application program, and the processor 61 calls the program code stored in the memory 64 for performing any of the above-mentioned method steps.
The communication bus 62 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 62 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
The memory 64 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: flash memory), such as a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 64 may also comprise a combination of the above kinds of memories.
The processor 61 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 61 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), general Array Logic (GAL), or any combination thereof.
Optionally, the memory 64 is also used to store program instructions. The processor 61 may call program instructions to implement the method for packet decapsulation and offload as shown in the embodiments of fig. 1, fig. 2, fig. 5, and fig. 6 of the present application.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the data packet decapsulation and offloading method in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk Drive (Hard Disk Drive, abbreviated as HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims (10)
1. A method for decapsulating and offloading a data packet, comprising:
acquiring a data packet to be decapsulated;
identifying the data packet to be decapsulated, and generating an outer layer flow table and an inner layer flow table according to an identification result;
fusing the outer layer flow table and the inner layer flow table to generate a target flow table;
and unloading the target flow table to hardware equipment, and processing the data packet to be decapsulated based on the content of the target flow table, wherein the method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding.
2. The method according to claim 1, wherein the fusing processing is performed on the outer layer flow table and the inner layer flow table to generate a target flow table;
converting the format of the outer layer flow table to generate an outer layer conversion flow table, extracting identification information corresponding to the data packet to be unpacked, and storing the outer layer conversion flow table based on the identification information;
converting the format of the inner layer flow table to generate an inner layer conversion flow table, and extracting identification information corresponding to the data packet to be unpacked;
and searching the outer layer conversion flow table based on the identification information, fusing the outer layer conversion flow table and the inner layer conversion flow table, and generating the target flow table.
3. The method according to claim 2, wherein the fusing the outer translation flow table and the inner translation flow table to generate the target flow table includes:
identifying the outer layer conversion flow table, and acquiring a first matching domain and a first action domain corresponding to the outer layer conversion flow table;
identifying the inner layer conversion flow table, and acquiring a second matching domain and a second action domain corresponding to the inner layer conversion flow table;
merging the first matching domain and the second matching domain to generate a target matching domain;
merging the first action domain and the second action domain to generate a target action domain;
and generating the target flow table based on the contents of the target matching field and the target action field.
4. The method of claim 2, further comprising:
and mounting the inner layer conversion flow table into a linked list node which takes the outer layer conversion flow table as a linked list head.
5. The method of claim 1, wherein the offloading the target flow table to a hardware device, processing the packet to be decapsulated based on the contents of the target flow table, comprises:
offloading the target flow table to the hardware device;
matching the data packet to be decapsulated with a target matching domain in the target flow table based on the hardware device, and determining a matching action corresponding to the data packet to be decapsulated according to a matching result;
and processing the data packet to be decapsulated based on the content in the matching action.
6. The method according to claim 1, wherein the identifying the packet to be decapsulated and generating an outer layer flow table and an inner layer flow table according to the identification result comprises:
identifying an outer layer message of the data packet to be unpacked, and generating an outer layer flow table according to the content of the outer layer message; the matching domain in the outer layer flow table is the outer layer message, and the action domain is the decapsulation action;
and generating the inner-layer flow table based on the relation between the outer-layer flow table and the data packet to be unpacked.
7. The method of claim 6, wherein the generating the inner layer flow table based on the relationship between the outer layer flow table and the packet to be decapsulated comprises:
based on the action domain in the outer layer flow table, performing decapsulation processing on the data packet to be decapsulated, and generating a target data packet and a temporary variable corresponding to the data packet to be decapsulated; the temporary variable is generated based on the outer layer message after the data packet to be decapsulated is decapsulated;
identifying the temporary variable and an inner layer message in the target data packet, and generating an inner layer flow table based on an identification result; the matching domain of the inner layer flow table is the temporary variable and the inner layer message, and the action domain is at least one of forwarding and discarding.
8. A packet decapsulation and offload device, comprising:
the acquisition module is used for acquiring a data packet to be unpacked;
the identification module is used for identifying the data packet to be unpacked and generating an outer layer flow table and an inner layer flow table according to an identification result;
the fusion module is used for performing fusion processing on the outer layer flow table and the inner layer flow table to generate a target flow table;
and the processing module is used for unloading the target flow table to hardware equipment and processing the data packet to be decapsulated based on the content of the target flow table, wherein the method for processing the data packet to be decapsulated comprises at least one of decapsulation, forwarding and discarding.
9. An electronic device comprising a memory and a processor, wherein the memory stores computer instructions, and the processor executes the computer instructions to perform the method for packet decapsulation and offloading according to any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the method for decapsulating and offloading data packets according to any of claims 1-7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210913659.0A CN115484322A (en) | 2022-07-29 | 2022-07-29 | Data packet decapsulation and uninstallation method and device, electronic device and storage medium |
PCT/CN2022/141857 WO2024021493A1 (en) | 2022-07-29 | 2022-12-26 | Data packet decapsulation and unloading method and apparatus, electronic device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210913659.0A CN115484322A (en) | 2022-07-29 | 2022-07-29 | Data packet decapsulation and uninstallation method and device, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115484322A true CN115484322A (en) | 2022-12-16 |
Family
ID=84422558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210913659.0A Pending CN115484322A (en) | 2022-07-29 | 2022-07-29 | Data packet decapsulation and uninstallation method and device, electronic device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115484322A (en) |
WO (1) | WO2024021493A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115941598A (en) * | 2023-03-09 | 2023-04-07 | 珠海星云智联科技有限公司 | Flow table semi-uninstalling method, device and medium |
WO2024021493A1 (en) * | 2022-07-29 | 2024-02-01 | 天翼云科技有限公司 | Data packet decapsulation and unloading method and apparatus, electronic device, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796353A (en) * | 2014-01-17 | 2015-07-22 | 华为技术有限公司 | Packet forwarding method and switch |
CN109962832A (en) * | 2017-12-26 | 2019-07-02 | 华为技术有限公司 | The method and apparatus of Message processing |
CN113326228A (en) * | 2021-07-30 | 2021-08-31 | 阿里云计算有限公司 | Message forwarding method, device and equipment based on remote direct data storage |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426768B (en) * | 2013-09-05 | 2018-06-15 | 华为技术有限公司 | A kind of data message forwarding method and device |
CN114640726B (en) * | 2020-12-01 | 2023-12-01 | 阿里巴巴集团控股有限公司 | Message processing method, device, system and storage medium |
CN113821310B (en) * | 2021-11-19 | 2022-05-06 | 阿里云计算有限公司 | Data processing method, programmable network card device, physical server and storage medium |
CN115484322A (en) * | 2022-07-29 | 2022-12-16 | 天翼云科技有限公司 | Data packet decapsulation and uninstallation method and device, electronic device and storage medium |
-
2022
- 2022-07-29 CN CN202210913659.0A patent/CN115484322A/en active Pending
- 2022-12-26 WO PCT/CN2022/141857 patent/WO2024021493A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796353A (en) * | 2014-01-17 | 2015-07-22 | 华为技术有限公司 | Packet forwarding method and switch |
CN109962832A (en) * | 2017-12-26 | 2019-07-02 | 华为技术有限公司 | The method and apparatus of Message processing |
US20200328966A1 (en) * | 2017-12-26 | 2020-10-15 | Huawei Technologies Co., Ltd. | Packet processing method and apparatus |
CN113326228A (en) * | 2021-07-30 | 2021-08-31 | 阿里云计算有限公司 | Message forwarding method, device and equipment based on remote direct data storage |
Non-Patent Citations (1)
Title |
---|
孙鹏浩;兰巨龙;陆肖元;胡宇翔;马腾;: "一种基于匹配域裁剪的包分类规则集压缩方法", 电子与信息学报, no. 05, 31 May 2017 (2017-05-31) * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024021493A1 (en) * | 2022-07-29 | 2024-02-01 | 天翼云科技有限公司 | Data packet decapsulation and unloading method and apparatus, electronic device, and storage medium |
CN115941598A (en) * | 2023-03-09 | 2023-04-07 | 珠海星云智联科技有限公司 | Flow table semi-uninstalling method, device and medium |
CN115941598B (en) * | 2023-03-09 | 2023-05-16 | 珠海星云智联科技有限公司 | Flow table semi-unloading method, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
WO2024021493A1 (en) | 2024-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110417766B (en) | Protocol analysis method and device | |
CN115484322A (en) | Data packet decapsulation and uninstallation method and device, electronic device and storage medium | |
US20220060414A1 (en) | Method for generating segment list, method for forwarding packet, device, and system in srv6 network | |
CN110381054B (en) | Message analysis method, device, equipment and computer readable storage medium | |
CN109586962B (en) | Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment | |
WO2022179353A1 (en) | Domain name resolution method and apparatus, and computer device | |
US20210160353A1 (en) | Data sending method and device, data receiving method and device, and system | |
CN111510476B (en) | Communication method, communication device, computer equipment and computer readable storage medium | |
CN108491715B (en) | Terminal fingerprint database generation method and device and server | |
CN113271245B (en) | Message processing method and device, network card and computer readable storage medium | |
CN111935081B (en) | Data packet desensitization method and device | |
US10367657B2 (en) | Bridge port extender | |
CN114157607A (en) | Media stream transmission method and system | |
CN115208951A (en) | Request processing method and device, electronic equipment and computer readable storage medium | |
CN107483369B (en) | Message processing method and virtual switch | |
CN108287859B (en) | Multimedia information retrieval method and device | |
CN113204683B (en) | Information reconstruction method and device, storage medium and electronic equipment | |
CN109714337B (en) | Data encryption transmission method and equipment | |
US20220121626A1 (en) | Data compression method and data decompression method for electronic device, and electronic device | |
US9008108B2 (en) | Criteria for identifying network frames | |
CN108011989B (en) | Redirection method and device | |
CN114301964A (en) | Terminal device, network connection method thereof, communication system, and storage medium | |
CN110674093A (en) | File data processing method and device, computer equipment and storage medium | |
CN114172976B (en) | Method, device, network forwarding equipment, system and medium for associating upstream and downstream connections | |
US20240015049A1 (en) | Transfer device, transfer method, and transfer program |
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 |