A method and device for hardware unloading based on application identification of data processing unit
By using a hardware regular engine in the data processing unit to match the rule database, it solves the problems of low recognition accuracy, small scope of application, and low efficiency in existing application identification technology, achieving efficient and fast application identification with a wide range of applicable scenarios.
Patent Information
- Application Number
- CN202311385875.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-10-24
AI Technical Summary
Existing application recognition technologies suffer from low recognition accuracy, small scope of application, and low recognition efficiency, leading to performance bottlenecks.
In the data processing unit, the deep packet inspection daemon receives the rule files and policy actions, generates the rule database required by the hardware regular engine, applies the recognition program to extract the five-tuple information of the data packet, and uses the hardware regular engine to match the rule database , to realize the identification and accelerated uninstallation of application layer protocols.
It improves recognition accuracy and efficiency, expands applicable scenarios, releases host CPU and memory resources, and achieves high-performance and low-latency application recognition.
Smart Images

Figure CN117573218B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of application identification, and in particular to a method and device for application identification hardware unloading based on a data processing unit. Background Art
[0002] With the rapid development of the Internet, Internet applications have also undergone tremendous changes. From the initial web browsing, Email, File Transfer Protocol (FTP) downloads to the current P2P applications, games, videos, and mobile Internet, a variety of applications have become the mainstream of the Internet.
[0003] Faced with an endless stream of applications, how to accurately control application traffic is the biggest problem facing network administrators, and the premise of control is to accurately identify various applications in the network. Application identification technology is an application feature extraction and matching technology that extracts certain specific fields in the message or the behavior characteristics of the message and matches them with the business-aware feature library to identify the application.
[0004] The Data Processing Unit (DPU) is a dedicated hardware accelerator used to efficiently perform data processing tasks. DPUs are commonly found in data centers, cloud computing, and edge computing, and can provide high-performance and low-power data processing capabilities. The main tasks of the DPU can be summarized into four keywords: virtualization, network, storage, and security. Application identification is the basis of Deep Packet Inspection (DPI) in security services. If hardware offload acceleration is implemented on the DPU, high-performance and low-latency application identification can be provided.
[0005] Among current application identification technologies, the main type of technical solutions is implemented in dedicated devices such as firewalls or separate application software. Traditional application layer protocol identification extracts five-tuple information and identifies applications through port numbers in messages. The matching efficiency is high, but with the increasing number of Internet applications, it is impossible to make more refined distinctions, and the scope of application is getting smaller and smaller. Another type of technical solution is application identification based on message content, which accurately identifies various applications by extracting application layer features. However, due to the need to match message content, the performance will be greatly reduced, which can easily become a performance bottleneck in the network. Summary of the invention
[0006] In view of this, an embodiment of the present invention provides an application identification hardware unloading method and device based on a data processing unit to eliminate or improve one or more defects existing in the prior art, and to solve the problems of low recognition accuracy, small scope of application, and low recognition efficiency in the existing application identification technical solutions, which cause performance bottlenecks.
[0007] In one aspect, the present invention provides a method for hardware unloading based on application identification of a data processing unit, the method being executed in the data processing unit, the method comprising the following steps:
[0008] Receiving the rule file preset on the host side and the policy action to be configured, the deep packet inspection daemon analyzes and processes the rule file and the policy action to generate a rule database required by the hardware regularization engine;
[0009] The application identification program deployed in the data processing unit receives the data message based on a preset tool, extracts the five-tuple information of the data message, identifies the application layer protocol of the data message through the port number in the five-tuple information, and obtains the protocol type;
[0010] The deep packet inspection daemon receives the data packet and protocol type sent by the application identification program, and extracts the application layer information of the data packet; uses the application layer information as input, matches the characteristic rules in the rule database by calling the hardware regular engine, and obtains a matching result; processes the matching result according to the policy action;
[0011] The deep packet inspection daemon forwards the data packet and the policy action to the application identification program; the application identification program forwards the data packet according to the policy action, and collects and uploads the identification information to the host.
[0012] In some embodiments of the present invention, the deep packet inspection daemon analyzes and processes the rule file and the policy action to generate a rule database required by the hardware regularization engine, and further includes:
[0013] The deep packet inspection daemon process reads the rule file line by line and extracts each field of the rule;
[0014] The deep packet inspection daemon reads the policy action and extracts the action corresponding to each rule;
[0015] The deep packet inspection daemon converts and organizes the rule content and actions according to a preset format based on the information of each field extracted, and generates the rule database for use by the hardware regular engine.
[0016] In some embodiments of the present invention, the rule database is composed of a set of regular expressions.
[0017] In some embodiments of the present invention, the application identification program receives the data message based on a data plane development kit.
[0018] In some embodiments of the present invention, before the method, the method further includes:
[0019] The preset network port is bound to the data plane development kit; the data plane development kit directly accesses and / or processes the received data message based on the preset network port.
[0020] In some embodiments of the present invention, the application identification program extracts the five-tuple information of the data message based on the data plane development kit, and further includes:
[0021] The application identification program receives the data message from the preset network port based on the built-in function of the data plane development kit;
[0022] According to the protocol type of the data message, the application identification program extracts a message header structure from the data portion of the data message;
[0023] According to the message header structure and field definition, the application identification program extracts the five-tuple information from the data message; the five-tuple information includes the source IP address, the destination IP address, the protocol type, the source port number and the destination port number.
[0024] In some embodiments of the present invention, the deployment method of the application identification program includes the following steps:
[0025] Obtaining the application identification program, wherein the application identification program is obtained by training based on one or more of deep learning, machine learning, and rule matching technologies;
[0026] Configuring the environment and dependencies for the application identification program; compiling the application identification program source code into an executable file using a preset programming language and development tools;
[0027] Binding the data processing unit to the network interface of the application identification program and configuring parameters of the data processing unit;
[0028] The application identification program is started to monitor the bound network port to receive and process the data message.
[0029] On the other hand, the present invention provides an application identification hardware unloading device based on a data processing unit, characterized in that the device is used to execute the steps of implementing any one of the methods mentioned above, and the device includes:
[0030] Host; the host is used to send a preset rule file and a policy action to be configured to the data processing unit, and receive identification information counted by the data processing unit;
[0031] Data processing unit; the data processing unit includes an application layer protocol identification module and a deep packet inspection daemon module; the application layer identification module is used to identify the application layer protocol of the data packet according to the port number in the five-tuple information of the data packet; the deep packet inspection daemon module is used to perform application identification by calling a hardware regular engine and matching with preset feature rules according to the application layer information of the data packet.
[0032] In some embodiments of the present invention, the host and the data processing unit are interconnected via a high-speed serial bus, and data transmission is achieved based on the high-speed serial bus.
[0033] On the other hand, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods mentioned above.
[0034] The beneficial effects of the present invention are at least:
[0035] The present invention provides a method and device for hardware unloading of application identification based on a data processing unit, including: a DPU receives a rule file and a policy action sent down from a host side, generates a rule database required by a hardware regular engine after analyzing and processing in a DPI daemon; an application identification program receives a data message and extracts five-tuple information of the data message, and preliminarily identifies the application layer protocol through the port number configured in the five-tuple information; the DPI daemon receives the data message and the protocol type, and extracts the application layer information of the data message; the application layer information is used as input, and the hardware regular engine is called to match the characteristic rules in the rule database to generate a matching result, the matching result is processed according to the policy action, and the message content and the policy action are forwarded to the application identification program; the application identification program forwards the data message according to the policy action, and statistically uploads the identification information to the host. The application identification hardware unloading method provided by the present invention calls the hardware regular acceleration engine through the DPI daemon, realizes the accelerated unloading of application identification on the DPU, releases the host CPU and memory resources, and has high recognition accuracy, fast efficiency, and a wide range of applicable scenarios.
[0036] Furthermore, the application layer protocol identification process is separated from the DPI daemon process. The DPI daemon process mainly implements the application identification function of the message content. The DPI daemon process can be used flexibly to realize hardware offload acceleration of different functions.
[0037] Furthermore, the application program on the host side can be freely customized by the user, and the issued rule files and policy actions can be adjusted and updated in a timely manner, which is highly flexible.
[0038] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.
[0039] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:
[0041] Figure 1 The figure is a schematic diagram of the steps of a method for hardware offloading based on application identification of a data processing unit in one embodiment of the present invention.
[0042] Figure 2 The figure is a flow chart of a method for hardware offloading based on application identification of a data processing unit in one embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0044] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0045] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.
[0046] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.
[0047] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.
[0048] It should be emphasized here that the step marks mentioned below are not intended to limit the order of the steps, but it should be understood that the steps can be executed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be executed simultaneously.
[0049] In order to solve the problems of low recognition accuracy, small application scope, and low recognition efficiency in the existing application recognition technology solutions, which cause performance bottlenecks, the present invention proposes an application recognition hardware offloading method based on a data processing unit. The method is executed in the data processing unit, such as Figure 1 As shown, the method includes the following steps S101 to S104:
[0050] Step S101: receiving a rule file preset on the host side and a policy action to be configured, and the deep packet inspection daemon analyzes and processes the rule file and the policy action to generate a rule database required by the hardware regularization engine.
[0051] Step S102: The application identification program deployed in the data processing unit receives the data message based on a preset tool, extracts the five-tuple information of the data message, identifies the application layer protocol of the data message through the port number in the five-tuple information, and obtains the protocol type.
[0052] Step S103: The deep packet inspection daemon receives the data packet and protocol type sent by the application identification program, and extracts the application layer information of the data packet; uses the application layer information as input, matches it with the feature rules in the rule database by calling the hardware regular engine, and obtains the matching result; processes the matching result according to the policy action.
[0053] Step S104: the deep packet inspection daemon forwards the data packet and the policy action to the application identification program; the application identification program forwards the data packet according to the policy action, and collects the identification information and uploads it to the host.
[0054] like Figure 2 As shown, it is a process framework diagram of the application identification hardware offloading method based on the data processing unit.
[0055] Step S101 is the pre-stage of this method. In step S101, the host pre-sets the rule files and policy actions for application identification, and sends the rule files and policy actions to the Deep Packet Inspection (DPI) daemon on the Data Processing Unit (DPU). The Deep Packet Inspection daemon then analyzes and processes the rule files and policy actions to generate the rule database required by the hardware regular engine to provide rule database support for subsequent application identification operations. Among them, the rule file usually contains the protocol, message header, and payload information that need to be checked; the policy action defines the actions to be taken when a specified protocol or payload is detected, such as blocking, logging, forwarding, etc.
[0056] In some embodiments, the rules database consists of a set of regular expressions.
[0057] In some embodiments, the deep packet inspection daemon analyzes and processes the rule files and policy actions to generate a rule database required by the hardware regularization engine, specifically including the following steps:
[0058] The deep packet inspection daemon reads the rule file line by line. The rule file contains the feature rules that need to be matched. For example, the rule file adopts the Snort rule format and extracts the information of each field of the rule, such as rule ID, protocol type, source IP address, destination IP address, port number, Payload, etc.
[0059] The deep packet inspection daemon reads the policy actions, which define how to handle matching rules, and extracts the actions corresponding to each rule.
[0060] The deep packet inspection daemon converts and organizes the rule content and actions according to the preset format based on the information extracted from each field to generate a rule database. The preset format is a format suitable for the hardware regular engine, which usually refers to an optimized and specially designed rule representation method so that the hardware regular engine can perform matching operations efficiently. The rule database generated in this way can serve as the basis for the hardware regular engine to perform feature matching.
[0061] In some embodiments, in order to improve the efficiency of rule matching, the deep packet inspection daemon can also perform some optimization processing, such as merging rules with the same actions and matching conditions to reduce the number of rules; using efficient data structures, such as Trie trees, AC automata, etc., to speed up the matching process, etc.
[0062] Steps S102 to S104 are steps for application recognition hardware unloading.
[0063] Step S102 is processed in the application layer protocol identification (AP) process of the data processing unit. In step S102, the application identification program deployed on the data processing unit receives the data message to be identified, extracts the five-tuple information of the data message, performs preliminary identification through the port number in the five-tuple information, and determines the protocol type. Among them, the five-tuple information includes the source IP address, the address of the destination IP, the protocol type, the source port number and the destination port number. The application layer protocol can be identified through the configured port number. Exemplarily, port 8080 usually corresponds to the HTTP protocol.
[0064] In some embodiments, the deployment method of the application identification program includes the following steps:
[0065] Obtain an application identification program, which can use appropriate programming languages and development tools to write application identification algorithms and logic. The application identification algorithms and logic can be based on one or more combinations of deep learning, machine learning, and rule matching technologies to achieve application classification and / or business processing of data packets.
[0066] The application identification program is configured with an environment and dependencies, which include, for example, an operating system, a compiler, library files (DPDK and related drivers, etc.), a development framework, etc. The application identification program source code is compiled into an executable file using a preset programming language and development tools.
[0067] The data processing unit is bound to the network interface of the application identification program, and the parameters of the data processing unit are configured so that it can receive and process the data packets transmitted from the network port.
[0068] Finally, the application identification program is started and run to monitor the bound network port to receive and process data packets.
[0069] In some embodiments, the application recognition program receives data packets based on the Data Plane Development Kit (DPDK). DPDK is a tool set for data plane development, which provides a set of high-performance libraries and drivers for accelerating data packet processing and network application development. By using DPDK, the computing power and hardware characteristics of modern multi-core processors can be fully utilized to achieve high throughput and low latency network packet processing.
[0070] In some embodiments, the application identification program extracts five-tuple information of the data message based on the data plane development kit, including the following specific steps:
[0071] The application recognizer pre-uses the data plane development kit to bind the network interface to the data processing unit.
[0072] The application identification program receives data packets from a preset network port based on the built-in functions of the data plane development kit. Exemplarily, the received data packets can be stored in a corresponding memory for subsequent processing.
[0073] According to the protocol type of the data message, such as TCP, UDP, IP, etc., the application identification program extracts the message header structure from the data part of the data message.
[0074] According to the message header structure and field definition, the application identification program extracts five-tuple information from the data message. Exemplarily, the extracted five-tuple information can be stored for subsequent use. The five-tuple information includes the source IP address, the destination IP address, the protocol type, the source port number, and the destination port number. The source IP address and the destination IP address can be extracted from the IPv4 or IPv6 message header; the protocol type can be extracted from the protocol field in the IP message header, for example, a value of 6 represents TCP and 17 represents UDP; the source port number and the destination port number can be extracted from the TCP or UDP message header.
[0075] Step S103 is processed in the deep packet inspection daemon of the data processing unit.
[0076] In step S103, the deep packet inspection daemon receives the data packet and protocol type sent by the application identification program, and extracts the application layer information of the data packet. The application layer information is used as input, and the hardware regular engine pre-set in step S101 is called to match the feature rules in the rule database to obtain the matching result, and the matching result is processed according to the policy action. Finally, the deep packet inspection daemon forwards the data packet and the policy action to the application identification program.
[0077] Step S104 is processed in the application layer protocol identification process of the data processing unit.
[0078] In step S104, the application identification program forwards the data message according to the policy action, and collects and uploads the identification information to the host.
[0079] Based on the above steps S101 to S104, application identification hardware unloading based on the data processing unit is implemented.
[0080] The present invention also provides an application identification hardware unloading device based on a data processing unit, which is used to implement the above-mentioned application identification hardware unloading method based on a data processing unit. The device includes a host and a data processing unit. Specifically:
[0081] The host is used to send a preset rule file and a policy action to be configured to the data processing unit, and receive identification information collected by the data processing unit after the application identification is completed.
[0082] The data processing unit also includes an application layer protocol identification module and a deep packet inspection daemon module. The application layer identification module is used to preliminarily identify the application layer protocol of the data packet according to the port number in the five-tuple information of the data packet; the deep packet inspection daemon module is used to match the application layer information of the data packet by calling the hardware regular engine and the preset feature rules for re-identification.
[0083] In some embodiments, the host and the data processing unit are interconnected via a high-speed serial bus (Peripheral Component Interconnect Express, PCIE), and data transmission is achieved based on the high-speed serial bus.
[0084] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method for hardware unloading based on application identification of a data processing unit are implemented.
[0085] Corresponding to the above method, the present invention also provides a device, which includes a computer device, the computer device includes a processor and a memory, the memory stores computer instructions, the processor is used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the device implements the steps of the method described above.
[0086] The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned edge computing server deployment method are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.
[0087] In summary, the present invention provides a method and device for hardware unloading of application identification based on a data processing unit, including: the DPU receives the rule file and policy action sent down from the host side, and after analyzing and processing in the DPI daemon, generates a rule database required by the hardware regular engine; the application identification program receives the data message and extracts the five-tuple information of the data message, and preliminarily identifies the application layer protocol through the port number configured in the five-tuple information; the DPI daemon receives the data message and the protocol type, and extracts the application layer information of the data message; the application layer information is used as input, and the characteristic rules in the rule database are matched by calling the hardware regular engine to generate a matching result, and the matching result is processed according to the policy action, and the message content and the policy action are forwarded to the application identification program; the application identification program forwards the data message according to the policy action, and statistically uploads the identification information to the host. The application identification hardware unloading method provided by the present invention calls the hardware regular acceleration engine through the DPI daemon, realizes the accelerated unloading of application identification on the DPU, releases the host and memory resources, and has high recognition accuracy and high efficiency, and is widely applicable to scenarios.
[0088] Furthermore, the application layer protocol identification process is separated from the DPI daemon process. The DPI daemon process mainly implements the application identification function of the message content. The DPI daemon process can be used flexibly to realize hardware offload acceleration of different functions.
[0089] Furthermore, the application program on the host side can be freely customized by the user, and the issued rule files and policy actions can be adjusted and updated in a timely manner, which is highly flexible.
[0090] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.
[0091] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0092] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.
[0093] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for hardware unloading based on application identification of a data processing unit, characterized in that: The method is executed in a data processing unit and comprises the following steps: Receiving the rule file preset on the host side and the policy action to be configured, the deep packet inspection daemon analyzes and processes the rule file and the policy action to generate a rule database required by the hardware regularization engine; Bind the preset network port to the data plane development kit, and the application identification program deployed in the data processing unit receives the data message from the preset network port based on the built-in function of the data plane development kit, and extracts the message header structure from the data part of the data message according to the protocol type of the data message, and extracts the five-tuple information from the data message according to the message header structure and field definition; identifies the application layer protocol of the data message through the port number in the five-tuple information to obtain the protocol type; wherein the five-tuple information includes the source IP address, the destination IP address, the protocol type, the source port number and the destination port number; The deep packet inspection daemon receives the data packet and protocol type sent by the application identification program, and extracts the application layer information of the data packet; uses the application layer information as input, matches the characteristic rules in the rule database by calling the hardware regular engine, and obtains a matching result; processes the matching result according to the policy action; The deep packet inspection daemon forwards the data packet and the policy action to the application identification program; the application identification program forwards the data packet according to the policy action, and collects and uploads the identification information to the host.
2. The method for hardware uninstallation based on application identification of a data processing unit according to claim 1, characterized in that: The deep packet inspection daemon analyzes and processes the rule file and the policy action to generate a rule database required by the hardware regularization engine, and also includes: The deep packet inspection daemon process reads the rule file line by line and extracts each field of the rule; The deep packet inspection daemon reads the policy action and extracts the action corresponding to each rule; The deep packet inspection daemon converts and organizes the rule content and actions according to a preset format based on the information of each field extracted, and generates the rule database for use by the hardware regular engine.
3. The method for hardware uninstallation based on application identification of a data processing unit according to claim 1, characterized in that: The rule database consists of a set of regular expressions.
4. The method for hardware uninstallation based on application identification of a data processing unit according to claim 1, characterized in that: The deployment method of the application identification program comprises the following steps: Obtaining the application identification program, wherein the application identification program is obtained by training based on one or more of deep learning, machine learning, and rule matching technologies; Configuring the environment and dependencies for the application identification program; compiling the application identification program source code into an executable file using a preset programming language and development tools; Binding the data processing unit to the network interface of the application identification program and configuring parameters of the data processing unit; The application identification program is started to monitor the bound network port to receive and process the data message.
5. An application identification hardware unloading device based on a data processing unit, characterized in that: The device is used to perform the steps of the data processing unit-based application identification hardware unloading method according to any one of claims 1 to 4, and the device includes: Host; the host is used to send a preset rule file and a policy action to be configured to the data processing unit, and receive identification information counted by the data processing unit; A data processing unit; the data processing unit includes an application layer protocol identification module and a deep packet inspection daemon module; the application layer protocol identification module is used to receive a data packet from a preset network port based on a built-in function of a data plane development kit, the preset network port is pre-bound to the data plane development kit, and extracts a message header structure from the data part of the data packet according to the protocol type of the data packet, and extracts five-tuple information from the data packet according to the message header structure and field definition; identifies the application layer protocol of the data packet according to the port number in the five-tuple information of the data packet; the deep packet inspection daemon module is used to match the application layer information of the data packet with the preset feature rules by calling a hardware regular engine to perform application identification.
6. The device for uninstalling application-identified hardware based on data processing unit according to claim 5, characterized in that: The host and the data processing unit are interconnected via a high-speed serial bus, and data transmission is achieved based on the high-speed serial bus.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
