Mirror flow control method and apparatus, electronic equipment and readable storage medium
By storing mirror configurations and selecting mirror service nodes in the gateway cluster, the problem of test environment crashes caused by mirror traffic in high-traffic production environments was solved, achieving effective control over traffic mirroring services and protecting production business traffic.
Patent Information
- Application Number
- CN202211300970.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-24
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2042-10-24
AI Technical Summary
In existing technologies, when the production environment experiences high traffic volume, mirrored traffic can cause the test environment to crash and affect production business traffic. Therefore, it is crucial to control the traffic mirroring ratio at the gateway.
By storing mirroring configurations on gateway devices in a gateway cluster, selecting mirroring service nodes based on business requests and network parameters, and controlling some gateway devices to perform traffic mirroring through mirroring configurations, traffic mirroring service control can be achieved.
Without altering the existing network architecture, control over traffic mirroring services was achieved, preventing test environment crashes and protecting production business traffic.
Smart Images

Figure CN115801808B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a mirrored flow control method and apparatus, electronic device and readable storage medium. Background Technology
[0002] Traffic mirroring, also known as traffic shadowing, is a powerful and risk-free method for testing application versions by sending a copy of real-time traffic to the service being mirrored. Using this method, businesses can build an environment similar to production for acceptance testing, thereby identifying issues early. Because the mirrored traffic exists outside the critical request path of the main service, end users are not affected throughout the entire testing process.
[0003] The test and acceptance environment does not require all business traffic; only a certain percentage of traffic is needed for testing. For gateway clusters configured with the same database, since the database is identical, all devices in the cluster will perform traffic mirroring, achieving only a 1:1 traffic mirroring.
[0004] In existing technologies, if the production environment has a large amount of business traffic, and the gateway forwards all the traffic to the test environment at the same time, it will cause the test environment to crash and affect the production business traffic. Therefore, it is crucial to control the proportion of traffic mirroring on the gateway. Summary of the Invention
[0005] The purpose of this invention is to provide a mirroring traffic control method, apparatus, electronic device, and readable storage medium to achieve mirroring of service traffic to a test environment through mirroring configuration without changing the existing network architecture, thereby realizing control over the traffic mirroring service. The specific technical solution is as follows:
[0006] In a first aspect of this invention, a mirrored traffic control method is provided, applied to gateway devices in a gateway cluster, the gateway cluster including multiple gateway devices, each gateway device storing a mirrored configuration, the method comprising: determining a mirrored service node based on a service request, wherein the service request is used to request service traffic from a service server; if the mirrored configuration contains a gateway address of a gateway device, then sending the service traffic to the mirrored service node, wherein the mirrored configuration is used to control some gateway devices in the gateway cluster to perform mirrored services.
[0007] Furthermore, before determining the mirror service node according to the service request, the method further includes: receiving the mirror configuration sent by the control terminal to each of the gateway devices; and storing the mirror configuration in the gateway device.
[0008] Furthermore, before determining the mirror service node based on the business request, the method further includes: selecting a portion of the gateway devices for mirror service based on the traffic load of each gateway device.
[0009] Furthermore, before determining the mirror service node based on the service request, the method further includes: selecting a portion of the gateway devices for mirror service based on the network parameters of each gateway device.
[0010] Furthermore, it also includes: if the gateway address does not exist in the mirror configuration, sending the service traffic to the user terminal.
[0011] Furthermore, the step of sending service traffic to the mirror service node if the mirror configuration contains a gateway address of the gateway device includes: if the mirror configuration includes the gateway address and the node address, then the service traffic is sent to the target mirror service node and the user terminal corresponding to the node address through the gateway device.
[0012] Furthermore, the step of sending service traffic to the mirror service node if the mirror configuration contains a gateway address of the gateway device includes: if the gateway address and the traffic parameters of the service traffic are both located in the mirror configuration, and the traffic parameters of the service traffic match the preset parameters in the mirror configuration, then the service traffic is sent to the mirror service node and the user terminal through the gateway device.
[0013] In a second aspect of the invention, a mirror traffic control device is also provided. The device is applied to gateway devices in a gateway cluster, the gateway cluster including multiple gateway devices, each gateway device storing a mirror configuration. The device includes: a determining module, configured to determine a mirror service node based on a service request, wherein the service request is used to request service traffic from a service server; and a sending module, configured to send the service traffic to the mirror service node if the mirror configuration contains a gateway address of a gateway device, wherein the mirror configuration is used to control some gateway devices in the gateway cluster to perform mirror services.
[0014] In a third aspect of the present invention, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory is used to store computer programs; and the processor is used to implement any of the steps of the mirror flow control method described above when executing the program stored in the memory.
[0015] In a fourth aspect of the invention, a readable storage medium is also provided, on which a computer program is stored, which, when executed by a processor, implements any of the mirror flow control methods described above.
[0016] The mirroring traffic control method and apparatus provided in this invention are applied to gateway devices in a gateway cluster. The gateway cluster includes multiple gateway devices, each storing a mirroring configuration. A mirroring service node is determined based on a service request, whereby the service request requests service traffic from a service server. If the mirroring configuration contains the gateway address of a gateway device, the service traffic is sent to the mirroring service node. The mirroring configuration controls some gateway devices in the gateway cluster to perform mirroring services. In this invention, by controlling the forwarding of mirrored traffic through mirroring configuration, service traffic can be mirrored to a test environment without changing the existing network architecture, thus achieving control over the traffic mirroring service. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0018] Figure 1 This is a flowchart illustrating a mirrored flow control method according to an embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram of an application scenario in an embodiment of the present invention;
[0020] Figure 3 This is a flowchart illustrating another mirror flow control method in an embodiment of the present invention;
[0021] Figure 4 This is a schematic diagram of the structure of a mirror flow control device according to an embodiment of the present invention;
[0022] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0023] The technical solutions of the present invention will now be described with reference to the accompanying drawings in the embodiments of the present invention.
[0024] This invention provides a mirrored flow control method, such as... Figure 1 As shown, this method is applied to gateway devices in a gateway cluster, which includes multiple gateway devices, each storing a mirror configuration. The method may include the following steps:
[0025] S102, determine the mirror service node based on the business request, wherein the business request is used to request business traffic from the business server;
[0026] In this embodiment, the gateway device receives service requests sent by user terminals and determines the corresponding mirror service node and service server based on the service requests. For example, the service server is determined based on the service request address carried in the service request, and the mirror service node is determined based on the type of service request or the encoding of the user terminal. After determining the service server address, the gateway device forwards the service requests from the user terminals to the service server and forwards the service traffic returned by the service server.
[0027] It should be noted that the forwarding target of service traffic can be a user terminal, or a combination of a user terminal and a mirror service node. The gateway cluster in this embodiment includes multiple gateway devices, which include, but are not limited to, communication devices with routing capabilities such as switches and routers.
[0028] In this embodiment, the mirror service node is a pre-defined data receiving node that can receive service traffic forwarded by the gateway device. The mirror service node can receive and store service traffic and monitor the service traffic.
[0029] The mirror service node can be a standalone terminal or a mirror service corresponding to the gateway device itself. For example, a virtual mirror service node set up in the gateway device, such as a virtual host, is not limited in this embodiment.
[0030] In addition, the service server in this embodiment is used to receive service requests from user terminals, respond to service requests from user terminals, respond to service requests and return the service traffic corresponding to the service request to the user terminal.
[0031] S104. If the mirror configuration contains the gateway address of the gateway device, the service traffic will be sent to the mirror service node. The mirror configuration is used to control the mirror service of the service traffic.
[0032] In this embodiment, the mirroring configuration is pre-defined and used to control the mirroring service for service traffic. The mirroring configuration includes, but is not limited to, the gateway address of the gateway device used for mirroring service forwarding; for example, it may restrict the gateway device in the mirroring configuration to forward service traffic to the mirroring service node. In another example, the mirroring configuration may also include the gateway address of the gateway device and the node address of the mirroring service node, restricting the gateway device in the mirroring configuration to forward service traffic to the mirroring service node located in the mirroring configuration. Furthermore, the mirroring configuration may also include restrictions on traffic parameters for the service traffic.
[0033] In one example, such as Figure 2The diagram illustrates an application scenario of this invention. The application environment includes a gateway cluster 20, a user terminal 22, a service server 24, a mirror service node 26, and a control terminal 28. The gateway cluster 20 includes multiple gateway devices 200. The gateway cluster 20 receives mirror configurations from the control terminal 28 in advance, and each gateway device 200 stores these mirror configurations. When a gateway device 200 receives a service request from the user terminal 22, it determines the corresponding mirror service node 26 and forwards the service request to the service server 24. The gateway device 200 receives service traffic from the service server 24. If the gateway address of the gateway device 200 exists in the mirror configuration, it sends the service traffic to the mirror service node 26.
[0034] It should be noted that, through this embodiment of the invention, the mirror service node is determined based on the business request, wherein the business request is used to request business traffic from the business server; if the mirror configuration contains the gateway address of the gateway device, the business traffic is sent to the mirror service node. This embodiment achieves the mirroring of business traffic to the test environment through mirror configuration without changing the existing network architecture, thus realizing control over the traffic mirroring service.
[0035] Optionally, in this embodiment, before determining the mirror service node according to the service request, the process may include, but is not limited to: receiving the mirror configuration sent by the control terminal to each gateway device; and storing the mirror configuration in the gateway device.
[0036] Specifically, in this embodiment, the mirror configuration sent by the control terminal to the gateway cluster is received. For example, the control terminal sends the mirror configuration to the gateway cluster to enable the same mirror service policy to be distributed to each gateway device in the gateway cluster.
[0037] It should be noted that, in this embodiment, the gateway devices allowed to forward service traffic to the mirror service node in the mirror configuration settings can be selected according to a preset ratio based on the number of gateway devices in the gateway cluster. Specifically, the selection method can be randomized based on IP address, gateway device MAC address, etc., and this embodiment does not impose specific limitations on this. After receiving the mirror configuration, the gateway device saves the mirror configuration in the API's traffic mirror configuration.
[0038] In one example, the same gateway cluster configuration comes from the same database, so the mirroring configuration of each gateway device in the gateway cluster is the same. When distributing the configuration, the control terminal can pre-select the gateway addresses of the gateway devices randomly according to a certain proportion and configure the address list in the traffic mirroring configuration of the gateway device's API.
[0039] For example, if the gateway devices "192.168.0.1, 192.168.0.2, 192.168.0.3" in the mirror configuration are gateway devices capable of performing mirror services, then when service traffic reaches the gateway devices "192.168.0.1", "192.168.0.2", and "192.168.0.3", the gateway devices will forward the service traffic to the designated mirror service node.
[0040] The above example demonstrates how sending image configurations from the control terminal to the gateway devices in the gateway cluster enables the distribution of image service policies to each gateway device.
[0041] Optionally, in this embodiment, before determining the mirror service node according to the service request, the method further includes: selecting some gateway devices for mirror service based on the traffic load of each gateway device.
[0042] Specifically, the gateway devices allowed to forward service traffic to the mirror service node in the mirror configuration settings can be selected based on the traffic load of each gateway device in the gateway cluster to provide mirror services.
[0043] In one example, the gateway cluster includes six gateway devices. The two gateway devices with the lowest traffic load are selected as the gateway devices that forward service traffic to the mirror service node.
[0044] The above example demonstrates how mirroring services can be implemented on selected gateway devices based on their traffic load, thereby reducing the operational pressure on these devices.
[0045] Optionally, in this embodiment, before determining the mirror service node according to the service request, the process may include, but is not limited to, selecting some gateway devices for mirror service based on the network parameters of each gateway device.
[0046] Specifically, the gateway devices allowed to forward service traffic to the mirror service node in the mirror configuration settings can be selected based on the network parameters of each gateway device in the gateway cluster. These network parameters include, but are not limited to, routing overhead, packet loss rate, and latency.
[0047] In one example, the gateway cluster includes multiple gateway devices, and the gateway devices with a packet loss rate of less than 5% are selected as the gateway devices that forward service traffic to the mirror service node.
[0048] The above example demonstrates how, based on the network parameters of each gateway device, a subset of gateway devices can be selected for mirroring services, thus ensuring the network quality of business traffic mirroring.
[0049] Optionally, this embodiment also includes, but is not limited to: if the mirror configuration does not have a gateway address for the gateway device, sending service traffic to the user terminal.
[0050] Specifically, if the gateway address of the gateway device is not present in the mirror configuration, it means that the gateway device is not allowed to forward the service traffic sent by the service server to the mirror service node. Therefore, the gateway device sends the service traffic to the user terminal and does not forward the service traffic to the mirror service node.
[0051] Optionally, in this embodiment, if the mirror configuration contains a gateway address of the gateway device, the service traffic is sent to the mirror service node, including but not limited to: if the mirror configuration includes a gateway address and a node address, the service traffic is sent to the target mirror service node and the user terminal corresponding to the node address through the gateway device.
[0052] Specifically, in this embodiment, if the mirroring configuration simultaneously limits the gateway devices allowed to forward service traffic and the mirroring service nodes to perform mirroring services, then traffic will only be sent to the mirroring service node and user terminal corresponding to the node address through the gateway device if both the gateway address of the gateway device and the node address of the mirroring service node are included in the mirroring configuration.
[0053] In one example, after receiving service traffic from the service server, if the API mirror configuration contains a gateway address and a node address, and the gateway address in the API mirror configuration corresponds to gateway device A, then the service traffic is sent to the mirror service node B corresponding to the node address through gateway device A, and the service traffic is also sent to the user terminal requesting the service traffic through gateway device A.
[0054] The above example demonstrates how to send business traffic to the mirror service node corresponding to the node address through the gateway device corresponding to the gateway address based on the mirror configuration, thereby enabling control over the mirror service of business traffic.
[0055] Optionally, in this embodiment, if the mirror configuration contains a gateway address of a gateway device, the service traffic is sent to the mirror service node, including but not limited to: if the gateway address is in the mirror configuration and the traffic parameters of the service traffic match the preset parameters in the mirror configuration, the service traffic is sent to the mirror service node and the user terminal through the gateway device.
[0056] In this embodiment, traffic parameters include, but are not limited to, the data type of the service traffic and the port traffic size. For example, the preset parameter in the mirroring configuration is to mirror service traffic of video data / image data type.
[0057] Specifically, in this embodiment, if the gateway address of the gateway device is located in the mirror configuration, it means that the gateway device with the current gateway address can send service traffic to the mirror service node. When the traffic parameters of the service traffic match the preset parameters in the mirror configuration, where the preset parameters are the traffic parameters of the gateway device's service interface setting API, the service traffic is then sent to the corresponding mirror service node via the gateway device, and also to the user terminal requesting the service traffic via the gateway device.
[0058] In one example, a traffic mirroring parameter mirroring rule is added to the API configuration. When the gateway device obtains traffic parameters from a business request, if the API traffic parameters match the preset parameters, it performs mirror traffic forwarding and forwards the business traffic to the mirror service node.
[0059] Through the above embodiments, based on the preset parameters set by the business interface corresponding to the mirror configuration, the mirror service of business traffic is controlled by the gateway device, thereby realizing the mirror service based on the traffic characteristics of business traffic.
[0060] In a specific embodiment, such as Figure 3 As shown, the mirrored flow control method in this embodiment may include the following steps:
[0061] S31, The gateway device receives a service request sent by the user terminal;
[0062] Specifically, the gateway device determines the mirror service node based on the service request and receives the service traffic returned by the service server.
[0063] S32, Gateway device query image configuration;
[0064] S33, determine whether the gateway address is in the image configuration;
[0065] Specifically, if the gateway address is in the mirror configuration, then execute S34; otherwise, execute S38.
[0066] S34, retrieve the traffic parameters of the business traffic;
[0067] Specifically, traffic parameters can be determined based on business requests or business traffic; this embodiment does not limit this.
[0068] S35, determine whether traffic parameter configuration exists in the mirror configuration of the gateway device;
[0069] Specifically, if it exists, execute S36; otherwise, execute S37.
[0070] S36, determine whether the request parameters are in the traffic parameter configuration;
[0071] Specifically, if it exists, execute S37; otherwise, execute S38.
[0072] S37 sends business traffic to the mirror service node and user terminal;
[0073] S38 sends service traffic to the user terminal.
[0074] This invention, through its embodiments, determines a mirror service node based on a service request, whereby the service request is used to request service traffic from the service server. If the mirror configuration contains the gateway address of a gateway device, the service traffic is sent to the mirror service node. The mirror configuration is used to control some gateway devices in the gateway cluster to perform mirror services. This implementation achieves control over the traffic mirroring service by mirroring service to the test environment through mirror configuration without changing the existing network architecture.
[0075] This invention also provides a mirroring traffic control device, which is applied to gateway devices in a gateway cluster. The gateway cluster includes multiple gateway devices, and each gateway device stores a mirroring configuration, such as... Figure 4 As shown, the device includes:
[0076] 1) Determining module 40, used to determine the mirror service node based on the business request, wherein the business request is used to request business traffic from the business server;
[0077] 2) Sending module 42, used to send service traffic to the mirror service node if the mirror configuration contains a gateway address of a gateway device, wherein the mirror configuration is used to control some gateway devices in the gateway cluster to perform mirror services.
[0078] This invention, through its embodiments, determines a mirror service node based on a service request, whereby the service request is used to request service traffic from the service server. If the mirror configuration contains the gateway address of a gateway device, the service traffic is sent to the mirror service node. The mirror configuration is used to control some gateway devices in the gateway cluster to perform mirror services. This implementation achieves control over the traffic mirroring service by mirroring service to the test environment through mirror configuration without changing the existing network architecture.
[0079] This invention also provides an electronic device, such as... Figure 5 As shown, it includes a processor 51, a communication interface 52, a memory 53, and a communication bus 54. The processor 51, the communication interface 52, and the memory 53 communicate with each other through the communication bus 54.
[0080] Memory 53 is used to store computer programs;
[0081] When processor 51 executes the program stored in memory 53, it performs the following steps:
[0082] S1, determine the mirror service node according to the business request, wherein the business request is used to request business traffic from the business server;
[0083] S2, if the mirror configuration contains the gateway address of the gateway device, then the service traffic is sent to the mirror service node, wherein the mirror configuration is used to control some gateway devices in the gateway cluster to perform mirror services.
[0084] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0085] The communication interface is used for communication between the aforementioned terminal and other devices.
[0086] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0087] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0088] In another embodiment of the present invention, a readable storage medium is also provided, which stores a computer program that, when run on a computer, causes the computer to execute any of the mirrored flow control methods described in the above embodiments.
[0089] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the mirror flow control methods described in the above embodiments.
[0090] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0091] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0092] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0093] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A method of mirroring traffic, the method comprising: The method is applied to a gateway device in a gateway cluster, the gateway cluster comprises a plurality of gateway devices, the same mirror configuration is stored in each gateway device, and the method comprises the following steps: determining a mirror service node according to a service request, wherein the service request is used to request service traffic from a service server, and the mirror service node is determined based on the type of the service request; if the mirror configuration contains a gateway address of a gateway device, sending the service traffic to the mirror service node, wherein the mirror configuration is used to control part of the gateway devices in the gateway cluster to perform mirror service.
2. The method of claim 1, wherein, Before the step of determining the mirror service node according to the service request, the method further comprises the following steps: receiving the mirror configuration sent by a control terminal to each gateway device; storing the mirror configuration in the gateway device.
3. The method according to claim 1 or 2, characterized in that, Before the step of determining the mirror service node according to the service request, the method further comprises the following steps: selecting the part of the gateway devices to perform mirror service according to the traffic load of each gateway device.
4. The method according to claim 1 or 2, characterized in that, Before the step of determining the mirror service node according to the service request, the method further comprises the following steps: selecting the part of the gateway devices to perform mirror service according to the network parameters of each gateway device.
5. The method of claim 1, wherein, The method further comprises the following steps: if the mirror configuration does not contain the gateway address, sending the service traffic to a user terminal.
6. The method of claim 1, wherein, If the mirror configuration contains the gateway address of the gateway device, the step of sending the service traffic to the mirror service node comprises the following steps: if the mirror configuration contains the gateway address and a node address, sending the service traffic to a target mirror service node corresponding to the node address and a user terminal through the gateway device.
7. The method of claim 1, wherein, If the mirror configuration contains the gateway address of the gateway device, the step of sending the service traffic to the mirror service node comprises the following steps: if the gateway address and the traffic parameter of the service traffic are both contained in the mirror configuration, and the traffic parameter of the service traffic matches a preset parameter in the mirror configuration, sending the service traffic to the mirror service node and a user terminal through the gateway device.
8. A mirror traffic control apparatus, characterized by, The device is applied to a gateway device in a gateway cluster, the gateway cluster comprises a plurality of gateway devices, the same mirror configuration is stored in each gateway device, and the device comprises the following steps: a determining module, configured to determine a mirror service node according to a service request, wherein the service request is used to request service traffic from a service server, and the mirror service node is determined based on the type of the service request; a sending module, configured to if the mirror configuration contains a gateway address of a gateway device, send the service traffic to the mirror service node, wherein the mirror configuration is used to control part of the gateway devices in the gateway cluster to perform mirror service.
9. An electronic device, comprising: The device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus; the memory is used to store a computer program; the processor is used to execute the program stored in the memory, and realize the mirror traffic control method steps in any one of claims 1-5.
10. A readable storage medium, having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the mirror traffic control method in any one of claims 1-5.
Citation Information
Patent Citations
Method and device for monitoring traffic in a network
US20190190851A1