A method and system for processing data by multiple gateways in a local area network
By introducing multi-gateway and multi-interface data processing methods in EasyMesh networking, node routing rules are generated and routing rules are configured, network performance bottlenecks under the limitation of a single gateway are solved, and network performance improvement and user experience are improved.
Patent Information
- Application Number
- CN202410530169.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-04-29
AI Technical Summary
Due to the limitation of a single gateway in EasyMesh networking, network performance is subject to the double limitation of link and Internet access bandwidth, resulting in a degradation of network bandwidth and delay performance at high loads and poor user experience.
By introducing multi-gateway and multi-interface processing methods in EasyMesh networking, node routing rules are generated, local routing rules for controller devices and proxy devices are configured, data packets are identified and marked values are generated, routing tables are determined, and multi-gateways are realized To reduce the operating pressure of controller equipment and improve network performance.
It effectively improves the network performance of EasyMesh networking, supports multi-gateway processing, reduces network latency and bandwidth bottlenecks, and improves user experience.
Smart Images

Figure CN118488512B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of computer networks, and in particular relates to a method and system for processing data by multiple gateways in a local area network. Background Art
[0002] EasyMesh is now commonly used to mesh multiple wireless routers to expand the coverage of wireless networks. EasyMesh is a master-slave network system. The network consists of a controller device and multiple proxy devices. The controller device is mainly responsible for dynamically configuring the proxy devices in the network. It is also the only gateway in the EasyMesh network. All network traffic in the LAN needs to be routed to the Internet through the gateway.
[0003] Because there can only be one gateway in the EasyMesh network, the gateway is the only traffic outlet of the EasyMesh LAN, and all public network traffic in the network needs to be routed through the gateway. Network performance is limited by the link between the gateway and other routers and the Internet access bandwidth, which is the performance bottleneck of the entire LAN. When the gateway needs to process a large amount of public network traffic at the same time, the network bandwidth and latency performance of the EasyMesh network will be greatly reduced due to the limitation of processing capacity, resulting in poor user experience. Summary of the invention
[0004] The present invention proposes a method and system for processing data by multiple gateways in a local area network, which greatly improves the network performance of the EasyMesh network by expanding the capacity of the EasyMesh network to support multiple gateways and multiple interfaces.
[0005] A first aspect of the present invention provides a method for implementing multi-gateway data processing in a local area network, the method comprising:
[0006] Determine the traffic destination of the traffic data packet sent by the STA, and send the traffic data packet whose traffic destination is the Internet as a first data packet to the first device;
[0007] Generate node routing rules according to the actual network situation of EasyMesh networking, and configure local routing rules of the controller device and local routing rules of the proxy device according to the node routing rules; wherein the EasyMesh networking includes a controller device and several proxy devices;
[0008] According to the local routing rule of the controller device and the local routing rule of the proxy device, matching and identifying the first data packet sent by the first device and generating a tag value of the first data packet;
[0009] According to the tag value of the first data packet, the routing table corresponding to the first data packet is determined, and the first data packet is sent to the Internet according to the routing table; wherein the routing table is established for all gateways and all network interfaces of the EasyMesh network according to the actual network situation of the EasyMesh network.
[0010] The above scheme configures local routing rules for the controller device and the proxy device according to the actual network situation of the EasyMesh network, and then matches and identifies the first data packet with the traffic destination being the Internet according to the local routing rules configured on the proxy device, and adds a tag value to the first data packet; the routing table of the corresponding gateway and network interface is determined according to the tag value, so as to support multiple gateways and multiple network interfaces in the EasyMesh network, so that the EasyMesh network can use multiple gateways to process traffic data at the same time, greatly improving the network performance of the EasyMesh network.
[0011] In a possible implementation method of the first aspect, determining a traffic destination of a traffic data packet sent by the STA, and sending a traffic data packet whose traffic destination is the Internet as a first data packet to the first device, specifically:
[0012] Determine the traffic destination of the traffic data packet sent by the STA;
[0013] If the traffic destination of the traffic data packet is the Internet, sending the traffic data packet as a first data packet to the first device;
[0014] If the traffic destination of the traffic data packet is not the Internet, the traffic data packet is sent to the corresponding traffic destination.
[0015] The above solution identifies the traffic data packets sent by STA and directly releases the traffic data packets whose destination is not the Internet to ensure the normal operation of the basic services of EasyMesh networking; the traffic data packets whose destination is the Internet are sent to the first device to provide data support for selecting the route to the Internet.
[0016] In a possible implementation method of the first aspect, a node routing rule is generated according to an actual network condition of the EasyMesh network, specifically:
[0017] When the status of the EasyMesh network changes, the network access capability information of the proxy device is sent to the controller device; wherein the network access capability information includes the network access status of the proxy device and the number of access interfaces;
[0018] According to the network access capability information, the controller device generates node routing rules through a preset algorithm program.
[0019] When the status of the EasyMesh network changes, the above scheme collects the network access status and the number of access interfaces from the proxy device and sends them to the controller device. The controller device formulates node routing rules that conform to the actual network access capabilities based on the network access capabilities of each proxy device, so that the controller device and each proxy device can normally allocate routing tables for traffic data packets according to their actual network access capabilities, avoiding the controller device and each proxy device from being overloaded due to unreasonable node routing rules.
[0020] In a possible implementation method of the first aspect, configuring a local routing rule of a controller device and a local routing rule of a proxy device according to the node routing rule is specifically as follows:
[0021] According to the node routing rule, configure the local routing rule of the controller device;
[0022] According to the node routing rule, issuing a rule configuration instruction to the proxy device;
[0023] According to the rule configuration instruction and the node routing rule, the local routing rule of the proxy device is configured.
[0024] The above scheme configures the controller device and the proxy device respectively according to the generated node routing rules, so that the controller device and the proxy device can match and identify the incoming data packets and generate tag values.
[0025] In a possible implementation method of the first aspect, according to a local routing rule of the controller device and a local routing rule of the proxy device, matching and identifying a first data packet sent by the first device and generating a tag value of the first data packet are specifically as follows:
[0026] According to the local routing rule of the proxy device, matching and identifying the first data packet sent by the first device;
[0027] If there is a local routing rule of the proxy device that matches the first data packet, generating a first routing decision according to the local routing rule of the proxy device that matches the first data packet, and generating a tag value of the first data packet according to the first routing decision;
[0028] If there is no local routing rule of the proxy device that matches the first data packet, the first data packet is sent to the controller device, so that the controller device sends the first data packet to the Internet according to the local routing rule of the controller device.
[0029] In the above scheme, the data packet is first matched and identified according to the local routing rules of the proxy device. If the local routing rules of the proxy device cannot be matched, the controller device will forward the data packet; if the local routing rules of the proxy device can be matched, the proxy device will add a tag value to the data packet to provide data support for the subsequent allocation of routing tables for the data packet according to the tag value, and also realize multi-gateway processing of network traffic, which greatly reduces the operating pressure of the controller device in the EasyMesh network and improves the network performance of the EasyMesh network.
[0030] A second aspect of the present invention provides a system for implementing multiple gateways and multiple interfaces in a local area network, the system comprising: a flow data packet identification module, a routing rule configuration module, a tag value generation module and a routing table allocation module;
[0031] The traffic data packet identification module is used to determine the traffic destination of the traffic data packet sent by the STA, and send the traffic data packet with the traffic destination being the Internet as the first data packet to the first device;
[0032] The routing rule configuration module is used to generate node routing rules according to the actual network situation of the EasyMesh network, and configure the local routing rules of the controller device and the local routing rules of the proxy device according to the node routing rules; wherein the EasyMesh network includes a controller device and several proxy devices;
[0033] The tag value generating module is used to match and identify the first data packet sent by the first device and generate a tag value of the first data packet according to the local routing rule of the controller device and the local routing rule of the proxy device;
[0034] The routing table allocation module is used to determine the routing table corresponding to the first data packet according to the tag value of the first data packet, and send the first data packet to the Internet according to the routing table; wherein the routing table is established for all gateways and all network interfaces of the EasyMesh network according to the actual network conditions of the EasyMesh network.
[0035] In a possible implementation of the second aspect, the traffic data packet identification module includes: a traffic destination determination unit;
[0036] The traffic destination determination unit is used to determine the traffic destination of the traffic data packet sent by the STA; if the traffic destination of the traffic data packet is the Internet, the traffic data packet is sent to the first device as the first data packet; if the traffic destination of the traffic data packet is not the Internet, the traffic data packet is sent to the corresponding traffic destination.
[0037] In a possible implementation of the second aspect, the routing rule configuration module includes: a node routing rule generation unit;
[0038] The node routing rule generation unit is used to send the network access capability information of the proxy device to the controller device when the state of the EasyMesh networking changes; wherein the network access capability information includes the network access status of the proxy device and the number of access interfaces; and according to the network access capability information, the controller device generates node routing rules through a preset algorithm program.
[0039] In a possible implementation of the second aspect, the routing rule configuration module includes: configuring a controller device and a proxy device unit;
[0040] The controller device and proxy device configuration unit is used to configure the local routing rules of the controller device according to the node routing rules; send rule configuration instructions to the proxy device according to the node routing rules; and configure the local routing rules of the proxy device according to the rule configuration instructions and the node routing rules.
[0041] In a possible implementation of the second aspect, the tag value generation module includes: a tag value generation unit;
[0042] The tag value generating unit is used to match and identify the first data packet sent by the first device according to the local routing rules of the proxy device; if the first data packet matches the local routing rules of the proxy device, generate a first routing decision according to the local routing rules of the proxy device matched by the first data packet, and generate the tag value of the first data packet according to the first routing decision; if the first data packet does not match the local routing rules of the proxy device, send the first data packet to the controller device, so that the controller device sends the first data packet to the Internet according to the local routing rules of the controller device. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A specific flow chart of a method for processing data by multiple gateways in a local area network is provided in one embodiment of the present invention;
[0045] Figure 2 A general schematic diagram of a method for processing data by multiple gateways in a local area network is provided in a certain embodiment of the present invention;
[0046] Figure 3 A node routing rule configuration process diagram of a method for processing data by multiple gateways in a local area network is provided in a certain embodiment of the present invention;
[0047] Figure 4 A typical application deployment scenario diagram of a method for processing data by multiple gateways in a local area network is provided in a certain embodiment of the present invention;
[0048] Figure 5 A structural diagram of a system for processing data by multiple gateways in a local area network is provided in accordance with a certain embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] It should be understood that the step numbers used in this article are only for the convenience of description and are not intended to limit the order in which the steps are executed.
[0051] like Figure 1 As shown, Figure 1 A specific flow chart of a method for processing data by multiple gateways in a local area network is provided for a certain embodiment of the present invention. The method for processing data by multiple gateways in a local area network of this embodiment includes steps S1 to S4, which are described in detail as follows:
[0052] Step S1, determining the traffic destination of the traffic data packet sent by the STA, and sending the traffic data packet whose traffic destination is the Internet as a first data packet to the first device;
[0053] In this step, the traffic destination of the traffic data packet sent by the STA is first determined. If the traffic data packet is user network traffic, the traffic destination of the traffic data packet is the Internet.
[0054] If the traffic destination of the traffic data packet is the Internet, redirect the network layer of the EasyMesh network and send the traffic data packet as the first data packet to the netfilter queue in the network layer iptables;
[0055] If the traffic destination of the traffic data packet is not the Internet, that is, the traffic data packet is intranet traffic, ARP traffic, DHCP traffic, etc., then the traffic data packet is directly sent to the corresponding traffic destination to ensure the normal operation of the basic services of EasyMesh networking.
[0056] In addition, it is necessary to establish a routing table for all gateways and all network interfaces of the EasyMesh network according to the actual network conditions of the EasyMesh network.
[0057] In order to identify the traffic destination of the traffic data packet, a series of configurations need to be performed on the router Linux system to modify the EasyMesh networking workflow; this configuration needs to be deployed on each EasyMesh networking device.
[0058] In order to better describe the overall principle of this embodiment, Figure 2 The overall principle diagram of the method for processing data by multiple gateways in the local area network of this embodiment is provided. As shown in the figure, the system traffic policy configuration group is a series of configurations performed on the router Linux system, and the application layer routing decision program is used to select routes for traffic data packets with a traffic destination of the Internet; wherein the application layer routing decision program is a master-slave architecture distributed program running on the router of the EasyMesh network, the master node program runs on the controller device, and the slave node program runs on all other proxy devices; the router first intercepts the traffic data packets sent by the STA at the link layer, and identifies the traffic destinations of these traffic data packets, and then sends the traffic data packets with a traffic destination of the Internet to the netfilter queue in the network layer iptables, and the netfilter queue then sends the traffic data packets to the application layer, and the application layer routing decision program adds a tag value to select a route to the Internet, thereby realizing the multi-gateway and multi-interface processing of network traffic in the EasyMesh network.
[0059] Step S2, generating node routing rules according to the actual network situation of the EasyMesh network, and configuring the local routing rules of the controller device and the local routing rules of the proxy device according to the node routing rules;
[0060] In this step, the controller device will automatically generate node routing rules based on the network access capability information of all proxy devices or obtain node routing rules configured by the network administrator. The controller device then uses the network access capability information to generate node routing rules, and issues rule configuration instructions to each proxy device based on the node routing rules, so that the proxy device configures the local routing rules of the proxy device based on the rule configuration instructions and the node routing rules; at the same time, the controller device can also configure its own local routing rules based on the node routing rules, so that the controller device has the same functions as the proxy device, matching and identifying incoming traffic data packets according to the local routing rules, making routing decisions and adding tag values.
[0061] Among them, the network access capability information of all proxy devices reports the network access status and the number of access interfaces of the proxy devices whose status of EasyMesh networking changes to the controller device when the status of EasyMesh networking changes, the application layer routing decision program is initialized, or the local network connection status changes, so that the controller device can dynamically generate node routing rules.
[0062] In order to better describe the process of how controller devices and node devices configure local routing rules, Figure 3 A node routing rule configuration process diagram of this embodiment is provided. As shown in the figure, the proxy device first checks its own network access capability through the slave node application layer routing decision program, and then reports its own network access capability to the controller device. The controller device calculates the node routing rule according to the master node application layer routing decision program and sends a rule configuration instruction to the proxy device. After receiving the rule configuration instruction, the proxy device configures the local routing rule according to the rule configuration instruction, completing the real-time update of the local routing rule by the proxy device and the controller device to meet the current working status of the EasyMesh network.
[0063] Step S3, matching and identifying the first data packet sent by the first device and generating a tag value of the first data packet according to the local routing rule of the controller device and the local routing rule of the proxy device;
[0064] In this step, the netfilter queue sends the first data packet to the application layer routing policy program of the proxy device for identification, and the proxy device matches and identifies the first data packet according to the local routing rule.
[0065] If there is a local routing rule of the proxy device that matches the first data packet, generate a first routing decision according to the local routing rule of the proxy device that matches the first data packet, and add a tag value of the first data packet generated by the first routing decision to the first data packet;
[0066] If there is no local routing rule of the proxy device that matches the first data packet, the first data packet is sent to the controller device according to the control rule preset in the EasyMesh network, so that the controller device sends the first data packet to the Internet according to the local routing rule of the controller device.
[0067] Step S4, determining a routing table corresponding to the first data packet according to the tag value of the first data packet, and sending the first data packet to the Internet according to the routing table;
[0068] In this step, after adding a tag value to the first data packet, the first data packet is transmitted back to the network layer and the corresponding routing table is determined according to the tag value of the first data packet. Then, the next sending path of the first data packet is set according to the corresponding routing table, and the first data packet is sent to the Internet.
[0069] Furthermore, Figure 4 A typical application deployment scenario diagram of a method for processing data by multiple gateways in a local area network provided for a certain embodiment of the present invention. As shown in the figure, R1 is the controller device of the EasyMesh network, which accesses the Internet through a wired WAN interface; R2 is the proxy device of the EasyMesh network, which accesses the Internet through a wired WAN interface and a 4G / 5G cellular connection; R3 is the proxy device of the EasyMesh network, which does not have an interface that can connect to the Internet, so it cannot access the Internet. STA1, STA2, and STA3 are all user access terminals, which access R2 and R3 through WiFi connections and send data packets to the Internet. Based on this scenario, the operation process of the EasyMesh network in this embodiment is as follows:
[0070] (1) R2 and R3 report their access capabilities to the controller device R1. R1 generates routing configuration instructions based on this information and sends them to R2 and R3. The specific content of the routing configuration instructions, for example, requires R2 to send STA1's traffic data packets through R2's wired WAN, and STA2's traffic data packets through R2's cellular connection, requires R3 to send STA3's traffic data packets through R1's wired WAN, and R1 needs to send the traffic data packets from STA3 from its own wired WAN;
[0071] (2) R1, R2, and R3 configure local routing rules according to routing configuration instructions;
[0072] (3) After STA1's traffic data packet is sent to R2, it is identified by the rules of the link layer and the network layer. R2 selects its own wired WAN for STA1's traffic data packet according to the local routing rules, and then adds the corresponding tag value to select the routing table of STA1's traffic data packet; then STA1's traffic data packet is sent through R2's wired WAN connection; similarly, STA2's traffic data packet goes through the same steps and is finally sent through R2's cellular connection;
[0073] (4) STA3's traffic data packet arrives at R3. After being identified by the link layer and network layer rules, the traffic data packet is transmitted to R3's slave node application layer routing decision program. R3 selects STA3's traffic data packet to be sent to R1 according to the slave node application layer routing decision program, and adds the corresponding tag value to determine that STA3's traffic data packet is sent to R1's routing table; after R1 receives STA3's traffic data packet, it is transmitted to R1's master node application layer routing decision program after the same link layer and network layer rules are identified. R1 matches STA3's traffic data packet with the local routing rules according to the master node application layer routing decision program, and adds the corresponding tag value to STA3's traffic data packet, and finally sends the traffic data packet through R1's own wired WAN connection.
[0074] Further, in order to implement the system for processing data by multiple gateways in a local area network corresponding to the above method embodiment to achieve corresponding functions and technical effects, Figure 5 A structural diagram of a system for processing data by multiple gateways in a local area network is provided. For ease of description, only the parts related to this embodiment are shown. The system for processing data by multiple gateways in a local area network provided by the embodiment of the present invention includes:
[0075] The network data packet identification module 201 is used to determine the traffic destination of the network data packet sent by the STA, and send the network data packet with the traffic destination of the Internet as the first data packet to the first device;
[0076] The routing rule configuration module 202 generates a node routing rule according to the actual network situation of the EasyMesh network, and configures the local routing rule of the controller device and the local routing rule of the proxy device according to the node routing rule; wherein the EasyMesh network includes a controller device and several proxy devices;
[0077] A tag value generating module 203, configured to match and identify a first data packet sent by a first device and generate a tag value of the first data packet according to a local routing rule of the controller device and a local routing rule of the proxy device;
[0078] The routing table allocation module 204 is used to determine the routing table corresponding to the first data packet according to the tag value of the first data packet, and send the first data packet to the Internet according to the routing table.
[0079] In some embodiments, the network data packet identification module 201 is specifically:
[0080] A traffic destination determination unit is used to determine the traffic destination of the network data packet sent by the STA; if the traffic destination of the network data packet is the Internet, the network data packet is sent to the first device as the first data packet; if the traffic destination of the network data packet is not the Internet, the network data packet is sent to the corresponding traffic destination.
[0081] In some embodiments, the routing rule configuration module 202 is specifically:
[0082] The node routing rule generation unit is used to send the network access capability information of the proxy device to the controller device when the state of the EasyMesh network changes; wherein the network access capability information includes the network access state of the proxy device and the number of access interfaces; according to the network access capability information, the controller device generates the node routing rules through a preset algorithm program.
[0083] The controller device and the proxy device unit are configured to configure the local routing rules of the controller device according to the node routing rules; send rule configuration instructions to the proxy device according to the node routing rules; and configure the local routing rules of the proxy device according to the rule configuration instructions and the node routing rules.
[0084] In some embodiments, the tag value generating module 203 is specifically:
[0085] A tag value generating unit is used to match and identify a first data packet sent by a first device according to a local routing rule of a proxy device; if the first data packet matches the local routing rule of the proxy device, a first routing decision is generated according to the local routing rule of the proxy device matched by the first data packet, and a tag value of the first data packet is generated according to the first routing decision; if the first data packet does not match the local routing rule of the proxy device, the first data packet is sent to a controller device, so that the controller device sends the first data packet to the Internet according to the local routing rule of the controller device.
[0086] This embodiment proposes a method and system for processing data by multiple gateways in a local area network: determine the traffic destination of the network data packet sent by the STA, and send the network data packet with the traffic destination of the Internet as the first data packet to the first device; generate node routing rules according to the actual network situation of the EasyMesh network, and configure the local routing rules of the controller device and the local routing rules of the proxy device according to the node routing rules; match and identify the first data packet sent by the first device and generate the tag value of the first data packet according to the local routing rules of the controller device and the local routing rules of the proxy device; determine the routing table corresponding to the first data packet according to the tag value of the first data packet, and send the first data packet to the Internet according to the routing table. Its beneficial effect is that by expanding the capacity of the EasyMesh network to support multiple gateways and multiple interfaces, the network performance of the EasyMesh network is greatly improved.
[0087] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for processing data by multiple gateways in a local area network, characterized in that: include: Determine the traffic destination of the traffic data packet sent by the STA, and send the traffic data packet whose traffic destination is the Internet as a first data packet to the first device; Generate node routing rules according to the actual network situation of EasyMesh networking, and configure local routing rules of the controller device and local routing rules of the proxy device according to the node routing rules; wherein the EasyMesh networking includes a controller device and several proxy devices; According to the local routing rules of the controller device and the local routing rules of the proxy device, a first data packet sent by the first device is matched and identified and a tag value of the first data packet is generated, specifically: according to the local routing rules of the proxy device, the first data packet sent by the first device is matched and identified; if there is a local routing rule of the proxy device that matches the first data packet, a first routing decision is generated according to the local routing rule of the proxy device that matches the first data packet, and a tag value of the first data packet is generated according to the first routing decision; Determine a routing table corresponding to the first data packet according to the tag value of the first data packet, and send the first data packet to the Internet according to the routing table; wherein the routing table is established for all gateways and all network interfaces of the EasyMesh network according to the actual network situation of the EasyMesh network; If there is no local routing rule of the proxy device that matches the first data packet, the first data packet is sent to the controller device, so that the controller device sends the first data packet to the Internet according to the local routing rule of the controller device.
2. The method for processing data by multiple gateways in a local area network according to claim 1, characterized in that: The determining of the traffic destination of the traffic data packet sent by the STA and sending the traffic data packet whose traffic destination is the Internet as the first data packet to the first device is specifically: Determine the traffic destination of the traffic data packet sent by the STA; If the traffic destination of the traffic data packet is the Internet, sending the traffic data packet as a first data packet to the first device; If the traffic destination of the traffic data packet is not the Internet, the traffic data packet is sent to the corresponding traffic destination.
3. The method for processing data by multiple gateways in a local area network according to claim 1, characterized in that: According to the actual network situation of EasyMesh networking, node routing rules are generated, specifically: When the status of the EasyMesh network changes, the network access capability information of the proxy device is sent to the controller device; wherein the network access capability information includes the network access status of the proxy device and the number of access interfaces; According to the network access capability information, the controller device generates node routing rules through a preset algorithm program.
4. The method for processing data by multiple gateways in a local area network according to claim 1, characterized in that: The local routing rules of the controller device and the local routing rules of the proxy device are configured according to the node routing rules, specifically: According to the node routing rule, configure the local routing rule of the controller device; According to the node routing rule, issuing a rule configuration instruction to the proxy device; According to the rule configuration instruction and the node routing rule, the local routing rule of the proxy device is configured.
5. A system for processing data by multiple gateways in a local area network, characterized in that: include: Traffic data packet identification module, routing rule configuration module, tag value generation module and routing table allocation module; The traffic data packet identification module is used to determine the traffic destination of the traffic data packet sent by the STA, and send the traffic data packet with the traffic destination being the Internet as the first data packet to the first device; The routing rule configuration module generates node routing rules according to the actual network conditions of the EasyMesh network, and configures the local routing rules of the controller device and the local routing rules of the proxy device according to the node routing rules; wherein the EasyMesh network includes a controller device and several proxy devices; The tag value generating module is used to match and identify the first data packet sent by the first device and generate the tag value of the first data packet according to the local routing rules of the controller device and the local routing rules of the proxy device, specifically: according to the local routing rules of the proxy device, match and identify the first data packet sent by the first device; if there is a local routing rule of the proxy device matched by the first data packet, generate a first routing decision according to the local routing rule of the proxy device matched by the first data packet, and generate the tag value of the first data packet according to the first routing decision; The routing table allocation module is used to determine the routing table corresponding to the first data packet according to the tag value of the first data packet, and send the first data packet to the Internet according to the routing table; wherein the routing table is established for all gateways and all network interfaces of the EasyMesh network according to the actual network conditions of the EasyMesh network; wherein, if there is no local routing rule of the proxy device that matches the first data packet, the first data packet is sent to the controller device, so that the controller device sends the first data packet to the Internet according to the local routing rule of the controller device.
6. The system for processing data by multiple gateways in a local area network according to claim 5, characterized in that: The traffic data packet identification module includes: a traffic destination determination unit; The traffic destination determination unit is used to determine the traffic destination of the traffic data packet sent by the STA; if the traffic destination of the traffic data packet is the Internet, the traffic data packet is sent to the first device as the first data packet; if the traffic destination of the traffic data packet is not the Internet, the traffic data packet is sent to the corresponding traffic destination.
7. The system for processing data by multiple gateways in a local area network according to claim 5, characterized in that: The routing rule configuration module includes: a node routing rule generation unit; The node routing rule generation unit is used to send the network access capability information of the proxy device to the controller device when the state of the EasyMesh networking changes; wherein the network access capability information includes the network access status of the proxy device and the number of access interfaces; and according to the network access capability information, the controller device generates node routing rules through a preset algorithm program.
8. The system for processing data by multiple gateways in a local area network according to claim 5, characterized in that: The routing rule configuration module includes: configuring a controller device and an agent device unit; The controller device and proxy device configuration unit is used to configure the local routing rules of the controller device according to the node routing rules; send rule configuration instructions to the proxy device according to the node routing rules; and configure the local routing rules of the proxy device according to the rule configuration instructions and the node routing rules.