Wireless mesh network wide area networking method

文档序号:1784713 发布日期:2019-12-06 浏览:26次 中文

阅读说明:本技术 一种无线mesh网络广域组网方法 (Wireless mesh network wide area networking method ) 是由 严纬华 于 2018-05-28 设计创作,主要内容包括:本发明提出一种无线mesh网络广域组网方法,该方法在无线mesh网络中选择一个终端节点作为跨网路由节点,跨网路由节点连接专用交换机,专用交换机连接无线上网卡模块,通过无线上网卡模块连接广域网络,获得无线上网时无线上网卡模块在广域网中的IP地址;所述无线mesh网络中各本地节点拥有域内路由表及所有链接,各节点采用动态路由,且路由链接状态向域内所有其它节点广播;当两个无线mesh网络进行交互时,根据无线上网卡模块的IP地址建立广域网连接关系,实现数据转发。本发明采用这种组网方式,用以实现二个任意点的不同区域的mesh设备间的数据的互联互通,可以大大拓展mesh的应用。(The invention provides a wireless mesh network wide area networking method, which selects a terminal node in a wireless mesh network as a cross-network routing node, wherein the cross-network routing node is connected with a special switch, the special switch is connected with a wireless internet card module, the wide area network is connected through the wireless internet card module, and an IP address of the wireless internet card module in the wide area network is obtained when the wireless internet is accessed; each local node in the wireless mesh network has a routing table and all links in the domain, each node adopts dynamic routing, and the routing link state is broadcasted to all other nodes in the domain; when the two wireless mesh networks are interacted, a wide area network connection relation is established according to the IP address of the wireless network card module, and data forwarding is realized. The invention adopts the networking mode to realize the interconnection and intercommunication of data between mesh devices in different areas of two arbitrary points, and can greatly expand the application of mesh.)

1. A wireless mesh network wide area networking method is characterized by comprising the following steps:

(1) selecting a terminal node in the wireless mesh network as a cross-network routing node, wherein the cross-network routing node is connected with a special switch, the special switch is connected with a wireless internet access card module, and the wireless internet access card module is connected with a wide area network to obtain an IP address of the wireless internet access card module in the wide area network during wireless internet access;

(2) Each local node in the wireless mesh network has a routing table and all links in the domain, each node adopts dynamic routing, and the routing link state is broadcasted to all other nodes in the domain; the communication steps of any two wireless mesh networks A and B are as follows:

When a terminal node in the wireless mesh network A receives data of which the destination address belongs to the wireless mesh network B, selecting a corresponding link according to a routing table in the domain and forwarding the data to a cross-network routing node of a local network; the cross-network routing node of the wireless mesh network A forwards data to a connected private switch, the private switch obtains an IP address from a wide area network through a wireless internet card module, the IP address serves as a source address, the IP address of a wireless internet card module of the wireless mesh network B serves as a destination address, and the data are forwarded to the wireless internet card module in the wireless mesh network B in a point-to-point manner;

And the private switch of the wireless mesh network B selects a corresponding link from the intra-domain routing table of the wireless mesh network B for forwarding according to the actual destination address of the data packet.

2. The method as claimed in claim 1, wherein when forwarding data, each routing node calculates link cost according to the routing link status information of the intra-domain routing table and other nodes, and selects the path with the minimum link cost to forward data.

3. the method as claimed in claim 2, wherein the link cost is calculated by the formula:

L=k×T+kC

In the formula, L represents link overhead, kt is a delay weight coefficient, and kc is a flow weight coefficient; t is a delay function, T is T1/Tave, T1 is the current delay, and Tave is the average delay in the time period K before T1; c is a flow function, (C1+ Cave)/2/Cc, C1 is the flow at the current moment, Cave is the average flow in the time period K before T1, Cc is the network nominal bandwidth, and is a constant.

4. The wireless mesh network wide area networking method according to claim 3, wherein the wireless network card module comprises an application processor and a wireless module, wherein the application processor adopts a single-chip embedded router, and a plurality of 10/100BASE-TX ports, LAN/WAN switch ports and USB interfaces are integrated on the single-chip embedded router; the wireless module is connected with a USB interface of the single-chip embedded router and used for realizing wireless PPP dialing, and the wireless module supports 2G, 3G and 4G wireless networks.

5. The method as claimed in claim 4, wherein the peripheral circuit of the private exchange is composed of FLASH and DDR, the private exchange has a plurality of 10/100BASE-TX ports, each 10/100BASE-TX port is divided into an extranet port and an intranet port, the intranet port is connected to the user equipment, and the extranet port is connected to the cross-network routing node and the wireless network card module.

6. The method as claimed in claim 5, wherein the private exchange is a Link Street series 88E6065/60XX high performance exchange of marvell, or RTL8309SOC exchange controller of RealTek.

7. the method as claimed in claim 6, wherein the private switch supports at least three VLAN protocols, supports a physical port-based VLAN setting policy, supports an IP subnet-based VLAN setting policy, and supports an IP multicast-based VLAN setting.

8. the method as claimed in claim 7, wherein the private exchange is used for counting the online connection status, legal terminal information, and online connection information of all terminals in the mesh subnet where the private exchange is located; counting the instant routing path, the instant service load and the instant service capability of the terminal, and performing routing optimization according to the counting result; and sending the optimized routing information to the routing state table of each terminal.

Technical Field

the invention relates to the field of wireless mesh networks, in particular to a wireless mesh network wide area networking method.

Background

A wireless Mesh network, i.e. a wireless Mesh network (also called a "multi-hop network"), such as a Mesh network and ZigBee, is a dynamic and continuously expandable network architecture, and the core of the network architecture is a mobile hop-type routing technology, which is a communication technology based on an IP protocol and can realize data transmission between wireless devices. Is a wireless local area network communication technology. The wide area networking is that the interconnection and intercommunication among devices among networks are realized through a wide area network, such as a wired INTERNET network, or a wireless 3G/4G network, or both.

For mesh cross-network communication, such as two mesh networks, which are separated by a certain distance, it is necessary to realize communication between the two mesh terminal devices through other communication networks, such as a wired network or a wireless 3G/4G network. Data communication between two mesh terminal devices usually needs to be realized by setting an address penetration policy through a router (router). The method has the advantages of complex required equipment, high layout difficulty, complex address penetration strategy and high cost.

Disclosure of Invention

the purpose of the invention is as follows: in order to solve the technical problem, the invention provides a wireless mesh network wide area networking method.

The technical scheme is as follows: the technical scheme provided by the invention is as follows:

A wireless mesh network wide area networking method comprises the following steps:

(1) Selecting a terminal node in the wireless mesh network as a cross-network routing node, wherein the cross-network routing node is connected with a special switch, the special switch is connected with a wireless internet access card module, and the wireless internet access card module is connected with a wide area network to obtain an IP address of the wireless internet access card module in the wide area network during wireless internet access;

(2) each local node in the wireless mesh network has a routing table and all links in the domain, each node adopts dynamic routing, and the routing link state is broadcasted to all other nodes in the domain; the communication steps of any two wireless mesh networks A and B are as follows:

When a terminal node in the wireless mesh network A receives data of which the destination address belongs to the wireless mesh network B, selecting a corresponding link according to a routing table in the domain and forwarding the data to a cross-network routing node of a local network; the cross-network routing node of the wireless mesh network A forwards data to a connected private switch, the private switch obtains an IP address from a wide area network through a wireless internet card module, the IP address serves as a source address, the IP address of a wireless internet card module of the wireless mesh network B serves as a destination address, and the data are forwarded to the wireless internet card module in the wireless mesh network B in a point-to-point manner;

and the private switch of the wireless mesh network B selects a corresponding link from the intra-domain routing table of the wireless mesh network B for forwarding according to the actual destination address of the data packet.

Further, the calculation formula of the link overhead is as follows:

L=k×T+kC

In the formula, L represents link overhead, kt is a delay weight coefficient, and kc is a flow weight coefficient; t is a delay function, T is T1/Tave, T1 is the current delay, and Tave is the average delay in the time period K before T1; c is a flow function, (C1+ Cave)/2/Cc, C1 is the flow at the current moment, Cave is the average flow in the time period K before T1, Cc is the network nominal bandwidth, and is a constant.

furthermore, the wireless network card module comprises an application processor and a wireless module, wherein the application processor adopts a single-chip embedded router, and a plurality of 10/100BASE-TX ports, LAN/WAN switch ports and USB interfaces are integrated on the single-chip embedded router; the wireless module is connected with a USB interface of the single-chip embedded router and used for realizing wireless PPP dialing, and the wireless module supports 2G, 3G and 4G wireless networks.

Furthermore, the peripheral circuit of the private switch consists of FLASH and DDR, the private switch is provided with a plurality of 10/100BASE-TX ports, each 10/100BASE-TX port is divided into an outer network port and an inner network port, the inner network port is connected with user equipment, and the outer network port is connected with a cross-network routing node and a wireless network card module.

Further, the special exchanger is a high-performance exchanger of Link Street series 88E6065/60XX model of marvell, or an RTL8309SOC exchange controller of RealTek.

Further, the private switch supports at least three VLAN protocols, a VLAN setting policy based on a physical port, a VLAN setting policy based on an IP subnet, and a VLAN setting based on an IP multicast.

Further, the private branch exchange is used for counting the online connection states, legal terminal information and online connection information of all terminals of the mesh subnet where the private branch exchange is located; counting the instant routing path, the instant service load and the instant service capability of the terminal, and performing routing optimization according to the counting result; and sending the optimized routing information to the routing state table of each terminal.

Has the advantages that: compared with the prior art, the invention has the following advantages:

the invention integrates the application processor and the wireless module into a host single board, thus realizing the design of a high-performance, high-reliability and miniaturized integrated machine;

The networking mode is used for realizing interconnection and intercommunication of data between mesh devices in different areas of two arbitrary points, and can greatly expand application of mesh.

drawings

FIG. 1 is a network topology of the present invention;

FIG. 2 is a block diagram of a wireless network card;

FIG. 3 is an architecture diagram of a private branch exchange;

FIG. 4 is a flow diagram of intra-network transmission in a networking embodiment;

fig. 5 is a flow chart of internetwork transmission in a networking embodiment.

Detailed Description

The present invention will be further described with reference to the accompanying drawings.

for the communication between two wireless terminal devices in the same 3G (or 4G) wireless network, the IP addresses are unique, so that the data (IP data packet) communication between the two terminal devices can be realized by the IP address addressing.

Similarly, for the communication between two mesh terminal devices in the same mesh network, the data (IP data packet) communication between the two terminal devices can be realized by addressing because the IP address (or similar IP address) is unique.

Based on the principle, the invention provides a wireless mesh network wide area networking method, which comprises the following steps:

(1) Selecting a terminal node in the wireless mesh network as a cross-network routing node, wherein the cross-network routing node is connected with a special switch, the special switch is connected with a wireless internet access card module, and the wireless internet access card module is connected with a wide area network to obtain an IP address of the wireless internet access card module in the wide area network during wireless internet access;

(2) each local node in the wireless mesh network has a routing table and all links in the domain, each node adopts dynamic routing, and the routing link state is broadcasted to all other nodes in the domain; the communication steps of any two wireless mesh networks A and B are as follows:

when a terminal node in the wireless mesh network A receives data of which the destination address belongs to the wireless mesh network B, selecting a corresponding link according to a routing table in the domain and forwarding the data to a cross-network routing node of a local network; the cross-network routing node of the wireless mesh network A forwards data to a connected private switch, the private switch obtains an IP address from a wide area network through a wireless internet card module, the IP address serves as a source address, the IP address of a wireless internet card module of the wireless mesh network B serves as a destination address, and the data are forwarded to the wireless internet card module in the wireless mesh network B in a point-to-point manner;

And the private switch of the wireless mesh network B selects a corresponding link from the intra-domain routing table of the wireless mesh network B for forwarding according to the actual destination address of the data packet.

when data forwarding is carried out, each routing node calculates link cost according to the routing link state information of the routing table in the domain and other nodes, and selects a path with the minimum link cost to carry out data forwarding. The calculation formula of the link overhead is as follows:

L=k×T+kC

In the formula, L represents link overhead, kt is a delay weight coefficient, and kc is a flow weight coefficient; t is a delay function, T is T1/Tave, T1 is the current delay, and Tave is the average delay in the time period K before T1; c is a flow function, (C1+ Cave)/2/Cc, C1 is the flow at the current moment, Cave is the average flow in the time period K before T1, Cc is the network nominal bandwidth, and is a constant.

the networking architecture in the above scheme is shown in fig. 1.

Fig. 1 includes a wireless network card module and a private switch, where the architecture of the wireless network card module is as shown in fig. 2, the wireless network card mainly includes two parts, an AP (application processor) and a wireless module, where the AP is designed by adopting a technical scheme of a single-chip embedded router (e.g. MT7620), integrates multiple 10/100BASE-TX ports, integrates a LAN/WAN switch, supports a USB user port, and implements wireless PPP dialing through a USB port; the wireless module adopts a wireless network supporting 2G, 3G and 4G, a wireless module (such as SIM7100CE and SIM7600CE) scheme design supporting SIM/USIM card and providing USB interface.

The architecture of the private switch is as shown in fig. 3, the private switch adopts the technical scheme of a private high-speed processor, the periphery of the private switch consists of FLASH and DDR, at least three 10/100BASE-TX ports are provided, and the private switch is an integrated LAN/WAN switch; two of the external network ports, such as P1 and P2, are connected to the side of the wireless link and can be respectively connected with a mesh terminal and a wireless network card; at least one intranet port, such as P3 and P4, is two intranet ports, that is, connected to the user side, and can be connected to local user digital terminal equipment, such as a PC, a video capture card, and the like, respectively; the high-performance switch can be selected from 88E6065/60XX high-performance switches of Link Street series of marvell series or RTL8309SOC switching controllers of RealTek.

The special high-performance switch needs to support three layers of protocols and not less than three VLANs; supporting a VLAN setting strategy based on a physical port; the VLAN setting strategy based on the IP is supported, and the VLAN setting strategy based on the IP subnet is supported; VLAN setting based on IP multicast is supported;

a) such as VLAN 1P 1, [email protected] IP address-based or Port-based;

b) Such as VLAN 2P 3/P4, [email protected] IP address-based or Port-based;

c) such as VLAN 3P 3/P4, [email protected] IP address-based or Port-based;

The main functions to be implemented by the dedicated high-performance switch include: all users of each mesh subnet are counted in an online connection state, legal users are counted, and online connection is counted; user real-time routing path statistics and routing optimization; counting the user instant service load and optimizing the route; user instant service capability statistics and route optimization are carried out; and sends the routing state table to each user.

the following describes details of an intra-network data transmission process and an inter-network data transmission process with reference to the networking embodiment shown in fig. 1, which are shown in fig. 4 and fig. 5, respectively.

The transmission flow in the network is as follows: when a terminal node receives a data packet, analyzing a data destination address, and when the terminal node is judged not to belong to the local, forwarding the data destination address to the next terminal according to a routing table of the local network; if the local network port is judged to belong to the local network port, the data is forwarded to the local network port.

The internetwork transmission flow is as follows:

the two mesh networks are assumed to be a network A and a network B respectively;

when a terminal node in the network A receives a data packet, analyzing that the data packet does not belong to the local or network A, and defaulting to a router node sent to the A, wherein the router node sends the data to the next terminal according to a dynamic routing table; the next terminal executes the step of analyzing and forwarding again until the data packet reaches the cross-network routing node a of A; the cross-network routing node a forwards the data packet to a special exchanger; the special exchanger analyzes the data packet through the embedded router of the network card, analyzes that the data packet does not belong to local, does not belong to the network A, but belongs to the network B, repackages the data, uses the IP address obtained through wireless internet access as a source address during encapsulation, uses the internet card IP address of the network B as a destination address, and finally transmits the data to the wireless internet card module of the network B in a point-to-point manner through the wireless module of the network card.

The wireless network card module of the network B receives the data packet, and the embedded router analyzes the source address data in the data packet and forwards the data to the cross-network routing node B of the network B; and the cross-network routing node b sends the data to the corresponding terminal node.

the above description is only of the preferred embodiments of the present invention, and it should be noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention and these are intended to be within the scope of the invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于分布式聚合系统的标签转发表的建立及报文转发方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!