CN113260072A - Mesh networking traffic scheduling method, gateway equipment and storage medium - Google Patents
Mesh networking traffic scheduling method, gateway equipment and storage medium Download PDFInfo
- Publication number
- CN113260072A CN113260072A CN202110505077.4A CN202110505077A CN113260072A CN 113260072 A CN113260072 A CN 113260072A CN 202110505077 A CN202110505077 A CN 202110505077A CN 113260072 A CN113260072 A CN 113260072A
- Authority
- CN
- China
- Prior art keywords
- mesh
- networking
- gateway
- equipment
- forwarding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/535—Allocation or scheduling criteria for wireless resources based on resource usage policies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the technical field of wireless networking, and provides a Mesh networking traffic scheduling method, gateway equipment and a storage medium. The Mesh networking traffic scheduling method comprises the following steps: a forwarding module of the gateway equipment receives the control message and the data message; the forwarding module distinguishes the control message and the data message according to a flow table; the forwarding module forwards the control packet to a corresponding receiving target, wherein the receiving target comprises a Mesh controller and a Mesh proxy which are arranged in the gateway device; and the forwarding module forwards the data message according to the forwarding rule of the flow table. The invention realizes the isolation and the differentiated forwarding of the control message and the data message in the gateway equipment, ensures the safety and the controllability and leads the flow scheduling to be more efficient and flexible; and the management of the Mesh networking is centralized to the gateway side through the built-in Mesh controller of the gateway equipment, so that the management and control capability of the gateway equipment is improved, and the safety and compatibility of the Mesh networking are improved.
Description
Technical Field
The invention relates to the technical field of wireless networking, in particular to a Mesh networking traffic scheduling method, gateway equipment and a storage medium.
Background
Wireless networking enables wireless coverage of a range, such as various areas within a home. With the development of technology, Mesh (wireless Mesh) networking becomes a wireless networking mode capable of realizing ideal wireless coverage effect.
However, in the current Mesh networking, the gateway device forwards the control traffic and the data traffic of the networking device together, so that the control traffic and the data traffic cannot be effectively isolated, mutual influence is caused, and the security and the controllability cannot be guaranteed.
In addition, in the current Mesh networking, the gateway device is only used for network connection between the internal network and the external network, and cannot control the Mesh networking, and the Mesh networking needs to use a special Mesh product and cannot be compatible with the wireless function of the gateway device.
Specifically, taking home Mesh networking as an example, a user needs to purchase a set of Mesh products, including a Mesh master device and a Mesh slave device, to perform Mesh networking, and the Mesh master device needs to be connected to a home gateway to realize communication with an external network. After the Mesh product completes Mesh networking, since the wireless control of the home gateway and the wireless control of the Mesh product belong to two systems, authentication information such as Service Set Identifiers (SSID) of the two systems cannot be synchronized. At this time, if the wireless function of the home gateway and the wireless function of the Mesh product are used as two sets of wireless systems, mutual interference exists; if two sets of wireless systems are set to have the same SSID information, the problems of failure of roaming switching function and the like are caused. Therefore, the wireless function of the home gateway can only be idled, and the Mesh master device is connected with the home gateway by using the network cable.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the invention and therefore may include information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of this, the present invention provides a Mesh networking traffic scheduling method, a gateway device and a storage medium, which can implement isolation and differentiated forwarding of a control message and a data message in the gateway device, ensure security and controllability, and make traffic scheduling more efficient and flexible; and the management of the Mesh networking is centralized to the gateway side through the built-in Mesh controller of the gateway equipment, so that the management and control capability of the gateway equipment is improved, and the safety and compatibility of the Mesh networking are improved.
One aspect of the present invention provides a Mesh networking traffic scheduling method, including: a forwarding module of the gateway equipment receives the control message and the data message; the forwarding module distinguishes the control message and the data message according to a flow table; the forwarding module forwards the control packet to a corresponding receiving target, wherein the receiving target comprises a Mesh controller and a Mesh proxy which are arranged in the gateway device; and the forwarding module forwards the data message according to the forwarding rule of the flow table.
In some embodiments, after the forwarding module distinguishes the control packet and the data packet according to a flow table, the forwarding module further includes: and the forwarding module allocates different scheduling priorities to the control message and the data message according to the flow table, so that the scheduling priority of the control message is higher than that of the data message.
In some embodiments, the receiving target further comprises a networking device hung down by the gateway device; the forwarding module forwards the control packet to a corresponding receiving target: if the control message is forwarded inside the gateway device, forwarding is performed through internal ports of the gateway device, which are respectively monitored by the Mesh controller and the Mesh proxy; if the control message is forwarded between the gateway equipment and the networking equipment, forwarding is carried out through the corresponding internal port and the external interface of the gateway equipment; wherein the external interface comprises an Ethernet interface and a wireless local area network interface.
In some embodiments, the flow table is a flow table employing an OpenFlow protocol; the control message is a control text conforming to Easy Mesh protocol.
In some embodiments, the Mesh networking traffic scheduling method further includes: at least the Mesh proxy broadcasts a networking message carrying gateway equipment parameters; when the forwarding module distinguishes the control message and the data message according to the flow table, the networking message is identified as the control message; when the forwarding module forwards the control packet to a corresponding receiving target, forwarding the networking packet to the Mesh controller; and the Mesh controller processes the networking message, sends a control message carrying Mesh network parameters to the Mesh proxy according to the gateway equipment parameters, and accesses the gateway equipment to the Mesh network.
In some embodiments, the Mesh networking traffic scheduling method further includes: the networking equipment hung below the gateway equipment broadcasts a networking message carrying the parameters of the networking equipment; and the Mesh controller also sends the control message carrying the Mesh network parameters to the networking equipment according to the networking equipment parameters, and the networking equipment is accessed to the Mesh network.
In some embodiments, after the accessing the gateway device to the Mesh network, the method further includes: the Mesh controller sends a control message carrying the wireless parameters of the Mesh network to the Mesh proxy; the Mesh proxy modifies the initial wireless parameters of the gateway equipment through a wireless driving module of the gateway equipment connected with the Mesh proxy according to the wireless parameters; wherein the wireless parameters include a service set identification of the Mesh network.
In some embodiments, before the Mesh proxy broadcasts the networking packet carrying the gateway device parameter, the method further includes: and configuring the Mesh controller and the Mesh proxy in the gateway equipment in a software upgrading mode, so that the Mesh controller and the Mesh proxy are respectively positioned in two isolated network spaces of the gateway equipment and respectively monitor two internal ports connected with the forwarding module.
In some embodiments, the Mesh networking traffic scheduling method further includes: and configuring an information query interface connected with the Mesh controller in the gateway equipment, wherein the information query interface is used for querying real-time network information of the Mesh network.
Yet another aspect of the present invention provides a gateway apparatus including: the built-in Mesh controller and the Mesh agent are arranged in the network; and a forwarding module configured to: receiving a control message and a data message, distinguishing the control message from the data message according to a flow table, forwarding the control message to a corresponding receiving target, wherein the receiving target comprises the Mesh controller and the Mesh proxy, and forwarding the data message according to a forwarding rule of the flow table.
Yet another aspect of the present invention provides a gateway apparatus including: a memory for storing executable instructions; and the processor is used for executing the executable instruction to realize the Mesh networking traffic scheduling method in any embodiment.
Yet another aspect of the present invention provides a computer-readable storage medium for storing a program, which when executed by a processor implements the Mesh networking traffic scheduling method according to any of the above embodiments.
Compared with the prior art, the invention has the beneficial effects that:
the invention can realize the isolation and the differentiated forwarding of the control message and the data message in the gateway equipment, ensure the safety and the controllability, and use the flow table to ensure that the flow scheduling is more efficient and flexible; the Mesh controller which is used as a central control is arranged in the gateway equipment, so that the management of Mesh networking is centralized to the gateway side, the management and control capability of the gateway equipment is improved, the wireless function of the gateway equipment is compatible with the Mesh networking, and the functions of synchronous configuration, roaming switching, information collection and the like of the Mesh networking are ensured; and the Mesh controller and the Mesh proxy are arranged in the gateway equipment, so that the Mesh networking can be completed by utilizing the gateway equipment without purchasing a special Mesh product when the Mesh networking is realized, and the cost reduction and the efficiency improvement are realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram illustrating steps of a Mesh networking traffic scheduling method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an internal architecture of a gateway device according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating steps of a Mesh networking process according to an embodiment of the present invention;
fig. 4 shows a schematic block diagram of a gateway device in an embodiment of the invention;
fig. 5 shows a schematic block diagram of a gateway device according to another embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
The drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In addition, the flow shown in the drawings is only an exemplary illustration, and not necessarily includes all the steps. For example, some steps may be divided, some steps may be combined or partially combined, and the actual execution sequence may be changed according to the actual situation. It should be noted that features of the embodiments of the invention and of the different embodiments may be combined with each other without conflict.
Fig. 1 shows main steps of a Mesh networking traffic scheduling method in an embodiment, and referring to fig. 1, the Mesh networking traffic scheduling method includes: step S110, a forwarding module of the gateway equipment receives a control message and a data message; step S120, the forwarding module distinguishes the control message and the data message according to the flow table; step S130, the forwarding module forwards the control message to a corresponding receiving target, wherein the receiving target comprises a Mesh Controller (Mesh Controller) and a Mesh Agent (Mesh Agent) which are arranged in the gateway device; and step S140, the forwarding module forwards the data message according to the forwarding rule of the flow table.
The gateway device supports Easy Mesh protocol, which conforms to the Multi-AP _ Specification _ v1.0 Specification, using the IEEE1905.1a standard architecture. All gateway devices supporting Easy Mesh protocols can realize the Mesh networking traffic scheduling method.
In addition, networking devices, such as an Access Point (AP), a wireless router, and the like, which are hung below the gateway device also support the Easy Mesh protocol. The networking devices and the gateway devices do not need to belong to the same set of Mesh products, and Mesh networking can be realized as long as Easy Mesh protocols are supported. The receiving target also includes these networking devices.
The forwarding module is configured to forward a packet (or called a flow) passing through the gateway device, specifically including a control packet and a data packet. The control message is Mesh control flow transmitted between gateway equipment in the Mesh networking and networking equipment hung below, and the data message is internet data flow generated by user equipment accessed to the Mesh networking. When the messages are distinguished, the messages can be distinguished according to the protocol type fields in the messages, if the messages contain Easy Mesh protocol fields, the messages are identified as control messages, and if the messages do not contain Easy Mesh protocol fields, the messages are data messages.
The distinction of the messages is specifically controlled and processed by the flow table. The flow table comprises one or more flow tables, an OpenFlow protocol can be adopted based on a Software Defined Network (SDN) technology, good isolation performance is achieved, and the flow table has flexibility in controlling flow.
When the forwarding module identifies that the message is a control message through the flow table, the control message is forwarded to a Mesh controller/Mesh proxy built in the gateway device, and the Mesh controller/Mesh proxy performs corresponding processing; according to the transmission path of the packet, the packet may also be forwarded to other receiving targets, such as a networking device under-hung by the gateway device, which will be described in detail below. And if the message is identified to be a data message, performing conventional data forwarding according to the flow table rule. Therefore, the control message and the data message are isolated in the gateway equipment and are transmitted in a distinguishing mode, safety and controllability are guaranteed, and flow scheduling is more efficient and flexible by using the flow table.
In one embodiment, after the forwarding module distinguishes the control packet and the data packet according to the flow table, the method further includes: the forwarding module allocates different scheduling priorities to the control message and the data message according to the flow table, so that the scheduling priority of the control message is higher than that of the data message. Therefore, the flow table distinguishes the control message from the data message, gives different QOS (Quality of service) rules to the control message and the data message, sets the priority of flow scheduling, ensures the priority of the control message, and ensures the timeliness and stability of the internal control of the Mesh networking environment.
Fig. 2 shows an internal architecture of a gateway device in an embodiment, and referring to fig. 2, a gateway device 200 has a forwarding module 210, a Mesh controller 220, and a Mesh proxy 230, where the Mesh controller 220 and the Mesh proxy 230 each monitor an internal port connected to the forwarding module 210 for receiving and processing a control packet. The gateway device 200 is further provided with an external interface, which includes an Ethernet (Ethernet) port and a Wireless Local Area Network (WLAN) port, and is configured to monitor and transmit a packet flowing through the gateway device 200.
The arrows filled with different patterns in fig. 2 represent different types of messages. The forwarding module 210 will control the message M11When forwarding to the corresponding receiving target, if the control message M11Forwarding inside the gateway device 200 (i.e., forwarding between the Mesh controller 220 and the Mesh proxy 230), and then forwarding through the internal ports of the gateway device 200 respectively monitored by the Mesh controller 220 and the Mesh proxy 230; for example, if the Mesh controller 220 sends a control message M to the Mesh proxy 23011Then control the message M11Enters the forwarding module 210 through the internal port corresponding to the Mesh controller 220, and is then forwarded to the Mesh proxy 230 by the forwarding module 210 through the internal port corresponding to the Mesh proxy 230. If the control message M11Forwarding between the gateway device 200 and a networking device (not shown in fig. 2, refer to the arrow on the far right side of fig. 2), and then forwarding through the corresponding internal port and the external interface (Ethernet port/WLAN port) of the gateway device 200; for example, if the Mesh controller 220 sends a control message M to a network device that is hanging down11Then control the message M11Enters the forwarding module 210 through the internal port corresponding to the Mesh controller 220, and is then forwarded to the corresponding networking device by the forwarding module 210 through the Ethernet port/WLAN port.
And the data message M22Then, the Ethernet port and the WLAN port listen and perform normal data forwarding through the forwarding module 210.
The above embodiment describes a traffic scheduling process of Mesh networking. The Mesh networking process under the control of the gateway device will be specifically described below.
Firstly, a Mesh controller and a Mesh proxy are configured in gateway equipment, and automatic configuration can be realized in a software upgrading mode. The traditional gateway equipment supporting Easy Mesh protocol does not comprise a Mesh controller and a Mesh proxy, and Mesh networking and flow scheduling controlled by the gateway equipment can be realized by updating the original program of the gateway equipment and configuring the Mesh controller and the Mesh proxy in the gateway equipment without purchasing new gateway equipment. Through the mode of a Mesh controller and a Mesh proxy built in the gateway equipment, the original basic mode of controlling Mesh networking through an Easy Mesh protocol is not changed, and the transportability is strong.
When the program is updated, as long as a Mesh Controller program and a Mesh Agent program are online in a background program package of the gateway device, the background server can automatically perform software upgrade on the gateway device, and a Mesh Controller and a Mesh proxy are configured in the gateway device, so that the Mesh Controller and the Mesh proxy are respectively positioned in two isolated network spaces of the gateway device and respectively monitor two internal ports connected with a forwarding module.
In some embodiments, a software upgrade of the gateway device may also be triggered by the user. For example, a user may log in a client interface of the gateway device, perform software upgrade on the gateway device, and then the background server responds to configure the Mesh proxy and the Mesh controller in the gateway device.
With reference to the internal architecture of the gateway device 200 shown in fig. 2, when software upgrade is performed on the gateway device 200, two isolated Network spaces 200a and 200b are first created in the gateway device, and specifically, a Network NameSpace (a function provided by a Linux kernel to implement Network virtualization can be used to create a plurality of isolated Network spaces), so as to provide stable isolation capability. Programs corresponding to the Mesh controller 220 and the Mesh proxy 230 are respectively placed in the Network spaces 200a and 200b to isolate the traffic of the Mesh controller 220 and the Mesh proxy 230 by Network NameSpace.
By combining the isolation capability of Network NameSpace with the flexible scheduling and forwarding capability of an OpenFlow flow table based on an SDN technology, the scheduling control of networking flow is realized, the control message and the data message are isolated inside the gateway device 200, the safety and controllability are ensured, and the flow scheduling is more efficient and flexible.
Further, an information query interface 240 connected to the Mesh controller 220 may be further configured in the gateway device 200, and is used for querying real-time network information of the Mesh network, including networking topology, device rate, and the like. The information query interface 240 can be used for querying information through a Netlink message or an Ioctl function M33And sending a query message to the Mesh controller 220 to obtain the real-time network information of the Mesh network.
After the Mesh controller and the Mesh proxy in the gateway equipment are configured, Mesh networking can be automatically carried out, and the gateway equipment is accessed into a Mesh network.
Fig. 3 shows main steps of a Mesh networking process in an embodiment, specifically, a process of a gateway device accessing a Mesh network. As shown in fig. 1 and fig. 3, the Mesh networking process includes: step S310, the Mesh agent broadcasts a networking message carrying gateway equipment parameters; step S320, the forwarding module identifies the networking message as a control message according to the flow table; step S330, the forwarding module forwards the networking message to the Mesh controller; and step S340, the Mesh controller processes the networking message, sends a control message carrying Mesh network parameters to the Mesh proxy according to the gateway equipment parameters, and accesses the gateway equipment to the Mesh network.
The specific principle of controlling Mesh networking by the Mesh controller is the prior art, and the invention is not explained again. According to the invention, the Mesh controller is arranged in the gateway equipment and is used as a networking center for control, so that the management of Mesh networking can be centralized to the gateway side, the management and control capability of the gateway equipment is improved, the wireless function of the gateway equipment can be compatible with the Mesh networking, and the functions of synchronous configuration, roaming switching, information collection and the like of the Mesh networking are ensured.
Specifically, with reference to fig. 3, after the gateway device is connected to the Mesh network, the method further includes: step S350, the Mesh controller sends a control message carrying the wireless parameters of the Mesh network to the Mesh proxy; step S360, the Mesh agent modifies the initial wireless parameters of the gateway equipment through the wireless drive module of the gateway equipment connected with the Mesh agent according to the wireless parameters; the wireless fidelity (WIFI) parameter includes a Service Set Identifier (SSID) of the Mesh network.
Referring to fig. 2, the Mesh proxy 230 may specifically send a Netlink message/Ioctl function M to the wireless driver module 25033The WIFI parameter of the gateway equipment is modified in the mode of (1), and the functions of information synchronization and roaming networking are realized.
Therefore, the wireless capability of the gateway equipment can be fully utilized through the Mesh controller and the Mesh proxy, and the wireless function of the gateway equipment is added into the Mesh networking in a compatible mode.
The networking equipment hung below the gateway equipment is also accessed into the Mesh network in the same way. Specifically, networking equipment hung below the gateway equipment broadcasts a networking message carrying networking equipment parameters; the networking message is monitored by the Ethernet port/WLAN port of the gateway equipment and sent to the forwarding module, and then the forwarding module forwards the networking message to the Mesh controller. And the Mesh controller processes the networking message, and sends a control message carrying Mesh network parameters to the networking equipment according to the networking equipment parameters so as to access the networking equipment into the Mesh network. Subsequently, the Mesh controller sends a control message carrying the wireless parameters of the Mesh network to the networking equipment, so as to realize the functions of synchronous configuration, roaming switching and the like of the Mesh networking.
Therefore, because the gateway equipment and the networking equipment both support Easy Mesh protocol, the automatic Mesh networking of cross-manufacturers can be realized, the expansion is convenient, and special Mesh products do not need to be purchased; a Mesh controller is arranged in the gateway equipment, so that the centralized control of Mesh networking and flow scheduling is realized, the safety is improved, and cost reduction and efficiency improvement are realized; through the built-in Mesh controller and the Mesh proxy of the gateway equipment, the wireless function of the gateway equipment can be added into the Mesh networking, and the cooperative networking is realized.
In the above embodiments, the network environment of the Mesh networking may be a home network, an enterprise network, a community network, and the like, and the Mesh networking and traffic scheduling may be implemented by using the Mesh networking traffic scheduling method of the present invention through a gateway device. Especially for a home network, the traditional home Mesh networking needs a user to purchase a set of Mesh products and has certain operation capability to realize the Mesh networking. By adopting the Mesh networking flow scheduling method, as long as the home gateway and the lower-hanging networking equipment support Easy Mesh protocol (any network equipment supporting Easy Mesh protocol can be used, and the range and equipment type of the home Mesh networking are greatly expanded), software upgrading can be automatically carried out on the home gateway, Mesh networking between the home gateway and the lower-hanging networking equipment is realized, the Mesh networking flow is flexibly scheduled, and the control node of the whole home network can also process user data more easily at the upper layer.
The embodiment of the invention also provides gateway equipment which can be used for realizing the Mesh networking traffic scheduling method described in any embodiment. The features and principles of Mesh networking and traffic scheduling described in any of the above embodiments may be applied to the following gateway device embodiments. In the following embodiments of the gateway device, no repeated description of features and principles has been set forth.
Fig. 4 shows the main modules of the gateway device in an embodiment, and referring to fig. 4, the gateway device 400 includes: a built-in Mesh controller 420 and a Mesh proxy 430; and a forwarding module 410 configured to: receiving the control message and the data message, distinguishing the control message and the data message according to the flow table, forwarding the control message to a corresponding receiving target, wherein the receiving target comprises a Mesh controller 420 and a Mesh proxy 430, and forwarding the data message according to a forwarding rule of the flow table.
The internal architecture of the gateway device 400 may refer to fig. 2, further, the forwarding module 410, the Mesh controller 420, and the Mesh proxy 430 may further respectively configure a functional unit for implementing corresponding flow steps in each embodiment of the Mesh networking traffic scheduling method, and the gateway device 400 may further include modules for implementing other flow steps in each embodiment of the Mesh networking traffic scheduling method, which may specifically refer to the description of each embodiment described above, and a description thereof is not repeated here.
The gateway device 400 of this embodiment can implement isolation of the control packet and the data packet inside thereof, and distinguish forwarding through the forwarding module 410, thereby ensuring security and controllability, and using the flow table to make traffic scheduling more efficient and flexible; by means of the built-in Mesh controller 420, management of Mesh networking is centralized to the gateway side, management and control capabilities of the gateway device 400 are improved, and functions of synchronous configuration, roaming switching, information collection and the like of the Mesh networking are guaranteed; and through the built-in Mesh controller 420 and the Mesh proxy 430, the gateway device 400 is utilized to complete Mesh networking, reduce cost and improve efficiency.
An embodiment of the present invention further provides a gateway device, and fig. 5 shows main modules of the gateway device 500. The gateway device 500 of this embodiment is different from the gateway device 400 shown in fig. 4 in that the internal architecture and module composition of the gateway device 500 in this embodiment are not limited to those shown in fig. 2 and fig. 4, and the gateway device 500 may be any general electronic device with execution capability as long as it can implement the Mesh networking traffic scheduling method of each embodiment described above.
Referring to fig. 5, the gateway apparatus 500 includes: a memory 510 for storing executable instructions; the processor 520 is configured to execute the executable instructions to implement the Mesh networking traffic scheduling method described in any of the above embodiments. For example, the steps shown in fig. 1 and 3 are implemented by processor 520 executing executable instructions stored in memory 510.
The memory 510 and the processor 520 may be connected by a bus 530. Bus 530 may be one or more of any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The gateway device 500 of this embodiment can also implement isolation and differentiated forwarding of the control packet and the data packet inside thereof, so as to ensure security and controllability and make traffic scheduling more efficient and flexible; by means of a built-in Mesh Controller program, management of Mesh networking is centralized to a gateway side, management and control capabilities of gateway equipment 500 are improved, and functions of synchronous configuration, roaming switching, information collection and the like of the Mesh networking are guaranteed; and through the built-in Mesh Controller program and the Mesh Agent program, the gateway device 500 is utilized to complete Mesh networking, reduce cost and improve efficiency.
The embodiment of the present invention further provides a computer-readable storage medium, which is used for storing a program, and when the program is executed by a processor, the method for scheduling traffic in Mesh networking described in any of the above embodiments is implemented. For example, the storage medium may be formed as a usb disk, and store therein a program code, and when the storage medium runs on a terminal device, specifically, runs in a gateway device, the program code enables the gateway device to implement the Mesh networking traffic scheduling method described in any of the above embodiments.
The program code may execute entirely on the gateway device as a stand-alone software package or partially on the gateway device and partially on a remote computing device. The remote computing device may be connected to the gateway device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), to implement the Mesh networking traffic scheduling method in each of the embodiments described above, so that the gateway device implements Mesh networking and traffic scheduling.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.
Claims (12)
1. A Mesh networking traffic scheduling method is characterized by comprising the following steps:
a forwarding module of the gateway equipment receives the control message and the data message;
the forwarding module distinguishes the control message and the data message according to a flow table;
the forwarding module forwards the control packet to a corresponding receiving target, wherein the receiving target comprises a Mesh controller and a Mesh proxy which are arranged in the gateway device; and
and the forwarding module forwards the data message according to the forwarding rule of the flow table.
2. The Mesh networking traffic scheduling method of claim 1, wherein after the forwarding module distinguishes the control packet and the data packet according to a flow table, the method further comprises:
and the forwarding module allocates different scheduling priorities to the control message and the data message according to the flow table, so that the scheduling priority of the control message is higher than that of the data message.
3. The Mesh networking traffic scheduling method of claim 1, wherein the receiving destination further comprises a networking device hung down by the gateway device;
the forwarding module forwards the control packet to a corresponding receiving target:
if the control message is forwarded inside the gateway device, forwarding is performed through internal ports of the gateway device, which are respectively monitored by the Mesh controller and the Mesh proxy;
if the control message is forwarded between the gateway equipment and the networking equipment, forwarding is carried out through the corresponding internal port and the external interface of the gateway equipment;
wherein the external interface comprises an Ethernet interface and a wireless local area network interface.
4. The Mesh networking traffic scheduling method of claim 1, wherein the flow table is a flow table that employs an OpenFlow protocol;
the control message is a control text conforming to Easy Mesh protocol.
5. The Mesh networking traffic scheduling method of claim 1, further comprising:
at least the Mesh proxy broadcasts a networking message carrying gateway equipment parameters;
when the forwarding module distinguishes the control message and the data message according to the flow table, the networking message is identified as the control message;
when the forwarding module forwards the control packet to a corresponding receiving target, forwarding the networking packet to the Mesh controller; and
and the Mesh controller processes the networking message, sends a control message carrying Mesh network parameters to the Mesh proxy according to the gateway equipment parameters, and accesses the gateway equipment to the Mesh network.
6. The Mesh networking traffic scheduling method of claim 5, further comprising:
the networking equipment hung below the gateway equipment broadcasts a networking message carrying the parameters of the networking equipment; and
the Mesh controller also sends the control message carrying the Mesh network parameters to the networking equipment according to the networking equipment parameters, and the networking equipment is accessed to the Mesh network.
7. The Mesh networking traffic scheduling method of claim 5, wherein after the gateway device is accessed to the Mesh network, the method further comprises:
the Mesh controller sends a control message carrying the wireless parameters of the Mesh network to the Mesh proxy; and
the Mesh proxy modifies the initial wireless parameters of the gateway equipment through a wireless driving module of the gateway equipment connected with the Mesh proxy according to the wireless parameters;
wherein the wireless parameters include a service set identification of the Mesh network.
8. The Mesh networking traffic scheduling method of claim 5, wherein before the Mesh proxy broadcasts the networking packet carrying the gateway device parameters, the method further comprises:
and configuring the Mesh controller and the Mesh proxy in the gateway equipment in a software upgrading mode, so that the Mesh controller and the Mesh proxy are respectively positioned in two isolated network spaces of the gateway equipment and respectively monitor two internal ports connected with the forwarding module.
9. The Mesh networking traffic scheduling method of claim 8, further comprising:
and configuring an information query interface connected with the Mesh controller in the gateway equipment, wherein the information query interface is used for querying real-time network information of the Mesh network.
10. A gateway device, comprising:
the built-in Mesh controller and the Mesh agent are arranged in the network; and
a forwarding module configured to: receiving a control message and a data message, distinguishing the control message from the data message according to a flow table, forwarding the control message to a corresponding receiving target, wherein the receiving target comprises the Mesh controller and the Mesh proxy, and forwarding the data message according to a forwarding rule of the flow table.
11. A gateway device, comprising:
a memory for storing executable instructions;
a processor, configured to execute the executable instructions to implement the Mesh networking traffic scheduling method according to any one of claims 1 to 9.
12. A computer-readable storage medium storing a program, wherein the program, when executed by a processor, implements the Mesh networking traffic scheduling method according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110505077.4A CN113260072B (en) | 2021-05-10 | 2021-05-10 | Mesh networking traffic scheduling method, gateway equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110505077.4A CN113260072B (en) | 2021-05-10 | 2021-05-10 | Mesh networking traffic scheduling method, gateway equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113260072A true CN113260072A (en) | 2021-08-13 |
CN113260072B CN113260072B (en) | 2022-06-14 |
Family
ID=77222410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110505077.4A Active CN113260072B (en) | 2021-05-10 | 2021-05-10 | Mesh networking traffic scheduling method, gateway equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113260072B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116017412A (en) * | 2022-12-27 | 2023-04-25 | 苏州融硅新能源科技有限公司 | Gateway equipment, method and system for acquiring equipment information |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130176850A1 (en) * | 2012-01-09 | 2013-07-11 | Telefonaktiebolaget L M Ericcson (Publ) | Expanding network functionalities for openflow based split-architecture networks |
US20170149614A1 (en) * | 2015-11-23 | 2017-05-25 | Telefonaktiebolaget L M Ericsson (Publ) | Method and system for an internet of things (iot) device access in a software-defined networking (sdn) system |
CN109856985A (en) * | 2019-03-08 | 2019-06-07 | 江西冠中图像科技有限责任公司 | A kind of control system based on bluetooth Mesh network |
CN112017413A (en) * | 2020-08-17 | 2020-12-01 | 苏州博联科技有限公司 | Optimization method for Bluetooth Mesh remote control system |
CN112235617A (en) * | 2020-09-25 | 2021-01-15 | 烽火通信科技股份有限公司 | Set-top box WiFi-based networking method for realizing easy mesh and set-top box |
-
2021
- 2021-05-10 CN CN202110505077.4A patent/CN113260072B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130176850A1 (en) * | 2012-01-09 | 2013-07-11 | Telefonaktiebolaget L M Ericcson (Publ) | Expanding network functionalities for openflow based split-architecture networks |
US20170149614A1 (en) * | 2015-11-23 | 2017-05-25 | Telefonaktiebolaget L M Ericsson (Publ) | Method and system for an internet of things (iot) device access in a software-defined networking (sdn) system |
CN109856985A (en) * | 2019-03-08 | 2019-06-07 | 江西冠中图像科技有限责任公司 | A kind of control system based on bluetooth Mesh network |
CN112017413A (en) * | 2020-08-17 | 2020-12-01 | 苏州博联科技有限公司 | Optimization method for Bluetooth Mesh remote control system |
CN112235617A (en) * | 2020-09-25 | 2021-01-15 | 烽火通信科技股份有限公司 | Set-top box WiFi-based networking method for realizing easy mesh and set-top box |
Non-Patent Citations (1)
Title |
---|
陈礼波等: "基于SDN的IPRAN目标架构与组网模型探讨", 《电信科学》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116017412A (en) * | 2022-12-27 | 2023-04-25 | 苏州融硅新能源科技有限公司 | Gateway equipment, method and system for acquiring equipment information |
CN116017412B (en) * | 2022-12-27 | 2024-04-16 | 苏州融硅新能源科技有限公司 | Gateway equipment, method and system for acquiring equipment information |
Also Published As
Publication number | Publication date |
---|---|
CN113260072B (en) | 2022-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6538986B2 (en) | Virtual machine packet control | |
CN113364610B (en) | Network equipment management method, device and system | |
CA3148150A1 (en) | Connection establishment method,device,integrated access backhaul node and storage medium | |
US10263808B2 (en) | Deployment of virtual extensible local area network | |
CN109474936B (en) | Internet of things communication method and system applied among multiple lora gateways | |
EP2974147B1 (en) | Loop-free hybrid network | |
CN106452857A (en) | Method for generating configuration information and network control unit | |
CN109768908B (en) | VXLAN configuration method, equipment and system | |
CN111224821A (en) | Security service deployment system, method and device | |
US10404544B2 (en) | Network topology determining method and apparatus, and centralized network status information storage device | |
CN106506717A (en) | A kind of automatic discovering method and equipment | |
CN109936490B (en) | Virtual home network sharing method and system based on VXLAN and OpenFlow | |
US20190215191A1 (en) | Deployment Of Virtual Extensible Local Area Network | |
CN108055156B (en) | AP management method and device | |
CN113260072B (en) | Mesh networking traffic scheduling method, gateway equipment and storage medium | |
CN104734930B (en) | Method and device for realizing access of Virtual Local Area Network (VLAN) to Variable Frequency (VF) network and Fiber Channel Frequency (FCF) | |
CN113660127B (en) | Networking control method, device and equipment based on easy mesh networking | |
CN108494679B (en) | Linux system based SSH message forwarding method and device for realizing router | |
CN108881027B (en) | Method and device for realizing radius message forwarding of router based on Linux system | |
WO2015188331A1 (en) | 转发控制方法、驱动器及sdn网络 forwarding control method, driver and sdn network | |
CN115209250A (en) | Method and device for OLT to manage edge ONT through multiple channels | |
CN112333014B (en) | Device management method and communication apparatus | |
WO2015058413A1 (en) | Data configuration method and network management server | |
CN115426334B (en) | Network address generation method, device, routing equipment and storage medium | |
CN114172762B (en) | Communication method, device, system and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |