CN104363582B - A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications - Google Patents

A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications Download PDF

Info

Publication number
CN104363582B
CN104363582B CN201410689370.0A CN201410689370A CN104363582B CN 104363582 B CN104363582 B CN 104363582B CN 201410689370 A CN201410689370 A CN 201410689370A CN 104363582 B CN104363582 B CN 104363582B
Authority
CN
China
Prior art keywords
equipment
sub
data packet
main
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
CN201410689370.0A
Other languages
Chinese (zh)
Other versions
CN104363582A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410689370.0A priority Critical patent/CN104363582B/en
Publication of CN104363582A publication Critical patent/CN104363582A/en
Application granted granted Critical
Publication of CN104363582B publication Critical patent/CN104363582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools

Abstract

The present invention relates to a kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications, including the main equipment equipped with 2.4G radio receiving transmitting modules and sub- equipment, any specified channel of all main equipments and the 2.4G radio receiving transmitting modules of all sub- equipment configures identical ad-hoc network address, another specified different data communication address of channel configuration of all main equipments;Each main equipment and every sub- equipment also have a different Self address at the same time;After group device power, using its ad-hoc network address and 2.4G radio receiving transmitting modules " searching main equipment " data packet is sent to all main equipments, and main equipment be according to " searching main equipment " data packet and using its ad-hoc network address and 2.4G radio receiving transmitting modules will " should configuring sub- equipment " data packet is sent to sub- equipment, last sub- equipment and the main equipment progress automatic network-building for sending " configuring sub- equipment " data packet at first;Without manual intervention, networking is simple, light, convenient, fast.

Description

A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications
Technical field
The invention belongs to 2.4G networking technologys field, more particularly to a kind of automatic group of zero configuration based on 2.4G wireless telecommunications Network method.
Background technology
Networking technology is exactly network construction technology, is divided into Ethernet networking technology and ATM local area network building technologies, Er Qiechuan System is typically all to be connected multiple equipment using physical mediums such as cables, forms corresponding network, and establishment is to need planning, cloth Line etc., trouble, inconvenience, is also unfavorable for extending in the future;For this reason, then having wireless networking technology, solve conventionally employed The technical problem of the physical medium networking such as cable, and at present 2.4G wireless short-distances communication modes using quite varied, also by Gradually it is applied in networking technology field, to substitute traditional wireless networking technology;But existing it is based on 2.4G wireless networking technologies All it is the networking that can only manually operate to complete each 2.4G wireless devices, user's participation pair is then needed in this operating process Code process, and this experiences code process poor for a user, adds use difficulty, the complexity of user, it is extremely inconvenient.
The content of the invention
To solve the above-mentioned problems in the prior art, the present invention provides one kind can be achieved sub- equipment and main equipment it Between the automatic network-building based on 2.4G wireless telecommunications, for user without any operation, the degree of automation is high, networking is simple, easily, side Just, the efficiently zero configuration automatic network-building technology based on 2.4G wireless telecommunications.
In order to solve the above technical problems, the present invention adopts the following technical scheme that:
A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications, includes main equipment and sub- equipment, the master Equipment and sub- equipment are equipped with 2.4G radio receiving transmitting modules, and all main equipments and the 2.4G radio receiving transmitting modules of all sub- equipment Any specified channel configure identical ad-hoc network address, another specified different number of channel configuration of all main equipments According to address;Meanwhile each main equipment and every sub- equipment also have a Self address, and it is different;In group equipment After electricity, " searching main equipment " data packet is sent to all main equipments using its ad-hoc network address and 2.4G radio receiving transmitting modules, And main equipment " will be matched somebody with somebody according to " searching main equipment " data packet and using its ad-hoc network address and 2.4G radio receiving transmitting modules Put sub- equipment " data packet is sent to sub- equipment, last sub- equipment and send at first the main equipment of " configuring sub- equipment " data packet into Row automatic network-building.
Further, it is described " after group device power, using its ad-hoc network address and 2.4G radio receiving transmitting modules to institute There is main equipment to send " searching main equipment " data packet, and main equipment according to " searching main equipment " data packet and utilizes its networking Network address and 2.4G radio receiving transmitting modules " will configure sub- equipment " data packet are sent to sub- equipment, and last sub- equipment with connecing at first The main equipment of received " configuring sub- equipment " data packet carries out automatic network-building ", specifically include following steps:
A1. after sub- device power, judge whether another specified channel of the 2.4G radio receiving transmitting modules of sub- equipment is configured The identical data communication address of another specified channels of the 2.4G radio receiving transmitting modules of a certain main equipment, and preserve a certain master and set Standby Self address;"Yes" then carries out automatic network-building with a certain main equipment, and into normal communication pattern, "No" then performs a2;
A2. its ad-hoc network address of sub- equipment utilization and by its 2.4G radio receiving transmitting module with being configured with ad-hoc network Any specified channel of location sends " searching main equipment " data packet to all main equipments;
A3. all main equipments receive " searching main equipment " data that sub- equipment sends by its 2.4G radio receiving transmitting module Bao Hou, decides whether to send " configuring sub- equipment " data to sub- equipment according to the signal strength of " searching main equipment " data packet Its ad-hoc network address is recycled after bag, and delay corresponding time and by the way that its 2.4G radio receiving transmitting module will " configuration be set It is standby " data packet is sent to sub- equipment;
A4. sub- equipment receives sends after " configuring sub- equipment " data packet according to should " configuring sub- equipment " data packet pair at first Another specified channel of its 2.4G radio receiving transmitting module is configured, and is recorded the sub- equipment and is sent " the configuring sub- equipment " data The association of the main equipment of bag, while using the data communication address of the main equipment, and send " configuring sub- equipment to confirm " data Wrap the main equipment;
A5. the main equipment receives the Self address that the sub- equipment is recorded after " configure sub- equipment confirm " data packet, just completes Automatic network-building, into normal communication pattern.
Further, described " searching main equipment " data packet includes the Self address for the sub- equipment for sending the data packet;Institute State another specified channel that " configuring sub- equipment " data packet includes the 2.4G radio receiving transmitting modules for the main equipment for sending the data packet Data communication address and main equipment Self address, sub- equipment receives send " configuring sub- equipment " data packet at first after, will The data communication address and Self address of the main equipment are preserved into its memory block, and utilize data communication address and Self address The 2.4G radio receiving transmitting modules of itself are configured, to realize and main equipment automatic network-building, communication.
The beneficial effects of the invention are as follows:
The present invention through the above technical solutions, i.e. can be achieved between sub- equipment and main equipment based on 2.4G wireless telecommunications from Dynamic networking, can especially find the most strong main equipment of signal and therewith automatically to code, complete automatic network-building, user is without any operation It can be achieved, network-building method the degree of automation is high, and networking is simpler, lighter, more convenient, faster.
Brief description of the drawings
Fig. 1 is main equipment in a kind of zero configuration automatic network-building method embodiment based on 2.4G wireless telecommunications of the present invention Principle schematic diagram between sub- equipment;
Fig. 2 is a kind of automatic network-building flow of zero configuration automatic network-building method based on 2.4G wireless telecommunications of the present invention Schematic diagram.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
As shown in figs. 1 and 2:
A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications described in the embodiment of the present invention, includes master and sets Standby 1 and sub- equipment 2, the main equipment 1 and sub- equipment 2 are equipped with 2.4G radio receiving transmitting modules 3, and all main equipments 1 and all Any specified channel of the 2.4G radio receiving transmitting modules 3 of sub- equipment 2 configures identical ad-hoc network address, all main equipments 1 Another specified different data communication address of channel configuration;Meanwhile each main equipment 1 and every sub- equipment 2 also have one Self address, and it is different;The ad-hoc network address and data communication address can be 5 bytes, and the Self address can For 6 bytes.Group equipment 2 after the power is turned on, is sent out using its ad-hoc network address and 2.4G radio receiving transmitting modules 3 to all main equipments 1 " searching main equipment " data packet is sent, and main equipment 1 according to " searching main equipment " data packet and utilizes its ad-hoc network address " configuring sub- equipment " with 2.4G radio receiving transmitting modules 3, data packet is sent to sub- equipment 2, and last sub- equipment 2 " is matched somebody with somebody with sending at first Put sub- equipment " main equipment 1 of data packet carries out automatic network-building;Specifically it may comprise steps of:
Step A. equipment 2 after the power is turned on, judge sub- equipment 2 2.4G radio receiving transmitting modules 3 another specified channel whether The identical data communication address of another specified channels of the 2.4G radio receiving transmitting modules 3 of configured a certain main equipment 1, and preserve The Self address of a certain main equipment 1;"Yes" then carries out automatic network-building with a certain main equipment 1, into normal communication pattern, "No" Then perform step B.
Step B. equipment 2 utilizes its ad-hoc network address and any specified letter for passing through its 2.4G radio receiving transmitting module 3 Road sends " searching main equipment " data packet to all main equipments 1;" searching main equipment " data packet includes and sends the data packet Sub- equipment 2 Self address.
All main equipments 1 of step C. " find master to set by what its 2.4G radio receiving transmitting module 3 received that sub- equipment 2 sends It is standby " after data packet, decide whether to send " configuration to sub- equipment 2 according to the signal strength of " searching main equipment " data packet Equipment " data packet (is not sent when signal strength is less than setting value.), and recycle its ad-hoc network after the delay corresponding time Address simultaneously " will configure sub- equipment " by its 2.4G radio receiving transmitting module 3 data packet is sent to sub- equipment 2;It is described that " configuration is set It is standby " data packet include send the data packet main equipment 1 2.4G radio receiving transmitting modules 3 another specified channel data communication Address and the Self address of main equipment 1.
Step D. equipment 2 receives sends (, the reception most strong according to main equipment signal of " configuring sub- equipment " data packet at first Sub- equipment " searching main equipment " packet time is most short, then is delayed also most short, so that " configuring sub- equipment " data will be sent at first Bag, therefore no longer receive " configuring sub- equipment " data packet that other main equipments 1 are sent) basis should " configuring sub- equipment " data packet afterwards Another specified channel of its 2.4G radio receiving transmitting module 3 is configured, the sub- equipment 2 is recorded and sends " the configuring sub- equipment " The association of the main equipment 1 of data packet, while use the data communication address of the main equipment, that is, the data by the main equipment 1 Address and Self address are preserved into its memory block, and the 2.4G of itself is configured using data communication address and Self address Radio receiving transmitting module 3;In addition the sub- equipment 2 sends " configuring sub- equipment to confirm " data packet (including sub- 2 Self address of equipment) To the main equipment 1.
The step E. main equipments 1 receive the Self address that the sub- equipment 2 is recorded after " configure sub- equipment confirm " data packet, just Automatic network-building is completed, into normal communication pattern.
In this way, it can be achieved to be based on 2.4G channel radios between sub- equipment 2 and main equipment 1 by network-building method of the present invention The automatic network-building of news, can especially find the most strong main equipment 1 of signal and therewith automatically to code, complete automatic network-building, user need not Any operation can be achieved, and network-building method the degree of automation is high, and networking is simpler, lighter, more convenient, faster.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (3)

1. a kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications, includes main equipment (1) and sub- equipment (2), its It is characterized in that:The main equipment (1) and sub- equipment (2) are equipped with 2.4G radio receiving transmitting modules (3), and all main equipments (1) and Any specified channel of the 2.4G radio receiving transmitting modules (3) of all sub- equipment (2) configures identical ad-hoc network address, owns Another specified different data communication address of channel configuration of main equipment (1);Meanwhile each main equipment (1) and every height are set Standby (2) also have a Self address, and different;Group equipment (2) after the power is turned on, using its ad-hoc network address and 2.4G without Line transceiver module (3) sends " searching main equipment " data packet to all main equipments (1), and main equipment (1) basis " should find master to set It is standby " data packet and utilize the data packet transmission that will " configure sub- equipment " of its ad-hoc network address and 2.4G radio receiving transmitting modules (3) Sub- equipment (2) is given, the main equipment (1) of last sub- equipment (2) and " configuring sub- equipment " data packet being initially received carries out automatically Networking;
It is described that " group equipment (2) after the power is turned on, is set using its ad-hoc network address and 2.4G radio receiving transmitting modules (3) to all masters Standby (1) sends " searching main equipment " data packet, and main equipment (1) basis is somebody's turn to do " searching main equipment " data packet and utilizes its networking Network address and 2.4G radio receiving transmitting modules (3) " will configure sub- equipment " data packet are sent to sub- equipment (2), last sub- equipment (2) automatic network-building is carried out with sending the main equipment (1) of " configuring sub- equipment " data packet at first ", specifically include following steps:a1. Sub- equipment (2) after the power is turned on, judge the 2.4G radio receiving transmitting modules (3) of sub- equipment (2) another specified channel it is whether configured certain The identical data communication address of another specified channels of the 2.4G radio receiving transmitting modules (3) of one main equipment (1), and preserve a certain The Self address of main equipment (1);"Yes" then carries out automatic network-building with a certain main equipment (1), into normal communication pattern, "No" Then perform a2;
A2. sub- equipment (2) using its ad-hoc network address and is configured with ad-hoc network by its 2.4G radio receiving transmitting module (3) Any specified channel of address sends " searching main equipment " data packet to all main equipments (1);
A3. all main equipments (1) " find master to set by what its 2.4G radio receiving transmitting module (3) received that sub- equipment (2) sends It is standby " after data packet, decide whether to send " configuration to sub- equipment (2) according to the signal strength of " searching main equipment " data packet Its ad-hoc network address is recycled after sub- equipment " data packet, and delay corresponding time and by its 2.4G radio receiving transmitting module (3) " sub- equipment will be configured " data packet is sent to sub- equipment (2);
A4. sub- equipment (2) receives sends after " configuring sub- equipment " data packet according to should " configuring sub- equipment " data packet pair at first Another specified channel of its 2.4G radio receiving transmitting module (3) is configured, and recording the sub- equipment (2), " configuration is set with sending this It is standby " association of the main equipment (1) of data packet, while using the data communication address of the main equipment, and send and " configure sub- equipment Confirming " data packet is to the main equipment (1);
A5. the main equipment (1) receives the Self address that the sub- equipment (2) is recorded after " configure sub- equipment confirm " data packet, just complete Into automatic network-building, into normal communication pattern journey.
2. the zero configuration automatic network-building method according to claim 1 based on 2.4G wireless telecommunications, it is characterised in that:It is described " searching main equipment " data packet includes the Self address for the sub- equipment (2) for sending the data packet;" configuring sub- equipment " data The data communication of another specified channel of 2.4G radio receiving transmitting module (3) of the bag comprising the main equipment (1) for sending the data packet Location and the Self address of main equipment (1), sub- equipment (2) receives send " configuring sub- equipment " data packet at first after, which is set The data communication address and Self address of standby (1) are preserved into its memory block, and are matched somebody with somebody using data communication address and Self address The 2.4G radio receiving transmitting modules (3) of itself are put, to realize and main equipment (1) automatic network-building, communication.
3. the zero configuration automatic network-building method according to claim 2 based on 2.4G wireless telecommunications, it is characterised in that:It is described Ad-hoc network address and data communication address are 5 bytes, and the Self address is 6 bytes.
CN201410689370.0A 2014-11-26 2014-11-26 A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications Active CN104363582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410689370.0A CN104363582B (en) 2014-11-26 2014-11-26 A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410689370.0A CN104363582B (en) 2014-11-26 2014-11-26 A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications

Publications (2)

Publication Number Publication Date
CN104363582A CN104363582A (en) 2015-02-18
CN104363582B true CN104363582B (en) 2018-05-15

Family

ID=52530793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410689370.0A Active CN104363582B (en) 2014-11-26 2014-11-26 A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications

Country Status (1)

Country Link
CN (1) CN104363582B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697840A (en) * 2018-12-28 2019-04-30 东莞亿动智能科技有限公司 Automatic frequency aligning method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838551A (en) * 2005-02-03 2006-09-27 伯斯有限公司 Method and apparatus for avoiding wireless audio signal transmission interferences
CN101350637A (en) * 2008-09-05 2009-01-21 清华大学 Networking method for two-channel wireless sensing terminal based on Zigbee
CN102404871A (en) * 2012-01-01 2012-04-04 成都理工大学 Distributed wireless ad hoc network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7173923B2 (en) * 2000-03-17 2007-02-06 Symbol Technologies, Inc. Security in multiple wireless local area networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838551A (en) * 2005-02-03 2006-09-27 伯斯有限公司 Method and apparatus for avoiding wireless audio signal transmission interferences
CN101350637A (en) * 2008-09-05 2009-01-21 清华大学 Networking method for two-channel wireless sensing terminal based on Zigbee
CN102404871A (en) * 2012-01-01 2012-04-04 成都理工大学 Distributed wireless ad hoc network

Also Published As

Publication number Publication date
CN104363582A (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN109479244B (en) System and method for waking up wireless communication module of equipment
CN105207754B (en) Method for sending information, message receiving method, apparatus and system
US9961563B2 (en) Small cell base station system, and related devices and data processing methods
CN102340352B (en) A kind of method of light mouth speed auto-negotiation and device
EP3753201B1 (en) Electronic subsystem having multiple powered devices prioritized for providing power to the subsystem
JP2008060878A5 (en)
CN104640122A (en) Wireless networking method of router and trunk equipment
WO2014121471A1 (en) Method, base station and user equipment for data transmission and acquisition
US20170110885A1 (en) Reverse power supply management method, apparatus and system
CN105636022B (en) A method of the low-power consumption passive and wireless node networking based on RSSI
CN104662956A (en) Baseband processing system, baseband signal processing method and base station
CN104704774A (en) Automatic reconfiguration of network devices
CN103916884A (en) Method for multi-channel self-adaptation optimization communication in micro-power wireless network
KR101581419B1 (en) System and method for radio frequency repeating
CN106452504B (en) One kind being based on frequency customized multifrequency power line carrier communication network network online
CN104363582B (en) A kind of zero configuration automatic network-building method based on 2.4G wireless telecommunications
CN103702339A (en) WLAN (wireless local area network) realization method for integrated distributed access system
JP5965174B2 (en) Radio apparatus and base station switching method therefor
KR101675734B1 (en) Method for determining link quality in wireless network system
US9210612B2 (en) Communication system, method and device
CN111698708A (en) Method and device for service type adaptation in transmission system
CN113056004B (en) Uplink transmission control method, terminal and network side equipment
US9838126B2 (en) Analog distributed antenna system and its operating method
CN102820991A (en) Realization method and system of ring network-management topological network
CN102740329A (en) Method and apparatus of parameter distribution, and method and apparatus of parameter configuration

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