[go: up one dir, main page]

CN113329474A - Method for accessing node to Mesh network, information interaction device, terminal and storage medium - Google Patents

Method for accessing node to Mesh network, information interaction device, terminal and storage medium Download PDF

Info

Publication number
CN113329474A
CN113329474A CN202110505490.0A CN202110505490A CN113329474A CN 113329474 A CN113329474 A CN 113329474A CN 202110505490 A CN202110505490 A CN 202110505490A CN 113329474 A CN113329474 A CN 113329474A
Authority
CN
China
Prior art keywords
node
address
control node
latest
proxy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110505490.0A
Other languages
Chinese (zh)
Other versions
CN113329474B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110505490.0A priority Critical patent/CN113329474B/en
Publication of CN113329474A publication Critical patent/CN113329474A/en
Application granted granted Critical
Publication of CN113329474B publication Critical patent/CN113329474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

本公开是关于一种节点接入Mesh网络的方法、Mesh网络中节点间通信的方法、信息交互装置、终端及存储介质。该节点接入Mesh网络的方法,应用于Mesh网络中的代理节点,包括获取代理节点接入Mesh网络的连接方式,其中,连接方式包括有线和无线;基于连接方式从代理节点的父级节点获取控制节点的最新IP地址;基于获取的控制节点的最新IP地址与控制节点建立通信连接通道;基于通信连接通道接收控制节点发送的控制信息。代理节点接入Mesh网络中的连接方式对应有其与父级节点进行通信获取控制节点的最新IP地址的通信协议。通过Mesh网络中连接方式对应的通信协议获取控制节点的最新IP地址,从而建立代理节点与控制节点间的通信连接,以扩展Mesh网络的网络覆盖范围。

Figure 202110505490

The present disclosure relates to a method for a node to access a Mesh network, a method for communication between nodes in a Mesh network, an information exchange device, a terminal and a storage medium. The method for connecting a node to a Mesh network, which is applied to an agent node in the Mesh network, includes obtaining a connection method for the agent node to access the Mesh network, wherein the connection method includes wired and wireless; and the connection method is obtained from the parent node of the agent node based on the connection method. The latest IP address of the control node; establishing a communication connection channel with the control node based on the acquired latest IP address of the control node; and receiving the control information sent by the control node based on the communication connection channel. The connection mode of the proxy node accessing the Mesh network corresponds to the communication protocol that it communicates with the parent node to obtain the latest IP address of the control node. Obtain the latest IP address of the control node through the communication protocol corresponding to the connection mode in the Mesh network, so as to establish the communication connection between the agent node and the control node, so as to expand the network coverage of the Mesh network.

Figure 202110505490

Description

Method for accessing node to Mesh network, information interaction device, terminal and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method for accessing a node to a Mesh network, a method for communication between nodes in the Mesh network, an information interaction device, a terminal, and a storage medium.
Background
Mesh networks (wireless Mesh networks), also known as multi-hop (multi-hop) networks, are a new wireless network technology that is completely different from traditional wireless networks. The wireless mesh network is a novel network structure based on multi-hop routing and peer-to-peer network technology, and has the characteristic of mobile broadband. While itself may be dynamically continually expanded. Such as ad hoc networking, self-management, auto-repair, self-balancing, etc. When the Mesh network is used for networking, in order to expand the network coverage, a new node device sometimes needs to be accessed to the Mesh network.
Disclosure of Invention
The disclosure provides a method for accessing nodes into a Mesh network, a method for communication among nodes in the Mesh network, an information interaction device, equipment and a storage medium.
In a first aspect of the embodiments of the present disclosure, a method for accessing a node to a Mesh network is provided, where the method is applied to a proxy node in the Mesh network, the Mesh network further includes a control node, and the method includes:
acquiring a connection mode of the proxy node accessing the Mesh network, wherein the connection mode comprises a wired mode and a wireless mode;
acquiring the latest IP address of the control node from a parent node of the agent node based on the connection mode;
establishing a communication connection channel with the control node based on the acquired latest IP address of the control node;
and receiving the control information sent by the control node based on the communication connection channel.
In some embodiments, the obtaining the latest IP address of the control node from the parent node of the proxy node based on the connection mode includes: if the connection mode is a wired mode, the connection mode is a wired mode
Generating a first IP probe request based on a wired communication protocol;
sending the first IP detection request to at least one neighbor node of the proxy node, wherein the neighbor node comprises a parent node and a child node of the proxy node;
receiving a first response message of the at least one neighbor node to the first IP detection request, wherein the first response message comprises an IP address of the control node and hop count of the neighbor node;
confirming a parent node of the agent node from the at least one neighbor node according to the received hop count of the at least one neighbor node;
and determining the IP address of the control node in the first response message of the parent node as the latest IP address of the control node.
In some embodiments, the obtaining the latest IP address of the control node from the parent node of the proxy node based on the connection mode includes: if the connection mode is a wireless mode, then
Receiving a beacon frame transmitted by a parent node connected with the agent node based on a wireless communication protocol, wherein the beacon frame is used for framing the IP address of the control node;
and determining the IP address of the control node in the beacon frame of the parent node as the latest IP address of the control node.
In some embodiments, after obtaining the latest IP address of the control node from the parent node of the proxy node, the method further comprises:
and sending the latest IP address of the control node to the subordinate nodes of the proxy node based on the connection mode.
In some embodiments, the sending the latest IP address of the control node to the subordinate node of the proxy node based on the connection mode includes: if the connection mode is a wired mode, the connection mode is a wired mode
Receiving a second IP detection request sent by a subordinate node of the proxy node, wherein the second IP detection request comprises a source MAC address, a target MAC address and the hop count of the neighbor node,
generating a second response message based on the second IP probe request, wherein the second response message comprises a latest IP address, a source MAC address and a target MAC address of the control node.
In some embodiments, the sending the latest IP address of the control node to the subordinate node of the proxy node based on the connection mode includes: if the connection mode is a wireless mode, then
Generating a beacon frame based on the latest IP address of the control node;
and transmitting the beacon frame to a subordinate node of the proxy node.
In some embodiments, the method further comprises:
and when the generated second response message is sent to the subordinate nodes connected in a wired mode, increasing the hop count value of the subordinate nodes by one.
In a second aspect of the embodiments of the present disclosure, a method for communication between nodes in a Mesh network is further provided, where the method is applied to a control node in the Mesh network, the Mesh network further includes a proxy node, and the method includes:
detecting whether the network protocol IP address of the first node is updated;
when the IP address of the first node is updated, sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node, wherein the connection mode comprises wired connection and wireless connection, and the latest IP address is used for the proxy node to establish a communication connection channel with the control node;
and sending control information to the agent node based on the established communication connection channel.
In some embodiments, the sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node includes: if the connection mode is a wired connection mode, the connection mode is switched to a wired connection mode
After receiving a first IP probe request sent by the proxy node, sending a first response message of the first IP probe request to the proxy node, wherein the first response message comprises a latest IP address of the control node and the hop count of the control node, and the first IP probe request is probe request information which is generated by the proxy node based on a wired communication protocol and is used for requesting the latest IP address from the control node.
In some embodiments, the sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node includes:
and if the connection mode is a wireless connection mode, sending a beacon frame to the proxy node, wherein the beacon frame comprises the latest IP address of the control node.
In some embodiments, when the generated first reply message is sent to a proxy node connected in a wired manner, the value of the hop count carried by the first reply message is increased by one.
In a third aspect of the embodiments of the present disclosure, an information interaction apparatus is provided, which is applied to a proxy node in a Mesh network, and the apparatus includes:
the first processing unit is used for acquiring a connection mode of the proxy node accessing the Mesh network, wherein the connection mode comprises a wired mode and a wireless mode;
a second processing unit configured to acquire a latest IP address of the control node from a parent node of the proxy node based on the connection manner;
the third processing unit is used for establishing a communication connection channel with the control node based on the acquired latest IP address of the control node;
and the fourth processing unit is used for receiving the control information sent by the control node based on the communication connection channel.
In some embodiments, the second processing unit is specifically configured to generate a first IP probe request based on a wired communication protocol if the connection mode is a wired mode;
sending the first IP detection request to at least one neighbor node of the proxy node, wherein the neighbor node comprises a parent node and a child node of the proxy node;
receiving a first response message of the at least one neighbor node to the first IP detection request, wherein the first response message comprises an IP address of the control node and hop count of the neighbor node;
confirming a parent node of the agent node from the at least one neighbor node according to the received hop count of the at least one neighbor node;
and determining the IP address of the control node in the first response message of the parent node as the latest IP address of the control node.
In some embodiments, the second processing unit is specifically configured to, if the connection mode is a wireless mode, determine that the connection mode is a wireless mode
Receiving a beacon frame transmitted by a parent node connected with the agent node based on a wireless communication protocol, wherein the beacon frame is used for framing the IP address of the control node;
and determining the IP address of the control node in the beacon frame of the parent node as the latest IP address of the control node.
In some embodiments, the apparatus comprises: the fifth processing unit is used for sending the latest IP address of the control node to the subordinate nodes of the proxy node based on the connection mode after acquiring the latest IP address of the control node from the parent node of the proxy node.
In some embodiments, the fifth processing unit is specifically configured to, if the connection mode is a wired mode, determine that the connection mode is a wired mode
Receiving a second IP detection request sent by a subordinate node of the proxy node, wherein the second IP detection request comprises a source MAC address, a target MAC address and the hop count of the neighbor node,
generating a second response message based on the second IP probe request, wherein the second response message comprises a latest IP address, a source MAC address and a target MAC address of the control node.
In some embodiments, the fifth processing unit is specifically configured to, if the connection mode is a wireless mode, determine that the connection mode is a wireless mode
Generating a beacon frame based on the latest IP address of the control node;
and transmitting the beacon frame to a subordinate node of the proxy node.
In some embodiments, the fifth processing unit is specifically further configured to increase the number of hops by one when the generated second response message is sent to a subordinate node connected in a wired manner.
In a fourth aspect of the embodiments of the present disclosure, another information interaction apparatus is further provided, which is applied to a control node in a Mesh network, and the apparatus includes:
the first processing unit is used for detecting whether the network protocol IP address of the first node is updated or not;
the second processing unit is used for sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node when the IP address of the first node is updated, wherein the connection mode comprises wired connection and wireless connection, and the latest IP address is used for the proxy node to establish a communication connection channel with the control node;
and the third processing unit is used for sending control information to the proxy node based on the established communication connection channel.
In some embodiments, the second processing unit is specifically configured to, if the connection mode is a wired connection mode, determine that the connection mode is a wired connection mode
After receiving a first IP probe request sent by the proxy node, sending a first response message of the first IP probe request to the proxy node, wherein the first response message comprises a latest IP address of the control node and the hop count of the control node, and the first IP probe request is probe request information which is generated by the proxy node based on a wired communication protocol and is used for requesting the latest IP address from the control node.
In some embodiments, the second processing unit is specifically configured to send a beacon frame to the proxy node if the connection mode is a wireless connection mode, where the beacon frame includes a latest IP address of the control node.
In some embodiments, the second processing unit is further specifically configured to increase, by one, a numerical value of the number of hops carried in the first reply message when the generated first reply message is sent to a proxy node connected in a wired manner.
In a fifth aspect of the embodiments of the present disclosure, a terminal is provided, which includes: a processor and a memory for storing a computer program operable on the processor, wherein the processor is configured to perform the steps of the method of the first and second aspects of the embodiments when executing the computer program.
A sixth aspect of the embodiments of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method according to the first aspect and the second aspect of the above embodiments.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method for accessing the node to the Mesh network provided by the embodiment of the disclosure is applied to a proxy node in the Mesh network, and comprises the following steps: acquiring a connection mode of the proxy node accessing the Mesh network, wherein the connection mode comprises a wired mode and a wireless mode; acquiring the latest IP address of the control node from a parent node of the agent node based on the connection mode; establishing a communication connection channel with the control node based on the acquired latest IP address of the control node; and receiving the control information sent by the control node based on the communication connection channel. When the proxy node is accessed in the Mesh network, a communication connection between the proxy node and the control node needs to be established. At this time, the latest IP address of the control node is acquired from the parent node of the proxy node based on the connection mode of accessing the Mesh network through the proxy node. And establishing a communication connection channel with the control node based on the acquired latest IP address of the control node. In the process, the connection mode of the proxy node accessing the Mesh network corresponds to a communication protocol for communicating with the parent node to acquire the latest IP address of the control node, and the communication protocols corresponding to different connection modes are different. And acquiring the latest IP address of the control node through a communication protocol corresponding to the connection mode in the Mesh network, thereby establishing communication connection between the proxy node and the control node, and enabling the control node to send control information to the proxy node so as to expand the network coverage range of the Mesh network.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a method for a node to access a Mesh network according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of inter-node communication in a Mesh network according to an example embodiment.
Fig. 3 is a first schematic structural diagram of an information interaction device according to an exemplary embodiment.
Fig. 4 is a schematic structural diagram of an information interaction apparatus according to an exemplary embodiment.
Fig. 5 is a schematic diagram illustrating a Mesh network structure according to an exemplary embodiment.
FIG. 6 is a diagram illustrating an information interaction system architecture, according to an example embodiment.
Fig. 7 is a diagram illustrating a structure of a message frame field in accordance with an example embodiment.
Fig. 8 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Mesh networks are a type of wireless local area network, also known as "multi-hop" networks, which is a new wireless network technology that is completely different from traditional wireless networks. The Mesh network is composed of a router Mesh routers and client-side Mesh clients, wherein the client-side refers to electronic equipment which can be connected with the network, such as mobile phones, computers, game machines, smart homes and the like. One router (becoming a root node) in each Mesh network is accessed to the internet in a wired mode, other routers (called leaf nodes) are accessed to the internet through the root node, and all the routers are used for providing network routing service for the client. The node in the present disclosure refers to a router in a Mesh network. When the Mesh network is used for networking, in order to expand the network coverage, a new node device sometimes needs to be accessed to the Mesh network.
The disclosure provides a method for accessing a node into a Mesh network. Fig. 1 is a flowchart illustrating a method for a node to access a Mesh network according to an example embodiment. As shown in fig. 1, the method for accessing the node to the Mesh network is applied to a proxy node in the Mesh network, and includes:
step 10, obtaining a connection mode of the proxy node accessing the Mesh network, wherein the connection mode comprises a wired mode and a wireless mode;
step 11, acquiring the latest IP address of the control node from the parent node of the agent node based on the connection mode;
step 12, establishing a communication connection channel with the control node based on the acquired latest IP address of the control node;
and step 13, receiving the control information sent by the control node based on the communication connection channel.
In the embodiment of the disclosure, a Mesh network structure may include one control node and a plurality of proxy nodes. One control node may be wired or wirelessly connected to a plurality of proxy nodes. A proxy node may be connected to one parent node and one child node, or only one parent node. The parent node of the proxy node may be a control node. The control node may be configured to manage connection configuration information of each access client in the Mesh network structure, for example, the connection configuration information of the client (e.g., a mobile phone) accessing the Mesh network and the Mesh network (e.g., a network connection password accessing the Mesh network) may be updated to each proxy node, so that each proxy node performs network communication with the client based on the connection configuration information. The control node and the proxy node in the application both refer to routers in a Mesh network.
The control information sent by the control node may include connection configuration information of each client accessing the Mesh network structure.
In the Mesh network structure, in order to expand the network coverage, sometimes a new proxy node device needs to be accessed to the Mesh network structure. After the new proxy node device accesses the Mesh network, a communication connection with the control node needs to be established, so that the subsequent control node updates connection configuration information to the proxy node.
In the embodiment of the disclosure, when the device accessing the Mesh network does not support the Mesh network, the device not supporting the Mesh network can support the wireless communication protocol or the wired communication protocol of the Mesh network by modifying or upgrading the configuration of the access device, so that the device can access the Mesh network according to the access method provided by the application. For example, upgrading the software configuration related to access device communication, etc.
In the embodiment of the disclosure, the proxy node newly accessing to the Mesh network can establish communication connection with the control node by the node access method in the application. Acquiring a connection mode of the proxy node accessing the Mesh network, wherein the connection mode comprises a wired mode and a wireless mode; acquiring the latest IP address of the control node from a parent node of the agent node based on the connection mode; establishing a communication connection channel with the control node based on the acquired latest IP address of the control node; and receiving the control information sent by the control node based on the communication connection channel. The latest IP address of the control node can be obtained from the parent node of the proxy node through the connection mode that the proxy node is accessed into the Mesh network. And establishing a communication connection channel with the control node based on the acquired latest IP address of the control node. In the process, the connection mode of the proxy node accessing the Mesh network corresponds to a communication protocol for communicating with the parent node to acquire the latest IP address of the control node, and the communication protocols corresponding to different connection modes are different. And acquiring the latest IP address of the control node through a communication protocol corresponding to the connection mode in the Mesh network, thereby establishing communication connection between the proxy node and the control node, and enabling the control node to send control information to the proxy node so as to expand the network coverage range of the Mesh network.
In some embodiments, the obtaining the latest IP address of the control node from the parent node of the proxy node based on the connection mode includes: if the connection mode is a wired mode, the connection mode is a wired mode
Generating a first IP probe request based on a wired communication protocol;
sending the first IP detection request to at least one neighbor node of the proxy node, wherein the neighbor node comprises a parent node and a child node of the proxy node;
receiving a first response message of the at least one neighbor node to the first IP detection request, wherein the first response message comprises an IP address of the control node and hop count of the neighbor node;
confirming a parent node of the agent node from the at least one neighbor node according to the received hop count of the at least one neighbor node;
and determining the IP address of the control node in the first response message of the parent node as the latest IP address of the control node.
In the embodiment of the disclosure, when a proxy node newly accessing to a Mesh network accesses in a wired manner, a first IP probe request may be generated based on a wired communication protocol. The first IP probe request includes at least the physical MAC address of the proxy node as the source MAC address. The proxy node broadcasts a first IP probe request to at least one neighboring node. The neighbor nodes include parent nodes and child nodes of the proxy node.
Wherein the parent node is the node at the upper level of the proxy node. The value of the node hop count of the parent node is smaller than the value of the node hop count of the proxy node. The child node is the next level node of the proxy node. The node hop count of the child node has a value greater than the hop count of the agent node.
In this embodiment of the present disclosure, determining a parent node of the proxy node from the at least one neighbor node according to the received hop count of the at least one neighbor node includes:
and confirming that the neighbor node corresponding to the minimum node hop count is the parent node of the proxy node.
And determining the IP address of the control node in the first response message of the parent node as the latest IP address of the control node, so that the newly accessed proxy node can establish a communication connection channel with the control node based on the latest IP address to acquire the control information sent by the control node.
In some embodiments, the obtaining the latest IP address of the control node from the parent node of the proxy node based on the connection mode includes: if the connection mode is a wireless mode, then
Receiving a beacon frame transmitted by a parent node connected with the agent node based on a wireless communication protocol, wherein the beacon frame comprises an IP address of the control node;
and determining the IP address of the control node in the beacon frame of the parent node as the latest IP address of the control node.
In the embodiment of the disclosure, when a proxy node newly accessed into a Mesh network is accessed in a wireless mode, a beacon frame sent by a parent node connected with the proxy node is received based on a wireless communication protocol, wherein the beacon frame comprises an IP address of a control node; the IP address of the control node in the beacon frame of the parent node is determined as the latest IP address of the control node.
The characteristics of the Mesh wireless connection are: at one moment, one Mesh node can only be connected with one other Mesh node, and the connected node is the parent node of the Mesh device. Therefore, in the wireless connection method, it is not necessary to confirm the parent node from among the plurality of neighbor nodes. I.e., a beacon frame received at a time based on a wireless communication protocol must be from a parent node.
The beacon frame is one of management frames in a WLAN (Wireless Local Area Network) based on IEEE 802.11. It contains all information about the network. Beacon frames are periodically transmitted and are used to announce the presence of a wireless LAN and synchronize the members of the service set.
In the application, the updated IP address of the control node is encapsulated in a beacon frame and is sent to the agent nodes, the agent nodes are sequentially transmitted to the next-level agent node for the newly accessed agent node to obtain from the parent-level node, so that the newly accessed agent node establishes network communication with the control node based on the latest IP address of the control node.
In some embodiments, after obtaining the latest IP address of the control node from the parent node of the proxy node, the method further comprises:
and sending the latest IP address of the control node to the subordinate nodes of the proxy node based on the connection mode.
In the embodiment of the disclosure, when the proxy node is connected with the child node, the latest IP address of the control node acquired from the parent node is sent to the child node, so that the child node reestablishes communication connection with the control node through the latest IP address of the control node.
In some embodiments, the sending the latest IP address of the control node to the subordinate node of the proxy node based on the connection mode includes: if the connection mode is a wired mode, the connection mode is a wired mode
Receiving a second IP detection request sent by a subordinate node of the proxy node, wherein the second IP detection request comprises a source MAC address, a target MAC address and the hop count of the neighbor node,
generating a second response message based on the second IP probe request, wherein the second response message comprises a latest IP address, a source MAC address and a target MAC address of the control node.
In the embodiment of the present disclosure, when the subordinate node is connected to the proxy node by wire, the second response message is fed back according to the second IP detection request sent by the subordinate node. And the source MAC address in the second IP detection request is the physical MAC address of the sublevel node, and the target MAC address is the physical MAC address of the agent node. And the source MAC address in the second response message is the physical MAC address of the agent node, and the target MAC address is the physical MAC address of the sublevel node. And sending the latest IP address of the control node to the corresponding sub-level node through responding to the second IP detection request, so that the corresponding sub-level node can reestablish the communication connection with the control node through the latest IP address of the control node.
In some embodiments, the sending the latest IP address of the control node to the subordinate node of the proxy node based on the connection mode includes: if the connection mode is a wireless mode, then
Generating a beacon frame based on the latest IP address of the control node;
and transmitting the beacon frame to a subordinate node of the proxy node.
In the embodiment of the disclosure, when the subordinate node is wirelessly connected to the proxy node, a beacon frame may be generated based on the latest IP address of the control node, the beacon frame may be sent to the subordinate node of the proxy node, so that the corresponding subordinate node may obtain the latest IP address of the control node, and the communication connection with the control node may be reestablished based on the latest IP address of the control node.
In some embodiments, the method further comprises:
and when the generated second response message is sent to the subordinate nodes connected in a wired mode, increasing the hop count value of the subordinate nodes by one.
In the embodiment of the present disclosure, the second response message sent to the child node may be a message frame. The message frame has a hop count field, and the hop count field contains node hop count. When the generated second reply message is transmitted to the child node connected in the wired manner, the value of the hop count in the hop count field is increased by one. That is, in the proxy node, the number of hops in the hop count field corresponding to the message frame is two, and when the message frame is transmitted to the child node, the number of hops in the hop count field corresponding to the message frame is increased to three, which indicates that the message frame is transmitted to the next node. Therefore, the hop count field is added in the message frame, so that the position of the network node in the network can be determined conveniently, the proxy node can check whether the IP address carried by the current message frame is the updated IP address of the control node again according to the hop count information, and the distribution accuracy of the updated IP address of the control node is ensured.
In a second aspect of the embodiments of the present disclosure, a method for communication between nodes in a Mesh network is further provided, where the method is applied to a control node in the Mesh network, and the Mesh network further includes a proxy node. Fig. 2 is a flow chart illustrating a method of inter-node communication in a Mesh network according to an example embodiment. As shown in fig. 2, the method includes:
step 20, detecting whether the network protocol IP address of the control node is updated;
step 21, when the IP address of the control node is updated, sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node, where the connection mode includes wired connection and wireless connection, and the latest IP address is used for the proxy node to establish a communication connection channel with the control node;
and step 22, sending control information to the agent node based on the established communication connection channel.
In the embodiment of the disclosure, a Mesh network structure may include one control node and a plurality of proxy nodes. One control node may be wired or wirelessly connected to a plurality of proxy nodes. A proxy node may be connected to one parent node and one child node, or only one parent node. The parent node of the proxy node may be a control node. The control node may be configured to manage connection configuration information of each access client in the Mesh network structure, for example, the connection configuration information of the client (e.g., a mobile phone) accessing the Mesh network and the Mesh network (e.g., a network connection password accessing the Mesh network) may be updated to each proxy node, so that each proxy node performs network communication with the client based on the connection configuration information. The control node and the proxy node in the application both refer to routers in a Mesh network.
In the Mesh network structure, the IP address of the control node sometimes changes, and at this time, the latest IP address of the control node needs to be updated to each proxy node, so that each proxy node establishes a communication connection with the control node according to the latest IP address, and thus, the control information sent by the control node can be acquired. The control information sent by the control node may include connection configuration information of each client accessing the Mesh network structure.
In the embodiment of the present disclosure, the control node has a function of monitoring the change of its own IP address by itself, and in the existing Mesh network, the control node can issue the updated IP address to each connected proxy node step by step.
In the embodiment of the disclosure, when the IP address of the control node is updated, the latest IP address of the control node is sent to the proxy node based on the connection mode between the proxy node and the control node, wherein the connection mode includes wired connection and wireless connection, and the latest IP address is used for the proxy node to establish a communication connection channel with the control node; and sending control information to the agent node based on the established communication connection channel. In the process, when the control node updates the latest IP address to the proxy node, the IP address can be transmitted based on the communication protocol corresponding to the connection mode. The connection mode of the agent node and the control node corresponds to a communication protocol for updating the latest IP address to the agent node by the control node, and the communication protocols corresponding to different connection modes are different. And updating the latest IP address to the proxy node through the communication protocol control node, so that after the IP address of the control node is updated, the proxy node can acquire the latest IP address of the control node to reestablish communication connection with the control node according to the latest IP address.
In some embodiments, the sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node includes: if the connection mode is a wired connection mode, the connection mode is switched to a wired connection mode
After receiving a first IP probe request sent by the proxy node, sending a first response message of the first IP probe request to the proxy node, wherein the first response message comprises a latest IP address of the control node and the hop count of the control node, and the first IP probe request is probe request information which is generated by the proxy node based on a wired communication protocol and is used for requesting the latest IP address from the control node.
In some embodiments, the sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node includes: if the connection mode is a wired connection mode, the connection mode is switched to a wired connection mode
And sending an Ethernet message frame to the proxy node, wherein the Ethernet message frame at least comprises a source MAC address, a target MAC address, the latest IP address of the control node and the hop count of the control node.
In the embodiment of the present disclosure, when the connection mode between the proxy node and the control node is a wired connection, when the control node updates the latest IP address to the proxy node, the update mode may be divided into two cases. The first case is that when no new proxy node is accessed in the Mesh network structure, when the IP address of the control node is changed, an ethernet message frame may be transmitted to the proxy node connected to the control node, and the latest IP address may be transmitted to the proxy node. The source MAC address is the MAC address of the control node, and the target MAC address is the MAC address of the agent node. In the second case, when a new proxy node is accessed in the Mesh network structure, the new proxy node sends a first IP probe request to the control node. And after receiving the first IP detection request sent by the proxy node, the control node feeds back a first response message to the proxy node. The first response message comprises the latest IP address of the control node and the hop count of the control node, and the newly accessed agent node determines the latest IP address of the control node through the hop count, so that the communication connection with the control node is reestablished according to the latest IP address.
In some embodiments, the sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node includes:
and if the connection mode is a wireless connection mode, sending a beacon frame to the proxy node, wherein the beacon frame comprises the latest IP address of the control node.
In the embodiment of the disclosure, when the connection between the proxy node and the control node is a wireless connection, and when the control node updates the latest IP address to the proxy node, the control node may send a beacon frame to the proxy node, where the beacon frame includes the latest IP address of the control node, so that the proxy node can obtain the latest IP address of the control node, and reestablish a communication connection with the control node according to the latest IP address.
In some embodiments, when the generated first reply message is sent to a proxy node connected in a wired manner, the value of the hop count carried by the first reply message is increased by one.
In the disclosed embodiment, the first reply message sent to the wireline connected proxy node may be a message frame. The message frame has a hop count field, and the hop count field contains node hop count. When the generated first reply message is transmitted to the agent node connected in the wired manner, the number of hops in the hop count field is increased by one.
In a third aspect of the embodiments of the present disclosure, an information interaction apparatus is provided, which is applied to a proxy node in a Mesh network. Fig. 3 is a first schematic structural diagram of an information interaction device according to an exemplary embodiment. As shown in fig. 3, the apparatus includes:
a first processing unit 31, configured to acquire a connection manner of the proxy node accessing the Mesh network, where the connection manner includes wired and wireless;
a second processing unit 32, configured to acquire the latest IP address of the control node from a parent node of the proxy node based on the connection manner;
a third processing unit 33, configured to establish a communication connection channel with the control node based on the acquired latest IP address of the control node;
a fourth processing unit 34, configured to receive the control information sent by the control node based on the communication connection channel.
In the embodiment of the disclosure, a Mesh network structure may include one control node and a plurality of proxy nodes. One control node may be wired or wirelessly connected to a plurality of proxy nodes. A proxy node may be connected to one parent node and one child node, or only one parent node. The parent node of the proxy node may be a control node. The control node may be configured to manage connection configuration information of each access client in the Mesh network structure, for example, the connection configuration information of the client (e.g., a mobile phone) accessing the Mesh network and the Mesh network (e.g., a network connection password accessing the Mesh network) may be updated to each proxy node, so that each proxy node performs network communication with the client based on the connection configuration information. The control node and the proxy node in the application both refer to routers in a Mesh network.
The control information sent by the control node may include connection configuration information of each client accessing the Mesh network structure.
In the Mesh network structure, in order to expand the network coverage, sometimes a new proxy node device needs to be accessed to the Mesh network structure. After the new proxy node device accesses the Mesh network, a communication connection with the control node needs to be established, so that the subsequent control node updates connection configuration information to the proxy node.
In the embodiment of the disclosure, the proxy node newly accessing to the Mesh network can establish communication connection with the control node by the node access method in the application. Acquiring a connection mode of the proxy node accessing the Mesh network, wherein the connection mode comprises a wired mode and a wireless mode; acquiring the latest IP address of the control node from a parent node of the agent node based on the connection mode; establishing a communication connection channel with the control node based on the acquired latest IP address of the control node; and receiving the control information sent by the control node based on the communication connection channel. The latest IP address of the control node can be obtained from the parent node of the proxy node through the connection mode that the proxy node is accessed into the Mesh network. And establishing a communication connection channel with the control node based on the acquired latest IP address of the control node. In the process, the connection mode of the proxy node accessing the Mesh network corresponds to a communication protocol for communicating with the parent node to acquire the latest IP address of the control node, and the communication protocols corresponding to different connection modes are different. And acquiring the latest IP address of the control node through a communication protocol corresponding to the connection mode in the Mesh network, thereby establishing communication connection between the proxy node and the control node, and enabling the control node to send control information to the proxy node so as to expand the network coverage range of the Mesh network.
In some embodiments, the second processing unit is specifically configured to generate a first IP probe request based on a wired communication protocol if the connection mode is a wired mode;
sending the first IP detection request to at least one neighbor node of the proxy node, wherein the neighbor node comprises a parent node and a child node of the proxy node;
receiving a first response message of the at least one neighbor node to the first IP detection request, wherein the first response message comprises an IP address of the control node and hop count of the neighbor node;
confirming a parent node of the agent node from the at least one neighbor node according to the received hop count of the at least one neighbor node;
and determining the IP address of the control node in the first response message of the parent node as the latest IP address of the control node.
In the embodiment of the disclosure, when a proxy node newly accessing to a Mesh network accesses in a wired manner, a first IP probe request may be generated based on a wired communication protocol. The first IP probe request includes at least the physical MAC address of the proxy node as the source MAC address. The proxy node broadcasts a first IP probe request to at least one neighboring node. The neighbor nodes include parent nodes and child nodes of the proxy node.
Wherein the parent node is the node at the upper level of the proxy node. The value of the node hop count of the parent node is smaller than the value of the node hop count of the proxy node. The child node is the next level node of the proxy node. The node hop count of the child node has a value greater than the hop count of the agent node.
In this embodiment of the present disclosure, determining a parent node of the proxy node from the at least one neighbor node according to the received hop count of the at least one neighbor node includes:
and confirming that the neighbor node corresponding to the minimum node hop count is the parent node of the proxy node.
And determining the IP address of the control node in the first response message of the parent node as the latest IP address of the control node, so that the newly accessed proxy node can establish a communication connection channel with the control node based on the latest IP address to acquire the control information sent by the control node.
In some embodiments, the second processing unit is specifically configured to, if the connection mode is a wireless mode, determine that the connection mode is a wireless mode
Receiving a beacon frame transmitted by a parent node connected with the agent node based on a wireless communication protocol, wherein the beacon frame is used for framing the IP address of the control node;
and determining the IP address of the control node in the beacon frame of the parent node as the latest IP address of the control node.
In the embodiment of the disclosure, when a proxy node newly accessed into a Mesh network is accessed in a wireless mode, a beacon frame sent by a parent node connected with the proxy node is received based on a wireless communication protocol, wherein the beacon frame comprises an IP address of a control node; the IP address of the control node in the beacon frame of the parent node is determined as the latest IP address of the control node.
The characteristics of the Mesh wireless connection are: at one moment, one Mesh node can only be connected with one other Mesh node, and the connected node is the parent node of the Mesh device. Therefore, in the wireless connection method, it is not necessary to confirm the parent node from among the plurality of neighbor nodes. I.e., a beacon frame received at a time based on a wireless communication protocol must be from a parent node.
The beacon frame is one of management frames in a WLAN (Wireless Local Area Network) based on IEEE 802.11. It contains all information about the network. Beacon frames are periodically transmitted and are used to announce the presence of a wireless LAN and synchronize the members of the service set.
In the application, the updated IP address of the control node is encapsulated in a beacon frame and is sent to the agent nodes, the agent nodes are sequentially transmitted to the next-level agent node for the newly accessed agent node to obtain from the parent-level node, so that the newly accessed agent node establishes network communication with the control node based on the latest IP address of the control node.
In some embodiments, the apparatus comprises: the fifth processing unit is used for sending the latest IP address of the control node to the subordinate nodes of the proxy node based on the connection mode after acquiring the latest IP address of the control node from the parent node of the proxy node.
In the embodiment of the disclosure, when the proxy node is connected with the child node, the latest IP address of the control node acquired from the parent node is sent to the child node, so that the child node reestablishes communication connection with the control node through the latest IP address of the control node.
In some embodiments, the fifth processing unit is specifically configured to, if the connection mode is a wired mode, determine that the connection mode is a wired mode
Receiving a second IP detection request sent by a subordinate node of the proxy node, wherein the second IP detection request comprises a source MAC address, a target MAC address and the hop count of the neighbor node,
generating a second response message based on the second IP probe request, wherein the second response message comprises a latest IP address, a source MAC address and a target MAC address of the control node.
In the embodiment of the present disclosure, when the subordinate node is connected to the proxy node by wire, the second response message is fed back according to the second IP detection request sent by the subordinate node. And the source MAC address in the second IP detection request is the physical MAC address of the sublevel node, and the target MAC address is the physical MAC address of the agent node. And the source MAC address in the second response message is the physical MAC address of the agent node, and the target MAC address is the physical MAC address of the sublevel node. And sending the latest IP address of the control node to the corresponding sub-level node through responding to the second IP detection request, so that the corresponding sub-level node can reestablish the communication connection with the control node through the latest IP address of the control node.
In some embodiments, the fifth processing unit is specifically configured to, if the connection mode is a wireless mode, determine that the connection mode is a wireless mode
Generating a beacon frame based on the latest IP address of the control node;
and transmitting the beacon frame to a subordinate node of the proxy node.
In the embodiment of the disclosure, when the subordinate node is wirelessly connected to the proxy node, a beacon frame may be generated based on the latest IP address of the control node, the beacon frame may be sent to the subordinate node of the proxy node, so that the corresponding subordinate node may obtain the latest IP address of the control node, and the communication connection with the control node may be reestablished based on the latest IP address of the control node.
In some embodiments, the fifth processing unit is specifically further configured to increase the number of hops by one when the generated second response message is sent to a subordinate node connected in a wired manner.
In the embodiment of the present disclosure, the second response message sent to the child node may be a message frame. The message frame has a hop count field, and the hop count field contains node hop count. When the generated second reply message is transmitted to the child node connected in the wired manner, the value of the hop count in the hop count field is increased by one. That is, in the proxy node, the number of hops in the hop count field corresponding to the message frame is two, and when the message frame is transmitted to the child node, the number of hops in the hop count field corresponding to the message frame is increased to three, which indicates that the message frame is transmitted to the next node. Therefore, the hop count field is added in the message frame, so that the position of the network node in the network can be determined conveniently, the proxy node can check whether the IP address carried by the current message frame is the updated IP address of the control node again according to the hop count information, and the distribution accuracy of the updated IP address of the control node is ensured.
In a fourth aspect of the embodiments of the present disclosure, another information interaction apparatus is further provided, which is applied to a control node in a Mesh network. Fig. 4 is a schematic structural diagram of an information interaction apparatus according to an exemplary embodiment. As shown in fig. 4, the apparatus includes:
a first processing unit 41, configured to detect whether a network protocol IP address of the control node is updated;
a second processing unit 42, configured to, when the IP address of the control node is updated, send the latest IP address of the control node to the proxy node based on a connection manner between the proxy node and the control node, where the connection manner includes a wired connection and a wireless connection, and the latest IP address is used for the proxy node to establish a communication connection channel with the control node;
a third processing unit 43, configured to send control information to the proxy node based on the established communication connection channel.
In the embodiment of the disclosure, a Mesh network structure may include one control node and a plurality of proxy nodes. One control node may be wired or wirelessly connected to a plurality of proxy nodes. A proxy node may be connected to one parent node and one child node, or only one parent node. The parent node of the proxy node may be a control node. The control node may be configured to manage connection configuration information of each access client in the Mesh network structure, for example, the connection configuration information of the client (e.g., a mobile phone) accessing the Mesh network and the Mesh network (e.g., a network connection password accessing the Mesh network) may be updated to each proxy node, so that each proxy node performs network communication with the client based on the connection configuration information. The control node and the proxy node in the application both refer to routers in a Mesh network.
In the Mesh network structure, the IP address of the control node sometimes changes, and at this time, the latest IP address of the control node needs to be updated to each proxy node, so that each proxy node establishes a communication connection with the control node according to the latest IP address, and thus, the control information sent by the control node can be acquired. The control information sent by the control node may include connection configuration information of each client accessing the Mesh network structure.
In the embodiment of the present disclosure, the control node has a function of monitoring the change of its own IP address by itself, and in the existing Mesh network, the control node can issue the updated IP address to each connected proxy node step by step.
In the embodiment of the disclosure, when the IP address of the control node is updated, the latest IP address of the control node is sent to the proxy node based on the connection mode between the proxy node and the control node, wherein the connection mode includes wired connection and wireless connection, and the latest IP address is used for the proxy node to establish a communication connection channel with the control node; and sending control information to the agent node based on the established communication connection channel. In the process, when the control node updates the latest IP address to the proxy node, the IP address can be transmitted based on the communication protocol corresponding to the connection mode. The connection mode of the agent node and the control node corresponds to a communication protocol for updating the latest IP address to the agent node by the control node, and the communication protocols corresponding to different connection modes are different. And updating the latest IP address to the proxy node through the communication protocol control node, so that after the IP address of the control node is updated, the proxy node can acquire the latest IP address of the control node to reestablish communication connection with the control node according to the latest IP address.
In some embodiments, the second processing unit is specifically configured to, if the connection mode is a wired connection mode, determine that the connection mode is a wired connection mode
After receiving a first IP probe request sent by the proxy node, sending a first response message of the first IP probe request to the proxy node, wherein the first response message comprises a latest IP address of the control node and the hop count of the control node, and the first IP probe request is probe request information which is generated by the proxy node based on a wired communication protocol and is used for requesting the latest IP address from the control node.
In some embodiments, the second processing unit is specifically configured to, if the connection mode is a wired connection mode, determine that the connection mode is a wired connection mode
And sending an Ethernet message frame to the proxy node, wherein the Ethernet message frame at least comprises a source MAC address, a target MAC address, the latest IP address of the control node and the hop count of the control node.
In the embodiment of the present disclosure, when the connection mode between the proxy node and the control node is a wired connection, when the control node updates the latest IP address to the proxy node, the update mode may be divided into two cases. The first case is that when no new proxy node is accessed in the Mesh network structure, when the IP address of the control node is changed, an ethernet message frame may be transmitted to the proxy node connected to the control node, and the latest IP address may be transmitted to the proxy node. The source MAC address is the MAC address of the control node, and the target MAC address is the MAC address of the agent node. In the second case, when a new proxy node is accessed in the Mesh network structure, the new proxy node sends a first IP probe request to the control node. And after receiving the first IP detection request sent by the proxy node, the control node feeds back a first response message to the proxy node. The first response message comprises the latest IP address of the control node and the hop count of the control node, and the newly accessed agent node determines the latest IP address of the control node through the hop count, so that the communication connection with the control node is reestablished according to the latest IP address.
In some embodiments, the second processing unit is specifically configured to send a beacon frame to the proxy node if the connection mode is a wireless connection mode, where the beacon frame includes a latest IP address of the control node.
In the embodiment of the disclosure, when the connection between the proxy node and the control node is a wireless connection, and when the control node updates the latest IP address to the proxy node, the control node may send a beacon frame to the proxy node, where the beacon frame includes the latest IP address of the control node, so that the proxy node can obtain the latest IP address of the control node, and reestablish a communication connection with the control node according to the latest IP address.
In some embodiments, the second processing unit is further specifically configured to increase, by one, a numerical value of the number of hops carried in the first reply message when the generated first reply message is sent to a proxy node connected in a wired manner.
In the disclosed embodiment, the first reply message sent to the wireline connected proxy node may be a message frame. The message frame has a hop count field, and the hop count field contains node hop count. When the generated first reply message is transmitted to the agent node connected in the wired manner, the number of hops in the hop count field is increased by one.
The first IP probe request and the second IP probe request in the above embodiments may further include field information such as a custom field, an identification field, and a neighbor probe type field, in addition to the MAC address and the IP address. The self-defined field is used for defining the protocol type of the transmission protocol; the identification field is used for identifying definition information of a device manufacturer; the Neighbor detection type field is used to identify whether the transmission protocol is a Request protocol or a Response protocol for the neighboring device, for example, if the Neighbor detection type field is a Neighbor detection Request field, the message frame is a Request frame sent to the neighboring device, and if the Neighbor detection type field is a Neighbor detection Response field, the message frame is a Response frame of a Response Request frame sent to the neighboring device.
Fig. 5 is a schematic diagram illustrating a Mesh network structure according to an exemplary embodiment. As shown in fig. 5, a Mesh network structure may include a control node and a plurality of proxy nodes. One control node may be wired or wirelessly connected to a plurality of proxy nodes. A proxy node may be connected to one parent node and one child node, or only one parent node. The parent node of the proxy node may be a control node. For example, the parent node of the agent node 3 is a control node, and the child node of the agent node 3 is the agent node 4. The control node may be configured to manage connection configuration information of each access client in the Mesh network structure, for example, the connection configuration information of the client (e.g., a mobile phone) accessing the Mesh network and the Mesh network (e.g., a network connection password accessing the Mesh network) may be updated to each proxy node, so that each proxy node performs network communication with the client based on the connection configuration information. The control node and the proxy node in the application both refer to routers in a Mesh network.
FIG. 6 is a diagram illustrating an information interaction system architecture, according to an example embodiment. As shown in fig. 6, the information interaction system includes a monitoring module, a wired neighbor detection module, a wireless configuration monitoring module, and a communication module. The monitoring module is arranged in the control node and used for monitoring the IP address change of the control node. The wired neighbor detection module is arranged at each proxy node and used for sending an IP address detection request to the wired connection ground neighbor nodes and receiving feedback response messages. The wireless configuration monitoring module is arranged at each proxy node and used for sending a beacon frame carrying the latest IP address of the control node to the proxy nodes in wireless connection. The communication module is arranged at each node in the Mesh network and used for supporting communication among the nodes. For example, when the monitoring module monitors that the IP address of the control node sends a change. The control node may transmit a Beacon frame (Beacon) to the wirelessly connected proxy node 3 through the wireless configuration monitoring module. The agent node 4 may send a first IP detection Request (a Neighbor detection Request message carrying new Controller IP and Controller hop information) to the agent node 3 through the wired Neighbor detection module, and the agent node 3 feeds back a Response message (a Neighbor detection Response message) to the agent node 4 through the wired Neighbor detection module. And the agent node 1 interactively acquires the latest IP address with the control node through the wired neighbor detection module, and transmits the latest IP address of the control node to the agent node through the wireless configuration monitoring module.
In the Mesh network structure shown in fig. 5:
the first device is connected to the Router, and the working mode is selected to be an AP (Access Point) mode, at this time, the device can be used as a control node Controller of the whole Mesh network.
Then, the device starts a wireless AP interface for the Mesh device to connect to, for connecting to the proxy node 3. When the proxy node is in the initial network access, the proxy node can select wired access to the Mesh network or wireless access to the Mesh network. For example, the proxy node 3 may select wireless access, the proxy node 4 may select limited access, etc. When the proxy node 4 is accessed into the Mesh network through a wire, a wire neighbor detection module can be started to detect a neighbor (the proxy node 3) to obtain an IP address of the control node; when the proxy node 3 is wirelessly accessed into the Mesh network, a wireless configuration monitoring module is started, and a Controller IP carried in a Vendor IE in a wireless Beacon sent by the control node 3 is detected; and then, establishing a safe connection with the control node based on the obtained Controller IP, and completing distribution network operation and configuration under the control of the Controller. After the distribution network is completed, starting a Controller IP monitoring module and updating the obtained Controller IP address, then updating the latest IP address to a wired neighbor detection module and a wireless configuration monitoring module, starting an AP (access point) interface for wireless connection of the Mesh device, and updating the Controller IP address to a wireless Beacon;
in a configured network, a monitoring module of the Controller continuously monitors an IP address of the Controller, and if the IP address changes, the monitoring module informs the IP address to a wired neighbor detection module and a wireless configuration monitoring module; the Controller informs the latest IP address to the neighbor Mesh device which is accessed to the Controller in a wired mode through a wired communication protocol, and informs the neighbor Mesh device which is accessed to the Controller in a wireless mode through a wireless configuration monitoring module. And after monitoring that the IP of the Controller is changed, the wired neighbor detection module or the wireless configuration monitoring module on the agent node informs the communication module to establish communication connection with the control node based on the latest IP address of the control node again. And then the proxy node continuously informs the latest IP address of the control node to the neighbor Mesh equipment in a wired or wireless mode. And sequentially updating, and informing all the next-level proxy nodes of the latest IP address of the control node until all the equipment in the network is updated to the latest IP address of the new control node. And finally, the proxy node in the whole network establishes a new communication connection channel with the Controller again.
Fig. 7 is a diagram illustrating an update information field structure, according to an example embodiment. As shown in fig. 7, the method includes, in addition to a source MAC address, a destination MAC address, and a control node IP (first node IP):
the method comprises the following steps of self-defining field, manufacturer OUI field, manufacturer self-defining identification field, neighbor detection protocol type field, packet sequence, networking identification, transmission hop count and other field information. The self-defined field is used for defining the protocol type of the transmission protocol; the vendor OUI (OUI) field is an organization unique identifier, and is uniformly assigned to the device manufacturer by IEEE. The manufacturer self-defined identification field is used for identifying the definition information of the equipment manufacturer; the Neighbor probe type field is used to identify a Request protocol or a Response protocol of the transmission protocol to the neighboring device, for example, if the Neighbor probe protocol type field is a Neighbor probe Request field, the message frame is a Request frame (IP probe Request including a first IP probe Request or a second IP probe Request) sent to the neighboring device, and if the Neighbor probe type field is a Neighbor probe Response field, the message frame is a Response frame (first Response message or a second Response message) of a Response Request frame sent to the neighboring device. And the networking identifiers are the same as the devices in the same networking.
An embodiment of the present disclosure further provides a terminal, including: a processor and a memory for storing a computer program operable on the processor, wherein the processor is configured to perform the steps of the method of the above embodiment when executing the computer program.
The embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the method in the above-mentioned embodiment.
Fig. 8 is a block diagram illustrating a terminal device according to an example embodiment. For example, the terminal device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 8, the terminal device may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the terminal device, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the terminal device. Examples of such data include instructions for any application or method operating on the terminal device, contact data, phonebook data, messages, pictures, videos, etc. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 806 provides power to various components of the terminal device. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device.
The multimedia component 808 includes a screen that provides an output interface between the terminal device and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. When the terminal device is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 814 includes one or more sensors for providing various aspects of state assessment for the terminal device. For example, sensor assembly 814 may detect the open/closed status of the terminal device, the relative positioning of components, such as a display and keypad of the terminal device, the change in position of the terminal device or a component of the terminal device, the presence or absence of user contact with the terminal device, the orientation or acceleration/deceleration of the terminal device, and the change in temperature of the terminal device. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the terminal device and other devices in a wired or wireless manner. The terminal device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (24)

1.一种节点接入Mesh网络的方法,其特征在于,应用于Mesh网络中的代理节点,所述Mesh网络还包括控制节点,所述方法包括:1. a method for node access Mesh network, is characterized in that, is applied to the agent node in Mesh network, described Mesh network also comprises control node, and described method comprises: 获取所述代理节点接入所述Mesh网络的连接方式,其中,所述连接方式包括有线和无线;Acquire the connection mode of the proxy node accessing the Mesh network, wherein the connection mode includes wired and wireless; 基于所述连接方式从所述代理节点的父级节点获取所述控制节点的最新IP地址;Obtain the latest IP address of the control node from the parent node of the proxy node based on the connection method; 基于获取的所述控制节点的最新IP地址与所述控制节点建立通信连接通道;Establish a communication connection channel with the control node based on the acquired latest IP address of the control node; 基于所述通信连接通道接收所述控制节点发送的控制信息。The control information sent by the control node is received based on the communication connection channel. 2.根据权利要求1所述的方法,其特征在于,所述基于所述连接方式从所述代理节点的父级节点获取所述控制节点的最新IP地址,包括:如果所述连接方式为有线方式,则2 . The method according to claim 1 , wherein the acquiring the latest IP address of the control node from the parent node of the proxy node based on the connection mode comprises: if the connection mode is wired. 3 . way, then 基于有线通信协议生成第一IP探测请求;generating a first IP probe request based on the wired communication protocol; 将所述第一IP探测请求发送给所述代理节点的至少一个邻居节点,其中,所述邻居节点包括所述代理节点的父级节点和子级节点;sending the first IP probe request to at least one neighbor node of the proxy node, wherein the neighbor node includes a parent node and a child node of the proxy node; 接收所述至少一个邻居节点对所述第一IP探测请求的第一应答消息,其中,所述第一应答消息包所述控制节点的IP地址和所述邻居节点的跳数;receiving a first response message from the at least one neighbor node to the first IP probe request, wherein the first response message includes the IP address of the control node and the hop count of the neighbor node; 根据接收到的所述至少一个邻居节点的跳数,从所述至少一个邻居节点中确认所述代理节点的父级节点;confirming the parent node of the proxy node from the at least one neighbor node according to the received hop count of the at least one neighbor node; 将所述父级节点的第一应答消息中的控制节点的IP地址确定为所述控制节点的最新IP地址。The IP address of the control node in the first response message of the parent node is determined as the latest IP address of the control node. 3.根据权利要求2所述的方法,其特征在于,所述基于所述连接方式从所述代理节点的父级节点获取所述控制节点的最新IP地址,包括:如果所述连接方式为无线方式,则3. The method according to claim 2, wherein the acquiring the latest IP address of the control node from the parent node of the proxy node based on the connection mode comprises: if the connection mode is wireless way, then 基于无线通信协议接收与所述代理节点连接的父级节点发送的信标帧,其中,所述信标帧包所述控制节点的IP地址;Receive a beacon frame sent by a parent node connected to the proxy node based on a wireless communication protocol, wherein the beacon frame includes the IP address of the control node; 将所述父级节点的信标帧中的控制节点的IP地址确定为所述控制节点的最新IP地址。The IP address of the control node in the beacon frame of the parent node is determined as the latest IP address of the control node. 4.根据权利要求2所述的方法,其特征在于,在从所述代理节点的父级节点获取所述控制节点的最新IP地址之后,所述方法还包括:4. The method according to claim 2, wherein after acquiring the latest IP address of the control node from the parent node of the proxy node, the method further comprises: 基于所述连接方式将所述控制节点的最新IP地址发送给所述代理节点的子级节点。Based on the connection mode, the latest IP address of the control node is sent to the child nodes of the proxy node. 5.根据权利要求3所述的方法,其特征在于,所述基于所述连接方式将所述控制节点的最新IP地址发送给所述代理节点的子级节点,包括:如果所述连接方式为有线方式,则5 . The method according to claim 3 , wherein the sending the latest IP address of the control node to the child nodes of the proxy node based on the connection mode comprises: if the connection mode is: 6 . wired, then 接收到所述代理节点的子级节点发送的第二IP探测请求,其中,所述第二IP探测请求包括源MAC地址、目标MAC地址和所述邻居节点的跳数,receiving a second IP probe request sent by a child node of the proxy node, wherein the second IP probe request includes a source MAC address, a target MAC address, and the hop count of the neighbor node, 基于所述第二IP探测请求生成第二应答消息,其中,所述第二应答消息包括所述控制节点的最新IP地址、源MAC地址和目标MAC地址。A second response message is generated based on the second IP probe request, wherein the second response message includes the latest IP address, source MAC address and destination MAC address of the control node. 6.根据权利要求5所述的方法,其特征在于,所述基于所述连接方式将所述控制节点的最新IP地址发送给所述代理节点的子级节点,包括:如果所述连接方式为无线方式,则6. The method according to claim 5, wherein the sending the latest IP address of the control node to the child nodes of the proxy node based on the connection mode comprises: if the connection mode is: wireless, then 基于所述控制节点的最新IP地址生成信标帧;generating a beacon frame based on the latest IP address of the control node; 向所述代理节点的子级节点发送所述信标帧。The beacon frame is sent to child nodes of the proxy node. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, wherein the method further comprises: 向有线方式连接的子级节点发送生成的所述第二应答消息时,所述第二应答消息携带的跳数的数值增加一。When the generated second response message is sent to the child node connected in a wired manner, the value of the number of hops carried in the second response message is increased by one. 8.一种Mesh网络中节点间通信的方法,其特征在于,应用于Mesh网络中的控制节点,所述Mesh网络还包括代理节点,所述方法包括:8. a method for communication between nodes in a Mesh network, is characterized in that, being applied to the control node in the Mesh network, the Mesh network also comprises an agent node, and the method comprises: 检测所述控制节点的网络协议IP地址是否有更新;Detecting whether the network protocol IP address of the control node is updated; 当所述控制节点的IP地址有更新时,基于所述代理节点与所述控制节点间的连接方式,向所述代理节点发送所述控制节点的最新IP地址,其中,所述连接方式包括有线连接和无线连接,所述最新IP地址用于供所述代理节点建立与所述控制节点间的通信连接通道;When the IP address of the control node is updated, send the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node, wherein the connection mode includes wired connection connection and wireless connection, the latest IP address is used for the agent node to establish a communication connection channel with the control node; 基于建立后的所述通信连接通道向所述代理节点发送控制信息。Send control information to the proxy node based on the established communication connection channel. 9.根据权利要求8所述的方法,其特征在于,所述基于所述代理节点与所述控制节点间的连接方式,向所述代理节点发送所述控制节点的最新IP地址,包括:如果所述连接方式为有线连接方式,则9. The method according to claim 8, wherein the sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node, comprising: if If the connection method is a wired connection method, then 在接收到所述代理节点发送的第一IP探测请求后,向所述代理节点发送所述第一IP探测请求的第一应答消息,其中,所述第一应答消息包括所述控制节点的最新IP地址和所述控制节点的跳数,所述第一IP探测请求为所述代理节点基于有线通信协议生成的用于向所述控制节点请求所述最新IP地址的探测请求信息。After receiving the first IP probe request sent by the proxy node, send a first response message of the first IP probe request to the proxy node, wherein the first response message includes the latest information of the control node The IP address and the hop count of the control node, the first IP probe request is probe request information generated by the proxy node based on a wired communication protocol and used to request the latest IP address from the control node. 10.根据权利要求8所述的方法,其特征在于,所述基于所述代理节点与所述控制节点间的连接方式,向所述代理节点发送所述控制节点的最新IP地址,包括:10. The method according to claim 8, wherein the sending the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node comprises: 如果所述连接方式为无线连接方式,则向所述代理节点发送信标帧,其中,所述信标帧包括所述控制节点的最新IP地址。If the connection mode is a wireless connection mode, a beacon frame is sent to the proxy node, wherein the beacon frame includes the latest IP address of the control node. 11.根据权利要求8所述的方法,其特征在于,所述方法还包括:11. The method of claim 8, wherein the method further comprises: 向有线方式连接的代理节点发送生成的所述第一应答消息时,所述第一应答消息携带的跳数的数值增加一。When the generated first response message is sent to the proxy node connected in a wired manner, the value of the number of hops carried in the first response message is increased by one. 12.一种信息交互装置,其特征在于,应用于Mesh网络中的代理节点中,所述装置包括:12. An information exchange device, characterized in that, applied to a proxy node in a Mesh network, the device comprising: 第一处理单元,用于获取所述代理节点接入所述Mesh网络的连接方式,其中,所述连接方式包括有线和无线;a first processing unit, configured to obtain a connection mode of the proxy node accessing the Mesh network, wherein the connection mode includes wired and wireless; 第二处理单元,用于基于所述连接方式从所述代理节点的父级节点获取所述控制节点的最新IP地址;a second processing unit, configured to obtain the latest IP address of the control node from the parent node of the proxy node based on the connection mode; 第三处理单元,用于基于获取的所述控制节点的最新IP地址与所述控制节点建立通信连接通道;a third processing unit, configured to establish a communication connection channel with the control node based on the acquired latest IP address of the control node; 第四处理单元,用于基于所述通信连接通道接收所述控制节点发送的控制信息。The fourth processing unit is configured to receive the control information sent by the control node based on the communication connection channel. 13.根据权利要求12所述的信息交互装置,其特征在于,所述第二处理单元,具体用于如果所述连接方式为有线方式,则13 . The information interaction device according to claim 12 , wherein the second processing unit is specifically configured to: if the connection mode is a wired mode, the 基于有线通信协议生成第一IP探测请求;generating a first IP probe request based on the wired communication protocol; 将所述第一IP探测请求发送给所述代理节点的至少一个邻居节点,其中,所述邻居节点包括所述代理节点的父级节点和子级节点;sending the first IP probe request to at least one neighbor node of the proxy node, wherein the neighbor node includes a parent node and a child node of the proxy node; 接收所述至少一个邻居节点对所述第一IP探测请求的第一应答消息,其中,所述第一应答消息包所述控制节点的IP地址和所述邻居节点的跳数;receiving a first response message from the at least one neighbor node to the first IP probe request, wherein the first response message includes the IP address of the control node and the hop count of the neighbor node; 根据接收到的所述至少一个邻居节点的跳数,从所述至少一个邻居节点中确认所述代理节点的父级节点;confirming the parent node of the proxy node from the at least one neighbor node according to the received hop count of the at least one neighbor node; 将所述父级节点的第一应答消息中的控制节点的IP地址确定为所述控制节点的最新IP地址。The IP address of the control node in the first response message of the parent node is determined as the latest IP address of the control node. 14.根据权利要求12所述的信息交互装置,其特征在于,所述第二处理单元,具体用于如果所述连接方式为无线方式,则14. The information interaction apparatus according to claim 12, wherein the second processing unit is specifically configured to: if the connection mode is a wireless mode, then 基于无线通信协议接收与所述代理节点连接的父级节点发送的信标帧,其中,所述信标帧包所述控制节点的IP地址;Receive a beacon frame sent by a parent node connected to the proxy node based on a wireless communication protocol, wherein the beacon frame includes the IP address of the control node; 将所述父级节点的信标帧中的控制节点的IP地址确定为所述控制节点的最新IP地址。The IP address of the control node in the beacon frame of the parent node is determined as the latest IP address of the control node. 15.根据权利要求12所述的信息交互装置,其特征在于,所述装置包括:第五处理单元用于在从所述代理节点的父级节点获取所述控制节点的最新IP地址之后,基于所述连接方式将所述控制节点的最新IP地址发送给所述代理节点的子级节点。15 . The information interaction apparatus according to claim 12 , wherein the apparatus comprises: a fifth processing unit configured to, after acquiring the latest IP address of the control node from the parent node of the proxy node, based on 15 . The connection mode sends the latest IP address of the control node to the child nodes of the proxy node. 16.根据权利要求15所述的信息交互装置,其特征在于,所述第五处理单元具体用于如果所述连接方式为有线方式,则16 . The information interaction device according to claim 15 , wherein the fifth processing unit is specifically configured to: if the connection mode is a wired mode, then: 16 . 接收到所述代理节点的子级节点发送的第二IP探测请求,其中,所述第二IP探测请求包括源MAC地址、目标MAC地址和所述邻居节点的跳数,receiving a second IP probe request sent by a child node of the proxy node, wherein the second IP probe request includes a source MAC address, a target MAC address, and the hop count of the neighbor node, 基于所述第二IP探测请求生成第二应答消息,其中,所述第二应答消息包括所述控制节点的最新IP地址、源MAC地址和目标MAC地址。A second response message is generated based on the second IP probe request, wherein the second response message includes the latest IP address, source MAC address and destination MAC address of the control node. 17.根据权利要求16所述的信息交互装置,其特征在于,所述第五处理单元具体用于如果所述连接方式为无线方式,则17. The information interaction device according to claim 16, wherein the fifth processing unit is specifically configured to: if the connection mode is a wireless mode, then 基于所述控制节点的最新IP地址生成信标帧;generating a beacon frame based on the latest IP address of the control node; 向所述代理节点的子级节点发送所述信标帧。The beacon frame is sent to child nodes of the proxy node. 18.根据权利要求17所述的信息交互装置,其特征在于,所述第五处理单元具体还用于向有线方式连接的子级节点发送生成的所述第二应答消息时,所述第二应答消息携带的跳数的数值增加一。18 . The information interaction apparatus according to claim 17 , wherein the fifth processing unit is further configured to send the generated second response message to the sub-node connected in a wired manner, when the second response message is generated. 18 . The value of the hop count carried in the reply message is incremented by one. 19.一种信息交互装置,其特征在于,应用于Mesh网络中的控制节点,所述装置包括:19. An information exchange device, characterized in that it is applied to a control node in a Mesh network, the device comprising: 第一处理单元,用于检测所述第一节点的网络协议IP地址是否有更新;a first processing unit, configured to detect whether the network protocol IP address of the first node is updated; 第二处理单元,用于当所述第一节点的IP地址有更新时,基于所述代理节点与所述控制节点间的连接方式,向所述代理节点发送所述控制节点的最新IP地址,其中,所述连接方式包括有线连接和无线连接,所述最新IP地址用于供所述代理节点建立与所述控制节点间的通信连接通道;a second processing unit, configured to send the latest IP address of the control node to the proxy node based on the connection mode between the proxy node and the control node when the IP address of the first node is updated, Wherein, the connection mode includes wired connection and wireless connection, and the latest IP address is used for the agent node to establish a communication connection channel with the control node; 第三处理单元,用于基于建立后的所述通信连接通道向所述代理节点发送控制信息。The third processing unit is configured to send control information to the proxy node based on the established communication connection channel. 20.根据权利要求19所述的信息交互装置,其特征在于,所述第二处理单元,具体用于如果所述连接方式为有线连接方式,则20. The information interaction device according to claim 19, wherein the second processing unit is specifically configured to: if the connection mode is a wired connection mode, then 在接收到所述代理节点发送的第一IP探测请求后,向所述代理节点发送所述第一IP探测请求的第一应答消息,其中,所述第一应答消息包括所述控制节点的最新IP地址和所述控制节点的跳数,所述第一IP探测请求为所述代理节点基于有线通信协议生成的用于向所述控制节点请求所述最新IP地址的探测请求信息。After receiving the first IP probe request sent by the proxy node, send a first response message of the first IP probe request to the proxy node, wherein the first response message includes the latest information of the control node The IP address and the hop count of the control node, the first IP probe request is probe request information generated by the proxy node based on a wired communication protocol and used to request the latest IP address from the control node. 21.根据权利要求19所述的信息交互装置,其特征在于,所述第二处理单元,具体用于如果所述连接方式为无线连接方式,则向所述代理节点发送信标帧,其中,所述信标帧包括所述控制节点的最新IP地址。21. The information interaction apparatus according to claim 19, wherein the second processing unit is specifically configured to send a beacon frame to the proxy node if the connection mode is a wireless connection mode, wherein: The beacon frame includes the latest IP address of the control node. 22.根据权利要求19所述的信息交互装置,其特征在于,所述第二处理单元具体还用于向有线方式连接的代理节点发送生成的所述第一应答消息时,所述第一应答消息携带的跳数的数值增加一。22 . The information interaction apparatus according to claim 19 , wherein the second processing unit is further configured to send the generated first response message to the proxy node connected in a wired manner, the first response The value of the hop count carried by the message is incremented by one. 23.一种终端,其特征在于,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行权利要求1至11任一项所述方法的步骤。23. A terminal, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein the processor is configured to execute claims 1 to 11 when running the computer program The steps of any one of the methods. 24.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至11任一项所述方法的步骤。24. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
CN202110505490.0A 2021-05-10 2021-05-10 Method for accessing node to Mesh network, information interaction device, terminal and storage medium Active CN113329474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110505490.0A CN113329474B (en) 2021-05-10 2021-05-10 Method for accessing node to Mesh network, information interaction device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110505490.0A CN113329474B (en) 2021-05-10 2021-05-10 Method for accessing node to Mesh network, information interaction device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113329474A true CN113329474A (en) 2021-08-31
CN113329474B CN113329474B (en) 2022-11-18

Family

ID=77415333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110505490.0A Active CN113329474B (en) 2021-05-10 2021-05-10 Method for accessing node to Mesh network, information interaction device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113329474B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873612A (en) * 2021-10-22 2021-12-31 北京小米移动软件有限公司 Network access method and device, and storage medium
CN114585007A (en) * 2022-04-07 2022-06-03 杭州萤石软件有限公司 Networking method, equipment and system of wireless grid equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150156815A1 (en) * 2013-12-03 2015-06-04 Cisco Technology, Inc. Wireless Mesh Network Including Resilient Backhaul Links and WLAN Traffic Local Switching
CN106921580A (en) * 2015-12-28 2017-07-04 航天信息股份有限公司 The method and apparatus that route is realized in tree network
CN112073920A (en) * 2020-09-15 2020-12-11 杭州萤石软件有限公司 Networking method of wireless grid network node and network node equipment
US20210075867A1 (en) * 2002-10-28 2021-03-11 MeshDynamics High performance wireless network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210075867A1 (en) * 2002-10-28 2021-03-11 MeshDynamics High performance wireless network
US20150156815A1 (en) * 2013-12-03 2015-06-04 Cisco Technology, Inc. Wireless Mesh Network Including Resilient Backhaul Links and WLAN Traffic Local Switching
CN106921580A (en) * 2015-12-28 2017-07-04 航天信息股份有限公司 The method and apparatus that route is realized in tree network
CN112073920A (en) * 2020-09-15 2020-12-11 杭州萤石软件有限公司 Networking method of wireless grid network node and network node equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
胥桓等: "基于无线Mesh网络技术的列车宽带接入原型系统设计", 《铁道学报》 *
胥桓等: "基于无线Mesh网络技术的列车宽带接入原型系统设计", 《铁道学报》, vol. 32, no. 02, 30 April 2010 (2010-04-30) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873612A (en) * 2021-10-22 2021-12-31 北京小米移动软件有限公司 Network access method and device, and storage medium
CN113873612B (en) * 2021-10-22 2024-03-01 北京小米移动软件有限公司 Method and device for accessing network and storage medium
CN114585007A (en) * 2022-04-07 2022-06-03 杭州萤石软件有限公司 Networking method, equipment and system of wireless grid equipment
CN114585007B (en) * 2022-04-07 2024-05-03 杭州萤石软件有限公司 Networking method, equipment and system of wireless grid equipment

Also Published As

Publication number Publication date
CN113329474B (en) 2022-11-18

Similar Documents

Publication Publication Date Title
US11368453B2 (en) Network configuration method and device, electronic device and storage medium
CN108886681B (en) System and method for registering wireless devices and communicating information
US10098166B2 (en) Method and device for wireless connection establishment
CN110995665A (en) Distribution network method and device, electronic device and storage medium
CN113115403B (en) Method, device, electronic equipment and storage medium for network node to access network
JP6646248B2 (en) Audio system, audio equipment and audio system reconnection method
CN108293272B (en) Method for device-to-device communication between a local device and a remote device
US20170346891A1 (en) Communication method
CN113329474B (en) Method for accessing node to Mesh network, information interaction device, terminal and storage medium
US20250254095A1 (en) Reverse wireless discovery for adding an iot device to an iot ecosystem
JP7143071B2 (en) Communication device, communication system, communication method, and program
CN113395745B (en) Method, device, terminal and storage medium for accessing Mesh network
CN113727462B (en) Wireless connection establishment method and device, electronic equipment and storage medium
CN113163467B (en) Method, device, terminal and storage medium for updating node hop count in Mesh network
CN113473441B (en) Data forwarding method and device, node equipment and storage medium
JP2017041758A (en) Audio system, audio apparatus and audio apparatus management method
CN115606250A (en) Network access method and device and storage medium
CN107925939B (en) Communication device connection method and communication device
JP6631078B2 (en) Audio device connection method, audio device, audio system control program, and control terminal device
CN117014994A (en) Data transmission method, device, electronic equipment and storage medium
CN113395173A (en) Information interaction method, information interaction device, terminal and storage medium
CN117014995A (en) mesh network node information updating method, device, equipment and storage medium
CN120223578A (en) Method, device and storage medium for information interaction between devices
CN113473573B (en) Information processing method and device, wireless access equipment and intelligent household equipment
CN118828793A (en) Network access method and device, storage medium and electronic device

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