A traffic arrangement method, device, system and equipment based on network range
By identifying and selecting the target service chain, dynamically updating the load of security equipment, the reuse of security equipment in the network shooting range and efficient utilization of resources is achieved, the problem of security equipment being unable to be reused in the existing technology is solved, and the resource utilization efficiency is improved .
Patent Information
- Application Number
- CN202211687220.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2042-12-27
AI Technical Summary
In existing network shooting ranges, security equipment is closely coupled with network topology, resulting in the inability to reuse security equipment, resulting in waste of resources, and the inability to effectively utilize the orchestration of different service traffic.
By identifying the target service chain information corresponding to the target service traffic, selecting the corresponding target security equipment from the security device resource pool, controlling the service traffic through these devices in turn for security detection, and dynamically updating the load of the security equipment according to the network status using the weight parameters to achieve Reuse of security equipment and efficient utilization of resources.
It realizes the reuse of security equipment and the full utilization of resources, avoids resource waste, improves the efficiency and flexibility of security equipment, and supports the shared use of service traffic security equipment in different network topology.
Smart Images

Figure CN116016213B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network technology, and in particular to a traffic orchestration method, device, system and equipment based on a network target range. Background Art
[0002] Cyber Range is a technology or product based on virtualization technology that simulates and reproduces the operating status and operating environment of network architecture, system equipment, and business processes in real cyberspace, so as to more effectively realize learning, research, testing, competition, exercises and other behaviors related to network security, thereby improving the network security confrontation level of personnel and institutions.
[0003] The main infrastructure of the network range includes: virtual host equipment, virtual security equipment, and virtual switching equipment. The network range is used to simulate the real network environment, among which the virtual security equipment is used for system protection and security incident detection.
[0004] In the existing network range, multiple network topologies can be deployed, and one or more security devices (i.e., virtual security devices) are deployed in each network topology to achieve the orchestration of the corresponding business traffic, that is, to guide the business traffic through each security device for security detection. However, since the security device is tightly coupled with the corresponding network topology, the reuse of security devices cannot be achieved during the orchestration of different business traffic, which may cause a waste of security device resources. Summary of the invention
[0005] The present application provides a method, device, equipment and medium for network range-based traffic orchestration, which are used to realize the reuse of security equipment and make full use of security equipment to realize the orchestration of different business flows.
[0006] In a first aspect, an embodiment of the present application provides a traffic orchestration method based on a network range, including:
[0007] Based on the correspondence between the business flow and the service chain information, identifying the target service chain information corresponding to the target business flow, the target service chain information including the device type of at least one security device that the target business flow needs to pass through in sequence;
[0008] For each device type of at least one device type, selecting a target security device from a security device resource pool corresponding to the device type, the security device resource pool including a plurality of security devices belonging to the device type;
[0009] The target service traffic is controlled to pass through at least one selected target security device in sequence, so that the at least one target security device performs security detection on the target service traffic respectively.
[0010] In some possible embodiments, selecting a target security device from a security device resource pool corresponding to the device type includes:
[0011] Obtaining the orchestration information corresponding to each security device in the security device resource pool; wherein the orchestration information includes at least one of the following parameters: the amount of service traffic to be detected, and a weight parameter, wherein the weight parameter represents the network status of the security device;
[0012] A security device whose orchestration information meets a set condition is selected from the security device resource pool as the target security device.
[0013] In some possible embodiments, when the arrangement information includes the weight parameter, the method further includes:
[0014] At set intervals, based on the current network status of each security device in the security device resource pool, a weight parameter of each security device is updated;
[0015] The current network status is determined based on at least one of the following parameters: current network bandwidth data, current response time, and historical average response time.
[0016] In some possible embodiments, updating the weight parameter of each security device based on the current network status of each security device in the security device resource pool includes:
[0017] For each security device in the security device resource pool, perform the following operations:
[0018] If the current network bandwidth data of the security device meets the preset conditions and the current response time of the security device is not greater than the preset value, the weight parameter of the security device is updated based on the current network bandwidth data, the current response time and the historical average response time;
[0019] If the current network bandwidth data of the security device does not meet the preset condition, and / or the current response time of the security device is higher than the preset value, the weight parameter of the security device is set to a fixed value.
[0020] In some possible embodiments, after identifying the target service chain information corresponding to the target service flow, the method further includes:
[0021] Inserting a target service chain identifier into a data packet of the target service flow;
[0022] If there are multiple target security devices, controlling the target service traffic to sequentially pass through at least one selected target security device includes iteratively performing the following operations until a detection result of the last target security device is obtained:
[0023] The data packet after inserting the target service chain identifier is sent to a target security device through a logical switch, and after obtaining the detection result of the target security device on the data packet, the data packet is sent to the next target security device through another logical switch.
[0024] In some possible embodiments, after selecting, for each device type in at least one device type, a target security device from a security device resource pool corresponding to the device type, the method further includes:
[0025] If it is determined that a target safety device of a device type has an abnormal condition, another safety device is reselected from a safety device resource pool corresponding to the device type as the target safety device.
[0026] In some possible embodiments, the security device resource pool corresponding to each device type includes virtual security devices and / or physical security devices; wherein the physical security device accesses the virtual network where the virtual security device is located through network address translation.
[0027] In a second aspect, an embodiment of the present application provides a traffic orchestration device based on a network range, including:
[0028] An identification module, configured to identify target service chain information corresponding to target service flow based on a correspondence between service flow and service chain information, wherein the target service chain information includes a device type of at least one security device that the target service flow needs to pass through in sequence;
[0029] A selection module, configured to select, for each device type in at least one device type, a target security device from a security device resource pool corresponding to the device type, wherein the security device resource pool includes a plurality of security devices belonging to the device type;
[0030] The control module is used to control the target business traffic to pass through at least one selected target security device in sequence, so that the at least one target security device detects the target business traffic respectively.
[0031] In some possible embodiments, the selection module is specifically used to:
[0032] Obtaining the orchestration information corresponding to each security device in the security device resource pool; wherein the orchestration information includes at least one of the following parameters: the amount of service traffic to be detected, and a weight parameter, wherein the weight parameter represents the network status of the security device;
[0033] A security device whose orchestration information meets a set condition is selected from the security device resource pool as the target security device.
[0034] In some possible embodiments, when the arrangement information includes the weight parameter, the apparatus further includes an updating module, configured to:
[0035] At set intervals, based on the current network status of each security device in the security device resource pool, a weight parameter of each security device is updated;
[0036] The current network status is determined based on at least one of the following parameters: current network bandwidth data, current response time, and historical average response time.
[0037] In some possible embodiments, the update module is specifically used to:
[0038] For each security device in the security device resource pool, perform the following operations:
[0039] If the current network bandwidth data of the security device meets the preset conditions and the current response time of the security device is not greater than the preset value, the weight parameter of the security device is updated based on the current network bandwidth data, the current response time and the historical average response time;
[0040] If the current network bandwidth data of the security device does not meet the preset condition, and / or the current response time of the security device is higher than the preset value, the weight parameter of the security device is set to a fixed value.
[0041] In some possible embodiments, the device further includes an insertion module, configured to:
[0042] Inserting a target service chain identifier into a data packet of the target service flow;
[0043] If there are multiple target security devices, the control module is specifically used to:
[0044] The data packet after inserting the target service chain identifier is sent to a target security device through a logical switch, and after obtaining the detection result of the target security device on the data packet, the data packet is sent to the next target security device through another logical switch.
[0045] In some possible embodiments, the selection module is further configured to:
[0046] If it is determined that a target safety device of a device type has an abnormal condition, another safety device is reselected from a safety device resource pool corresponding to the device type as the target safety device.
[0047] In some possible embodiments, the security device resource pool corresponding to each device type includes virtual security devices and / or physical security devices; wherein the physical security device accesses the virtual network where the virtual security device is located through network address translation.
[0048] In a third aspect, an embodiment of the present application provides a network range-based traffic orchestration system, comprising: a control node and at least one detection node, the control node comprising a control component and at least one logical switch, each detection node comprising a security device resource pool connected to a logical switch, the security device resource pool comprising a plurality of security devices belonging to a corresponding device type;
[0049] The control component is used to identify the target service chain information corresponding to the target business traffic based on the correspondence between the business traffic and the service chain information, wherein the target service chain information includes the device type of at least one security device that the target business traffic needs to pass through in sequence; and for each device type in at least one device type, select a target security device from a security device resource pool corresponding to the device type; and control the target business traffic to pass through the selected at least one target security device in sequence through the at least one logical switch;
[0050] The target security device is used to perform security detection on the target service traffic.
[0051] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of any method described in the first aspect.
[0052] In a fifth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is run on a computer, the computer executes the steps of any method described in the first aspect.
[0053] In a sixth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, wherein the computer program is stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, so that the electronic device performs the steps of any method described in the first aspect.
[0054] The solution of the embodiment of the present application has at least the following beneficial effects:
[0055] In the scheme of the present application, each security device in the network target range is centrally managed, and each device type corresponds to a security device resource pool. For different business flows, their corresponding service chain information is set respectively, and the service chain information contains the device type of the security device that the business flow needs to pass through. After obtaining the target business flow, the target service chain information corresponding to the target business flow is determined, and then the corresponding target security device is selected from the corresponding security device resource pool. After determining at least one target security device that the target business flow needs to pass through, the target business flow is controlled to pass through at least one selected target security device in turn, so that at least one target security device performs security detection on the target business flow respectively. Therefore, the present application decouples the security device from the network topology, and can realize the reuse of security devices for business flows in different network topologies, and make full use of the security devices to realize the orchestration of different business flows.
[0056] Other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0058] Figure 1 A schematic diagram of a traffic orchestration system based on a network range provided in an embodiment of the present application;
[0059] Figure 2 A schematic diagram of virtual-real interconnection of a physical security device provided in an embodiment of the present application;
[0060] Figure 3 A schematic diagram of an IPS resource pool including physical security devices provided in an embodiment of the present application;
[0061] Figure 4 A flowchart of adding a physical security device provided in an embodiment of the present application;
[0062] Figure 5 A scheduling flow chart of an IPS resource pool provided in an embodiment of the present application;
[0063] Figure 6 A flow chart of updating a weight parameter provided in an embodiment of the present application;
[0064] Figure 7 A schematic diagram of another network range-based traffic orchestration system provided in an embodiment of the present application;
[0065] Figure 8 A schematic diagram of a multi-host security device resource pool provided in an embodiment of the present application;
[0066] Fig. 9 A flow traction schematic diagram provided for an embodiment of the present application;
[0067] Fig.10 A monitoring diagram of an IPS resource pool provided in an embodiment of the present application;
[0068] Fig.11 A schematic diagram of dynamic migration of business traffic provided in an embodiment of the present application;
[0069] Fig.12 A schematic diagram of a basic configuration of traffic arrangement provided in an embodiment of the present application;
[0070] Fig.13 A flow chart of a traffic orchestration method based on a network range provided in an embodiment of the present application;
[0071] Fig.14 A schematic diagram of a traffic orchestration device based on a network range provided in an embodiment of the present application;
[0072] Fig.15 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0074] SDN: SDN (Software Defined-Networking) is a network design concept. Network devices can be managed centrally, separating the control layer and forwarding layer to achieve network programmability.
[0075] OVS: OVS (Open VSwitch) is an open source virtual switch. It is a high-quality virtual switch that supports multi-layer data forwarding. It is mainly deployed on servers. Compared with traditional switches, it has good programming scalability and has the network isolation and data forwarding functions implemented by traditional switches.
[0076] OVN: OVN (Open Virtual Network) is a software system that supports virtual network abstraction. OVN has expanded the existing functions of OVS to a certain extent, such as basic virtual L2, L3 network switching and high-level NAT, DHCP, ACL, QoS and other functions.
[0077] SFC: SFC (Service Function Chain) means an orderly service combination provided by connecting service functions is called a service function chain, or service chain for short.
[0078] SWRR: SWRR (Smooth Weight Round Robin) assigns higher weights to machines with high configuration and low load, allowing them to handle more requests; while machines with low configuration and high load are assigned lower weights to reduce their system load.
[0079] The word “exemplary” is used hereinafter to mean “serving as an example, example, or illustration.” Any embodiment described as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0080] The terms "first" and "second" in this document are used for descriptive purposes only and should not be understood as explicitly or implicitly indicating relative importance or implicitly indicating the number of technical features indicated. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0081] Taking into account that in the current network target range, security equipment is tightly coupled with the corresponding network topology, resulting in the inability to reuse security equipment during the traffic orchestration of different services, which may cause waste of security equipment resources. Therefore, in order to improve the efficiency of security equipment and uniformly manage and configure each security device, this application specifically provides a traffic orchestration method, device, system and equipment based on a network target range, which decouples security equipment from network topology, and can realize the reuse of security equipment for business traffic in different network topologies, and make full use of security equipment to realize the orchestration of different business traffic.
[0082] The following is an introduction to the network range-based traffic orchestration method of the present application in conjunction with the accompanying drawings and specific implementation methods.
[0083] First, a network range-based traffic orchestration system provided by an embodiment of the present application is introduced. Figure 1As shown, the system includes: a control node 11 and at least one detection node 12, the control node includes a control component and at least one logical switch, each detection node 12 includes a security device resource pool connected to a logical switch, the security device resource pool includes a plurality of security devices belonging to a corresponding device type, that is, each security device resource pool corresponds to a device type, such as Figure 1 The first type of security device resource pool, the second type of security device resource pool, ... the Nth type of security device resource pool, where N is the number of device types.
[0084] Among them, the control node 11 and the detection node 12 can both be deployed on a server, and each detection node 12 can be deployed on the same server as the control node 11, or on a different server; and different security devices in the same detection node 12 can be deployed on the same server, or on different servers, for example, the security device a1 and the security device a2 in one detection node 12 can be deployed on different servers. Security devices in different detection nodes 12 can be deployed on different servers, or on the same server, for example, the security device a3 in one detection node 12 and the security device b2 in another detection node 12 are deployed on the same server.
[0085] The logical switch may be a virtual logical switch generated by a virtual platform. The security device resource pool of each detection node may include not only multiple virtual security devices but also physical security devices. The virtual security device may also be generated by a virtual platform.
[0086] The device types of security devices may include various types, such as: Intrusion Prevention System (IPS), firewall, Web Application Firewall (WAF), intrusion detection system (IDS), etc., without limitation.
[0087] A control component is used to identify the target service chain information corresponding to the target business traffic based on the correspondence between the business traffic and the service chain information, the target service chain information including the device type of at least one security device that the target business traffic needs to pass through in sequence; and for each device type in the at least one device type, select a target security device from a security device resource pool corresponding to the device type; and control the target business traffic to pass through the selected at least one target security device in sequence through at least one logical switch.
[0088] Target security device, used to perform security detection on target business traffic.
[0089] Among them, the control component can save the correspondence between the preset business flow and the service chain information. The service chain information includes the device types of each security device that the corresponding business flow needs to pass through in sequence, which can be understood as a set of designated security device detection sequences. Each business flow can come from a business, and the business flow is usually in the format of a data packet, and its content may include: source address, source port, destination address, destination port, network protocol (such as transmission control protocol), etc.
[0090] Therefore, when the target business traffic is obtained, the control component can determine the corresponding target service chain information, and then select the target security device from the security device resource pool corresponding to each device type based on the various device types in the target service chain information, thereby determining the various target security devices that the target business traffic needs to pass through in sequence. Furthermore, the control component sends the target business traffic to the corresponding target security device for security detection through the logical switch corresponding to each target security device. Finally, the control component can obtain the detection results of each target security device.
[0091] Optionally, after identifying the target service chain information corresponding to the target business traffic, the control component can also insert the target service chain identifier into the data packet of the target business traffic; in this way, when controlling the target business traffic to pass through at least one selected target security device in sequence, the data packet after the target service chain identifier is inserted can be sent to the first target security device through a logical switch, and after obtaining the detection result of the data packet by the first target security device, the data packet can be sent to the next target security device through another logical switch, and so on, until the detection result of the last target security device is obtained.
[0092] In some embodiments, the security device resource pool corresponding to each of the above device types may include not only virtual security devices but also physical security devices; wherein the physical security devices access the virtual network where the virtual security devices are located through network address translation.
[0093] Specifically, the embodiments of the present application can be based on the open virtual network OVN and the software defined network SDN, and can realize the interconnection and intercommunication between the virtual network and the physical network through the configuration related to the source network address translation (Source Network Address Translation, SNAT) and the destination network address translation (Destination Network Address Translation, DNAT) in the network address translation (Network Address Translation, NAT), so as to access the physical security device. Through the network address translation NAT, the conversion from private IP to public IP can be realized, wherein SNAT allows the conversion of private IP address segments to public IP addresses, allowing virtual devices in private IP address segments to access the actual public network, DNAT allows virtual devices to be exposed to the public network, allowing the public network to access the virtual machine, and through the configuration related to SNAT and DNAT, the interconnection and intercommunication between the virtual network and the actual physical network can be realized.
[0094] like Figure 2 As shown in the figure, the physical security device needs to be connected to the node network of the actual physical network communication. The configuration of the physical switch in the figure is completed manually to ensure the normal communication between the security device and the physical network device in the figure. The OVN controller is constructed Figure 2 The logical router LR and logical switch LSW in the virtual network are located, and LR is configured with SNAT and DNAT as the gateway router of the virtual network to implement network address translation. The physical network card em2 carries the traffic between the virtual network and the physical network, thereby achieving the purpose of virtual-real interconnection.
[0095] After the physical security equipment is connected to the range network through virtual-real interconnection, it forms a security equipment resource pool for the range together with the virtual security equipment, and performs unified resource scheduling and orchestration, such as Figure 3 As shown, the IPS resource pool consists of three ISP security device nodes, one of which is a physical device and the other two are virtual devices.
[0096] When adding a physical security device to a virtual switch in a server, you need to specify the connection port. The virtual router generates an external network based on the connectivity and gateway address of the connection port, such as Figure 4 As shown, when the physical security device is connected to the server, it is necessary to determine whether the connection port is connected. If connected, the virtual router creates an external network based on the connection port gateway.
[0097] In some embodiments, after the control component determines the target service chain information corresponding to the target service flow, based on each device type in the target service chain information, when selecting a target security device from the security device resource pool corresponding to each device type, the selection may be made in the following manner:
[0098] Obtain the orchestration information corresponding to each security device in the security device resource pool; wherein the orchestration information includes at least one of the following parameters: the amount of business traffic to be detected, and a weight parameter, where the weight parameter represents the network status of the security device; select a security device whose orchestration information meets the set conditions from the security device resource pool as the target security device.
[0099] Among them, considering that security devices of the same device type may have different models and configurations and performance differences, different weights (i.e., the above-mentioned weight parameters) can be set for different security devices in the security device resource pool; then, through the load balancing algorithm, different ratios of business traffic can be distributed to security devices with different performances according to one or both of the weights of the security devices and the number of business traffic to be detected, so as to achieve effective utilization of security resources.
[0100] Optionally, when the orchestration information includes both the number of business flows to be detected and a weight parameter, a security device whose orchestration information meets the set conditions is selected from the security device resource pool. Specifically, the ratio of the number of business flows to be detected and the weight parameter of each security device in the security device resource pool is calculated, and the security device with the smallest ratio is selected as the target security device to detect the target business flow.
[0101] By scheduling the security devices in the security device resource pool in the above manner, elasticity and high availability can be achieved, and the entire traffic orchestration can be prevented from being damaged or interrupted due to a single security device failure. The following takes the example of the orchestration information including both the number of service flows to be detected and the weight parameter as an example to illustrate the scheduling process of the security devices in the security resource pool.
[0102] For example, for the same type of security devices, such as IPS, S = {S0, S1, ..., Sn}, indicating that there are n IPS security devices, each IPS security device corresponds to a node, W(Si) represents the weight of node Si, T(Si) represents the number of service flows to be detected by node Si (hereinafter referred to as the flow arrangement number), such as Figure 5 As shown in the figure, the scheduling process of the IPS resource pool is as follows:
[0103] When the weight parameter of node Sm is less than or equal to 0, that is, W(Sm)<=0, it means that the node is in an unavailable state; when W(Sm)>0, it is judged that C time -U time Is it less than thr_time, C time Indicates the current time, U time Indicates the last update time, thr_time indicates the threshold of the update frequency. When the interval time is greater than the threshold, the weight parameters of each node will be updated and adjusted. If Ctime -U time If it is greater than or equal to thr_time, the weight parameter of W(Sm) needs to be updated.
[0104] From S = {S0, S1, ..., Sn}n nodes, select the most suitable node for traffic orchestration and scheduling. The selected node Sm should meet the following conditions: T(Sm) / W(Sm) = min{T(Si) / W(Si)}, i = 0, 1, 2, ..., n. When W(Si) is less than or equal to 0, the node is unavailable and does not participate in scheduling. In the scheduling process, the above conditions are equivalently transformed: T(Sm)*W(Si)>T(Si)*W(Sm), i = 0, 1, 2, ..., n.
[0105] The above scheduling process uses the traffic orchestration number and weight parameters as judgment conditions to perform scheduling and orchestration. For the entire traffic orchestration system, it can achieve a better balance state and enhance the resource utilization efficiency of the security device resource pool.
[0106] In addition, for the weight parameters in the orchestration information, the control component can update the weight parameters of each security device at set intervals based on the current network status of each security device in the security device resource pool; wherein the current network status is determined based on at least one of the following parameters: current network bandwidth data, current response time, and historical average response time. For example, the current network bandwidth data is the current network bandwidth efficiency, etc. The current response time is the time interval between when the data packet of the service traffic is sent from the logical switch and when it is returned to the logical switch after being processed by the security device.
[0107] The weight parameter is dynamically updated during the use of the security device, and the update frequency is controlled by the thr_time threshold parameter, which can be set as needed, such as updating the weight parameter every 10 minutes. The reference factors for updating the weight parameter include one or more of the above-mentioned current network bandwidth data, current response time, and historical average response time.
[0108] Specifically, when the current network status is determined based on the current network bandwidth data, the current response time, and the historical average response time, the control component can perform the following steps A1-A2 when updating the weight parameters of each security device:
[0109] A1. If the current network bandwidth data of the security device meets the preset conditions and the current response time of the security device is not greater than the preset value, the weight parameter of the security device is updated based on the current network bandwidth data, the current response time, and the historical average response time.
[0110] For example, the current network bandwidth data may be the current network bandwidth efficiency, and the preset condition may be: the current network bandwidth efficiency is not greater than a threshold, such as 0.9, which is not limited. The preset value corresponding to the current response time may also be set as required, such as 10s, which is not limited.
[0111] Specifically, a preset rule may be used to update the weight parameters of the security device based on the current network bandwidth efficiency, the current response time, and the historical average response time.
[0112] A2. If the current network bandwidth data of the security device does not meet the preset conditions, and / or the current response time of the security device is greater than the preset value, the weight parameter of the security device is set to a fixed value.
[0113] The fixed value may be set as required, for example, to 0.5, and is not limited thereto.
[0114] Specifically, when adding a security device to the security device resource pool, an initial weight parameter can be set based on the hardware configuration of the security device. During the scheduling process, the weight parameter is dynamically adjusted based on actual usage. For example, Figure 6 As shown in Figure 2, the update process of the weight parameters is as follows:
[0115] For node Si, the current network bandwidth efficiency K_net and the current response time K_res are read. If the network bandwidth efficiency K_net is greater than 90%, or the current response time is greater than 10 seconds, a very small weight parameter, such as 0.5, is assigned to the node Si.
[0116] If the network bandwidth efficiency K_net is not greater than 90% and the current response time is not greater than 10 seconds, the historical average response time E_res of node Si is calculated, for example, the 100 most recent response records are recorded, and the average value is calculated for weight update. For example: W(Si)_new = W(Si) + 0.4*(E_res-K_res) + 0.6*(0.8-K_net).
[0117] It should be noted that the above weight parameter updating process is only exemplary, and the updating method can be selected according to actual needs, and there is no limitation on this.
[0118] In some embodiments, after selecting a target security device from a security device resource pool corresponding to each device type, if it is determined that an abnormal condition occurs in the target security device of the device type, another security device is reselected from a security device resource pool corresponding to a device type as the target security device.
[0119] Specifically, when reselecting another security device from the security device resource pool, the selection may also be made based on the scheduling process of the above embodiment.
[0120] The following is a detailed introduction to the network range-based traffic orchestration system of an embodiment of the present application.
[0121] like Figure 7 As shown, the embodiment of the present application proposes an implementation scheme of a traffic orchestration system based on a network range, which issues a security service chain construction strategy through an SDN controller, including a diversion strategy and a traffic traction strategy, realizes efficient utilization of the security device resource pool through load balancing, and can orchestrate security services on demand with the help of a traffic traction module. The SDN controller can be understood as the control component in the above embodiment of the present application.
[0122] The network range-based traffic orchestration system consists of the following parts:
[0123] Application Program Interface (API): Provides services for upper-layer services, including the creation and management of service chains, acquisition of security event information, and registration of security device information. Security event information is information obtained by security devices when detecting service traffic.
[0124] Service orchestration: includes service chain creation, service chain adjustment, and service chain list, which are used to define and manage security service chains.
[0125] Each service chain includes one or more types of security devices that the corresponding business traffic needs to pass through. For each business traffic that needs to be detected, a corresponding service chain can be created respectively.
[0126] Scheduler: Based on database information and traffic monitoring information, it performs load balancing scheduling on the security device resource pool and feeds back the scheduling results to the controller to generate an orchestration strategy. Traffic monitoring will monitor the traffic traction situation to provide real-time feedback, trigger the scheduler, reschedule, and update the orchestration strategy.
[0127] Orchestration strategy: includes diversion strategy and traffic traction strategy, which mainly issues corresponding policy configurations to guide business traffic to flow correctly along the service chain.
[0128] The diversion strategy refers to which service traffic executes which service chain. For example, based on the five-tuple (source address, source port, destination address, destination port, network protocol TCP), a custom traffic identifier is defined. Assume that service chain A: IPS-WAF (destination IP 192.168.1.1), service chain B: NF-WAF-IPS (destination IP 192.168.2.2), that is, service traffic with a destination IP of 192.168.1.1 executes service chain A, and service traffic with a destination IP of 192.168.2.2 executes service chain B.
[0129] Traffic migration strategy means that after a specific security device is selected for business traffic, the corresponding policy needs to be migrated to the corresponding security device. For example, if the service chain is IPS-WAF, the IPS resource pool has three devices, IPS-1, IPS-2, and IPS-3, and the WAF resource pool has two devices, WAF-1 and WAF-2. Assuming that the selected security devices include IPS-3 and WAF-1, the corresponding business traffic will be sent to IPS-3 and WAF-1 in sequence.
[0130] Traffic identification: Based on the diversion strategy, identify the business traffic; associate the corresponding service chain, and insert the corresponding service ID (Identity document) as the service chain label into the data packet of the business traffic to prepare for subsequent traffic traction.
[0131] Traffic traction: Based on the service chain label in the data packet of the business traffic and the corresponding traffic traction strategy, the business traffic is pulled to one or more security devices one by one according to the arrangement order in the service chain.
[0132] Among them, each security device resource pool is connected to a logical switch. After the business traffic passes through the inlet switch and is identified, the service chain that the business traffic needs to execute is determined, and after selecting a specific security device, the business traffic is pulled to the selected one or more security devices.
[0133] Security analysis: including security traffic analysis, security event analysis, abnormal warning and other functions, based on the information feedback from security devices to analyze and display security information.
[0134] Virtualization platform: Provides API calls for instantiating virtual security devices. The virtualization platform can be OpenStack, Kubernetes, etc.
[0135] Different security devices in the same security device resource pool can be deployed on different hosts (such as servers) and connected to the same logical switch. Figure 8As shown, the IPS resource pool is composed of two IPS (vIPS represents virtual IPS) security devices, one IPS is on host machine 1, and the other IPS is on host machine 2.
[0136] The network range uses line diversion to identify business traffic that needs to be orchestrated, and introduces business traffic into the security device resource pool to perform flexible traffic orchestration and implement differentiated security strategies. The traffic orchestration system has basically no restrictions on the orchestrated security device resource pool. The security device resource pool can be flexibly expanded or reduced, and security devices can be centrally and uniformly orchestrated and scheduled.
[0137] As shown in Table 1, there are three types of security devices (IPS, NF, WAF), and three different service chains are defined for different business scenarios. The service chain defines the order in which business traffic flows through different security device resource pools.
[0138] Table 1
[0139] Service chain name Service chain node illustrate NF-WAF NF-WAF Traffic flows through the NF device first, and then flows through the WAF device WAF WAF Traffic flows through the WAF default IPS->NF->WAF Traffic flows through IPS, NF, and WAF devices in sequence
[0140] In Table 1, a service chain corresponds to a business requirement, and each node in the service chain contains a device type of a security device, which is used for dynamic migration of security devices in the service chain.
[0141] When business traffic reaches the traffic orchestration system, it will be classified based on business traffic information, such as the source address, source port, destination address, destination port, and network protocol TCP (Transmission Control Protocol) quintuple, and then different service chains will be associated with different business traffic.
[0142] For the arriving business traffic, the traffic orchestration system guides the business traffic to the corresponding type of security devices in sequence based on the security device type and detection order defined in the associated service chain, and performs detection in sequence in the defined order. Fig. 9 This is a diagram of traffic traction from service chain NF->WAF. The business traffic is transmitted to the security device NF through the logical switch. After security detection, the business traffic is transmitted to the security device WAF through another logical switch for further security detection.
[0143] Among them, the service chain can be customized by itself, and through personalized and flexible customization of service chains for different business needs, on-demand orchestration and scheduling of business traffic can be achieved.
[0144] When the security devices in the security device resource pool cannot meet business needs and need to be expanded, you only need to register the new security device in the traffic orchestration system to add it to the security device resource pool to provide global security services. This plug-in service has no impact on existing businesses.
[0145] In the embodiment of the present application, the traffic orchestration system implements an agile self-healing mechanism to realize service anomalies or alarms, automatic switching, and heartbeat monitoring of security devices in each security device resource pool, such as Fig.10 As shown, the traffic orchestration system (ie, the security service orchestration system) monitors the traffic of three security devices Node1, Node2, and Node3 in the IPS resource pool.
[0146] When a security device in the security device resource pool is abnormal or overloaded, node migration will be performed automatically, for example Fig.11 As shown in the figure, in the IPS resource pool, if Node1 is abnormal, a new node, such as Node2, will be selected through load balancing, and the corresponding security policy will be issued on Node2, and the business traffic will be pulled to Node2 to complete the business traffic migration.
[0147] Fig.12 A schematic diagram of the basic configuration process of traffic orchestration provided in an embodiment of the present application is shown.
[0148] like Fig.12 As shown in the figure, the basic configuration process of traffic orchestration includes:
[0149] Step S1201: Based on business requirements and various security device resource pools, a service chain corresponding to business traffic is configured to generate a diversion strategy.
[0150] Step S1202: for the arriving service traffic, based on the configured service chain, a load balancing algorithm is used to select security devices from various security device resource pools to determine one or more security devices.
[0151] Step S1203: Generate a traffic traction strategy based on the determined security devices.
[0152] Step S1204: Based on the determined security devices, a corresponding routing policy is generated on the open virtual network OVN.
[0153] Step S1205: Based on the traffic traction strategy and the routing strategy, configure and guide the service traffic to the corresponding ports of the logical switches of each security device.
[0154] The embodiments of the present application have at least the following advantages:
[0155] 1. Based on the virtual-real interconnection, physical security devices are included in the security device resource pool, making full use of existing security device resources and realizing the hybrid orchestration and scheduling of physical security devices and virtual security devices.
[0156] 2. Define a logical service chain. Users do not need to worry about which specific security device to use. They only need to define the route through which business traffic flows based on the type of security device. This can be flexibly configured based on business needs.
[0157] 3. Based on the configured service chain, a load balancing algorithm is used to evenly select security devices in each security device resource pool, determine the security devices through which business traffic flows, and avoid business traffic being concentrated on a certain security device.
[0158] 4. Based on the security devices corresponding to the determined service chains, configure the routing policy of the open virtual network OVN to redirect business traffic to the specified security devices.
[0159] 5. Monitor security equipment to achieve real-time dynamic adjustment of business traffic and agile self-healing.
[0160] In summary, the embodiments of the present application decouple security device resources from the target range network topology, which can help the network target range to flexibly and efficiently utilize security device resources; realize the shared use of security devices in multiple network topologies; solve the problem of security device expansion in the target range network topology, and realize the dynamic expansion function of security devices; realize the mixed use of physical security devices and virtual security devices; realize the demand of target range business for security devices, and perform personalized, flexible, and on-demand traffic orchestration; realize the dynamic addition and deletion of security device resources, dynamic adjustment of resource pools, and dynamic business adjustment; realize dynamic adjustment of business traffic and agile self-healing.
[0161] See also Fig.13 As shown, a network range-based traffic orchestration method provided in an embodiment of the present application can be executed by a server, including the following steps S1301-S1303:
[0162] Step S1301: based on the correspondence between the service flow and the service chain information, identify the target service chain information corresponding to the target service flow, where the target service chain information includes the device type of at least one security device that the target service flow needs to pass through in sequence.
[0163] Step S1302: for each device type in at least one device type, select a target security device from a security device resource pool corresponding to the device type, where the security device resource pool includes a plurality of security devices belonging to the device type.
[0164] Step S1303: Control the target service traffic to pass through at least one selected target security device in sequence, so that the at least one target security device performs security detection on the target service traffic respectively.
[0165] In some possible embodiments, selecting a target security device from a security device resource pool corresponding to the device type in step S1302 specifically includes:
[0166] Obtaining the orchestration information corresponding to each security device in the security device resource pool; wherein the orchestration information includes at least one of the following parameters: the amount of service traffic to be detected, and a weight parameter, where the weight parameter indicates the network status of the security device;
[0167] A security device whose orchestration information meets a set condition is selected from the security device resource pool as a target security device.
[0168] In some possible embodiments, when the arrangement information includes a weight parameter, the method further includes the following steps:
[0169] At set intervals, the weight parameters of each security device are updated based on the current network status of each security device in the security device resource pool; wherein the current network status is determined based on at least one of the following parameters: current network bandwidth data, current response time, and historical average response time.
[0170] Optionally, when updating the weight parameter of each security device based on the current network status of each security device in the security device resource pool, the following operations may be performed for each security device in the security device resource pool:
[0171] If the current network bandwidth data of the security device meets the preset conditions and the current response time of the security device is not greater than the preset value, the weight parameter of the security device is updated based on the current network bandwidth data, the current response time, and the historical average response time;
[0172] If the current network bandwidth data of the security device does not meet the preset condition, and / or the current response time of the security device is greater than a preset value, the weight parameter of the security device is set to a fixed value.
[0173] In some possible embodiments, after identifying the target service chain information corresponding to the target service traffic, the target service chain identifier may also be inserted into a data packet of the target service traffic.
[0174] Furthermore, if there are multiple target security devices, controlling the target service traffic to sequentially pass through at least one selected target security device includes iteratively performing the following operations until the detection result of the last target security device is obtained:
[0175] The data packet after the target service chain identifier is inserted is sent to a target security device, and after the detection result of the data packet by the target security device is obtained, the data packet is sent to the next target security device.
[0176] In some possible embodiments, for each device type in at least one device type, after selecting a target security device from a security device resource pool corresponding to the device type, the following steps may be further performed:
[0177] If it is determined that a target safety device of a device type has an abnormal condition, another safety device is reselected from a safety device resource pool corresponding to the device type as the target safety device.
[0178] In some possible embodiments, the security device resource pool corresponding to each device type includes virtual security devices and / or physical security devices; wherein the physical security devices access the virtual network where the virtual security devices are located through network address translation.
[0179] Based on the same inventive concept as the above-mentioned method embodiment of the present application, a traffic orchestration device based on a network target range is also provided in the embodiment of the present application. The principle of solving the problem by the device is similar to that of the method in the above-mentioned embodiment. Therefore, the implementation of the device can refer to the implementation of the above-mentioned method, and the repeated parts will not be repeated.
[0180] See also Fig.14 As shown, the embodiment of the present application provides a traffic orchestration device based on a network range, including:
[0181] An identification module 141 is used to identify target service chain information corresponding to target service flow based on the correspondence between service flow and service chain information, where the target service chain information includes a device type of at least one security device that the target service flow needs to pass through in sequence;
[0182] A selection module 142, configured to select, for each device type in at least one device type, a target security device from a security device resource pool corresponding to the device type, the security device resource pool including a plurality of security devices belonging to the device type;
[0183] The control module 143 is used to control the target business traffic to pass through at least one selected target security device in sequence, so that the at least one target security device detects the target business traffic respectively.
[0184] In some possible embodiments, the selection module 142 is specifically used to:
[0185] Obtaining the orchestration information corresponding to each security device in the security device resource pool; wherein the orchestration information includes at least one of the following parameters: the amount of service traffic to be detected, and a weight parameter, where the weight parameter indicates the network status of the security device;
[0186] A security device whose orchestration information meets a set condition is selected from the security device resource pool as a target security device.
[0187] In some possible embodiments, when the arrangement information includes a weight parameter, the apparatus further includes an updating module, configured to:
[0188] At set intervals, based on the current network status of each security device in the security device resource pool, the weight parameter of each security device is updated;
[0189] The current network status is determined based on at least one of the following parameters: current network bandwidth data, current response time, and historical average response time.
[0190] In some possible embodiments, the update module is specifically used to:
[0191] For each security device in the security device resource pool, do the following:
[0192] If the current network bandwidth data of the security device meets the preset conditions and the current response time of the security device is not greater than the preset value, the weight parameter of the security device is updated based on the current network bandwidth data, the current response time, and the historical average response time;
[0193] If the current network bandwidth data of the security device does not meet the preset condition, and / or the current response time of the security device is greater than a preset value, the weight parameter of the security device is set to a fixed value.
[0194] In some possible embodiments, the device further includes an insertion module, configured to:
[0195] Inserting the target service chain identifier into the data packet of the target service traffic;
[0196] If there are multiple target security devices, the control module 143 is specifically used to:
[0197] The data packet after the target service chain identifier is inserted is sent to a target security device, and after the detection result of the data packet by the target security device is obtained, the data packet is sent to the next target security device.
[0198] In some possible embodiments, the selection module 142 is further configured to:
[0199] If it is determined that a target safety device of a device type has an abnormal condition, another safety device is reselected from a safety device resource pool corresponding to the device type as the target safety device.
[0200] In some possible embodiments, the security device resource pool corresponding to each device type includes virtual security devices and / or physical security devices; wherein the physical security devices access the virtual network where the virtual security devices are located through network address translation.
[0201] Based on the same inventive concept as the above method embodiments of the present application, an electronic device is also provided in the embodiments of the present application. The principle of solving the problem by the electronic device is similar to the method of the above embodiment. Therefore, the implementation of the electronic device can refer to the implementation of the above method, and the repeated parts will not be repeated.
[0202] See also Fig.15 As shown, the electronic device may include a processor 152 and a memory 151. The memory 151 provides the processor 152 with program instructions and data stored in the memory 151. In the embodiment of the present disclosure, the memory 151 may be used to store a program for traffic orchestration based on a network range in the embodiment of the present disclosure.
[0203] The processor 152 calls the program instructions stored in the memory 151, and the processor 152 is used to execute the network range-based traffic orchestration method in any of the above method embodiments, for example Fig.13 The traffic orchestration method based on the network range is shown.
[0204] The specific connection medium between the memory 151 and the processor 152 is not limited in the embodiments of the present disclosure. Fig.15 The memory 151 and the processor 152 are connected via a bus 153. Fig.15 The connections between other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus 153 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Fig.15 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0205] The memory may include a read-only memory (ROM) and a random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0206] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; it can also be a digital signal processing processor (Digital Signal Processing, DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.
[0207] An embodiment of the present disclosure also provides a computer storage medium, in which a computer program is stored. A processor of an electronic device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the electronic device executes the network target range-based traffic orchestration method in any of the above method embodiments.
[0208] In the specific implementation process, the computer storage medium may include: Universal Serial Bus Flash Drive (USB), mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other storage media that can store program codes.
[0209] Based on the same inventive concept as the above method embodiment, the embodiment of the present application provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs any of the steps of the above-mentioned traffic orchestration method based on the network range.
[0210] The computer program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more conductors, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0211] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0212] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0213] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0214] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0215] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A traffic orchestration method based on a network range, characterized in that: include: Based on the correspondence between the business flow and the service chain information, identify the target service chain information corresponding to the target business flow, wherein the target service chain information includes the device type of at least one security device that the target business flow needs to pass through in sequence; wherein each business flow is a data packet of a business; For each device type of at least one device type, selecting a target security device from a security device resource pool corresponding to the device type, the security device resource pool including a plurality of security devices belonging to the device type; Controlling the target service traffic to pass through at least one selected target security device in sequence, so that the at least one target security device performs security detection on the target service traffic respectively; After identifying the target service chain information corresponding to the target service flow, inserting the target service chain identifier into a data packet of the target service flow; If there are multiple target security devices, controlling the target service traffic to sequentially pass through at least one selected target security device includes: The data packet after inserting the target service chain identifier is sent to a target security device through a logical switch, and after obtaining the detection result of the target security device on the data packet, the data packet is sent to the next target security device through another logical switch until the detection result of the last target security device is obtained.
2. The method according to claim 1, characterized in that The selecting a target security device from a security device resource pool corresponding to the device type includes: Obtaining the orchestration information corresponding to each security device in the security device resource pool; wherein the orchestration information includes at least one of the following parameters: the amount of service traffic to be detected, and a weight parameter, wherein the weight parameter represents the network status of the security device; A security device whose orchestration information meets a set condition is selected from the security device resource pool as the target security device.
3. The method according to claim 2, characterized in that When the arrangement information includes the weight parameter, the method further includes: At set intervals, based on the current network status of each security device in the security device resource pool, a weight parameter of each security device is updated; The current network status is determined based on at least one of the following parameters: current network bandwidth data, current response time, and historical average response time.
4. The method according to claim 3, characterized in that The updating of the weight parameter of each security device based on the current network status of each security device in the security device resource pool includes: For each security device in the security device resource pool, perform the following operations: If the current network bandwidth data of the security device meets the preset conditions and the current response time of the security device is not greater than the preset value, the weight parameter of the security device is updated based on the current network bandwidth data, the current response time and the historical average response time; If the current network bandwidth data of the security device does not meet the preset condition, and / or the current response time of the security device is higher than the preset value, the weight parameter of the security device is set to a fixed value.
5. The method according to any one of claims 1 to 4, characterized in that: After selecting a target security device from a security device resource pool corresponding to the device type for each device type in at least one device type, the method further includes: If it is determined that a target safety device of a device type has an abnormal condition, another safety device is reselected from a safety device resource pool corresponding to the device type as the target safety device.
6. The method according to any one of claims 1 to 4, characterized in that: The security device resource pool corresponding to each device type includes virtual security devices and / or physical security devices; wherein the physical security devices access the virtual network where the virtual security devices are located through network address translation.
7. A traffic orchestration device based on a network range, characterized in that: include: An identification module, used to identify target service chain information corresponding to target business traffic based on the correspondence between business traffic and service chain information, wherein the target service chain information includes a device type of at least one security device that the target business traffic needs to pass through in sequence; wherein each business traffic is a data packet of a business; A selection module, configured to select, for each device type in at least one device type, a target security device from a security device resource pool corresponding to the device type, wherein the security device resource pool includes a plurality of security devices belonging to the device type; A control module, used for controlling the target service flow to pass through at least one selected target security device in sequence, so that the at least one target security device detects the target service flow respectively; An insertion module, configured to insert a target service chain identifier into a data packet of the target service flow after identifying the target service chain information corresponding to the target service flow; If there are multiple target security devices, the control module is specifically used to: The data packet after inserting the target service chain identifier is sent to a target security device through a logical switch, and after obtaining the detection result of the target security device on the data packet, the data packet is sent to the next target security device through another logical switch until the detection result of the last target security device is obtained.
8. A traffic orchestration system based on a network range, characterized in that: include: A control node and at least one detection node, the control node comprising a control component and at least one logical switch, each detection node comprising a security device resource pool connected to one logical switch, the security device resource pool comprising a plurality of security devices belonging to a corresponding device type; The control component is used to identify the target service chain information corresponding to the target service flow based on the correspondence between the service flow and the service chain information, wherein the target service chain information includes the device type of at least one security device that the target service flow needs to pass through in sequence; and for each device type of at least one device type, selecting a target security device from a security device resource pool corresponding to the device type; Controlling the target service traffic to sequentially pass through at least one selected target security device through the at least one logical switch; The target security device is used to perform security detection on the target service traffic; The control component is also used to insert the target service chain identifier into the data packet of the target business traffic after identifying the target service chain information corresponding to the target business traffic. If there are multiple target security devices, the data packet after the target service chain identifier is inserted is sent to a target security device through a logical switch, and after obtaining the detection result of the data packet by the target security device, the data packet is sent to the next target security device through another logical switch until the detection result of the last target security device is obtained.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 6.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is run on a computer, the computer is caused to execute the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
A method for implementing multi-tenant using different security services based on openflow protocol
CN109040101A
NFV-based security network architecture and network security management method
CN111683074A
Traffic arrangement method and system for secure resource pool
CN112822037A
Software-defined NFV-based security service chain arrangement and deployment method and system
CN114024747A
Security resource pool security service matching method and device and storage medium
CN115113982A
