CN110784345A - Network traffic processing method and device, electronic equipment and machine-readable storage medium - Google Patents

Network traffic processing method and device, electronic equipment and machine-readable storage medium Download PDF

Info

Publication number
CN110784345A
CN110784345A CN201910987983.5A CN201910987983A CN110784345A CN 110784345 A CN110784345 A CN 110784345A CN 201910987983 A CN201910987983 A CN 201910987983A CN 110784345 A CN110784345 A CN 110784345A
Authority
CN
China
Prior art keywords
service
network
traffic
type
network traffic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910987983.5A
Other languages
Chinese (zh)
Other versions
CN110784345B (en
Inventor
孙登攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201910987983.5A priority Critical patent/CN110784345B/en
Publication of CN110784345A publication Critical patent/CN110784345A/en
Application granted granted Critical
Publication of CN110784345B publication Critical patent/CN110784345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS

Abstract

The application provides a network traffic processing method and device, electronic equipment and a machine-readable storage medium. In the application, a network flow processing strategy corresponding to the service mode of the service board card is configured based on the service mode of the service board card; the service mode indicates the service type of the network flow supported and processed by the service board card; receiving network traffic entering the network device; and forwarding the network traffic to a corresponding service board card to execute service processing of the corresponding service type based on the service type of the network traffic and the network traffic processing strategy. Configuring different service modes based on a service board card in the frame type network equipment; and the service board cards with different service modes process the corresponding network traffic of different service types, so that the classification processing of the network traffic is realized, on one hand, the packet loss probability of the network traffic is reduced, on the other hand, the networking configuration of a user is reduced, and the maintenance efficiency is improved.

Description

Network traffic processing method and device, electronic equipment and machine-readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network traffic processing method and apparatus, an electronic device, and a machine-readable storage medium.
Background
With the development of information technology, the demands of enterprises on the performance and networking flexibility of network devices are increasing. In general, the network devices may include a box-type network device, a box-type network device; wherein, only one service mainboard for network flow processing is integrated in the box type network equipment. Besides the service mainboard, the frame-type network equipment can also integrate a plurality of service board cards, and the plurality of service board cards can be inserted into the frame-type network equipment through the board card slots connected with the backboard of the frame-type network equipment.
Disclosure of Invention
The application provides a network traffic processing method, which is applied to frame-type network equipment, wherein the network equipment is integrated with a plurality of service board cards, and the method comprises the following steps:
configuring a network flow processing strategy corresponding to the service mode of the service board card based on the service mode of the service board card; the service mode indicates the service type of the network flow supported and processed by the service board card;
receiving network traffic entering the network device;
and forwarding the network traffic to a corresponding service board card to execute service processing of the corresponding service type based on the service type of the network traffic and the network traffic processing strategy.
Optionally, the network traffic processing policy at least includes a traffic redirection rule; the forwarding the network traffic to a corresponding service board card to execute service processing of a corresponding service type based on the service type of the network traffic and the network traffic processing policy includes:
acquiring the service type of the network flow; determining a target service board card with a service mode matched with the service type of the network flow from the plurality of service board cards;
and forwarding the network traffic to the target service board based on the traffic redirection rule so that the target service board executes service processing of a corresponding service type.
Optionally, the network traffic processing policy further includes a traffic uploading rule, and the target service board is integrated with service processing hardware; the forwarding the network traffic to a corresponding service board card to execute service processing of a corresponding service type based on the service type of the network traffic and the network traffic processing policy further includes:
receiving, by the target service board, the network traffic;
and uploading the network flow to the service processing hardware based on the flow uploading rule so that the service processing hardware executes the service processing of the corresponding service type.
Optionally, the service type at least includes any one or a combination of an MPLS service type, an authentication service type, a routing service type, and a general data service type.
The application also provides a network traffic processing apparatus, the apparatus is applied to frame type network equipment, the network equipment integration has a plurality of business integrated circuit boards, the apparatus includes:
the configuration module is used for configuring a network flow processing strategy corresponding to the service mode of the service board card based on the service mode of the service board card; the service mode indicates the service type of the network flow supported and processed by the service board card;
the receiving module is used for receiving the network flow entering the network equipment;
and the service processing module is used for forwarding the network flow to a corresponding service board card to execute service processing of the corresponding service type based on the service type of the network flow and the network flow processing strategy.
Optionally, the network traffic processing policy at least includes a traffic redirection rule; the service processing module further:
acquiring the service type of the network flow; determining a target service board card with a service mode matched with the service type of the network flow from the plurality of service board cards;
and forwarding the network traffic to the target service board based on the traffic redirection rule so that the target service board executes service processing of a corresponding service type.
Optionally, the network traffic processing policy further includes a traffic uploading rule, and the target service board is integrated with service processing hardware; the service processing module further:
receiving, by the target service board, the network traffic;
and uploading the network flow to the service processing hardware based on the flow uploading rule so that the service processing hardware executes the service processing of the corresponding service type.
Optionally, the service type at least includes any one or a combination of an MPLS service type, an authentication service type, a routing service type, and a general data service type.
The application also provides an electronic device, which comprises a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are mutually connected through the bus;
the memory stores machine-readable instructions, and the processor executes the method by calling the machine-readable instructions.
The present application also provides a machine-readable storage medium having stored thereon machine-readable instructions which, when invoked and executed by a processor, implement the above-described method.
Through the embodiment, different service modes are configured based on the service board card in the frame type network equipment; and the service board cards with different service modes process the corresponding network traffic of different service types, so that the classification processing of the network traffic is realized, on one hand, the packet loss probability of the network traffic is reduced, on the other hand, the networking configuration of a user is reduced, and the maintenance efficiency is improved.
Drawings
FIG. 1 is a system architecture diagram of a network device provided by an exemplary embodiment;
FIG. 2 is a flow chart of a method for network traffic processing provided by an exemplary embodiment;
FIG. 3 is a block diagram of a network traffic processing apparatus provided in an exemplary embodiment;
fig. 4 is a hardware block diagram of an electronic device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to make those skilled in the art better understand the technical solution in the embodiment of the present application, a brief description will be given below of the related technology of network traffic processing according to the embodiment of the present application.
Referring to fig. 1, fig. 1 is a system architecture of a network device according to an embodiment of the present disclosure.
The frame network device shown in fig. 1 includes several service boards (S1, S2), backplanes, ports (PortA, PortB); the frame network device can perform communication interaction and network traffic processing and forwarding with the service boards based on the backplane.
As shown in fig. 1, network traffic enters from a port PortA, and is forwarded out of the frame network device by the port PortB after performing service processing on a corresponding service type by the frame network device and the service boards.
On the basis of the networking architecture, the application aims to provide a technical scheme for configuring a corresponding network traffic processing strategy based on a service mode of a service board card so as to execute corresponding service processing on network traffic.
When the method is realized, the frame type network equipment is integrated with a plurality of service board cards; the network equipment configures a network flow processing strategy corresponding to the service mode of the service board card based on the service mode of the service board card; the service mode indicates that the service type of the network traffic supported and processed by the service board card receives the network traffic entering the network equipment; and forwarding the network traffic to a corresponding service board card to execute service processing of the corresponding service type based on the service type of the network traffic and the network traffic processing strategy.
In the above scheme, different service modes are configured based on the service board card in the frame type network device; and the service board cards with different service modes process the corresponding network traffic of different service types, so that the classification processing of the network traffic is realized, on one hand, the packet loss probability of the network traffic is reduced, on the other hand, the networking configuration of a user is reduced, and the maintenance efficiency is improved.
The present application is described below with reference to specific embodiments and specific application scenarios.
Referring to fig. 2, fig. 2 is a flowchart of a network traffic processing method according to an embodiment of the present application, where the method is applied to a frame-type network device, where the network device integrates a plurality of service boards, and the method performs the following steps:
step 202, configuring a network traffic processing strategy corresponding to the service mode of the service board card based on the service mode of the service board card; the service mode indicates the service type of the network traffic supported and processed by the service board card.
Step 204, receiving the network flow entering the network device.
Step 206, based on the service type of the network traffic and the network traffic processing policy, forwarding the network traffic to a corresponding service board card to execute service processing of a corresponding service type.
In this specification, the above network device refers to any form of network device in a frame structure.
For example, in practical applications, the network device may be a switch, a router, a firewall, or the like, which are configured in a frame structure
In this specification, the network device is integrated with a plurality of service boards; the plurality of service board cards can comprise a plurality of service board cards supporting processing of network traffic of different service types;
for example, in practical applications, the service boards may include any one or more combinations of a service board supporting MPLS (Multi-Protocol Label Switching) type network traffic, a service board supporting routing Protocol type network traffic, and a service board supporting processing service data type network traffic.
In this specification, the service mode refers to a service type of a network traffic that the service board supports processing; the service mode indicates a service type of the network traffic supported and processed by the service board card.
In an embodiment shown, the service types at least include any one or a combination of MPLS service types, authentication service types, routing service types, and general data service types.
For example, in practical applications, the service mode may include any one or more combinations of an MPLS type, a routing protocol type, and a service data type, and a specific combination manner is not specifically limited in this specification.
In this specification, the network device configures, based on a service mode of the service board, a network traffic processing policy corresponding to the service mode of the service board;
in an embodiment, the network traffic processing policy at least includes a traffic redirection rule;
the traffic redirection rule is used for the network device to redirect the traffic of the incoming network traffic and switch to the service board card corresponding to the service mode;
for example, in practical applications, the network traffic processing policy may include a traffic redirection rule based on an ACL (Access control list) rule, and based on a traffic redirection rule corresponding to the network traffic processing policy, the network device may respectively redirect traffic of network traffic including different service types, and forward the network traffic to a service board of a corresponding service type to perform corresponding service processing.
In this specification, the network device configures the network traffic processing policy corresponding to the service mode of the service board based on the service mode of the service board.
For example, the network device configures a corresponding network traffic processing policy for a service board with an MPLS type service mode, where the network traffic processing policy is used to forward the network traffic with the MPLS type service to the service board for corresponding service processing.
For another example, the network device configures a corresponding network traffic processing policy for the service board whose service mode is the routing protocol type, where the network traffic processing policy is used to forward the network traffic which is the routing protocol type to the service board for corresponding service processing.
For another example, the network device configures a corresponding network traffic processing policy for the service board with the service mode being the service data type, where the network traffic processing policy is used to forward the network traffic being the service data type to the service board for corresponding service processing.
It should be noted that, the network device automatically obtains the service types of the service boards integrated by the network device, and classifies the service types, thereby avoiding a user from performing complex networking configuration and improving network maintenance efficiency.
In this specification, the network device receives the network traffic entering the network device.
For example, referring to FIG. 1, the network device may receive network traffic entering the network device at port.
In this specification, further, based on the service type of the network traffic and the network traffic processing policy, the network device forwards the network traffic to a corresponding service board to perform service processing corresponding to the service type.
For example, the network device may forward MPLS-type traffic, routing protocol-type traffic, and service data-type traffic in the network traffic to a corresponding MPLS service board, a routing protocol board, and a service data board, respectively, and perform service processing corresponding to the service type.
In an embodiment shown, in a process of forwarding the network traffic to a corresponding service board to perform service processing of a corresponding service type based on the service type of the network traffic and the network traffic processing policy, the network device obtains the service type of the network traffic; and determining a target service board card with a service mode matched with the service type of the network flow from the plurality of service board cards.
For example, the service type of the network device acquiring the network traffic may include any one or a combination of an MPLS type, a routing protocol type, and a service data type; and respectively determining a target service board card with a service mode matched with the service type of the network flow from the plurality of service board cards.
It should be noted that the network device may perform Packet analysis on the network traffic through a Deep Packet Inspection (DPI) technique, so as to obtain a corresponding service type.
In this specification, further, based on the traffic redirection rule, the network device forwards the network traffic to the target service board, so that the target service board performs service processing corresponding to the service type.
For example, based on the traffic redirection rule, the network device may forward the MPLS-type traffic, the routing protocol-type traffic, and the service data-type traffic in the network traffic to the corresponding MPLS service board, the routing protocol board, and the service data board, respectively, and perform service processing corresponding to the service type.
In this specification, the service processing hardware may include any form of hardware integrated by the target service board and configured to process a network traffic matched with a service type corresponding to the target service board.
Continuing with the above example, the service processing hardware may include a CPU, an ASIC (application specific Integrated Circuit) chip, and the like, which are Integrated by the target service board and used for processing network traffic matched with the service type corresponding to the target service board.
In an embodiment shown, the network traffic processing policy further includes a traffic uploading rule in addition to the traffic redirection rule;
the traffic uploading rule is used for the service board card to upload the network traffic to the corresponding service processing hardware after receiving the network traffic of the corresponding service type, so that the service processing hardware executes corresponding service processing on the network traffic.
Continuing with the above example, in practical applications, the traffic uploading rule may also upload the corresponding network traffic to the service processing hardware to perform corresponding service processing based on the configured ACL rule.
In an embodiment shown in the present disclosure, after the network device forwards the network traffic to a corresponding target service board based on a service type, the target service board receives the network traffic.
Continuing to illustrate the above example, the MPLS service board, the routing protocol board, and the service data board respectively receive the MPLS type traffic, the routing protocol type traffic, and the service data type traffic of the network traffic forwarded by the network device.
It should be noted that the network device forwards the network traffic to the corresponding service board through the backplane. The network traffic classification based on different service types and the forwarding to the corresponding service board card for corresponding service processing can reduce the probability of message loss caused by the burst of the traffic sent by various types of network traffic on the same service board card.
In this specification, after the service processing hardware of the target service board completes service processing of network traffic corresponding to a service type, the network traffic after the service processing may be forwarded out through a port of the network device.
For example, please refer to fig. 1, after the service processing hardware of the target service board completes service processing of network traffic of a corresponding service type, the network traffic after service processing may be forwarded out through the port PortB of the network device.
In the above technical solution, different service modes are configured based on a service board card in a pair of frame type network devices; and the service board cards with different service modes process the corresponding network traffic of different service types, so that the classification processing of the network traffic is realized, on one hand, the packet loss probability of the network traffic is reduced, on the other hand, the networking configuration of a user is reduced, and the maintenance efficiency is improved.
Fig. 3 is a block diagram of a network traffic processing apparatus according to an exemplary embodiment of the present application. Corresponding to the foregoing method embodiment, the present application further provides an embodiment of a network traffic processing apparatus, where the apparatus is applied to a frame-type network device, and the network device integrates a plurality of service boards, please refer to an example of a network traffic processing apparatus 30 illustrated in fig. 3, where the apparatus includes:
a configuration module 301, configured to configure a network traffic processing policy corresponding to a service mode of a service board card based on the service mode of the service board card; the service mode indicates the service type of the network flow supported and processed by the service board card;
a receiving module 302, which receives network traffic entering the network device;
the service processing module 303 forwards the network traffic to a corresponding service board card to perform service processing of a corresponding service type based on the service type of the network traffic and the network traffic processing policy.
In this embodiment, the network traffic processing policy at least includes a traffic redirection rule; the service processing module 303 further:
acquiring the service type of the network flow; determining a target service board card with a service mode matched with the service type of the network flow from the plurality of service board cards;
and forwarding the network traffic to the target service board based on the traffic redirection rule so that the target service board executes service processing of a corresponding service type.
In this embodiment, the network traffic processing policy further includes a traffic uploading rule, and the target service board is integrated with service processing hardware; the service processing module 303 further:
receiving, by the target service board, the network traffic;
and uploading the network flow to the service processing hardware based on the flow uploading rule so that the service processing hardware executes the service processing of the corresponding service type.
In this embodiment, the service type at least includes any one or a combination of an MPLS service type, an authentication service type, a routing service type, and a general data service type.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The systems, devices, modules or modules illustrated in the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with certain functionality. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiment of the network traffic processing apparatus of the present application can be applied to the electronic device shown in fig. 4. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is a machine executable instruction formed by reading a corresponding computer program instruction in a machine readable storage medium through a processor of the electronic device where the device is located and then running the computer program instruction. In terms of hardware, as shown in fig. 4, the electronic device in which the network traffic processing apparatus is located according to the present application is a hardware structure diagram, except for the processor, the communication interface, the bus and the machine-readable storage medium shown in fig. 4, the electronic device in which the apparatus is located in the embodiment may also include other hardware according to an actual function of the electronic device, which is not described again.
Correspondingly, an embodiment of the present application further provides a hardware structure of an electronic device of the apparatus shown in fig. 3, please refer to fig. 4, and fig. 4 is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. The apparatus comprises: a communication interface 401, a processor 402, a machine-readable storage medium 403, and a bus 404; the communication interface 401, the processor 402 and the machine-readable storage medium 403 are configured to communicate with each other via a bus 404. The communication interface 401 is used for performing network communication. The processor 402 may be a Central Processing Unit (CPU), and the processor 402 may execute machine-readable instructions stored in a machine-readable storage medium 403 to implement the methods described above.
The machine-readable storage medium 403 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the machine-readable storage medium 403 may be a RAM (random Access Memory), a flash Memory, a storage drive (e.g., a hard disk drive), a solid state disk, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
Up to this point, the description of the hardware configuration shown in fig. 4 is completed.
Further, the present application provides a machine-readable storage medium, such as machine-readable storage medium 403 in fig. 4, including machine-executable instructions, which can be executed by processor 402 in the data processing apparatus to implement the data processing method described above.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A method for processing network traffic is applied to a frame-type network device, wherein the network device integrates a plurality of service boards, and the method comprises:
configuring a network flow processing strategy corresponding to the service mode of the service board card based on the service mode of the service board card; the service mode indicates the service type of the network flow supported and processed by the service board card;
receiving network traffic entering the network device;
and forwarding the network traffic to a corresponding service board card to execute service processing of the corresponding service type based on the service type of the network traffic and the network traffic processing strategy.
2. The method of claim 1, wherein the network traffic handling policy comprises at least a traffic redirection rule; the forwarding the network traffic to a corresponding service board card to execute service processing of a corresponding service type based on the service type of the network traffic and the network traffic processing policy includes:
acquiring the service type of the network flow; determining a target service board card with a service mode matched with the service type of the network flow from the plurality of service board cards;
and forwarding the network traffic to the target service board based on the traffic redirection rule so that the target service board executes service processing of a corresponding service type.
3. The method of claim 2, wherein the network traffic handling policy further comprises traffic upload rules, and the target service board is integrated with service handling hardware; the forwarding the network traffic to a corresponding service board card to execute service processing of a corresponding service type based on the service type of the network traffic and the network traffic processing policy further includes:
receiving, by the target service board, the network traffic;
and uploading the network flow to the service processing hardware based on the flow uploading rule so that the service processing hardware executes the service processing of the corresponding service type.
4. The method of claim 1, wherein the traffic type comprises at least any one or a combination of an MPLS traffic type, an authentication traffic type, a routing traffic type, and a normal data traffic type.
5. A network traffic processing apparatus, wherein the apparatus is applied to a frame-type network device, the network device integrates a plurality of service boards, and the apparatus comprises:
the configuration module is used for configuring a network flow processing strategy corresponding to the service mode of the service board card based on the service mode of the service board card; the service mode indicates the service type of the network flow supported and processed by the service board card;
the receiving module is used for receiving the network flow entering the network equipment;
and the service processing module is used for forwarding the network flow to a corresponding service board card to execute service processing of the corresponding service type based on the service type of the network flow and the network flow processing strategy.
6. The apparatus of claim 5, wherein the network traffic handling policy comprises at least a traffic redirection rule; the service processing module further:
acquiring the service type of the network flow; determining a target service board card with a service mode matched with the service type of the network flow from the plurality of service board cards;
and forwarding the network traffic to the target service board based on the traffic redirection rule so that the target service board executes service processing of a corresponding service type.
7. The apparatus of claim 6, wherein the network traffic handling policy further comprises a traffic upload rule, and the target traffic board is integrated with traffic handling hardware; the service processing module further:
receiving, by the target service board, the network traffic;
and uploading the network flow to the service processing hardware based on the flow uploading rule so that the service processing hardware executes the service processing of the corresponding service type.
8. The apparatus of claim 5, wherein the traffic type comprises at least any one or a combination of an MPLS traffic type, an authentication traffic type, a routing traffic type, and a common data traffic type.
9. An electronic device is characterized by comprising a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are connected with each other through the bus;
the memory has stored therein machine-readable instructions, the processor executing the method of any of claims 1 to 4 by calling the machine-readable instructions.
10. A machine-readable storage medium having stored thereon machine-readable instructions which, when invoked and executed by a processor, carry out the method of any of claims 1 to 4.
CN201910987983.5A 2019-10-17 2019-10-17 Network traffic processing method and device, electronic equipment and machine-readable storage medium Active CN110784345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910987983.5A CN110784345B (en) 2019-10-17 2019-10-17 Network traffic processing method and device, electronic equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910987983.5A CN110784345B (en) 2019-10-17 2019-10-17 Network traffic processing method and device, electronic equipment and machine-readable storage medium

Publications (2)

Publication Number Publication Date
CN110784345A true CN110784345A (en) 2020-02-11
CN110784345B CN110784345B (en) 2022-11-01

Family

ID=69385796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910987983.5A Active CN110784345B (en) 2019-10-17 2019-10-17 Network traffic processing method and device, electronic equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN110784345B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654491A (en) * 2020-05-29 2020-09-11 新华三信息安全技术有限公司 ACL sharing method, device, equipment and machine readable storage medium
CN112367187A (en) * 2020-10-16 2021-02-12 深圳市信锐网科技术有限公司 Control method and device of frame type equipment, frame type equipment and storage medium
CN113556265A (en) * 2021-07-14 2021-10-26 国家计算机网络与信息安全管理中心 Data processing method, computer device and readable storage medium
CN113794639A (en) * 2021-08-25 2021-12-14 新华三信息安全技术有限公司 Communication method and device
CN114157934A (en) * 2021-12-01 2022-03-08 中国电信股份有限公司 Service board card processing method, device, equipment and medium
CN114338516A (en) * 2021-12-28 2022-04-12 中国电信股份有限公司 Traffic forwarding and policy determining method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195931A (en) * 2010-03-04 2011-09-21 华为技术有限公司 Method for multicast traffic forwarding in equipment, network equipment and line card
US20120079478A1 (en) * 2010-09-23 2012-03-29 Cisco Technology, Inc. Network Interface Controller for Virtual and Distributed Services
CN105939291A (en) * 2015-09-25 2016-09-14 杭州迪普科技有限公司 Message processing unit and network device
CN105991678A (en) * 2015-01-30 2016-10-05 杭州迪普科技有限公司 Distributed equipment service processing method, distributed equipment service processing device and distributed equipment
CN105991444A (en) * 2015-08-06 2016-10-05 杭州迪普科技有限公司 Business processing method and business processing apparatus
CN108011819A (en) * 2017-12-26 2018-05-08 杭州迪普科技股份有限公司 Route sending-down method and device
CN109672564A (en) * 2018-12-29 2019-04-23 杭州迪普科技股份有限公司 A kind of business board management method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195931A (en) * 2010-03-04 2011-09-21 华为技术有限公司 Method for multicast traffic forwarding in equipment, network equipment and line card
US20120079478A1 (en) * 2010-09-23 2012-03-29 Cisco Technology, Inc. Network Interface Controller for Virtual and Distributed Services
CN105991678A (en) * 2015-01-30 2016-10-05 杭州迪普科技有限公司 Distributed equipment service processing method, distributed equipment service processing device and distributed equipment
CN105991444A (en) * 2015-08-06 2016-10-05 杭州迪普科技有限公司 Business processing method and business processing apparatus
CN105939291A (en) * 2015-09-25 2016-09-14 杭州迪普科技有限公司 Message processing unit and network device
CN108011819A (en) * 2017-12-26 2018-05-08 杭州迪普科技股份有限公司 Route sending-down method and device
CN109672564A (en) * 2018-12-29 2019-04-23 杭州迪普科技股份有限公司 A kind of business board management method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654491A (en) * 2020-05-29 2020-09-11 新华三信息安全技术有限公司 ACL sharing method, device, equipment and machine readable storage medium
CN112367187A (en) * 2020-10-16 2021-02-12 深圳市信锐网科技术有限公司 Control method and device of frame type equipment, frame type equipment and storage medium
CN112367187B (en) * 2020-10-16 2023-07-14 深圳市信锐网科技术有限公司 Control method and device of frame type equipment, frame type equipment and storage medium
CN113556265A (en) * 2021-07-14 2021-10-26 国家计算机网络与信息安全管理中心 Data processing method, computer device and readable storage medium
CN113556265B (en) * 2021-07-14 2024-02-20 国家计算机网络与信息安全管理中心 Data processing method, computer device, and readable storage medium
CN113794639A (en) * 2021-08-25 2021-12-14 新华三信息安全技术有限公司 Communication method and device
CN114157934A (en) * 2021-12-01 2022-03-08 中国电信股份有限公司 Service board card processing method, device, equipment and medium
CN114338516A (en) * 2021-12-28 2022-04-12 中国电信股份有限公司 Traffic forwarding and policy determining method and device
CN114338516B (en) * 2021-12-28 2023-09-29 中国电信股份有限公司 Traffic forwarding and policy determining method and device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN110784345B (en) Network traffic processing method and device, electronic equipment and machine-readable storage medium
JP6193879B2 (en) Method for routing in a mobile terminal emulating a contactless payment card
CN102549988B (en) Router and the method performed by router
CN110071878B (en) Message flow statistical method and device and electronic equipment
CN106878194B (en) Message processing method and device
EP3066798A2 (en) Method for increasing layer-3 longest prefix match scale
CN104468401A (en) Message processing method and device
CN111343089B (en) Method and system for solving flooding problem caused by MAC address HASH conflict
US9847937B2 (en) Hardware acceleration for routing programs
CN110661690A (en) Techniques for hairpin transport network traffic
CN106603736B (en) MAC address processing method and device
US20120140640A1 (en) Apparatus and method for dynamically processing packets having various characteristics
CN111131048A (en) Network traffic forwarding method and device, electronic equipment and machine-readable storage medium
CN110912777A (en) Flow tracking method and device, electronic equipment and machine-readable storage medium
CN111431921B (en) Configuration synchronization method
CN110896378B (en) Network traffic forwarding method and device, electronic equipment and machine-readable storage medium
CN111600833B (en) Network operating system and message forwarding method
CN112187635B (en) Message forwarding method and device
US10228852B1 (en) Multi-stage counters
CN111107142B (en) Service access method and device
CN110365667A (en) Attack message means of defence, device, electronic equipment
CN110855764A (en) Network traffic scheduling method and device and electronic equipment
CN112769693B (en) Method and device for maintaining multicast group
CN113572774B (en) Message forwarding method and device in network equipment
CN113132273A (en) Data forwarding method and device

Legal Events

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