CN104968032B - A kind of MP nodes network access method, MP nodes and MPP nodes - Google Patents

A kind of MP nodes network access method, MP nodes and MPP nodes Download PDF

Info

Publication number
CN104968032B
CN104968032B CN201510224182.5A CN201510224182A CN104968032B CN 104968032 B CN104968032 B CN 104968032B CN 201510224182 A CN201510224182 A CN 201510224182A CN 104968032 B CN104968032 B CN 104968032B
Authority
CN
China
Prior art keywords
nodes
mpp
network
network access
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510224182.5A
Other languages
Chinese (zh)
Other versions
CN104968032A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810481037.9A priority Critical patent/CN108834198B/en
Priority to CN201510224182.5A priority patent/CN104968032B/en
Publication of CN104968032A publication Critical patent/CN104968032A/en
Application granted granted Critical
Publication of CN104968032B publication Critical patent/CN104968032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/654International mobile subscriber identity [IMSI] numbers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention provides a kind of MP nodes network access method, MP nodes and MPP nodes.One of which method includes:MP nodes configure self attributes when being introduced into network, including configuring meshid, network and configuration hostname are introduced into identify the MP nodes, to carry out unique mark to the MP nodes;The MPP nodes of the MP nodes periodic scan MP nodes to be added;The MP nodes are according to the MPP nodes unique identifier of itself in the hostname of the MPP nodes of the MP nodes to be added, configuration and the temporary ip address in the same network segment of MPP nodes;The MP nodes ask the MPP nodes to distribute formal IP address for the MP nodes to MPP nodes transmission dhcp client request;And the MP nodes judge the MP nodes network access success when obtaining formal IP address from the MPP nodes in preset time period.The automatic quick network access of the achievable MP nodes of the present invention.

Description

A kind of MP nodes network access method, MP nodes and MPP nodes
Technical field
The present invention relates to network technology, more particularly to a kind of MP nodes network access method, MP nodes and MPP nodes.
Background technology
Mesh (Mesh, radio honeycomb grid) network is " multi-hop (multi-hop) " network, is by adhoc (adhoc, nothing Line self-organizing) network Development is one of key technology for solving the problems, such as " last one kilometer ".Mesh network has broadband height The advantage of speed and spectral efficient, and with dynamic self-organization, certainly self-configuring, the outstanding features such as maintenance.Therefore, Mesh network Feature is very suitable for smart home (such as intelligent wireless speaker, intelligent appliance etc.), smart city, school and public place The fields such as security monitoring, at present it be widely considered to be a developing direction of radio network technique in the industry.
Mesh network model is to substitute wired connection using wireless connection to connect multiple Mesh nodes, Wireless Mesh Network structure is generally as shown in Figure 1.The network is mainly made of 2 kinds of nodes:MP nodes (MP, Mesh Portal Point), Mesh access points (MPP, Mesh Point).MPP nodes are the extensions of traditional AP (AP, wireless access node), its one end leads to Wired or wireless way access AP is crossed so as to be connected into internet, is to connect wireless Mesh netword and the access point of non-Mesh network, And the control node of entire Mesh network.MP nodes support the work(such as automated topology, the automatic discovery of routing, the forwarding of data packet Energy.AP so is accessed eventually by a MPP node, so as to form a Mesh mobile application network.
How by one from node add in a Mesh network, so as to effectively manage each node be worth research.Group Building the premise of Mesh network includes:The wireless network of each equipment is operated in same channel;The network interface quilt of each equipment Identical meshid is arranged to, meshid is similar to the SSID (SSID, service set) of common AP hot spots, is access point One title;The network interface of each equipment is provided with identical cipher mode, that is, be arranged to OPEN (not encrypting) or certain Kind encrypted form, identical key should be also set if encryption;And the network interface of each equipment is all provided with respectively not Identical IP (IP, procotol) address.Therefore, in the prior art, when a MP node is prepared to enter into a Mesh network, User configures MP nodes according to the configuration of MPP nodes in the Mesh network, after the completion of the configuration of MP nodes, MP nodes and MPP Node can be autonomously formed network, so as to which MP nodes add in the Mesh network.The shortcomings that this way, is to need user manual MP nodes are configured according to the configuration of MPP nodes, so as to be difficult to realize that MP nodes rapidly are added in network.
The content of the invention
The embodiment of the present invention discloses a kind of MP nodes network access method, MP nodes and MPP nodes, to realize the automatic of MP nodes Quick network access.
The first MP node network access method disclosed by the embodiments of the present invention, including:
MP nodes configure self attributes when being introduced into network, including configure meshid, with identify the MP nodes not into Enter network and configuration hostname, to carry out unique mark to the MP nodes;
The MPP nodes of the MP nodes periodic scan MP nodes to be added, wherein, it is saved in scanning to a MPP When being configured with the unique identifier of the MP nodes in the hostname of point, the MP nodes determine the MPP nodes to wait to add Add the MPP nodes of the MP nodes;
MP nodes MPP nodes unique identifier of itself according to the hostname of the MPP nodes, configuration With the temporary ip address in the same network segment of MPP nodes;
The MP nodes transmit dynamic host configuration protocol DHCP client request to the MPP nodes, ask the MPP Node distributes formal IP address for the MP nodes;And
When the MP nodes obtain formal IP address in preset time period from the MPP nodes, the MP nodes are judged Network access success.
In one embodiment, after the MP nodes network access success is judged, the method further includes:
The unique identifier of the MPP nodes is write the MP and saved by the meshid of the MP runtime node reconfigurations itself The meshid of point, to identify the MP nodes network access success.
In one embodiment, after the MP nodes network access success is judged, the method further includes:
The attribute of itself is sent to the MPP nodes by the MP nodes, wherein, the attribute is saved including at least the MP The formal IP address and unique identifier of point.
In one embodiment, the unique identifier of the MP nodes is the MAC Address or product serial of the MP nodes Number.
Second of MP node network access methods disclosed by the embodiments of the present invention, including:
MPP nodes respond the control data for the intelligent terminal broadcast that same LAN is in the MPP nodes, and scanning is not Into the MP nodes of network, wherein, whether the MPP nodes judge MP nodes into networking by scanning the meshid of MP nodes Network;
The unique identifier of the MP nodes for being introduced into network scanned is sent to the intelligence eventually by the MPP nodes End;
Described in the unique identifier write-in for all MP nodes to be added that the MPP nodes select the intelligent terminal The hostname of MPP nodes;
The MPP nodes start dynamic host configuration protocol DHCP server service, for all MP sections to be added Point distributes formal IP address;And
The MPP nodes receive the category of the MP nodes of the MP nodes transmission to be added in preset time period Property information when, judge MP nodes network access success.
In one embodiment, after the MP nodes network access success is judged, the method further includes:
The MPP nodes delete the unique identifier of the MP nodes from the hostname of the MPP.
In one embodiment, the unique identifier of the MPP nodes is the MAC Address of the MPP nodes or product sequence Row number.
A kind of MP nodes disclosed by the embodiments of the present invention, including:
Attribute configuration module, for configuring the attribute of the MP nodes when the MP nodes are introduced into network, including matching somebody with somebody Meshid is put, network and configuration hostname are introduced into identify the MP nodes, uniquely to be marked to the MP nodes Know;
Scan module, for the MPP nodes of the periodic scan MP nodes to be added, wherein, in scanning a to MPP When the unique identifier of the MP nodes is configured in the hostname of node, the MP nodes determine the MPP nodes to treat Add the MPP nodes of the MP nodes;
Temporary ip address configuration module, for MPP nodes itself described in the hostname according to the MPP nodes only One identifier, configuration and the temporary ip address in the same network segment of MPP nodes;
Formal IP address request module, for being asked to MPP nodes transmission dynamic host configuration protocol DHCP client It asks, the MPP nodes is asked to distribute formal IP address for the MP nodes;And
Network access judgment module, in preset time period the MP nodes obtain formal IP address from the MPP nodes When, judge the MP nodes network access success.
In one embodiment, the attribute configuration module is additionally operable to after MP nodes network access success, reconfigures The unique identifier of the MPP nodes is write the meshid of the MP nodes, with described in mark by the meshid of the MP nodes The success of MP nodes network access.
In one embodiment, the network access judgment module, be additionally operable to the MP nodes network access success after, by itself Attribute is sent to the MPP nodes, wherein, the attribute includes at least the formal IP address and unique mark of the MP nodes Symbol.
In one embodiment, the unique identifier of the MP nodes is the MAC Address or product serial of the MP nodes Number.
A kind of MPP nodes disclosed by the embodiments of the present invention, including:
Scan module, for responding the control data for the intelligent terminal broadcast that same LAN is in the MPP nodes, Scanning is introduced into the MP nodes of network, wherein, the MPP nodes by scan the meshid of MP nodes judge MP nodes whether into Enter network;
Delivery module, for the unique identifier of the MP nodes for being introduced into network scanned to be sent to the intelligence eventually End;
Attribute configuration module, the unique identifier of all MP nodes to be added for the intelligent terminal to be selected are write Enter the hostname of the MPP nodes;
Formal IP address distribution module for starting dynamic host configuration protocol DHCP server service, owns to be described MP nodes to be added distribute formal IP address;And
Network access judgment module, in preset time period the MPP receive the MP nodes transmission to be added During the attribute information of the MP nodes, the MP nodes network access success is judged.
In one embodiment, the attribute configuration module is additionally operable to after MP nodes network access success, by the MP The unique identifier of node is deleted from the hostname of the MPP.
In one embodiment, the unique identifier of the MPP nodes is the MAC Address of the MPP nodes or product sequence Row number.
Compared to the prior art, the first MP nodes network access method and MP nodes disclosed by the embodiments of the present invention have as follows Advantageous effect:MP nodes are when being introduced into network, automatically MPP nodes of the periodic scan MP nodes to be added, and When scanning the MPP nodes of the MP nodes to be added, the MPP nodes is asked to distribute formal IP address, are being successfully obtained just After Formulas I P address, that is, the network that is successfully joined where the MPP nodes, it is achieved thereby that the automatic quick network access of MP nodes.
Compared to the prior art, second of MP nodes network access method and MPP nodes disclosed by the embodiments of the present invention have such as Lower advantageous effect:MPP nodes scan the MP nodes for not adding in network under the control of intelligent terminal, and can automatically by one or Multiple MP nodes to be added are added in into network simultaneously, it is achieved thereby that automatically rapidly adding in one or more MP nodes Network.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the structure diagram of wireless Mesh netword in the prior art;
Fig. 2 is the flow chart of the first MP node network access method disclosed by the embodiments of the present invention;
Fig. 3 is the flow chart of second of MP node network access methods disclosed by the embodiments of the present invention;
Fig. 4 is the structure diagram of MP nodes disclosed by the embodiments of the present invention;And
Fig. 5 is the structure diagram of MPP nodes disclosed by the embodiments of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment belongs to the scope of protection of the invention.
With reference to figure 2, the first MP node network access method disclosed by the embodiments of the present invention, the method is applied to MP nodes, Including:
Step 201, MP nodes configure self attributes when being introduced into network, including configuring meshid, to identify the MP Node is introduced into network and configuration hostname, to carry out unique mark to the MP nodes.
For example, when meshid being configured to mesh-id-undefine, then the MP nodes is identified and are introduced into network. Certainly, because meshid can arbitrarily be set, meshid can also be configured with other parameter, is introduced into identifying the MP nodes Network.
Wherein it is possible to unique mark is carried out to the MP nodes with the MAC Address or product ID of the MP nodes.
The MPP nodes of step 202, MP node periodic scans the MP nodes to be added, wherein, in scanning to one When the unique identifier of the MP nodes is configured in the hostname of MPP nodes, the MP nodes determine that the MPP nodes are The MPP nodes of the MP nodes to be added.
Wherein, the length of the time interval of MP node scans is by scanning duration, scanning result handling duration and delay process It codetermines, is traditionally arranged to be between 1 second to 2 seconds.It certainly, can be faster into net spee if the time interval that scans is shorter.
Unique mark of step 203, MP nodes MPP nodes itself according to the hostname of the MPP nodes Know symbol, configuration and the temporary ip address in the same network segment of MPP nodes, such as the institute in the hostname of the MPP nodes When stating the MAC Address that the MPP nodes unique identifiers of itself is the MPP nodes, temporary ip address 192.168.MAC.XX, Wherein XX is the random value in 1-100.
Step 204, the MP nodes transmit DHCP (DHCP, dynamic host configuration protocol) client to the MPP nodes Request asks the MPP nodes to distribute formal IP address for the MP nodes.
When step 205, the MP nodes obtain formal IP address in preset time period from the MPP nodes, institute is judged State the success of MP nodes network access.
Wherein it is possible to according to MPP nodes can into the formal IP address of the distribution of work duration and MP node scans time between Every setting preset time period, error in judgement or because default occur to ensure will not to set too short because preset time period Period sets long and MP nodes are still carrying out network access judgement when causing to scan beginning next time.
In the method for the present embodiment, when being introduced into network, automatically the periodic scan MP to be added is saved MP nodes The MPP nodes of point, and in the MPP nodes of scanning to the MP nodes to be added, ask the MPP nodes with distributing formal IP Location, after formal IP address is successfully obtained, that is, the network that is successfully joined where the MPP nodes, it is achieved thereby that MP nodes Automatic quick network access.
In one embodiment, after the MP nodes network access success is judged, the method further includes:The MP nodes weight The meshid of itself is newly configured, the unique identifier that will add the MPP nodes of the MP nodes writes the MP nodes Meshid has been enter into network to identify the MP nodes.The meshid of the MP nodes after reconfiguring is with adding the MP The meshid of the MPP nodes of node is identical.
Wherein, the unique identifier of the MPP nodes can be the MAC Address or product ID of the MPP nodes.One As the MAC Address of the MPP nodes is write to the meshid of the MP nodes.
In one embodiment, after the MP nodes network access success is judged, the method further includes:The MP nodes to The MPP nodes transmit the attribute information of the MP nodes.
Wherein, the attribute information of the MP nodes may include the formal IP address and unique identifier of the MP nodes.Institute The unique identifier for stating MP nodes can be the MAC Address or product ID of the MP nodes.Generally by the MAC of the MP nodes Address is sent to the MPP nodes.When the MPP nodes receive the formal IP address of the MP nodes, you can described in judgement MP nodes have succeeded network access.
With reference to figure 3, second of MP network access methods disclosed by the embodiments of the present invention, the method is applied to MPP nodes, bag It includes:
The control for the intelligent terminal broadcast that step 301, the response of MPP nodes are in same LAN with the MPP nodes please It asks, scanning is introduced into the MP nodes of network, wherein, the MPP nodes judge that MP nodes are by scanning the meshid of MP nodes It is no to enter network.
For example, when the meshid of a MP node is mesh-id-undefine, described in the MPP nodes judgement MP nodes are introduced into network.
Wherein, in the prior art, when starting to build a Mesh network, it is gateway section to configure a Mesh node first Point (be known as MPP nodes), including to the network parameters such as the hostname, meshid of itself, channel, cipher mode, IP address into The route network of tree is realized in row configuration by it as root node, other Mesh nodes (being known as MP nodes) and MPP nodes Connection forms Mesh network.And in the present embodiment, when a Mesh node is configured to MPP nodes, the configuration to meshid It is to have been enter into network for that will identify Mesh nodes to be introduced into network amendment, such as mesh- is revised as by mesh-id-undefine The MAC Address of id-Mesh nodes (i.e. MPP nodes), therefore MPP nodes know which kind of meshid mark MP node is introduced into advance Network can judge whether MP nodes enter network by scanning the meshid of MP nodes.
Wherein, intelligent terminal can periodically Broadcasting Control request or the operation Broadcasting Control request of response user.
Wherein, intelligent terminal can be smart mobile phone, tablet computer, personal computer or other smart machines.Intelligence is eventually End is connected by AP with MPP nodes, and is in same LAN with MPP nodes.
The unique identifier of the MP nodes for being introduced into network scanned is sent to intelligence by step 302, the MPP nodes Terminal.
Wherein, the unique identifier can be the MAC Address or product ID of the MP nodes, will generally be introduced into net The MAC Address of the MP nodes of network is sent to intelligent terminal.
The unique identifier write-in for all MP nodes to be added that step 303, the MPP nodes select intelligent terminal The hostname of the MPP nodes.
Step 304, the MPP nodes start Dynamic Host Configuration Protocol server service, for all MP nodes distribution to be added just Formulas I P address.
Step 305, the MPP nodes receive the MP of the MP nodes transmission to be added in preset time period During the attribute information of node, the MP nodes network access success is judged.
It wherein, can be formal into the distribution of work according to MPP nodes when intelligent terminal is periodic broadcast control data The time interval of duration and intelligent terminal the Broadcasting Control request of IP address sets preset time period, with ensure will not be because of pre- If the period sets too short and error in judgement occurs or because preset time period sets long intelligent terminal is caused to start During the scanning next time of MPP nodes, MPP nodes are still carrying out the judgement of MP nodes network access.
It wherein, can be into the distribution of work according to MPP nodes when intelligent terminal response user's operation Broadcasting Control request The duration of formal IP address sets preset time period, occurs judging to lose to ensure will not to set too short because preset time period Cause MPP Node latencies long by mistake or because preset time period sets long, so as to delay under MPP nodes Single pass.
Wherein, the attribute information of the MP nodes may include the formal IP address and unique identifier of the MP nodes.Institute The unique identifier for stating MP nodes can be the MAC Address or product ID of the MP nodes, generally by the MAC of the MP nodes Address is sent to the MPP nodes.When the MPP nodes receive the formal IP address of the MP nodes, you can described in judgement MP nodes have succeeded network access.
Wherein, when MP nodes to be added are multiple, the MPP nodes may be successfully a part of MP nodes point With formal IP address, and remaining MP node obtains formal IP address in which may fail, that is, fail network access, fails into The attribute information of the MP nodes of work(network access is not transferred into the MPP nodes.
In the method for the present embodiment, MPP nodes scan the MP nodes for not adding in network under the control of intelligent terminal, and can Multiple MP nodes to be added are automatically added in into networks by one or simultaneously, it is achieved thereby that automatically rapidly by one or Multiple MP nodes add in network.
In one embodiment, after the MP nodes network access success is judged, the method may also include:The MPP sections Point deletes the unique identifier of the successful MP nodes of the network access from the hostname of the MPP.
With reference to figure 4, the structure diagram of MP nodes disclosed by the embodiments of the present invention, the MP nodes can match somebody with somebody including attribute Put module 11, scan module 12, temporary ip address configuration module 13, formal IP address request module 14 and network access judgment module 15, wherein:
Attribute configuration module 11, for configuring the attribute of the MP nodes when the MP nodes are introduced into network, including Meshid is configured, network and configuration hostname are introduced into identify the MP nodes, it is unique to be carried out to the MP nodes Mark.
For example, when meshid being configured to mesh-id-undefine, then the MP nodes is identified and are introduced into network. Certainly, because meshid can arbitrarily be set, meshid can also be configured with other parameter, is introduced into identifying the MP nodes Network.
Wherein it is possible to unique mark is carried out to the MP nodes with the MAC Address or product ID of the MP nodes.
Scan module 12, for the MPP nodes of the periodic scan MP nodes to be added, wherein, in scanning to one When the unique identifier of the MP nodes is configured in the hostname of MPP nodes, the MP nodes determine that the MPP nodes are The MPP nodes of the MP nodes to be added.
Wherein, the length of the time interval of MP node scans is by scanning duration, scanning result handling duration and delay process It codetermines, is traditionally arranged to be between 1 second to 2 seconds.It certainly, can be faster into net spee if the time interval that scans is shorter.
Temporary ip address configuration module 13, for MPP nodes itself described in the hostname according to the MPP nodes Unique identifier, configuration and the temporary ip address in the same network segment of MPP nodes, such as in the MPP nodes When the unique identifiers of itself of MPP nodes described in hostname are the MAC Address of the MPP nodes, temporary ip address is 192.168.MAC.XX, wherein XX is the random value in 1-100.
Formal IP address request module 14, for MPP nodes transmission dhcp client request, asking the MPP Node distributes formal IP address for the MP nodes.
Network access judgment module 15, in preset time period the MP nodes from the MPP nodes with obtaining formal IP During location, the MP nodes network access success is judged.
Wherein it is possible to according to MPP nodes can into the formal IP address of the distribution of work duration and MP node scans time between Every setting preset time period, error in judgement or because default occur to ensure will not to set too short because preset time period Period sets long and MP nodes are still carrying out network access judgement when causing to scan beginning next time.
In the device of the present embodiment, for MP nodes when being introduced into any network, automatically periodic scan is to be added described The MPP nodes of MP nodes, and in the MPP nodes of scanning to the MP nodes to be added, ask the MPP nodes distribution formal IP address, after formal IP address is successfully obtained, that is, the network that is successfully joined where the MPP nodes, it is achieved thereby that MP is saved The automatic quick network access of point.
In one embodiment, attribute configuration module 11 is additionally operable to after MP nodes network access success, reconfigures institute The meshid of MP nodes is stated, the unique identifier that will add the MPP nodes of the MP nodes writes the MP nodes Meshid has been enter into network to identify the MP nodes.The meshid of the MP nodes after reconfiguring is with adding the MP The meshid of the MPP nodes of node is identical.
Wherein, the unique identifier of the MPP nodes can be the MPP nodes MAC Address or product ID, one As the MAC Address of the MPP nodes is write to the meshid of the MP nodes.
In one embodiment, network access judgment module 15 is additionally operable to after MP nodes network access success, is saved to the MPP Point transmits the attribute information of the MP nodes.
Wherein, the attribute information of the MP nodes may include the formal IP address and unique identifier of the MP nodes.Institute The unique identifier for stating MP nodes can be the MAC Address or product ID of the MP nodes, generally by the MAC of the MP nodes Address is sent to the MPP nodes.When the MPP nodes receive the formal IP address of the MP nodes, you can described in judgement MP nodes have succeeded network access.
With reference to figure 5, the structure diagram of MPP nodes disclosed by the embodiments of the present invention, the MPP nodes can include scanning Module 21, delivery module 22, attribute configuration module 23, formal IP address distribution module 24 and network access judgment module 25, wherein:
Scan module 21, the control for responding the intelligent terminal broadcast for being in same LAN with the MPP nodes please It asks, scanning is introduced into the MP nodes of network, wherein, the MPP nodes judge that MP nodes are by scanning the meshid of MP nodes It is no to enter network.
For example, when the meshid of a MP node is mesh-id-undefine, described in the MPP nodes judgement MP nodes are introduced into network.
Wherein, in the prior art, when starting to build a Mesh network, it is gateway section to configure a Mesh node first Point (be known as MPP nodes), including to the network parameters such as the hostname, meshid of itself, channel, cipher mode, IP address into The route network of tree is realized in row configuration by it as root node, other Mesh nodes (being known as MP nodes) and MPP nodes Connection forms Mesh network.And in the present embodiment, when a Mesh node is configured to MPP nodes, the configuration to meshid It is to have been enter into network for that will identify Mesh nodes to be introduced into network amendment, such as mesh- is revised as by mesh-id-undefine The MAC Address of id-Mesh nodes (i.e. MPP nodes), therefore MPP nodes know which kind of meshid mark MP node is introduced into advance Network can judge whether MP nodes enter network by scanning the meshid of MP nodes.
Wherein, intelligent terminal can periodically Broadcasting Control request or the operation Broadcasting Control request of response user.
Wherein, intelligent terminal can be smart mobile phone, PAD, computer or other smart machines.Intelligent terminal by AP with MPP nodes connect, and are in same LAN with MPP nodes.
Delivery module 22, for the unique identifier of the MP nodes for being introduced into network scanned to be sent to intelligent end End.
Wherein, the unique identifier can be the MAC Address or product ID of the MP nodes, will generally be introduced into net The MAC Address of the MP nodes of network is sent to intelligent terminal.
Attribute configuration module 23, for the unique identifier write-in for all MP nodes to be added for selecting intelligent terminal The hostname of the MPP nodes.
Formal IP address distribution module 24 is all MP nodes to be added for starting Dynamic Host Configuration Protocol server service Distribute formal IP address.
Network access judgment module 25, in preset time period the MPP receive the MP nodes transmission to be added The MP nodes attribute information when, judge MP nodes network access success.
It wherein, can be formal into the distribution of work according to MPP nodes when intelligent terminal is periodic broadcast control data The time interval of duration and intelligent terminal the Broadcasting Control request of IP address sets preset time period, with ensure will not be because of pre- If the period sets too short and error in judgement occurs or because preset time period sets long intelligent terminal is caused to start During the scanning next time of MPP nodes, MPP nodes are still carrying out the judgement of MP nodes network access.
It wherein, can be into the distribution of work according to MPP nodes when intelligent terminal response user's operation Broadcasting Control request The duration of formal IP address sets preset time period, occurs judging to lose to ensure will not to set too short because preset time period Cause MPP Node latencies long by mistake or because preset time period sets long, so as to delay under MPP nodes Single pass.
Wherein, the attribute information of the MP nodes may include the formal IP address and unique identifier of the MP nodes.Institute The unique identifier for stating MP nodes can be the MAC Address or product ID of the MP nodes, generally by the MAC of the MP nodes Address is sent to the MPP nodes.When the MPP nodes receive the formal IP address of the MP nodes, you can described in judgement MP nodes have succeeded network access.
Wherein, when MP nodes to be added are multiple, the MPP nodes may be successfully a part of MP nodes point With formal IP address, and remaining MP node obtains formal IP address in which may fail, that is, fail network access, fails The attribute information of the MP nodes of success network access is not transferred into the MPP nodes.
In the method for the present embodiment, MPP nodes scan the MP nodes for not adding in any network under the control of intelligent terminal, And can multiple MP nodes to be added automatically be added in into network simultaneously by one or simultaneously, it is achieved thereby that automatically rapidly One or more MP nodes are added in into network.
In one embodiment, attribute configuration module 23 is additionally operable to after MP nodes network access success, and the MP is saved The unique identifier of point is deleted from the hostname of the MPP.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Relevant hardware to be instructed to complete by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), Programmable read only memory (Programmable Read-only Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One-time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or storing any other computer-readable medium of data.
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention cannot being limited with this certainly Sharp scope one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and is weighed according to the present invention Profit requires made equivalent variations, still falls within and invents covered scope.

Claims (7)

1. a kind of MP nodes network access method, including:
MPP nodes respond the control data for the intelligent terminal broadcast that same LAN is in the MPP nodes, and scanning is introduced into The MP nodes of network, wherein, the MPP nodes judge whether MP nodes enter network by scanning the meshid of MP nodes;
The unique identifier of the MP nodes for being introduced into network scanned is sent to the intelligent terminal by the MPP nodes;
The unique identifier for all MP nodes to be added that the MPP nodes select the intelligent terminal writes the MPP The hostname of node;
The MPP nodes start dynamic host configuration protocol DHCP server service, for all MP nodes point to be added With formal IP address;And
The MPP nodes receive the attribute letter of the MP nodes of the MP nodes transmission to be added in preset time period During breath, the MP nodes network access success is judged.
2. MP nodes network access method as described in claim 1, which is characterized in that after the MP nodes network access success is judged, The method further includes:
The MPP nodes delete the unique identifier of the MP nodes from the hostname of the MPP.
3. MP nodes network access method as claimed in claim 1 or 2, which is characterized in that the unique identifier of the MPP nodes is The MAC Address or product ID of the MPP nodes.
4. a kind of MPP nodes, including:
Scan module, for responding the control data for the intelligent terminal broadcast that same LAN is in the MPP nodes, scanning The MP nodes of network are introduced into, wherein, whether the MPP nodes judge MP nodes into networking by scanning the meshid of MP nodes Network;
Delivery module, for the unique identifier of the MP nodes for being introduced into network scanned to be sent to the intelligent terminal;
Attribute configuration module, the unique identifier of all MP nodes to be added for the intelligent terminal to be selected write institute State the hostname of MPP nodes;
Formal IP address distribution module, for starting dynamic host configuration protocol DHCP server service, is needed to be added by described The MP nodes added distribute formal IP address;And
Network access judgment module, in preset time period the MPP receive described in the MP nodes transmission to be added During the attribute information of MP nodes, the MP nodes network access success is judged.
5. MPP nodes as claimed in claim 4, which is characterized in that the attribute configuration module is additionally operable in the MP nodes After network access success, the unique identifier of the MP nodes is deleted from the hostname of the MPP.
6. MPP nodes as described in claim 4 or 5, which is characterized in that the unique identifier of the MPP nodes is the MPP The MAC Address or product ID of node.
7. a kind of computer read/write memory medium, which is characterized in that the computer read/write memory medium is stored with calculating Machine program, the computer program are used to instruct relevant hardware to perform the side as described in claims 1 to 3 any one Method.
CN201510224182.5A 2015-05-04 2015-05-04 A kind of MP nodes network access method, MP nodes and MPP nodes Active CN104968032B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810481037.9A CN108834198B (en) 2015-05-04 2015-05-04 MP node network access method, MP node, MPP node and medium product
CN201510224182.5A CN104968032B (en) 2015-05-04 2015-05-04 A kind of MP nodes network access method, MP nodes and MPP nodes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510224182.5A CN104968032B (en) 2015-05-04 2015-05-04 A kind of MP nodes network access method, MP nodes and MPP nodes

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810481037.9A Division CN108834198B (en) 2015-05-04 2015-05-04 MP node network access method, MP node, MPP node and medium product

Publications (2)

Publication Number Publication Date
CN104968032A CN104968032A (en) 2015-10-07
CN104968032B true CN104968032B (en) 2018-05-29

Family

ID=54221949

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810481037.9A Expired - Fee Related CN108834198B (en) 2015-05-04 2015-05-04 MP node network access method, MP node, MPP node and medium product
CN201510224182.5A Active CN104968032B (en) 2015-05-04 2015-05-04 A kind of MP nodes network access method, MP nodes and MPP nodes

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810481037.9A Expired - Fee Related CN108834198B (en) 2015-05-04 2015-05-04 MP node network access method, MP node, MPP node and medium product

Country Status (1)

Country Link
CN (2) CN108834198B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357657B (en) * 2015-10-20 2018-09-11 广东欧珀移动通信有限公司 The construction method and device of Mesh network
CN105992262B (en) * 2016-06-30 2020-03-27 西安电子科技大学 Self-adaptive mode switching method of wireless Mesh network
CN107865686A (en) * 2016-09-26 2018-04-03 青岛大学附属医院 A kind of dichotomous atlas and axis hook fixed system of intelligence
CN107889119B (en) * 2017-11-16 2021-06-08 乐鑫信息科技(上海)股份有限公司 Mesh network auxiliary tool, Mesh network, distribution network and networking method
CN108520049B (en) * 2018-03-30 2021-12-17 新华三大数据技术有限公司 Relation graph drawing method and device
CN112492614B (en) * 2019-09-12 2024-03-22 大金工业株式会社 Wireless network system and establishment method thereof
CN111163185A (en) * 2019-12-30 2020-05-15 乐鑫信息科技(上海)股份有限公司 Method for IP addressing access to nodes in mesh network
CN111556489B (en) * 2020-04-30 2022-07-19 杭州涂鸦信息技术有限公司 Communication address allocation method, device, equipment and medium based on Sub-G network
CN111885144B (en) * 2020-07-20 2022-09-16 青岛易来智能科技股份有限公司 Equipment binding method and device
CN117014998A (en) * 2022-04-29 2023-11-07 青岛海尔科技有限公司 method, device and equipment for determining node state in mesh network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009103214A1 (en) * 2008-02-20 2009-08-27 华为技术有限公司 A network authentication communication method and a mesh network system
CN102123482A (en) * 2010-01-07 2011-07-13 杭州华三通信技术有限公司 Method and equipment for accessing zero-configuration MP (Mesh Point) into Mesh network
CN104333914A (en) * 2013-07-22 2015-02-04 杭州华三通信技术有限公司 Method and equipment of establishing Mesh link

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534238B (en) * 2008-03-14 2011-06-08 华为技术有限公司 Method, node and system for notifying agent update in wireless Mesh network
CN103533616B (en) * 2013-10-22 2017-01-18 杭州华三通信技术有限公司 Method for adding AP equipment into Mesh network and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009103214A1 (en) * 2008-02-20 2009-08-27 华为技术有限公司 A network authentication communication method and a mesh network system
CN102123482A (en) * 2010-01-07 2011-07-13 杭州华三通信技术有限公司 Method and equipment for accessing zero-configuration MP (Mesh Point) into Mesh network
CN104333914A (en) * 2013-07-22 2015-02-04 杭州华三通信技术有限公司 Method and equipment of establishing Mesh link

Also Published As

Publication number Publication date
CN104968032A (en) 2015-10-07
CN108834198A (en) 2018-11-16
CN108834198B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN104968032B (en) A kind of MP nodes network access method, MP nodes and MPP nodes
CN103476023B (en) The collocation method of access point apparatus, access controller and communication system
CN102137395B (en) Method, device and system for configuring access device
CN108199905A (en) MESH network and its MESH equipment and with network method
WO2022037322A1 (en) Network topology management system and method for home networking
CN106604212A (en) Mesh networking method based on BLE attribute and GATT
US7443833B2 (en) Ad hoc network topology discovery
JP5978391B2 (en) Authentication using DHCP service in mesh networks
CN102014377B (en) Distributed wireless sensor network-based IPv6 address configuration implementing method
CN104009925B (en) Bridge joint method for building up, device and the router of router
CN108391238A (en) Wireless MESH network matches network method
CN105338595B (en) Intelligent terminal Adding Way, apparatus and system based on intelligent terminal system
JP2006501712A (en) Dynamic network configuration
CN103313230B (en) Mesh point configuration distributing method in WLAN grid network and mesh point
CN105007201A (en) Method for accessing network, wireless sound box and system
TWI651978B (en) Communication system and communication method
CN107682202A (en) The management method and device of the network equipment
CN104283858A (en) Method, device and system for controlling user terminal access
CN106060878B (en) A kind of trunking method and repeater of equipment
CN107947966B (en) Configuration management system and configuration management method
CN112911671B (en) Method and device for constructing topology networking architecture
CN105915383A (en) Remote router configuration method
CN107820262A (en) Method for parameter configuration, apparatus and system
CN104618942A (en) Base station and PTN (Packet Transport Network) networking based automatic startup method thereof and RNC (Radio Network Controller)
CN112055341B (en) Networking method, device and equipment of low-power-consumption Bluetooth Mesh network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.