CN109890028B - Point-to-multipoint automatic bridging method - Google Patents

Point-to-multipoint automatic bridging method Download PDF

Info

Publication number
CN109890028B
CN109890028B CN201910215272.6A CN201910215272A CN109890028B CN 109890028 B CN109890028 B CN 109890028B CN 201910215272 A CN201910215272 A CN 201910215272A CN 109890028 B CN109890028 B CN 109890028B
Authority
CN
China
Prior art keywords
ssid
mac address
point
scanned
equipment
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
CN201910215272.6A
Other languages
Chinese (zh)
Other versions
CN109890028A (en
Inventor
石建鑫
赖冬梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tenda Technology Co Ltd
Original Assignee
Shenzhen Tenda Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tenda Technology Co Ltd filed Critical Shenzhen Tenda Technology Co Ltd
Priority to CN201910215272.6A priority Critical patent/CN109890028B/en
Publication of CN109890028A publication Critical patent/CN109890028A/en
Application granted granted Critical
Publication of CN109890028B publication Critical patent/CN109890028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a point-to-multipoint automatic bridging method, which comprises the following steps: s1, each AP device starts a primary SSID and a corresponding secondary SSID; s2, the AP device scans wireless signals of other surrounding AP devices, if a secondary SSID of one AP device is scanned and a corresponding primary SSID is not encrypted, the mac address of the scanned AP device is compared with the mac address of the AP device, and if the mac address of the scanned AP device is larger than the mac address of the AP device, the AP device is set to a STATION mode and is bridged to the scanned AP device; and if the mac address of the scanned AP equipment is smaller than the mac address of the AP equipment, the AP equipment is used as an AP mode to encrypt the main SSID of the AP equipment. The invention has the beneficial effects that: the method and the device realize point-to-multipoint automatic bridging and solve the problems of time consumption and repeated operation when a user bridges multiple devices.

Description

Point-to-multipoint automatic bridging method
Technical Field
The present invention relates to a bridging method, and more particularly, to a point-to-multipoint automatic bridging method.
Background
The wireless bridging technology is a technology for wireless connection of local area networks, and relies on a wireless radio frequency technology to seamlessly connect local area networks separated by tens of kilometers together to create a uniform local area network system.
The general AP devices can support the wireless bridging function. When the user is in use, the user needs to enter the device management interface to manually perform a series of operations to complete the bridging. Generally, the manual operation of the user takes at least one minute, and if the number of the devices is large, the consumed time is increased along with the increase of the number of the devices, which undoubtedly increases the use time of the user and brings inconvenience to the user. In addition, the user always performs repeated actions in the operation process, and the operation is relatively complicated and inflexible.
Therefore, how to implement a point-to-multipoint automatic bridging method is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
To solve the problems in the prior art, the present invention provides a point-to-multipoint automatic bridging method.
The invention provides a point-to-multipoint automatic bridging method, which comprises the following steps:
s1, each AP device starts a primary SSID and a corresponding secondary SSID;
s2, the AP device scans wireless signals of other surrounding AP devices, if a secondary SSID of one AP device is scanned and a corresponding primary SSID is not encrypted, the mac address of the scanned AP device is compared with the mac address of the AP device, and if the mac address of the scanned AP device is larger than the mac address of the AP device, the AP device is set to a STATION mode and is bridged to the scanned AP device; and if the mac address of the scanned AP equipment is smaller than the mac address of the AP equipment, the AP equipment is used as an AP mode to encrypt the main SSID of the AP equipment.
As a further improvement of the present invention, in step S2, if the AP device has scanned one or more secondary SSIDs but only one corresponding primary SSID and is encrypted, the AP device is directly set to the status mode to bridge to the AP device with the encrypted primary SSID.
As a further improvement of the present invention, in step S2, if the present AP device does not scan the secondary SSID, it ends.
As a further improvement of the present invention, in step S2, if the AP device scans a plurality of secondary SSIDs, but none of the corresponding primary SSIDs are encrypted, or more than one primary SSIDs are encrypted, the process ends.
As a further improvement of the present invention, in step S1, each AP device turns on the primary SSID and the secondary SSID upon restoration of factory settings.
As a further improvement of the present invention, in step S2, the AP device scans the wireless signals of other AP devices around after being started, and if the AP device does not scan the secondary SSID within the time T1, the process ends; the AP device in the AP mode keeps the on state of the next SSID for time T2, and waits for bridging by another AP device.
As a further improvement of the present invention, in step S1, the secondary SSID name is a fixed string plus the mac address of its AP device, and the password encrypted by the primary SSID is set to a value associated with the mac address of its AP device.
As a further improvement of the invention, the naming rule of the SSID is that a fixed character string is added with the mac address of the equipment, and the mac address between the primary SSID and the secondary SSID only differs by 1, so that the primary SSID can be obtained according to the secondary SSID.
As a further development of the invention, the encryption key of the primary SSID is a value calculated from its mac address using a fixed algorithm, such as the md5 algorithm.
As a further improvement of the present invention, in step S2, in the process of starting scanning, the indicator lamp of the present AP device blinks; if the AP equipment is in the AP mode and has client connection, the indicator light is set to be in a normally-on mode, the completion of the bridging process is indicated, and if the AP equipment is in the client mode, the indicator light flickers all the time.
The invention has the beneficial effects that: by the scheme, automatic point-to-multipoint bridging is realized, and the problems of time consumption and repeated operation when a user bridges multiple devices are solved.
Drawings
Fig. 1 is a flowchart illustrating a user operation of a point-to-multipoint automatic bridging method according to the present invention.
Fig. 2 is a flow chart of a point-to-multipoint automatic bridging method of the present invention.
Fig. 3 is a sub-flow of setting the AP device to the AP mode according to a point-to-multipoint automatic bridging method of the present invention.
Detailed Description
The invention is further described with reference to the following description and embodiments in conjunction with the accompanying drawings.
As shown in fig. 2, a point-to-multipoint automatic bridging method includes the following steps:
s1, each AP device starts a primary SSID and a corresponding secondary SSID;
s2, the AP device scans wireless signals of other surrounding AP devices, if a secondary SSID of one AP device is scanned and a corresponding primary SSID is not encrypted, the mac address of the scanned AP device is compared with the mac address of the AP device, and if the mac address of the scanned AP device is larger than the mac address of the AP device, the AP device is set to a STATION mode and is bridged to the scanned AP device; and if the mac address of the scanned AP equipment is smaller than the mac address of the AP equipment, the AP equipment is used as an AP mode to encrypt the main SSID of the AP equipment.
As shown in fig. 2, the point-to-multipoint automatic bridging method provided by the present invention specifically includes the following processes:
1. after the AP equipment is restored to the factory setting, two SSIDs, namely a primary SSID and a secondary SSID, are started, and the secondary SSID is named specially;
2. after being started, the AP device scans surrounding wireless signals in the background, and the following situations can be classified:
a. only one specially named secondary SSID is scanned, and the corresponding primary SSID is not encrypted; then the mac address of the device is compared to the size of its mac: if the mac address of the equipment is larger than the mac address of the equipment, setting the equipment into a static mode and bridging the equipment; if the mac address of the equipment is smaller than the equipment, the equipment is used as an AP mode to encrypt the main SSID of the equipment;
b. scanning one or more special SSIDs, only one corresponding main SSID is encrypted, and directly setting the SSIDs to a STATION mode to bridge to encrypted equipment;
c. if the special SSID is not scanned, no operation is performed;
d. scanning a plurality of special SSIDs, wherein the corresponding main SSIDs are not encrypted, or more than one of the corresponding main SSIDs are encrypted, and no operation is performed at the moment;
3. the indicator light of the device may flash during the process of starting scanning, and if the device is in the AP mode and there is a client connection, the indicator light may be set to a normally on mode, indicating that the one-to-one bridging process is completed, and if the AP device is in the client mode, the indicator light may flash all the time.
4. If no special SSID is scanned all the time, the device will not be scanned within one minute of factory reset.
5. After one-to-one bridging is completed, the device in the AP mode starts timing for 3 minutes, keeps the starting state of the secondary SSID and waits for being bridged by other APs;
6. and repeating the processes 1 and 2 in the starting process of the rest devices within 3 minutes, and smoothly bridging to the device in the AP mode, wherein the one-to-many automatic bridging is completed.
An AP device typically has two modes, an AP mode and a STATION mode. The special SSID name used in bridging is a fixed string plus its mac address, which ensures that the name is not duplicated. The password encrypted by the primary SSID is set to a value associated with the mac address, which ensures that the password is immediately available after being scanned by another device.
As shown in fig. 1, the operation method of the point-to-multipoint automatic bridging method provided by the present invention includes the following steps:
1. a user powers on and resets two devices at the beginning (more than two reset devices cannot exist in the surrounding environment);
2. when the indicator lights of the two devices start to flash, the automatic bridging process is started;
3. wait for a maximum of one minute, with the indicator light of one device becoming constantly on. If one minute is exceeded, no indicator lamp becomes normally on, the automatic bridging fails, and the resetting and the re-operation are needed;
4. when one equipment indicator lamp is turned on, any multiple equipment can be reset simultaneously within 3 minutes or in batches;
5. the device which is just reset can flash after being started, and if the indicator light is still in a flashing state after one minute, the one-to-many automatic bridging is finished. Otherwise, the automatic bridging process is abnormal (for example, the power-off of the normally-on device can result in the failure of bridging success).
As shown in fig. 2, the functional design flow of the point-to-multipoint automatic bridging method provided by the present invention is as follows:
1. the equipment which is recovered from factory settings can start the secondary SSID after being powered on, and the indicator light is set to be in a flashing state;
2. the device starts scanning for surrounding radio signals for a maximum of 1 minute. If the time exceeds 1 minute, the secondary SSID is turned off and the indicator light is turned off, and the automatic bridging process is ended;
3. if no special SSID is scanned, scanning continues. When the special SSID is scanned, the corresponding main SSID name can be obtained;
4. if one or more corresponding primary SSIDs are available, but only one is encrypted, setting the equipment into a STATION mode, closing the secondary SSID, and then encrypting and bridging the SSID;
5. if the number of the corresponding main SSIDs is one and only one, and the corresponding main SSIDs are not encrypted, judging the mac address corresponding to the SSID and the size of the mac address of the equipment;
6. if the mac address of the equipment is smaller than the mac address of the corresponding primary SSID, setting the mac address of the equipment to a STATION mode, and closing the secondary SSID;
7. if the mac address of the device is greater than the mac address of the corresponding primary SSID, the device is set to the AP mode, and fig. 3 shows a processing sub-flow thereof.
As shown in fig. 3, the sub-process of setting the AP device to the AP mode according to the point-to-multipoint automatic bridging method provided by the present invention is as follows:
1. setting the equipment into an AP mode, and encrypting a main SSID;
2. judging whether a client is connected or not, if no client is connected all the time within one minute, turning off the secondary SSID, turning off an indicator light of the equipment, and ending the sub-process;
3. if the client is successfully connected within one minute, the indicator light is set to be normally on;
4. and after waiting for 3 minutes, closing the secondary SSID, and completing automatic bridging.
The ❶ and ❷ illustrations shown in FIGS. 2 and 3 are as follows:
❶, the naming rule of SSID is that the fixed character string is added with the mac address of the equipment, and the difference of the mac address between the primary SSID and the secondary SSID is only 1, so the primary SSID can be obtained according to the secondary SSID;
❷ the encryption key of the primary SSID is a value calculated from its mac address using a fixed algorithm, such as the md5 algorithm.
The point-to-multipoint automatic bridging method provided by the invention solves the problems of time consumption and repeated operation when a user bridges a plurality of devices, and enables the user to complete bridging among dozens of AP devices in a fixed 4-minute time through simple one-step operation and to deploy into a point-to-multipoint networking environment. The method can simplify the operation of the user to a great extent, shorten the operation time, and bring convenient operation experience for the user.
The point-to-multipoint automatic bridging method provided by the invention has the following advantages:
1. automatic bridging is realized, and the bridging function of the equipment is simple and convenient to operate and easy to use. Originally, a user can complete the bridging function only by carrying out operation of multiple steps on an equipment management interface, and after the method and the device are used, the user only needs to reset the equipment. The plurality of operation steps are simplified into only one operation step, so that the use difficulty of a user is greatly reduced, the operation steps are simplified into a great variety, and the bridging function is simple and easy to use.
2. The bridging among dozens of devices is more rapid, and the time consumption of a user is controlled within 30 seconds and 4 minutes at most. Originally, a user needs to operate one device at a device management interface, the consumed time is inevitably increased along with the increase of the devices, and after the device bridging method and the device bridging device are used, any number of device bridging can be completed within 4 minutes at most theoretically. Through the design of functional logic, the time consumed by a user cannot increase along with the increase of the number of the devices, the time is saved, and the bridging function is rapid and quick.
The invention provides a Point-to-multipoint automatic bridging method which is mainly applied to wireless AP (Access Point) equipment, belongs to the technical field of wireless bridging, and can automatically complete bridging among a plurality of wireless APs to form a Point-to-multipoint networking environment.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A method of point-to-multipoint automatic bridging, comprising the steps of:
s1, each AP device starts a primary SSID and a corresponding secondary SSID;
s2, the AP device scans wireless signals of other surrounding AP devices, if a secondary SSID of one AP device is scanned and a corresponding primary SSID is not encrypted, the mac address of the scanned AP device is compared with the mac address of the AP device, and if the mac address of the scanned AP device is larger than the mac address of the AP device, the AP device is set to a STATION mode and is bridged to the scanned AP device; and if the mac address of the scanned AP equipment is smaller than the mac address of the AP equipment, the AP equipment is used as an AP mode to encrypt the main SSID of the AP equipment.
2. The point-to-multipoint automatic bridging method of claim 1, wherein: in step S2, if the AP device has scanned one or more secondary SSIDs but only one corresponding primary SSID and is encrypted, the AP device is directly set to the status mode to bridge to the AP device with the encrypted primary SSID.
3. The point-to-multipoint automatic bridging method of claim 1, wherein: in step S2, if the present AP device does not scan the secondary SSID, the process ends.
4. The point-to-multipoint automatic bridging method of claim 1, wherein: in step S2, if the AP device has scanned a plurality of secondary SSIDs but none of the corresponding primary SSIDs are encrypted or more than one primary SSID is encrypted, the process ends.
5. The point-to-multipoint automatic bridging method of claim 1, wherein: in step S1, each AP device turns on the primary SSID and the secondary SSID upon restoration of factory settings.
6. The point-to-multipoint automatic bridging method of claim 1, wherein: in step S2, the AP device scans the wireless signals of other AP devices around after being started, and if the AP device does not scan the secondary SSID within the time T1, the process ends; the AP device in the AP mode keeps the on state of the next SSID for time T2, and waits for bridging by another AP device.
7. The point-to-multipoint automatic bridging method of claim 1, wherein: in step S1, the secondary SSID name is a fixed string plus the mac address of its AP device, and the password encrypted by the primary SSID is set to a value associated with the mac address of its AP device.
8. The point-to-multipoint automatic bridging method of claim 7, wherein: the mac address between the primary and secondary SSIDs differs by only 1, so the primary SSID is obtained from the secondary SSID.
9. The point-to-multipoint automatic bridging method of claim 7, wherein: the encryption key of the primary SSID is a value calculated from its mac address using a fixed algorithm.
10. The point-to-multipoint automatic bridging method of claim 1, wherein: in step S2, in the process of starting scanning, the indicator lamp of the AP device blinks; if the AP equipment is in the AP mode and the client is connected, the indicator lamp is set to be in the normally-on mode, the bridging process is completed, and if the AP equipment is in the STATION mode, the indicator lamp flickers all the time.
CN201910215272.6A 2019-03-21 2019-03-21 Point-to-multipoint automatic bridging method Active CN109890028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910215272.6A CN109890028B (en) 2019-03-21 2019-03-21 Point-to-multipoint automatic bridging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910215272.6A CN109890028B (en) 2019-03-21 2019-03-21 Point-to-multipoint automatic bridging method

Publications (2)

Publication Number Publication Date
CN109890028A CN109890028A (en) 2019-06-14
CN109890028B true CN109890028B (en) 2022-04-12

Family

ID=66933422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910215272.6A Active CN109890028B (en) 2019-03-21 2019-03-21 Point-to-multipoint automatic bridging method

Country Status (1)

Country Link
CN (1) CN109890028B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974256A (en) * 2014-05-15 2014-08-06 浙江宇视科技有限公司 Wireless network access method and device
EP3122144A1 (en) * 2014-04-16 2017-01-25 Huawei Device Co., Ltd. Device and method for accessing wireless network

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007228537A (en) * 2006-02-27 2007-09-06 Nec Corp Terminal discrimination method in wireless lan and wireless lan
CN102711164B (en) * 2012-05-15 2015-05-13 上海交通大学无锡研究院 Intelligent management method for data communication link of mobile terminal
CN104519513A (en) * 2013-09-30 2015-04-15 深圳市群云网络有限公司 WLAN (wireless local area network)-based communication method and system
CN103686089B (en) * 2013-12-19 2017-02-01 武汉虹信通信技术有限责任公司 Train monitoring system based on WDS
CN104009925B (en) * 2014-05-19 2018-09-07 百度在线网络技术(北京)有限公司 Bridge joint method for building up, device and the router of router
CN105163322B (en) * 2015-08-05 2018-08-03 福建星网锐捷网络有限公司 A kind of method and system that wireless network extends automatically
CN105703958B (en) * 2016-04-07 2019-01-22 成都火云网安科技有限公司 A kind of the AP automatic configuration system and method for wireless network environment
CN106603374B (en) * 2016-11-30 2019-09-27 深圳市吉祥腾达科技有限公司 A kind of automatic bridge joint method and system
CN107124725A (en) * 2017-05-26 2017-09-01 唐高松 An a kind of key dial-up bridge-set and its control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3122144A1 (en) * 2014-04-16 2017-01-25 Huawei Device Co., Ltd. Device and method for accessing wireless network
CN103974256A (en) * 2014-05-15 2014-08-06 浙江宇视科技有限公司 Wireless network access method and device

Also Published As

Publication number Publication date
CN109890028A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
US10165477B2 (en) Distributed seamless roaming in wireless networks
EP3764697B1 (en) Method of batch automatic network configuration of wifi devices, terminal equipment and storage medium
US7657248B2 (en) Wireless LAN system, wireless LAN access point, wireless LAN terminal and activation control method for use therewith
EP2544485B1 (en) Method for processing cell outage and device thereof
CN107666691B (en) Terminal state conversion method and device
CN102883358B (en) A kind of method and device realizing batch AP upgrading
CN108617033B (en) Communication method, terminal and access network equipment
WO2011105052A1 (en) Communication system, control device and base station device
CN108471631B (en) Switching preparation method, related base station and UE
CN102223632B (en) A kind of Access Layer security algorithm synchronous method and system
US20070049252A1 (en) Failure handling during security exchanges between a station and an access point in a WLAN
CN110636499A (en) Method, device, terminal and base station for updating notification area of wireless access network
WO2017101544A1 (en) Station opening method and device for relay system
CN106792947B (en) RRC connection reestablishment method and base station
CN104754495A (en) Smart household device connecting method and smart terminal
KR20180003628A (en) Decrease reassociation time for STAs connected to AP
CN102143604A (en) Method, system and device for recovering control and provisioning for wireless access point (CAPWAP) tunnel
CN109890028B (en) Point-to-multipoint automatic bridging method
CN105099837A (en) Wired general medium networking technology networking method and apparatus for home network
US20110217993A1 (en) Wireless communication system, wireless base station, mobile terminal, wireless communication method, and program
RU2653298C2 (en) Configuration method, network device and subscriber device
CN106537973A (en) Service management method and device therefor
CN111083699B (en) Key generation method and device, first network entity and base station equipment
WO2019157871A1 (en) Wireless backhaul network, communication method and apparatus
CN102523600A (en) Testing method and device for automatically triggering user equipment on network side for cell handover

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