CN108551679B - Wireless device communication method and system based on local area network Mesh technology - Google Patents

Wireless device communication method and system based on local area network Mesh technology Download PDF

Info

Publication number
CN108551679B
CN108551679B CN201810351807.8A CN201810351807A CN108551679B CN 108551679 B CN108551679 B CN 108551679B CN 201810351807 A CN201810351807 A CN 201810351807A CN 108551679 B CN108551679 B CN 108551679B
Authority
CN
China
Prior art keywords
gateway
default configuration
gateways
area network
local area
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
CN201810351807.8A
Other languages
Chinese (zh)
Other versions
CN108551679A (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.)
Shenzhen Galaxywind Network Systems Co ltd
Original Assignee
Shenzhen Galaxywind Network Systems 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 Shenzhen Galaxywind Network Systems Co ltd filed Critical Shenzhen Galaxywind Network Systems Co ltd
Priority to CN201810351807.8A priority Critical patent/CN108551679B/en
Publication of CN108551679A publication Critical patent/CN108551679A/en
Application granted granted Critical
Publication of CN108551679B publication Critical patent/CN108551679B/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/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Abstract

The invention provides a wireless device communication method and a system based on a local area network Mesh technology, which relate to the technical field of computer networks and comprise the following steps: each gateway in the local area network broadcasts the type and the serial number respectively, and a Master gateway is determined according to the priority of the type and the serial number; acquiring default configuration through a Master gateway, and sending the default configuration to other gateways; based on default configuration, a transmission channel is established between the Master gateway and other gateways; the terminal equipment communicates the message data through the transmission channel. The invention can avoid network paralysis caused by the fault and downtime of the Master gateway, has the advantages of simple installation and deployment, strong expansibility, simple construction, low cost and low use cost, and meets the requirements of large-range and long-distance coverage.

Description

Wireless device communication method and system based on local area network Mesh technology
Technical Field
The invention relates to the technical field of computer networks, in particular to a wireless device communication method and system based on a local area network Mesh technology.
Background
Currently, a technology similar to the wide area network Mesh (wireless Mesh network) technology for communicating with wireless devices is ZigBee Mesh, and the networking mode is as shown in fig. 1. The ZigBee Mesh has the following characteristics: there is one zigbee coordinator (coordinator) responsible for networking the whole mesh and as a node for communication with other networks. And the dynamic communication link is realized by using a distance vector-based on-demand routing algorithm, and the algorithm ensures the adaptivity, reliability and robustness of the mesh link. However, first, the ZigBee Mesh Link is a wireless communication Link, and when the network is arranged in a large range, the wireless Link data is increased, the collision is increased, and the data interaction efficiency is lowered. Especially, when the networking is changed and the network fluctuates, a large amount of packet loss is likely to be caused. Second, the ZigBee Coordinator plays a role in networking and functions as a bridge for communicating with other networks, so that a large amount of data can be processed through the ZigBee Coordinator. This leads to two potential hazards: 1) the ZigBee Coordinator has higher requirement on hardware performance, so that the ZigBee Coordinator has enough data processing capacity; 2) once the ZigBee Coordinator fails or goes down, networking cannot be completed, and the formed network enters a paralysis state.
Disclosure of Invention
In view of the above, the present invention aims to provide a wireless device communication method and system based on the local area network Mesh technology, so as to avoid network paralysis caused by a Master gateway failure and downtime, and meanwhile, the method and system have the advantages of simple installation and deployment, strong expansibility, simple construction, low cost, and low use cost, and meet the requirements of large-scale and long-distance coverage.
In a first aspect, an embodiment of the present invention provides a wireless device communication method based on a local area network Mesh technology, where the method includes:
each gateway in the local area network broadcasts the type and the serial number respectively, and a Master gateway is determined according to the priority of the type and the serial number;
acquiring default configuration through the Master gateway, and sending the default configuration to other gateways;
based on the default configuration, a transmission channel is established between the Master gateway and the other gateways;
and the terminal equipment communicates the message data through the transmission channel.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where each gateway in a local area network broadcasts a type and a sequence number respectively, and determines a Master gateway according to priorities of the type and the sequence number, where the method includes:
each gateway in the local area network sends a broadcast message respectively, wherein the broadcast message comprises the type and the serial number;
each gateway judges whether the priority of the first type and the sequence number of the gateway is higher than the priority of the second type and the sequence number of the other gateways;
if not, stopping sending the broadcast message;
if yes, continuing to send the broadcast message, and judging whether other broadcast messages are received within preset time;
and if not, determining the corresponding gateway as the Master gateway.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the default configuration includes a first default configuration and a second default configuration, and the acquiring the default configuration by the Master gateway and sending the default configuration to the other gateways includes:
acquiring the first default configuration originally issued by the local area network or the access server iCE through the Master gateway;
judging whether the Master gateway is connected to the iCE or not;
if yes, the second current default configuration of the iCE is obtained again, and the second default configuration is sent to other gateways;
if not, the first default configuration is sent to the other gateways.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the communicating, by the terminal device, message data through the transmission channel includes:
the terminal equipment transmits the message data to a corresponding first gateway, and the first gateway transmits the message data to the Master gateway through the transmission channel;
and the Master gateway forwards the message data to a second gateway through the transmission channel to complete communication.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the method further includes:
and connecting the local area network according to the Master gateway and other gateways which are connected with the router through the switch, and a plurality of terminal devices which are respectively connected with the corresponding Master gateway and the gateways.
In a second aspect, an embodiment of the present invention further provides a wireless device communication system based on a local area network Mesh technology, where the wireless device communication system includes:
a Master gateway determining unit, which is used for broadcasting the type and the serial number by each gateway in the local area network respectively and determining the Master gateway according to the priority of the type and the serial number;
a sending configuration unit, configured to obtain a default configuration through the Master gateway, and send the default configuration to the other gateways;
a channel establishing unit, configured to establish a transmission channel between the Master gateway and the other gateways based on the default configuration;
and the communication unit is used for the terminal equipment to communicate the message data through the transmission channel.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the determining a Master gateway unit includes:
each gateway in the local area network sends a broadcast message respectively, wherein the broadcast message comprises the type and the serial number;
each gateway judges whether the priority of the first type and the sequence number of the gateway is higher than the priority of the second type and the sequence number of other gateways, and stops sending the broadcast message if the priority of the first type and the sequence number of the gateway is not higher than the priority of the second type and the sequence number of other gateways;
and if so, continuing to send the broadcast message, judging whether other broadcast messages are received within a preset time, and if not, determining the corresponding gateway as the Master gateway.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the default configuration includes a first default configuration and a second default configuration, and the sending configuration unit includes:
acquiring the first default configuration originally issued by the local area network or the access server iCE through the Master gateway;
and judging whether the Master gateway is connected to the iCE, if so, re-acquiring the current second default configuration of the iCE, sending the second default configuration to other gateways, and if not, sending the first default configuration to other gateways.
With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, where the communication unit includes:
the terminal equipment transmits the message data to a corresponding first gateway, and the first gateway transmits the message data to the Master gateway through the transmission channel;
and the Master gateway forwards the message data to a second gateway through the transmission channel to complete communication.
With reference to the second aspect, an embodiment of the present invention provides a fourth possible implementation manner of the second aspect, where the system further includes:
and the local area network connection unit is used for connecting the local area network according to the Master gateway and other gateways which are connected with the router through the switch, and a plurality of terminal devices are respectively connected with the corresponding Master gateway and the gateways.
The embodiment of the invention has the following beneficial effects: the invention provides a wireless device communication method and system based on a local area network Mesh technology, comprising the following steps: each gateway in the local area network broadcasts the type and the serial number respectively, and a Master gateway is determined according to the priority of the type and the serial number; acquiring default configuration through a Master gateway, and sending the default configuration to other gateways; based on default configuration, a transmission channel is established between the Master gateway and other gateways; the terminal equipment communicates the message data through the transmission channel. The invention can avoid network paralysis caused by the fault and downtime of the Master gateway, has the advantages of simple installation and deployment, strong expansibility, simple construction, low cost and low use cost, and meets the requirements of large-range and long-distance coverage.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a ZigBee Mesh networking scheme provided in the prior art;
fig. 2 is a flowchart of a wireless device communication method based on the local area network Mesh technology according to an embodiment of the present invention;
fig. 3 and 4 are topological diagrams of a local area network Mesh according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a principle of determining a Master gateway according to a second embodiment of the present invention;
fig. 6 is a flowchart of a networking method of a local area network Mesh according to a second embodiment of the present invention;
fig. 7 is a schematic diagram of a wireless device communication system based on the local area network Mesh technology according to a third embodiment of the present invention.
Icon:
100-determining a Master gateway unit; 200-a transmission configuration unit; 300-establishing a channel unit; 400-a communication unit.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, ZigBee Mesh Link is a wireless communication Link, and when a large-range network is arranged, wireless Link data are increased, conflicts are increased, and the data interaction efficiency is lowered. Especially, when the networking is changed and the network fluctuates, a large amount of packet loss is likely to be caused. The ZigBee Coordinator plays a networking role and plays a role in communicating with other networks, so that a large amount of data can be processed through the ZigBee Coordinator. This leads to two potential hazards: 1) the ZigBee Coordinator has higher requirement on hardware performance, so that the ZigBee Coordinator has enough data processing capacity; 2) once the ZigBee Coordinator fails or goes down, networking cannot be completed, and the formed network enters a paralysis state.
Based on the above, the wireless device communication method and system based on the local area network Mesh technology provided by the embodiment of the invention can avoid network paralysis caused by the Master gateway failure and downtime, and meanwhile, have the advantages of simple installation and deployment, strong expansibility, simple construction, low cost and low use cost, and meet the requirements of large-range and long-distance coverage.
To facilitate understanding of the present embodiment, first, a wireless device communication method based on the local area network Mesh technology disclosed in the present embodiment is described in detail.
The first embodiment is as follows:
fig. 2 is a flowchart of a wireless device communication method based on the local area network Mesh technology according to an embodiment of the present invention.
The core of the embodiment is to construct an efficient, stable and reliable transmission channel between gateways by using a mature routing protocol of an IP network, a stable and reliable transmission protocol such as UDP/TCP and the like, and data of terminal equipment is transmitted through the channel.
Referring to fig. 2, the wireless device communication method based on the local area network Mesh technology includes the following steps:
step S110, each gateway in the local area network broadcasts a Type (Type) and a Serial Number (SN) respectively, and a Master gateway is determined according to the priority of the Type and the serial number;
specifically, the gateways discover each other through a two-layer protocol of a local area network, the Type determines the performance of gateway equipment, and the gateway with strong equipment performance and larger SN is automatically and preferentially selected as the Master gateway.
Step S120, obtaining the default configuration through the Master gateway, and sending the default configuration to other gateways;
specifically, the initial default configuration may be a default local area network configuration, or a configuration issued by an iCE (iwu link Cloud Computing Environment, access server) last time; the iCE may have the latest configuration configured by the administrator, and the Master gateway may acquire the latest configuration and take effect as the default configuration after connecting to the iCE.
Step S130, based on default configuration, a transmission channel is established between the Master gateway and other gateways;
step S140, the terminal device communicates the message data through the transmission channel.
Specifically, firstly, the terminal device transmits the message data to a corresponding first gateway, and the first gateway transmits the message data to a Master gateway through a transmission channel; and then, the Master gateway forwards the message data to a second gateway through a transmission channel to complete communication.
Before step S110, the local area network is turned on by: according to the method, a Master gateway and other gateways are connected with a router through an exchanger, and a plurality of terminal devices are respectively connected with the corresponding Master gateway and the gateway to connect a local area network. Fig. 3 and 4 show two types of local area network Mesh.
As shown in fig. 3, the lan includes a router, a plurality of gateways (one of which is a Master gateway) connected to the router via a switch, and a plurality of terminals respectively connected to the gateways. All data of the Mesh of the local area network are finally gathered to the Master gateway, under the condition that the quantity of gateways and sub-devices in the Mesh of the local area network is large, the requirement on the forwarding processing capacity of the Master gateway is high, therefore, a variety can be derived from the Mesh of the local area network, a networking diagram is shown in figure 4, a special Master gateway device is erected in the local area network, the operation and forwarding capacity of the device is enough to support the forwarding and processing of all data of the Mesh, and the device is forcibly formulated as the Master gateway, therefore, all management and service data can be gathered to the Master gateway device, and if the device needs to interact with an external network, the management and service data can be uniformly forwarded to the wide area network through the Master gateway.
In the wireless device communication method based on the local area network Mesh technology provided by the embodiment, since the Mesh is mainly TCP/IP communication, network oscillation does not cause 2.4G communication quality; compared with the ZigBee Mesh, the Master gateway automatically elects, and network breakdown caused by the fault and downtime of the Master gateway can be avoided; as known from the networking mode, the local area network Mesh automatically completes networking, so that the installation and deployment are simple, the expansibility is strong, the construction is simple, and the cost is low; all data transmission is completed in the local area network, the flow of an operator is not consumed, the use cost is low, the problem that remote transmission cannot be carried out between 2.4G terminal equipment is solved, and the requirements of large-range and remote coverage can be met.
Example two:
fig. 5 is a schematic diagram illustrating a principle of determining a Master gateway according to a second embodiment of the present invention.
In the present embodiment, a detailed description will be given of a plurality of steps of the above-described embodiment.
Referring to fig. 5, each gateway broadcasts a respective Type and SN, and the gateways perform message interaction. Therefore, in step S110 of the wireless device communication method based on the local area network Mesh technology, the method for determining the Master gateway includes the following steps:
firstly, each gateway in a local area network respectively sends a broadcast message, wherein the broadcast message comprises a type and a serial number;
secondly, each gateway judges whether the priority of the first type and the sequence number of the gateway is higher than the priority of the second type and the sequence number of the other gateway; and stopping sending the broadcast message under the condition that the broadcast message is not transmitted; and if so, continuing to send the broadcast message, judging whether other broadcast messages are received within the preset time, and if not, determining the corresponding gateway as the Master gateway. That is, if the self is the most preferable, the broadcast message is continuously sent, and no other broadcast message is received in 30s, that is, the self is determined to be the Master gateway.
In addition, under the condition that a new gateway is temporarily added into the local area network, the new gateway broadcasts the Type and the SN of the new gateway, if a Master gateway exists in the local area network, the Master gateway sends a message of completing election to the new gateway, and the new gateway stops sending the broadcast message. And the Master gateway broadcasts to inform the Master identity of the Master gateway, maintains the keep-alive connection with each non-Master gateway, and reselects the Master gateway if the keep-alive connection is interrupted.
Further, the default configuration includes a first default configuration and a second default configuration, referring to fig. 6, in step S120 of the wireless device communication method based on the local area network Mesh technology, after the device in the local area network is powered on and started and the Master gateway is determined, the method further includes:
step S210, a Master gateway acquires a first default configuration originally issued by a local area network or an access server iCE;
specifically, the first default configuration may be a default local area network configuration or a configuration issued by the iCE last time.
Step S220, judging whether the Master gateway is connected to the iCE; if yes, go to step S231; if not, go to step S232;
step S231, re-acquiring the current second default configuration of the iCE, and sending the second default configuration to another gateway;
specifically, the second default configuration is the latest configuration issued by the iCE.
Step S232, the first default configuration is sent to other gateways.
The Master gateway issues the default device to other gateways and then starts to maintain the service, that is, the data communication is performed through the transmission channel in the above embodiment.
Example three:
fig. 7 is a schematic diagram of a wireless device communication system based on the local area network Mesh technology according to a third embodiment of the present invention.
The embodiment of the invention also provides a wireless equipment communication system based on the local area network Mesh technology, which is used for realizing the wireless equipment communication method based on the local area network Mesh technology. As shown in fig. 7, the wireless device communication system based on the local area network Mesh technology includes the following units:
a determining Master gateway unit 100, configured to broadcast the type and the sequence number respectively by each gateway in the local area network, and determine a Master gateway according to the priority of the type and the sequence number;
a sending configuration unit 200, configured to obtain a default configuration through a Master gateway, and send the default configuration to another gateway;
a channel establishing unit 300, configured to establish a transmission channel between the Master gateway and another gateway based on a default configuration;
a communication unit 400, configured to communicate the message data through the transmission channel by the terminal device.
Further, determining the Master gateway unit 100 includes:
each gateway in the local area network respectively sends broadcast messages, and the broadcast messages comprise types and serial numbers;
each gateway judges whether the priority of the first type and the sequence number of the gateway is higher than the priority of the second type and the sequence number of the other gateway, and stops sending the broadcast message if the priority of the first type and the sequence number of the gateway is not higher than the priority of the second type and the sequence number of the other gateway;
and if so, continuing to send the broadcast message, judging whether other broadcast messages are received within a preset time, and if not, determining the corresponding gateway as the Master gateway.
Further, the default configuration includes a first default configuration and a second default configuration, and the sending configuration unit 200 includes:
acquiring a first default configuration originally issued by a local area network or an access server iCE through a Master gateway;
and judging whether the Master gateway is connected to the iCE, if so, re-acquiring the current second default configuration of the iCE, sending the second default configuration to other gateways, and if not, sending the first default configuration to other gateways.
Further, the communication unit 400 includes:
the terminal equipment transmits the message data to a corresponding first gateway, and the first gateway transmits the message data to a Master gateway through a transmission channel;
and the Master gateway forwards the message data to the second gateway through the transmission channel to complete communication.
Further, the wireless device communication system based on the local area network Mesh technology further includes:
and the local area network connection unit is used for connecting the Master gateway and other gateways through the switch and the router, and the plurality of terminal devices are respectively connected with the corresponding Master gateway and the gateway to connect the local area network.
The system provided by the embodiment of the present invention has the same implementation principle and technical effect as the foregoing method embodiment, and for the sake of brief description, no mention is made in the system embodiment, and reference may be made to the corresponding contents in the foregoing method embodiment.
The embodiment of the invention has the following beneficial effects: the invention provides a wireless device communication method and system based on a local area network Mesh technology, comprising the following steps: each gateway in the local area network broadcasts the type and the serial number respectively, and a Master gateway is determined according to the priority of the type and the serial number; acquiring default configuration through a Master gateway, and sending the default configuration to other gateways; based on default configuration, a transmission channel is established between the Master gateway and other gateways; the terminal equipment communicates the message data through the transmission channel. The invention can avoid network paralysis caused by the fault and downtime of the Master gateway, has the advantages of simple installation and deployment, strong expansibility, simple construction, low cost and low use cost, and meets the requirements of large-range and long-distance coverage.
The embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor implements the steps of the wireless device communication method based on the local area network Mesh technology provided in the above embodiment when executing the computer program.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the wireless device communication method based on the local area network Mesh technology in the above-mentioned embodiment are executed.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A wireless device communication method based on a local area network Mesh technology is characterized by comprising the following steps:
each gateway in the local area network broadcasts the type and the serial number respectively, and a Master gateway is determined according to the priority of the type and the serial number; wherein the type determines a performance of the gateway;
acquiring default configuration through the Master gateway, and sending the default configuration to other gateways;
based on the default configuration, a transmission channel is established between the Master gateway and the other gateways;
the terminal equipment communicates message data through the transmission channel;
the default configuration includes a first default configuration and a second default configuration, and the acquiring the default configuration through the Master gateway and sending the default configuration to the other gateways includes:
acquiring the first default configuration originally issued by the local area network or the access server iCE through the Master gateway;
judging whether the Master gateway is connected to the iCE or not;
if yes, the second current default configuration of the iCE is obtained again, and the second default configuration is sent to other gateways;
if not, the first default configuration is sent to the other gateways.
2. The method of claim 1, wherein each gateway in the lan broadcasts a type and a sequence number, and determines a Master gateway according to priorities of the type and the sequence number, comprising:
each gateway in the local area network sends a broadcast message respectively, wherein the broadcast message comprises the type and the serial number;
each gateway judges whether the priority of the first type and the sequence number of the gateway is higher than the priority of the second type and the sequence number of the other gateways;
if not, stopping sending the broadcast message;
if yes, continuing to send the broadcast message, and judging whether other broadcast messages are received within preset time;
and if not, determining the corresponding gateway as the Master gateway.
3. The method of claim 1, wherein the terminal device communicates message data via the transmission channel, comprising:
the terminal equipment transmits the message data to a corresponding first gateway, and the first gateway transmits the message data to the Master gateway through the transmission channel;
and the Master gateway forwards the message data to a second gateway through the transmission channel to complete communication.
4. The method of claim 1, further comprising:
and connecting the local area network according to the Master gateway and other gateways which are connected with the router through the switch, and a plurality of terminal devices which are respectively connected with the corresponding Master gateway and the gateways.
5. A wireless device communication system based on a local area network Mesh technology, comprising:
a Master gateway determining unit, which is used for broadcasting the type and the serial number by each gateway in the local area network respectively and determining the Master gateway according to the priority of the type and the serial number; wherein the type determines a performance of the gateway;
a sending configuration unit, configured to obtain a default configuration through the Master gateway, and send the default configuration to the other gateways;
a channel establishing unit, configured to establish a transmission channel between the Master gateway and the other gateways based on the default configuration;
the communication unit is used for the terminal equipment to communicate the message data through the transmission channel;
the default configuration includes a first default configuration and a second default configuration, and the sending configuration unit includes:
acquiring the first default configuration originally issued by the local area network or the access server iCE through the Master gateway;
and judging whether the Master gateway is connected to the iCE, if so, re-acquiring the current second default configuration of the iCE, sending the second default configuration to other gateways, and if not, sending the first default configuration to other gateways.
6. The system of claim 5, wherein the determining the Master gateway element comprises:
each gateway in the local area network sends a broadcast message respectively, wherein the broadcast message comprises the type and the serial number;
each gateway judges whether the priority of the first type and the sequence number of the gateway is higher than the priority of the second type and the sequence number of other gateways, and stops sending the broadcast message if the priority of the first type and the sequence number of the gateway is not higher than the priority of the second type and the sequence number of other gateways;
and if so, continuing to send the broadcast message, judging whether other broadcast messages are received within a preset time, and if not, determining the corresponding gateway as the Master gateway.
7. The system of claim 5, wherein the communication unit comprises:
the terminal equipment transmits the message data to a corresponding first gateway, and the first gateway transmits the message data to the Master gateway through the transmission channel;
and the Master gateway forwards the message data to a second gateway through the transmission channel to complete communication.
8. The system of claim 5, further comprising:
and the local area network connection unit is used for connecting the local area network according to the Master gateway and other gateways which are connected with the router through the switch, and a plurality of terminal devices are respectively connected with the corresponding Master gateway and the gateways.
CN201810351807.8A 2018-04-18 2018-04-18 Wireless device communication method and system based on local area network Mesh technology Active CN108551679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810351807.8A CN108551679B (en) 2018-04-18 2018-04-18 Wireless device communication method and system based on local area network Mesh technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810351807.8A CN108551679B (en) 2018-04-18 2018-04-18 Wireless device communication method and system based on local area network Mesh technology

Publications (2)

Publication Number Publication Date
CN108551679A CN108551679A (en) 2018-09-18
CN108551679B true CN108551679B (en) 2021-05-18

Family

ID=63515526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810351807.8A Active CN108551679B (en) 2018-04-18 2018-04-18 Wireless device communication method and system based on local area network Mesh technology

Country Status (1)

Country Link
CN (1) CN108551679B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247980B (en) * 2019-06-25 2021-07-30 腾讯科技(深圳)有限公司 Gateway control method in local area network and gateway
CN112423344A (en) * 2020-10-27 2021-02-26 山东开创云计算有限公司 Comprehensive management system based on data exchange and transmission encapsulation
CN112437454A (en) * 2020-11-23 2021-03-02 青岛海尔科技有限公司 Data transmission method and device, storage medium and electronic device
CN112653637A (en) * 2020-12-08 2021-04-13 青岛海尔科技有限公司 Mesh gateway selection method and device
CN115314503A (en) * 2022-06-30 2022-11-08 青岛海尔科技有限公司 Data transmission method and device, storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531262A (en) * 2003-03-11 2004-09-22 ��Ϊ�������޹�˾ Network communication method for carrying out load division
CN101621434A (en) * 2008-06-30 2010-01-06 华为技术有限公司 Wireless mesh network system and method for key distribution

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101160988B (en) * 2005-02-01 2011-11-23 Exs有限公司 Hierarchical mesh network for wireless access
US8351409B2 (en) * 2005-04-22 2013-01-08 Axiometric, Llc Timing synchronization in wireless mesh networks
CN101616064B (en) * 2008-06-24 2011-11-16 华为技术有限公司 Method for managing data, mesh network system and associated device
CN106230671A (en) * 2016-08-01 2016-12-14 珠海格力电器股份有限公司 The control method of a kind of Smart Home, device and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531262A (en) * 2003-03-11 2004-09-22 ��Ϊ�������޹�˾ Network communication method for carrying out load division
CN101621434A (en) * 2008-06-30 2010-01-06 华为技术有限公司 Wireless mesh network system and method for key distribution

Also Published As

Publication number Publication date
CN108551679A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN108551679B (en) Wireless device communication method and system based on local area network Mesh technology
CN108259283B (en) Wireless device communication method and system based on wide area network Mesh technology
US7769888B2 (en) Method and system for providing network and routing protocols for utility services
AU2008267052B2 (en) Method and system for providing network and routing protocols for utility services
US8072951B2 (en) Method and system for providing routing protocols in a frequency hopping spread spectrum network
US9276898B2 (en) Method and device for link fault detecting and recovering based on ARP interaction
EP3061276B1 (en) Distributed data transmission in data networks
US20220329512A1 (en) Method and Apparatus for Updating Route Information, Computer Device, and Storage Medium
CN111182022A (en) Data transmission method and device, storage medium and electronic device
US11140597B2 (en) Method and apparatus for processing link establishment failure, and computer storage medium
CN112203261A (en) Charging pile management method and device, electronic equipment and readable storage medium
CN107124729B (en) Wireless relay method and system
CN107809782B (en) Internet of things data transmission method and storage medium
CN107786441B (en) Communication method, OpenFlow switch and communication system
US9439145B2 (en) Approach for extended battery life network nodes
US10257763B2 (en) Routing protocol for advanced metering infrastructure system
CN114374639A (en) Air awakening-based LoRa-Mesh networking method and mobile terminal networking method
CN113573379A (en) Data transmission method and device
CN108307401A (en) Establish the method, apparatus and communication equipment of communication connection
CN113193988A (en) Multi-PCE path computation interaction method and system
CN114430310A (en) Information processing method and device, broadband access server and storage medium
CN110233713A (en) A kind of multi link communications method and system based on LLDP message
CN104796345A (en) Message transmission control method and equipment
WO2023216836A1 (en) Mesh networking uplink control method and system, and device and readable storage medium
WO2022141440A1 (en) Method and network element for network redundancy

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