CN108024275B - WDS-based data transmission method and device, electronic equipment and readable medium - Google Patents

WDS-based data transmission method and device, electronic equipment and readable medium Download PDF

Info

Publication number
CN108024275B
CN108024275B CN201711285742.3A CN201711285742A CN108024275B CN 108024275 B CN108024275 B CN 108024275B CN 201711285742 A CN201711285742 A CN 201711285742A CN 108024275 B CN108024275 B CN 108024275B
Authority
CN
China
Prior art keywords
bridging
link
mac address
bridge
links
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.)
Active
Application number
CN201711285742.3A
Other languages
Chinese (zh)
Other versions
CN108024275A (en
Inventor
俞成龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201711285742.3A priority Critical patent/CN108024275B/en
Publication of CN108024275A publication Critical patent/CN108024275A/en
Application granted granted Critical
Publication of CN108024275B publication Critical patent/CN108024275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a data transmission method, a device, electronic equipment and a readable medium based on a wireless distributed system, wherein the method comprises the following steps: the non-root bridge wireless access point AP establishes at least two bridging links through at least two radio frequency ports of the non-root bridge wireless access point AP and root bridge wireless access points AP corresponding to the at least two radio frequency ports respectively according to preset configuration information; the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links to be sent to the root bridge wireless access point AP corresponding to the bridging links; and detecting the state of the bridging link according to a preset period, and if one bridging link fails, uniformly dispersing the uplink messages of the bridging link to other bridging links. The problem that WDS implementation cost is high and reliability is low in the prior art can be solved.

Description

WDS-based data transmission method and device, electronic equipment and readable medium
Technical Field
The present invention relates to the field of Wireless technologies, and in particular, to a data transmission method and apparatus based on a Wireless Distribution System (WDS), an electronic device, and a readable medium.
Background
WDS is mainly used to connect two wireless local area networks, and along with rapid development of wireless technology and popularization of wireless applications, WDS is widely used in video return, driving test and other scenarios, in which a non-root bridge (wireless access point, AP) and a previous-level bridge device (root bridge) establish wireless bridging.
With the wide application of WDS, the number of user terminals is continuously increased, the data transmission amount is also increased rapidly, the existing WDS meets the increased data amount by enhancing the performance of hardware equipment, however, the realization cost is higher; and the user terminal under the non-root bridge returns data through the bridge connection path, and if the wireless bridge connection path is interrupted, the paths of all the devices under the non-root bridge are completely interrupted, the service of the user is also interrupted, and the reliability of the network is low.
Disclosure of Invention
Embodiments of the present invention provide a data transmission method and apparatus based on a WDS, an electronic device, and a readable medium, so as to solve the problems of high implementation cost and low reliability of the WDS in the prior art.
A method for data transmission based on a wireless distribution system, the method comprising:
the non-root bridge wireless access point AP establishes at least two bridging links through at least two radio frequency ports of the non-root bridge wireless access point AP and root bridge wireless access points AP corresponding to the at least two radio frequency ports respectively according to preset configuration information;
the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links to be sent to the root bridge wireless access point AP corresponding to the bridging links;
and detecting the state of the bridging link according to a preset period, and if one bridging link fails, uniformly dispersing the uplink messages of the bridging link to other bridging links.
Optionally, the step of receiving, by the non-root bridge wireless access point AP, an uplink packet sent by the wired terminal through the access switch, and uniformly distributing the uplink packet to the at least two bridging links to send to the root bridge wireless access point AP corresponding to the bridging links specifically includes:
the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links to be sent to the root bridge wireless access point AP corresponding to the bridging links based on a source MAC and a target MAC of the uplink message; or the like, or, alternatively,
and the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links based on the source MAC of the uplink message so as to be sent to the root bridge wireless access point AP corresponding to the bridging links.
Optionally, if one of the bridging links fails, the step of uniformly dispersing the uplink packet of the bridging link to the other bridging links includes:
if the first bridging link fails, collecting MAC addresses of wired terminals under wired ports of non-root bridge APs, constructing broadcast messages including the MAC addresses, sending the broadcast messages to a superior access switch connected with the root bridge APs corresponding to the available bridging links through the available bridging links to update an MAC address table of the superior access switch, and uniformly dispersing uplink messages of the first bridging links to the available bridging links.
Optionally, if the first bridging link fails, the step of collecting the MAC address of the wired terminal under the wired port of the non-root bridge AP, constructing a broadcast packet including the MAC address, and sending the broadcast packet through the available bridging link to the higher access switch connected to the root bridge AP corresponding to the available bridging link to update the MAC address table of the higher access switch, and the step of uniformly dispersing the uplink packet of the first bridging link to the available bridging link specifically includes:
if the first bridge link is offline, collecting MAC addresses of wired terminals under wired ports of non-root bridge APs;
according to a balancing algorithm, a MAC address list which needs to be guided to other available bridging links is obtained by screening from the collected MAC addresses;
and constructing a broadcast message comprising the MAC address in the MAC address list, sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through other available bridging links, updating an MAC address table of the superior access switch, and uniformly dispersing the uplink message of the first bridging link to the available bridging link.
Optionally, the method further includes:
if the second bridge connection link is on line, collecting MAC addresses of wired terminals under the wired port of the non-root bridge AP;
according to a balancing algorithm, screening out an MAC address list needing to be guided to a second bridging link from the collected MAC addresses;
and constructing a broadcast message comprising the MAC address in the MAC address list, and sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through the available bridging link, so that the superior access switch updates the MAC address in the MAC address list to the MAC address list of the superior access switch, and the uplink message of the available bridging link is uniformly dispersed to the second bridging link.
A data transmission apparatus based on a wireless distribution system, comprising: a bridging link establishing unit, a message balancing unit and a detection unit; wherein the content of the first and second substances,
the device comprises a bridging link establishing unit, a root bridge wireless access point AP and a control unit, wherein the bridging link establishing unit is used for establishing at least two bridging links through at least two radio frequency ports of the bridging link establishing unit and the root bridge wireless access point AP respectively corresponding to the at least two radio frequency ports according to preset configuration information;
the message balancing unit is used for receiving an uplink message sent by a wired terminal through an access switch, and uniformly dispersing the uplink message to at least two bridging links to send the uplink message to a root bridge wireless Access Point (AP) corresponding to the bridging links;
and the detection unit is used for detecting the state of the bridge link according to a preset period, and if one bridge link fails, the uplink messages of the bridge link are uniformly dispersed to other bridge links.
Optionally, the message balancing unit is specifically configured to:
receiving an uplink message sent by a wired terminal through an access switch, and uniformly dispersing the uplink message to at least two bridging links based on a source MAC and a target MAC of the uplink message so as to send the uplink message to a root bridge wireless Access Point (AP) corresponding to the bridging links; or the like, or, alternatively,
receiving an uplink message sent by a wired terminal through an access switch, and based on a source MAC of the uplink message, uniformly dispersing the uplink message to at least two bridging links to send the uplink message to a root bridge wireless access point AP corresponding to the bridging links.
Optionally, the detecting unit is specifically configured to, if the first bridging link fails, collect an MAC address of a wired terminal under a wired port of a non-root bridge AP, construct a broadcast packet including the MAC address, send the broadcast packet through an available bridging link to a higher access switch connected to the root bridge AP corresponding to the available bridging link, so as to update an MAC address table of the higher access switch, and evenly disperse an uplink packet of the first bridging link to the available bridging link.
Optionally, the detecting unit is specifically configured to collect, if the first bridge link goes offline, an MAC address of the wired terminal under the wired port of the non-root bridge AP; according to a balancing algorithm, a MAC address list which needs to be guided to other available bridging links is obtained by screening from the collected MAC addresses; and constructing a broadcast message comprising the MAC address in the MAC address list, sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through other available bridging links, updating an MAC address table of the superior access switch, and uniformly dispersing the uplink message of the first bridging link to the available bridging link.
Optionally, the apparatus further comprises: the MAC updating unit is used for collecting the MAC address of the wired terminal under the wired port of the non-root bridge AP if the second bridge link is on line; according to a balancing algorithm, screening out an MAC address list needing to be guided to a second bridging link from the collected MAC addresses; and constructing a broadcast message comprising the MAC address in the MAC address list, and sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through the available bridging link, so that the superior access switch updates the MAC address in the MAC address list to the MAC address list of the superior access switch, and the uplink message of the available bridging link is uniformly dispersed to the second bridging link.
An electronic device comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program which, when executed by the processing unit, causes the processing unit to carry out the steps of the method as described above.
A computer readable medium storing a computer program executable by a computing device, the program, when run on the computing device, causing the computing device to perform the steps of the method as described above.
The invention has the following beneficial effects:
in the data transmission method, the apparatus, the electronic device, and the readable medium based on the WDS according to the embodiments of the present invention, the non-root bridge wireless access point AP establishes at least two bridge links through at least two radio frequency ports of the non-root bridge wireless access point AP and the root bridge wireless access point AP corresponding to the at least two radio frequency ports according to preset configuration information, receives an uplink packet sent by a wired terminal through an access switch, and distributes the uplink packet to the at least two bridge links in a balanced manner to send the uplink packet to the root bridge wireless access point AP corresponding to the bridge links; when the bridge link has no fault, the multiple paths of aggregation can be realized, the available bandwidth of the wireless end is increased, and the equipment cost is not increased; detecting the state of the bridging link according to a preset period, and if one bridging link fails, uniformly dispersing uplink messages of the bridging link to other bridging links; that is, if one bridge link fails, the traffic of the failed bridge link can be quickly guided to the available bridge link, thereby avoiding service interruption and improving network reliability.
Drawings
FIG. 1 is a flow chart of a WDS-based data transmission method in an embodiment of the present invention;
FIG. 2 is a flow chart of a method of an embodiment of a WDS based data transmission method of the present invention;
fig. 3a is a schematic view of an application scenario of a first embodiment of a WDS-based data transmission method according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of an application scenario of a WDS-based data transmission method according to a second embodiment of the present invention
Fig. 4 is a schematic structural diagram of a WDS-based data transmission apparatus according to an embodiment of the present invention.
Detailed Description
Aiming at the problems of high WDS implementation cost and low reliability in the prior art, the WDS-based data transmission method provided by the embodiment of the invention comprises the following steps. The flow of the method of the invention is shown in figure 1, and the execution steps are as follows:
101, a non-root bridge AP establishes at least two bridging links through at least two radio frequency ports of the non-root bridge AP and root bridge wireless access points AP corresponding to the at least two radio frequency ports respectively according to preset configuration information;
here, the non-root bridge AP may be provided with a plurality of radio frequency cards of different frequency bands. And the non-root bridge AP establishes a bridging link between each radio frequency port and the corresponding root bridge AP according to preset configuration information, and the bridging links are bridged respectively and backup mutually to provide link redundancy.
102, a non-root bridge AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links to be sent to a root bridge AP corresponding to the bridging links;
here, specifically: the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links to be sent to the root bridge wireless access point AP corresponding to the bridging links based on a source MAC and a target MAC of the uplink message; or the like, or, alternatively,
and the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links based on the source MAC of the uplink message so as to be sent to the root bridge wireless access point AP corresponding to the bridging links.
Further, the downlink messages between each bridge link are not forwarded to each other.
Step 103, detecting the state of the bridge link according to a preset period, and if one bridge link fails, uniformly dispersing the uplink messages of the bridge link to other bridge links.
Specifically, if a first bridge link fails, collecting an MAC address of a wired terminal under a wired port of a non-root bridge AP, constructing a broadcast message including the MAC address, and sending the broadcast message to a higher access switch connected to a root bridge AP corresponding to an available bridge link through the available bridge link, so as to update an MAC address table of the higher access switch and uniformly disperse an uplink message of the first bridge link to the available bridge link; therefore, the root bridge AP receives the broadcast message and updates its MAC address table, and meanwhile, the root bridge AP continues to send the broadcast message to its upper access switch, so that the upper access switch synchronously updates the MAC address table.
If one path of bridge links is Down (Link Down), collecting MAC addresses of wired terminals under wired ports of non-root bridge APs;
according to a balancing algorithm, a MAC address list which needs to be guided to other available bridging links is obtained by screening from the collected MAC addresses;
constructing a broadcast message including an MAC address in the MAC address list, sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to an available bridging link through other available bridging links, updating an MAC address table of the superior access switch, and uniformly dispersing an uplink message of the first bridging link to the available bridging link; therefore, the root bridge AP receives the broadcast message and updates its MAC address table, and meanwhile, the root bridge AP continues to send the broadcast message to its upper access switch, so that the upper access switch synchronously updates the MAC address table.
Further, the method further comprises:
if the second bridge connection Link is on line (Link Up), collecting the MAC address of the wired terminal under the wired port of the non-root bridge AP;
according to a balancing algorithm, screening out an MAC address list needing to be guided to a second bridging link from the collected MAC addresses;
constructing a broadcast message including an MAC address in the MAC address list, and sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to an available bridge link through the available bridge link, so that the superior access switch updates the MAC address in the MAC address list to an MAC address table of the superior access switch, and uplink messages of the available bridge link are uniformly dispersed to the second bridge link; therefore, the root bridge AP receives the broadcast message and updates its MAC address table, and meanwhile, the root bridge AP continues to send the broadcast message to its upper access switch, so that the upper access switch synchronously updates the MAC address table.
Fig. 2 provides an application scenario illustration of a method flowchart of an embodiment of a WDS-based data transmission method according to the present invention, and fig. 3a and 3b are application scenarios of the embodiment shown in fig. 2; as shown in fig. 3a, the non-root bridge AP is an AP of a two-way radio frequency card; in particular, the amount of the solvent to be used,
step 201, a non-root bridge AP establishes bridge links WDS 1 and WDS 2 through two radio frequency ports of the non-root bridge AP and a root bridge 1 and a root bridge 2 corresponding to the two radio frequency ports according to preset configuration information;
step 202, receiving an uplink message sent by the wired terminal through the access switch (user side-switch), and aggregating the two bridging links: for an uplink message, based on source MAC/source MAC + destination MAC balance, the flow of the uplink message is hashed to two different bridging links in a balanced manner by using a balance algorithm;
here, for the downlink packet, the packets between the two bridge links are not forwarded to each other.
Step 203, periodically detecting the state of the bridge link, and when one path of bridge fails, specifically referring to fig. 3b, if WDS 1 fails, directing the traffic to the other path of WDS 2, specifically as follows:
collecting MAC addresses of wired terminals under a wired port of a non-root bridge AP, constructing broadcast messages including the MAC addresses, sending the broadcast messages to an upper access switch connected with a root bridge AP corresponding to a WDS 2 through an available bridge link (WDS 2) so as to update the MAC addresses of the upper access switch, and guiding uplink messages of the WDS 1 to another WDS 2; as shown in FIG. 3, the broadcast message updates the corresponding MAC address on the access switch from port G0/1 to port G0/2)
Step 204, if any bridge link goes online or offline, the uplink message needs to be dispersed again in a balanced manner:
when WDS 1 bridges the Link Up/Down (Link Up/Link Down):
A) if WDS 1Link Up
Collecting MAC addresses of wired terminals under wired ports of non-root bridge APs;
screening out a MAC address list needing to be drained to a WDS 1 bridging link from the collected MAC addresses according to a balancing algorithm;
and constructing a broadcast message comprising the MAC address in the MAC address list, and sending the broadcast message to an upper access switch connected with a root bridge AP corresponding to each bridge link through a WDS 21 and a WDS 2 bridge link, so that the upper access switch updates the MAC address in the MAC address list into an MAC address table of the upper access switch, and the uplink message of the WDS 2 bridge link is dispersed to the WDS 1 bridge link.
B) If WDS 1Link Down
Collecting MAC addresses of wired terminals under wired ports of non-root bridge APs;
according to a balancing algorithm, an MAC address list needing to be guided to a WDS 2 bridging link is obtained by screening from the collected MAC addresses;
constructing a broadcast message comprising an MAC address in the MAC address list, sending the broadcast message to a superior access switch connected with an AP corresponding to a WDS 2 bridging link through the WDS 2 bridging link, updating an MAC address table of the superior access switch, and uniformly dispersing an uplink message of the first bridging link to an available bridging link; therefore, the root bridge AP receives the broadcast message and updates its MAC address table, and meanwhile, the root bridge AP continues to send the broadcast message to its upper access switch, so that the upper access switch synchronously updates the MAC address table.
Based on the same inventive concept, an embodiment of the present invention provides a data transmission apparatus for WDS, which may be disposed in an AP, and has a structure as shown in fig. 4, including: a bridge link establishing unit 41, a message balancing unit 42 and a detecting unit 43; wherein the content of the first and second substances,
a bridging link establishing unit 41, configured to establish at least two bridging links through at least two radio frequency ports of the bridging link establishing unit and root bridge wireless access points AP corresponding to the at least two radio frequency ports, respectively, according to preset configuration information;
the message balancing unit 42 is configured to receive an uplink message sent by the wired terminal through the access switch, and distribute the uplink message to at least two bridging links in a balanced manner to send the uplink message to a root bridge wireless access point AP corresponding to the bridging links;
the detecting unit 43 is configured to detect a state of the bridge link according to a preset period, and if one bridge link fails, evenly disperse uplink packets of the bridge link to other bridge links.
Optionally, the message balancing unit 42 is specifically configured to:
receiving an uplink message sent by a wired terminal through an access switch, and uniformly dispersing the uplink message to at least two bridging links based on a source MAC and a target MAC of the uplink message so as to send the uplink message to a root bridge wireless Access Point (AP) corresponding to the bridging links; or the like, or, alternatively,
receiving an uplink message sent by a wired terminal through an access switch, and based on a source MAC of the uplink message, uniformly dispersing the uplink message to at least two bridging links to send the uplink message to a root bridge wireless access point AP corresponding to the bridging links.
Optionally, the detecting unit 43 is specifically configured to, if the first bridging link fails, collect an MAC address of a wired terminal under a wired port of a non-root bridge AP, construct a broadcast packet including the MAC address, send the broadcast packet through an available bridging link to a higher access switch connected to a root bridge AP corresponding to the available bridging link, so as to update an MAC address table of the higher access switch, and evenly disperse an uplink packet of the first bridging link to the available bridging link.
Optionally, the detecting unit 43 is specifically configured to collect, if the first bridge link goes down, the MAC address of the wired terminal under the wired port of the non-root bridge AP; according to a balancing algorithm, a MAC address list which needs to be guided to other available bridging links is obtained by screening from the collected MAC addresses; and constructing a broadcast message comprising the MAC address in the MAC address list, sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through other available bridging links, updating an MAC address table of the superior access switch, and uniformly dispersing the uplink message of the first bridging link to the available bridging link.
Optionally, the apparatus further comprises: the MAC updating unit 44 is configured to collect, if the second bridge link is online, an MAC address of the wired terminal under the wired port of the non-root bridge AP; according to a balancing algorithm, screening out an MAC address list needing to be guided to a second bridging link from the collected MAC addresses; and constructing a broadcast message comprising the MAC address in the MAC address list, and sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through the available bridging link, so that the superior access switch updates the MAC address in the MAC address list to the MAC address list of the superior access switch, and the uplink message of the available bridging link is uniformly dispersed to the second bridging link.
It should be understood that the implementation principle and process of the data transmission device of the WDS according to the embodiment of the present invention are similar to those of the above-described embodiment shown in fig. 1, and are not described herein again.
Embodiments of the present invention may also provide an electronic device, including at least one processing unit and at least one storage unit, where the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit is caused to execute the steps of the method described above.
Embodiments of the present invention may also provide a computer readable medium storing a computer program executable by a computing device, the program, when executed on the computing device, causing the computing device to perform the steps of the method as described above.
In the method and the device for data transmission based on WDS provided by the embodiment of the invention, a non-root bridge wireless access point AP establishes at least two bridging links through at least two radio frequency ports of the non-root bridge wireless access point AP and root bridge wireless access points AP respectively corresponding to the at least two radio frequency ports according to preset configuration information, receives an uplink message sent by a wired terminal through an access switch, and uniformly disperses the uplink message to the at least two bridging links to send the uplink message to the root bridge wireless access points AP corresponding to the bridging links; when the bridge link has no fault, the multiple paths of aggregation can be realized, the available bandwidth of the wireless end is increased, and the equipment cost is not increased; detecting the state of the bridging link according to a preset period, and if one bridging link fails, uniformly dispersing uplink messages of the bridging link to other bridging links; that is, if one bridge link fails, the traffic of the failed bridge link can be quickly guided to the available bridge link, thereby avoiding service interruption and improving network reliability.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (12)

1. A data transmission method based on a wireless distribution system, the method comprising:
the non-root bridge wireless access point AP establishes at least two bridging links through at least two radio frequency ports of the non-root bridge wireless access point AP and root bridge wireless access points AP corresponding to the at least two radio frequency ports respectively according to preset configuration information;
the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links to be sent to the root bridge wireless access point AP corresponding to the bridging links;
and detecting the state of the bridging link according to a preset period, and if one bridging link fails, uniformly dispersing the uplink messages of the bridging link to other bridging links.
2. The method according to claim 1, wherein the step of receiving the uplink packet sent by the wired terminal through the access switch by the non-root bridge wireless access point AP, and evenly distributing the uplink packet to at least two bridge links to send to the root bridge wireless access point AP corresponding to the bridge links specifically includes:
the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links to be sent to the root bridge wireless access point AP corresponding to the bridging links based on a source MAC and a target MAC of the uplink message; or the like, or, alternatively,
and the non-root bridge wireless access point AP receives an uplink message sent by a wired terminal through an access switch, and the uplink message is uniformly dispersed to at least two bridging links based on the source MAC of the uplink message so as to be sent to the root bridge wireless access point AP corresponding to the bridging links.
3. The method according to claim 1, wherein the step of, if a path of bridging link fails, uniformly distributing the uplink packets of the path of bridging link to other bridging links specifically includes:
if the first bridging link fails, collecting MAC addresses of wired terminals under wired ports of non-root bridge APs, constructing broadcast messages including the MAC addresses, sending the broadcast messages to a superior access switch connected with the root bridge APs corresponding to the available bridging links through the available bridging links to update an MAC address table of the superior access switch, and uniformly dispersing uplink messages of the first bridging links to the available bridging links.
4. The method according to claim 3, wherein if the first bridging link fails, the step of collecting MAC addresses of wired terminals under non-root-bridge APs and a wired port, constructing a broadcast packet including the MAC addresses, and sending the broadcast packet through an available bridging link to a higher access switch connected to a root-bridge AP corresponding to the available bridging link to update a MAC address table of the higher access switch, and the step of uniformly distributing uplink packets of the first bridging link to the available bridging link specifically includes:
if the first bridged link is down-link,
collecting MAC addresses of wired terminals under wired ports of non-root bridge APs;
according to a balancing algorithm, a MAC address list which needs to be guided to other available bridging links is obtained by screening from the collected MAC addresses;
and constructing a broadcast message comprising the MAC address in the MAC address list, sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through other available bridging links, updating an MAC address table of the superior access switch, and uniformly dispersing the uplink message of the first bridging link to the available bridging link.
5. The method of claim 1, further comprising:
if the second bridge connection link is on line, collecting MAC addresses of wired terminals under the wired port of the non-root bridge AP;
according to a balancing algorithm, screening out an MAC address list needing to be guided to a second bridging link from the collected MAC addresses;
and constructing a broadcast message comprising the MAC address in the MAC address list, and sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through the available bridging link, so that the superior access switch updates the MAC address in the MAC address list to the MAC address list of the superior access switch, and the uplink message of the available bridging link is uniformly dispersed to the second bridging link.
6. A data transmission apparatus based on a wireless distribution system, comprising: a bridging link establishing unit, a message balancing unit and a detection unit; wherein the content of the first and second substances,
the device comprises a bridging link establishing unit, a root bridge wireless access point AP and a control unit, wherein the bridging link establishing unit is used for establishing at least two bridging links through at least two radio frequency ports of the bridging link establishing unit and the root bridge wireless access point AP respectively corresponding to the at least two radio frequency ports according to preset configuration information;
the message balancing unit is used for receiving an uplink message sent by a wired terminal through an access switch, and uniformly dispersing the uplink message to at least two bridging links to send the uplink message to a root bridge wireless Access Point (AP) corresponding to the bridging links;
and the detection unit is used for detecting the state of the bridge link according to a preset period, and if one bridge link fails, the uplink messages of the bridge link are uniformly dispersed to other bridge links.
7. The apparatus according to claim 6, wherein the packet balancing unit is specifically configured to:
receiving an uplink message sent by a wired terminal through an access switch, and uniformly dispersing the uplink message to at least two bridging links based on a source MAC and a target MAC of the uplink message so as to send the uplink message to a root bridge wireless Access Point (AP) corresponding to the bridging links; or the like, or, alternatively,
receiving an uplink message sent by a wired terminal through an access switch, and based on a source MAC of the uplink message, uniformly dispersing the uplink message to at least two bridging links to send the uplink message to a root bridge wireless access point AP corresponding to the bridging links.
8. The apparatus according to claim 6, wherein the detecting unit is specifically configured to, if the first bridging link fails, collect MAC addresses of wired terminals under wired ports of non-root-bridge APs, construct a broadcast packet including the MAC addresses, and send the broadcast packet through an available bridging link to a higher access switch connected to a root-bridge AP corresponding to the available bridging link to update a MAC address table of the higher access switch, so as to evenly distribute uplink packets of the first bridging link to the available bridging link.
9. The apparatus according to claim 8, wherein the detecting unit is specifically configured to collect MAC addresses of the wired terminals under the wired port of the non-root bridge AP if the first bridge link is down; according to a balancing algorithm, a MAC address list which needs to be guided to other available bridging links is obtained by screening from the collected MAC addresses; and constructing a broadcast message comprising the MAC address in the MAC address list, sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through other available bridging links, updating an MAC address table of the superior access switch, and uniformly dispersing the uplink message of the first bridging link to the available bridging link.
10. The apparatus of claim 6, further comprising: the MAC updating unit is used for collecting the MAC address of the wired terminal under the wired port of the non-root bridge AP if the second bridge link is on line; according to a balancing algorithm, screening out an MAC address list needing to be guided to a second bridging link from the collected MAC addresses; and constructing a broadcast message comprising the MAC address in the MAC address list, and sending the broadcast message to a superior access switch connected with a root bridge AP corresponding to the available bridging link through the available bridging link, so that the superior access switch updates the MAC address in the MAC address list to the MAC address list of the superior access switch, and the uplink message of the available bridging link is uniformly dispersed to the second bridging link.
11. An electronic device, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the steps of the method according to any one of claims 1 to 5.
12. A computer-readable medium, in which a computer program executable by a computing device is stored, which program, when run on the computing device, causes the computing device to perform the steps of the method according to any one of claims 1 to 5.
CN201711285742.3A 2017-12-07 2017-12-07 WDS-based data transmission method and device, electronic equipment and readable medium Active CN108024275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711285742.3A CN108024275B (en) 2017-12-07 2017-12-07 WDS-based data transmission method and device, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711285742.3A CN108024275B (en) 2017-12-07 2017-12-07 WDS-based data transmission method and device, electronic equipment and readable medium

Publications (2)

Publication Number Publication Date
CN108024275A CN108024275A (en) 2018-05-11
CN108024275B true CN108024275B (en) 2021-06-18

Family

ID=62078864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711285742.3A Active CN108024275B (en) 2017-12-07 2017-12-07 WDS-based data transmission method and device, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN108024275B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609841B (en) * 2019-09-18 2020-09-15 镁佳(北京)科技有限公司 Method, device, readable medium and electronic equipment for asynchronously processing messages

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729605A (en) * 2009-12-16 2010-06-09 杭州华三通信技术有限公司 Method and device for bonding WDS links
CN102026246A (en) * 2010-11-24 2011-04-20 北京星网锐捷网络技术有限公司 Link aggregation processing method, system and wireless access point
CN104936228A (en) * 2014-03-21 2015-09-23 上海贝尔股份有限公司 Method for flow control used in dual connection system and device thereof
CN105493555A (en) * 2013-09-26 2016-04-13 英特尔Ip公司 Bearer split ratios for dual connectivity systems
WO2017077522A1 (en) * 2015-11-06 2017-05-11 Telefonaktiebolaget Lm Ericsson (Publ) Handling in-device coexistence issues

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729605A (en) * 2009-12-16 2010-06-09 杭州华三通信技术有限公司 Method and device for bonding WDS links
CN102026246A (en) * 2010-11-24 2011-04-20 北京星网锐捷网络技术有限公司 Link aggregation processing method, system and wireless access point
CN105493555A (en) * 2013-09-26 2016-04-13 英特尔Ip公司 Bearer split ratios for dual connectivity systems
CN104936228A (en) * 2014-03-21 2015-09-23 上海贝尔股份有限公司 Method for flow control used in dual connection system and device thereof
WO2017077522A1 (en) * 2015-11-06 2017-05-11 Telefonaktiebolaget Lm Ericsson (Publ) Handling in-device coexistence issues

Also Published As

Publication number Publication date
CN108024275A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
US11895024B2 (en) Method, device and computer readable medium for delivering data-plane packets by using separate transport service VNFC
CN104753828B (en) A kind of SDN controller, data center systems and routing connection method
US20180091395A1 (en) Network system, network control method and control apparatus
US8902888B2 (en) Two-stage port-channel resolution in a multistage fabric switch
CN101523827A (en) IP flow-based load balancing over a plurality of wireless network links
CN109379297A (en) A kind of method and apparatus for realizing flow load balance
CN106130920A (en) A kind of message forwarding method and device
CN102904825A (en) Hash based message transmission method and device
CN111884875A (en) Offline device determination method and device
CN106375355B (en) Load balancing processing method and device
US20160021668A1 (en) Data distribution system, distribution device, terminal device, and data distribution method
CN108024275B (en) WDS-based data transmission method and device, electronic equipment and readable medium
CN110278094A (en) Link restoring method and device, system, storage medium, electronic device
CN103248567A (en) BFD conversation message transmission method and equipment
EP3474504B1 (en) Leaf-to-spine uplink bandwidth advertisement to leaf-connected servers
Ammar et al. Dynamic SDN controllers-switches mapping for load balancing and controller failure handling
CN112188482B (en) Identification ID configuration method and device, and identification ID acquisition method and device
CN106789650B (en) Wide area network acceleration method and device based on IP
CN106790411A (en) The non-polymeric port cascade system and method for virtual switch and physical switches
CN110995609A (en) Message sending method and device, electronic equipment and storage medium
CN109845329B (en) Communication method, network equipment and application management unit
US11012347B2 (en) Communication apparatus, communication control method, and communication system for multilink communication simultaneously using a plurality of communication paths
CN102572903B (en) The selection of access support node and disaster recovery method, system and access control equipment
CN107566278B (en) Transmission method, device and system
CN111510331A (en) Network fault analysis method, device, server and 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