CN107071082A - The acquisition methods and system of a kind of IP address of access control equipment - Google Patents
The acquisition methods and system of a kind of IP address of access control equipment Download PDFInfo
- Publication number
- CN107071082A CN107071082A CN201710174181.3A CN201710174181A CN107071082A CN 107071082 A CN107071082 A CN 107071082A CN 201710174181 A CN201710174181 A CN 201710174181A CN 107071082 A CN107071082 A CN 107071082A
- Authority
- CN
- China
- Prior art keywords
- address
- access control
- control equipment
- equipment
- wireless forwarding
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5069—Address allocation for group communication, multicast communication or broadcast communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention relates to the acquisition methods and system in IP address acquisition field, more particularly to a kind of IP address of access control equipment.In the present invention, the IP address of access control equipment is obtained by three kinds of methods, three kinds of methods are in wireless forwarding device power, as long as a kind of method is effective, the IP address of access control equipment can then be obtained, the present invention can farthest allow wireless forwarding equipment to obtain the IP address automation of access control equipment, reduce the operation difficulty of testing staff.
Description
Technical field
The present invention relates to IP address obtain field, more particularly to a kind of IP address of access control equipment acquisition methods and
System.
Background technology
Access control equipment(Access control, AC)It is a kind of network equipment, is the core of wireless network, is responsible for pipe
The wireless forwarding equipment in wireless network is managed, wireless forwarding equipment control is included:Issue configuration, modification relevant configured parameter,
Radio-frequency intelligent management, access security control etc..
Wireless forwarding equipment is wireless device(The wireless device such as the mobile devices such as mobile phone and notebook computer)User enters
The access point of cable network, is mainly used in broadband home, inside buildings, inside campus, inside garden and warehouse, factory etc. need
Want the place of wireless monitor.
With the raising of demand, user proposes new characteristic requirements to the wireless network of a new generation.First, wireless network
It is desirable that total solution, the system that can be managed collectively;Second, wireless network implements simple, if passing through work
Tool is automatically drawn in the optimal location of wireless aps, optimal etc. using which frequency range;3rd, wireless network must be safe nothing
Gauze network, this is also most important requirement;In addition, wireless network will can support voice and multi-service.Based on this demand, need
Be born the solution based on wireless AC of new generation.
In wireless forwarding equipment and the practical layout of access control equipment are implemented, one of stubborn problem is exactly nothing
How line forwarding unit obtains the address of access control equipment, is certainly a method by manual configuration static address, but very
In terms of not, because wireless forwarding equipment is managed by access control equipment, under normal circumstances, all configurations are all in access control
Configured on control equipment, but when wireless forwarding equipment is also configured without access control equipment address, wireless forwarding equipment is clearly
Can not be with access control equipment interaction, this requires that the configuration of wireless forwarding equipment must be in the local of wireless forwarding equipment
Match somebody with somebody, and can not remotely solve.
The content of the invention
The problem of existing for prior art, now the acquisition methods there is provided a kind of IP address of access control equipment and be
System.
Specific technical scheme is as follows:
A kind of acquisition methods of the IP address of access control equipment, including:
Step S1, whether static configuration has IP address to detection access control equipment, and the IP address is obtained if having, is exited, otherwise
Perform step S2;
Step S2, wireless forwarding equipment is with detecting whether the IP of the legal access control equipment by Dynamic Host Configuration Protocol server
Location, the IP address is obtained if having, is exited, and otherwise performs step S3;
Step S3, the wireless forwarding equipment sends multicast message in local broadcast domain, if the access control equipment is in institute
State in local broadcast domain, then send unicast message to the wireless forwarding equipment, to inform the IP of the access control equipment
Location.
It is preferred that, in the step S3, if the access control equipment performs step not in the local broadcast domain
S1。
It is preferred that, in the step S3, if the access control equipment is repeated not in the local broadcast domain
The step S3.
It is preferred that, in the step S2, specifically include:
Step S21, the wireless forwarding equipment sends DHCP discover broadcasting packet;
Step S22, the Dynamic Host Configuration Protocol server sends DHCP OFFER messages;
Step S23, checks in the DHCP OFFER messages whether there is the fields of option 43, the option is checked if having
Whether there is the IP address of the legal access control equipment in 43 fields, the IP address is obtained if having, is exited, is otherwise performed
Step S3.
It is preferred that, also include after the step S2:
Step S24, when the IP address rental period that the Dynamic Host Configuration Protocol server is distributed is full, the wireless forwarding equipment sends and re-rents request
To Dynamic Host Configuration Protocol server, the step S22 is performed.
It is preferred that, the wireless forwarding equipment is wireless aps.
It is preferred that, the access control equipment is cloud AC.
A kind of acquisition system of the IP address of access control equipment, applied to the IP address acquisition to access control equipment
In, the acquisition system includes:
Static configuration detection module, whether static configuration has IP address to detection access control equipment;
DHCP detection modules, connect the static configuration detection module, by Dynamic Host Configuration Protocol server detect whether it is legal described in
The IP address of access control equipment;
Detection module is broadcasted, the DHCP detection modules are connected, the wireless forwarding equipment sends multicast in local broadcast domain
Whether message, the IP address of the access control equipment is obtained according to the access control equipment in the local broadcast domain.
It is preferred that, the wireless forwarding equipment is wireless aps.
It is preferred that, the access control equipment is cloud AC.
The beneficial effect of above-mentioned technical proposal is:
In above-mentioned technical proposal, the IP address of access control equipment is obtained by three kinds of methods, three kinds of methods are set in wireless forwarding
When standby electric, as long as a kind of method effectively, then can obtain the IP address of access control equipment, above-mentioned technical proposal can be maximum
The IP address for allowing wireless forwarding equipment to obtain access control equipment of degree is automated, and reduces the operation difficulty of testing staff.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the embodiment of the acquisition methods of the IP address of access control equipment of the invention;
Fig. 2 is a kind of structural representation of the embodiment of the acquisition system of the IP address of access control equipment of the invention.
Embodiment
It should be noted that in the case where not conflicting, following technical proposals can be mutually combined between technical characteristic.
The embodiment to the present invention is further described below in conjunction with the accompanying drawings:
A kind of acquisition methods of the IP address of access control equipment, as shown in figure 1, including:
Step S1, wireless forwarding device power, whether static configuration has IP to the wireless forwarding equipment detection access control equipment
Address, the IP address is obtained if having, is exited, and otherwise performs step S2;
Step S2, the wireless forwarding equipment detects whether the IP of the legal access control equipment by Dynamic Host Configuration Protocol server
Address, the IP address is obtained if having, is exited, and otherwise performs step S3;
Step S3, the wireless forwarding equipment sends multicast message in local broadcast domain, if the access control equipment is in institute
State in local broadcast domain, then send unicast message to the wireless forwarding equipment, to inform the IP of the access control equipment
Location.
The present embodiment is a kind of method for mixing and finding access control equipment IP address, and the present embodiment will be mixed with three kinds
The IP address collocation method of access control equipment:
Method 1:Manual static configuration access control equipment IP address;
Method 2:AC addresses are obtained by DHCP servers;
Method 3:By multicast send access control equipment Address requests, access control equipment obtain multicast request message after,
Unicast message is sent to AP, the IP address of access control equipment is informed.
The present embodiment as follows arranges the priority of these three methods:
Limit priority:Method 1;
Middle priority:Method 2;’
Lowest priority:Method 3;
Above-described embodiment can reach following effects, and three kinds of methods are in wireless forwarding device power, as long as having a kind of method effectively,
Address with regard to access control equipment can be obtained.If three kinds of methods are all invalid in wireless forwarding device power, after the power-up,
Regardless of when, as long as a kind of method effectively, wireless forwarding She Er than or the IP address of access control equipment can be obtained.This
If sample, the present invention, which tries one's best, allows the IP address of wireless forwarding equipment acquisition access control equipment to automate, and reduces and applies
The difficulty of workman person.
In a preferred embodiment of the invention, in the step S3, if the access control equipment is not described local
In broadcast domain, then step S1 is performed.
In a preferred embodiment of the invention, in the step S3, if the access control equipment is not described local
In broadcast domain, then the step S3 is repeated.
In above-described embodiment, if access control equipment is in local broadcast domain, unicast message is sent to wireless forwarding
Equipment, informs the address of their own.If not in local broadcast domain, constantly sending multicast request.And further check
Whether user is configured with the static address of access control equipment.
It should be noted that after the method for low priority gets access control equipment address, if by high preferential
The method of level also gets access control equipment address, then access control equipment address on earth using low priority or Gao You
In the category of access control equipment address no longer above-described embodiment of first level.
In a preferred embodiment of the invention, in the step S2, specifically include:
Step S21, the wireless forwarding equipment sends DHCP discover broadcasting packet;
Step S22, the Dynamic Host Configuration Protocol server sends DHCP OFFER messages;
Step S23, checks in the DHCP OFFER messages whether there is the fields of option 43, the option is checked if having
Whether there is the IP address of the legal access control equipment in 43 fields, the IP address is obtained if having, is exited, is otherwise performed
Step S3.
DHCP9(Dynamic Host Configuration Protocol, DHCP)It is a local
The procotol of net.Refer to, by one section of IP address range of server controls, can just obtaining automatically during client logon server
Obtain the IP address and subnet mask of server-assignment.First, Dynamic Host Configuration Protocol server must be one and be provided with Windows 2000
The computer of Server/Advanced Server systems;Secondly, serving as the computer of Dynamic Host Configuration Protocol server needs to install TCP/IP
Agreement, and contents such as static ip address, subnet mask, default gateway are set for it.
In the present embodiment, DHCP DISCOVER messages are first message that wireless forwarding equipment starts dhcp process, are
The broadcasting packet of IP address requesting and other configurations parameter.DHCP OFFER messages are Dynamic Host Configuration Protocol server to DHCP DISCOVER
The response of message, is the unicast comprising valid ip address and configuration(Or broadcast)Message.
After the DHCP OFFER messages for coming from Dynamic Host Configuration Protocol server are received, check whether it there are the fields of option 43, such as
Fruit has, and whether detect has legal AC addresses in this field.If so, then using option 43 AC addresses.If not provided,
Then start periodically to send multicast request in local broadcast domain.
In a preferred embodiment of the invention, also include after the step S2:
Step S24, when the IP address rental period that the Dynamic Host Configuration Protocol server is distributed is full, the wireless forwarding equipment sends and re-rents request
To Dynamic Host Configuration Protocol server, the step S22 is performed.
In above-described embodiment, Dynamic Host Configuration Protocol server typically has a leasehold to the IP address of the wireless forwarding leasing of equipment
Limit, Dynamic Host Configuration Protocol server will withdraw the IP address of taxi after expiring.In order to be able to be continuing with original IP address, wireless forwarding is set
It is standby that the request re-rented can be sent to Dynamic Host Configuration Protocol server.
Due to DHCP IP address by the rental period the problem of, so when address need to be re-rented, DHCP OFFER can be received again
Message, if occurring in that option43 fields in OFFER messages and wherein having legal AC IP address.AC addresses can then be obtained.
In a preferred embodiment of the invention, the wireless forwarding equipment is wireless aps.
In the present embodiment, wireless aps(Access point, access point)It is the access point of a wireless network, is commonly called as " heat
Point ".Mainly there is route switching to access equipment integrating and pure access point apparatus, equipment integrating performs access and route work, pure to connect
Enter equipment only be responsible for wireless client access, pure access device usually as wireless network extension uses, with other AP or
Main AP connections, to expand wireless coverage, and equipment integrating is usually the core of wireless network.
In a preferred embodiment of the invention, the access control equipment is cloud AC.
In the present embodiment, wireless cloud AC is also known as " CloudController ", is Beijing BHU Networks Technology Co., Ltd.'s base
, can automatic discovering device, real-time watch device in the software of the fast complete set product of a centralized management ripple of cloud independent research
Current state, also software restarting, edition upgrading, all kinds of remote management capabilitys of management of webpage.
A kind of acquisition system of the IP address of access control equipment, applied to the IP address acquisition to access control equipment
In, as shown in Fig. 2 the acquisition system includes:
Static configuration detection module, whether static configuration has IP address to detection access control equipment;
DHCP detection modules, connect the static configuration detection module, by Dynamic Host Configuration Protocol server detect whether it is legal described in
The IP address of access control equipment;
Detection module is broadcasted, the DHCP detection modules are connected, the wireless forwarding equipment sends multicast in local broadcast domain
Whether message, the IP address of the access control equipment is obtained according to the access control equipment in the local broadcast domain.
In a preferred embodiment of the invention, the DHCP detection modules send DHCP in the wireless forwarding equipment
After discover broadcasting packet, option 43 is determined whether in the Dynamic Host Configuration Protocol server sends DHCP OFFER messages
Field, if checking the IP address that whether there is the legal access control equipment in the fields of option 43 if having.
In a preferred embodiment of the invention, when the IP address rental period that the Dynamic Host Configuration Protocol server is distributed is full, the nothing
Line forwarding unit, which is sent, re-rents request to Dynamic Host Configuration Protocol server.
In above-described embodiment, illustrated using wireless forwarding equipment as wireless aps, AP after the power-up, has been first detected whether
Static AC configurations, if so, then using static address.If not provided, under normal circumstances, AP can be obtained by Dynamic Host Configuration Protocol server
AP IP address, after the DHCP OFFER messages for coming from Dynamic Host Configuration Protocol server are received, checks whether it has the words of option 43
Section, if so, whether detect has legal AC addresses in this field.If so, then using option 43 AC addresses.If
No, then start periodically to send multicast request in local broadcast domain, if AC is in local broadcast domain, send unicast
To AP, the address of their own is informed.If it is not, constantly sending multicast request.And further check whether user configures
Static address.Further, since DHCP IP address by the rental period the problem of, so when address need to be re-rented, can receive again
DHCP OFFER messages, if occurring in that option43 fields in OFFER messages and wherein having legal AC IP address.Then obtain
Take AC addresses.
To sum up, in above-mentioned technical proposal, the IP address of access control equipment is obtained by three kinds of methods, three kinds of methods are in nothing
When electric on line forwarding unit, as long as a kind of method effectively, then can obtain the IP address of access control equipment, above-mentioned technical proposal
It can farthest allow wireless forwarding equipment to obtain the IP address automation of access control equipment, reduce the operation of testing staff
Difficulty.
By explanation and accompanying drawing, the exemplary embodiments of the specific structure of embodiment are given, based on essence of the invention
God, can also make other conversions.Although foregoing invention proposes existing preferred embodiment, however, these contents are not intended as
Limitation.
For a person skilled in the art, read after described above, various changes and modifications undoubtedly will be evident.
Therefore, appended claims should regard whole variations and modifications of the true intention and scope that cover the present invention as.In power
Any and all scope and content of equal value, are all considered as still belonging to the intent and scope of the invention in the range of sharp claim.
Claims (10)
1. a kind of acquisition methods of the IP address of access control equipment, it is characterised in that including:
Step S1, wireless forwarding device power, whether static configuration has IP to the wireless forwarding equipment detection access control equipment
Address, the IP address is obtained if having, is exited, and otherwise performs step S2;
Step S2, the wireless forwarding equipment detects whether the IP of the legal access control equipment by Dynamic Host Configuration Protocol server
Address, the IP address is obtained if having, is exited, and otherwise performs step S3;
Step S3, the wireless forwarding equipment sends multicast message in local broadcast domain, if the access control equipment is in institute
State in local broadcast domain, then send unicast message to the wireless forwarding equipment, to inform the IP of the access control equipment
Location.
2. the acquisition methods of the IP address of access control equipment according to claim 1, it is characterised in that the step S3
In, if the access control equipment is not in the local broadcast domain, perform step S1.
3. the acquisition methods of the IP address of access control equipment according to claim 1, it is characterised in that the step S3
In, if the access control equipment is not in the local broadcast domain, repeat the step S3.
4. the acquisition methods of the IP address of access control equipment according to claim 1, it is characterised in that the step S2
In, specifically include:
Step S21, the wireless forwarding equipment sends DHCP discover broadcasting packet;
Step S22, the Dynamic Host Configuration Protocol server sends DHCP OFFER messages;
Step S23, checks in the DHCP OFFER messages whether there is the fields of option 43, the option is checked if having
Whether there is the IP address of the legal access control equipment in 43 fields, the IP address is obtained if having, is exited, is otherwise performed
Step S3.
5. the acquisition methods of the IP address of access control equipment according to claim 4, it is characterised in that the step S2
Also include afterwards:
Step S24, when the IP address rental period that the Dynamic Host Configuration Protocol server is distributed is full, the wireless forwarding equipment sends and re-rents request
To Dynamic Host Configuration Protocol server, the step S22 is performed.
6. the acquisition methods of the IP address of access control equipment according to claim 1, it is characterised in that described wireless turn
Hair equipment is wireless aps.
7. the acquisition methods of the IP address of access control equipment according to claim 1, it is characterised in that the access control
Control equipment is cloud AC.
8. a kind of acquisition system of the IP address of access control equipment, it is characterised in that applied to the IP to access control equipment
In address acquisition, the acquisition system includes:
Static configuration detection module, whether static configuration has IP address to detection access control equipment;
DHCP detection modules, connect the static configuration detection module, by Dynamic Host Configuration Protocol server detect whether it is legal described in
The IP address of access control equipment;
Detection module is broadcasted, the DHCP detection modules are connected, the wireless forwarding equipment sends multicast in local broadcast domain
Whether message, the IP address of the access control equipment is obtained according to the access control equipment in the local broadcast domain.
9. the acquisition system of the IP address of access control equipment according to claim 8, it is characterised in that the DHCP inspections
Module is surveyed in after the broadcasting packet that the wireless forwarding equipment sends DHCP discover, is sent in the Dynamic Host Configuration Protocol server
The fields of option 43 are determined whether in DHCP OFFER messages, if checking in the fields of option 43 whether there is conjunction if having
The IP address of the access control equipment of method.
10. the acquisition system of the IP address of access control equipment according to claim 8, it is characterised in that in described
When the IP address rental period of Dynamic Host Configuration Protocol server distribution is full, the wireless forwarding equipment, which is sent, re-rents request to Dynamic Host Configuration Protocol server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710174181.3A CN107071082A (en) | 2017-03-22 | 2017-03-22 | The acquisition methods and system of a kind of IP address of access control equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710174181.3A CN107071082A (en) | 2017-03-22 | 2017-03-22 | The acquisition methods and system of a kind of IP address of access control equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107071082A true CN107071082A (en) | 2017-08-18 |
Family
ID=59620086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710174181.3A Pending CN107071082A (en) | 2017-03-22 | 2017-03-22 | The acquisition methods and system of a kind of IP address of access control equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107071082A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217440A (en) * | 2008-01-15 | 2008-07-09 | 杭州华三通信技术有限公司 | An access method and access device of AP to AC in wireless LAN |
CN102572830A (en) * | 2012-01-19 | 2012-07-11 | 华为技术有限公司 | Method and customer premise equipment (CPE) for terminal access authentication |
CN103260150A (en) * | 2013-05-09 | 2013-08-21 | 中国联合网络通信集团有限公司 | Wireless access control method, wireless access point and wireless access controller |
CN104812021A (en) * | 2015-04-01 | 2015-07-29 | 杭州华三通信技术有限公司 | Method and device for accessing AC (access controller) by AP (access point) |
US20160219479A1 (en) * | 2013-09-04 | 2016-07-28 | Zte Corporation | IP Mobility Method and System, Access Point Device, and Wireless Access Controller |
-
2017
- 2017-03-22 CN CN201710174181.3A patent/CN107071082A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217440A (en) * | 2008-01-15 | 2008-07-09 | 杭州华三通信技术有限公司 | An access method and access device of AP to AC in wireless LAN |
CN102572830A (en) * | 2012-01-19 | 2012-07-11 | 华为技术有限公司 | Method and customer premise equipment (CPE) for terminal access authentication |
CN103260150A (en) * | 2013-05-09 | 2013-08-21 | 中国联合网络通信集团有限公司 | Wireless access control method, wireless access point and wireless access controller |
US20160219479A1 (en) * | 2013-09-04 | 2016-07-28 | Zte Corporation | IP Mobility Method and System, Access Point Device, and Wireless Access Controller |
CN104812021A (en) * | 2015-04-01 | 2015-07-29 | 杭州华三通信技术有限公司 | Method and device for accessing AC (access controller) by AP (access point) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11510038B2 (en) | Wi-Fi provisioning techniques | |
US20230247388A1 (en) | Communication system, method and device for miniature intelligent sensor | |
KR101587003B1 (en) | Apparatus and method for determining validity of wifi connection in wireless communication system | |
JP6085891B2 (en) | Access control method and system, and access point | |
US20130094444A1 (en) | Automatic provisioning of an m2m device having a wifi interface | |
EP2950499B1 (en) | 802.1x access session keepalive method, device, and system | |
CN101895587B (en) | Prevent the methods, devices and systems of users from modifying IP addresses privately | |
US8837327B2 (en) | Method and device for managing network topology structure of machine to machine network | |
EP3145161A1 (en) | Automatic wireless access network configuration synchronization method and apparatus | |
US20120084415A1 (en) | Method and equipment for self-configuring transmission in self-organized network | |
CN103095749A (en) | Method and system used for achieving discovery of cross-network-segment equipment | |
CN103501356A (en) | Network address configuration method and system of network camera | |
CN103476143A (en) | Method, device and system for IP resource releasing of WLAN | |
CN104967656A (en) | Wireless ZigBee data acquisition and real-time house deformation monitoring remote transmission system | |
CN108419305B (en) | Lightweight WLAN small wireless network networking method | |
US20140280467A1 (en) | Method of managing port dhcp server protocol addresses | |
CN103581107B (en) | Server and working mode setting method thereof | |
CN103476144B (en) | Intranet and user equipment registration method based on Intranet | |
CN103200593B (en) | Base station self-starting and self-starting householder method and equipment | |
CN107071082A (en) | The acquisition methods and system of a kind of IP address of access control equipment | |
TWI511496B (en) | System of wireless communication, and method of management | |
CN106713287A (en) | Method, apparatus and system for automatically registering wireless access point | |
JP2013162219A (en) | Communication device, communication system, communication method, and communication program | |
CN105474706A (en) | WTP access method, management method, apparatus and system | |
CN105813169B (en) | Wireless network deployment method and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |
|
RJ01 | Rejection of invention patent application after publication |