CN106231005A - A kind of DHCP collocation method, client and access point - Google Patents

A kind of DHCP collocation method, client and access point Download PDF

Info

Publication number
CN106231005A
CN106231005A CN201610756192.8A CN201610756192A CN106231005A CN 106231005 A CN106231005 A CN 106231005A CN 201610756192 A CN201610756192 A CN 201610756192A CN 106231005 A CN106231005 A CN 106231005A
Authority
CN
China
Prior art keywords
dhcp
access point
message
dynamic host
protocol server
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
Application number
CN201610756192.8A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201610756192.8A priority Critical patent/CN106231005A/en
Publication of CN106231005A publication Critical patent/CN106231005A/en
Pending legal-status Critical Current

Links

Classifications

    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of DHCP collocation method, client and access point, during wherein method is applied to the association process of client and access point, including: access point receives the association request frame comprising DHCP message interactive information sent from client;From described association request frame, obtain DHCP message interactive information, at described Dynamic Host Configuration Protocol server, obtain configuration parameter according to described DHCP message interactive information, and described configuration parameter is filled to association response frame;Comprise the described association response frame of described configuration parameter to described client feedback, so that described client extracts described configuration parameter from described association response frame, and carry out DHCP configuration based on described configuration parameter.The present invention can improve the efficiency of DHCP configuration, and then improves the experience of user.

Description

A kind of DHCP collocation method, client and access point
Technical field
Embodiment of the present invention relates to wireless local area network technology field, particularly relates to a kind of DHCP (Dynamic Host Configuration Protocol, DHCP) collocation method, system, client and access point.
Background technology
Along with the development of wireless local area network technology, WIFI network is seen everywhere the most in daily life.WIFI believes Number can pass through AP (Access Point, access point) to launch.Terminal unit is connected by setting up with AP, such that it is able to access mutually Networking.
Currently, when terminal unit is connected with AP foundation, first terminal unit can scan the SSID of WIFI signal (Service Set Identifier, service set), then can carry out link authentication to the AP launching this WIFI signal. After by the certification of AP, just can be associated between terminal unit and AP.
After terminal unit is AP association, needs to carry out DHCP and configure the information that could normally access in the Internet.At present DHCP configuration process carry out after associating with AP often.Specifically, currently can be completed by four steps The configuration process of DHCP: first, terminal unit can send IP distribution request to Dynamic Host Configuration Protocol server;Then Dynamic Host Configuration Protocol server is permissible In response to this request, provide spendable IP set to terminal unit;Then, terminal unit can select from described IP gathers IP to be used, and inform this IP to be used of Dynamic Host Configuration Protocol server;Finally, Dynamic Host Configuration Protocol server may determine that terminal unit use should The lease of IP, thus complete the process of DHCP configuration.
This DHCP collocation method of the prior art, generally requires and carries out after terminal unit associates with AP foundation. But, the process of DHCP configuration, according to the busy extent of network topology, often causes certain delay, and this delay would generally reach By about 2 seconds, so can reduce the efficiency of DHCP configuration, have a strong impact on the experience of user.
Summary of the invention
For the problems referred to above, the purpose of embodiment of the present invention is provide a kind of DHCP collocation method, client and connect Access point, it is possible to increase the efficiency of DHCP configuration, and then improve the experience of user.
For achieving the above object, embodiment of the present invention provides a kind of DHCP collocation method, and described method is applied to client In the association process of end and access point, receive including: access point and comprise DHCP message interactive information from what client sent Association request frame, described DHCP message interactive information for obtaining the configuration parameter of DHCP configuration to Dynamic Host Configuration Protocol server;Described connect Access point obtains DHCP message interactive information from described association request frame, according to described DHCP message interactive information from described DHCP Obtain configuration parameter at server, and described configuration parameter is filled to association response frame;Described access point is to described client End feedback comprises the described association response frame of described configuration parameter, so that described client extracts institute from described association response frame State configuration parameter, and carry out DHCP configuration based on described configuration parameter.
For achieving the above object, embodiment of the present invention also provides for a kind of DHCP and configures system, and described system includes client End and access point, wherein: described client, for sending the association request comprising DHCP message interactive information to described access point Frame;From the association response frame that described access point feeds back, extract configuration parameter, and carry out DHCP configuration based on described configuration parameter; Whether described access point, for receiving the association request frame that described client is sent, and arrange DHCP in judging described access point Server;According to the result judged, at described Dynamic Host Configuration Protocol server, obtain configuration parameter, and described configuration parameter is filled to closing In the preset field of connection response frame;The described association response frame of described configuration parameter is comprised to described client feedback.
Further, described method also includes: described DHCP message interactive information is filled extremely described association by access point please DHCP finds message content to ask the vendor specific information element field of frame, described DHCP message interactive information to include;Access point The configuration parameter obtained at described Dynamic Host Configuration Protocol server is filled the vendor specific information element word to described association response frame Section, when described configuration parameter includes IP address, sub-pass mask, the IP address of Dynamic Host Configuration Protocol server and the IP lease that client uses Between.
Further, described at described Dynamic Host Configuration Protocol server, obtain configuration parameter according to described DHCP message interactive information, Including: whether it is provided with Dynamic Host Configuration Protocol server in judging described access point;If it is determined that be provided with DHCP service in described access point Device, the DHCP obtained from described association request frame is found that message content is sent to by internal process by the most described access point Dynamic Host Configuration Protocol server is to obtain configuration parameter at described Dynamic Host Configuration Protocol server.
Further, described at described Dynamic Host Configuration Protocol server, obtain configuration parameter according to described DHCP message interactive information, Including: whether it is provided with Dynamic Host Configuration Protocol server in judging described access point;DHCP is not had to take if it is determined that arrange in described access point Business device, based on the DHCP obtained from described association request frame, the most described access point finds that message content assembles DHCP and finds report Literary composition;At the Dynamic Host Configuration Protocol server that described access point will be arranged in described DHCP discovery message broadcasting to LAN;Described DHCP service After device receives described DHCP discovery message, returning DHCP to described access point and provide message, described DHCP provides in message and wraps Include the IP address of spendable Dynamic Host Configuration Protocol server;After described access point receives described DHCP offer message, from spendable IP Address selects an IP address, and the Dynamic Host Configuration Protocol server corresponding to the described IP address selected sends DHCP request message;Described After Dynamic Host Configuration Protocol server receives described DHCP request message, return the DHCP comprising configuration parameter to described access point and respond report Literary composition;Described access point extracts described configuration parameter from described DHCP back message.
For achieving the above object, embodiment of the present invention also provides for a kind of client being applied to DHCP configuration, including: visitor Family end the first processing module, for sending the association request frame comprising DHCP message interactive information to access point, described DHCP reports Literary composition interactive information for obtaining the configuration parameter of DHCP configuration to Dynamic Host Configuration Protocol server;Client the second processing module, for when connecing When receiving the described DHCP message interactive information from access point, to access point feedback configuration parameter, so that access point is by described Configuration parameter is filled to association response frame;Client the 3rd processing module, for comprising institute from access point when receiving When stating the described association response frame of configuration parameter, from described association response frame, extract described configuration parameter, and join based on described Put parameter and carry out DHCP configuration.
For achieving the above object, embodiment of the present invention also provides for a kind of access point being applied to DHCP configuration, including: connect Access point the first processing module, for receiving the association request frame comprising DHCP message interactive information sent from client, institute State DHCP message interactive information for obtaining the configuration parameter of DHCP configuration to Dynamic Host Configuration Protocol server;Access point the second processing module, For obtaining DHCP message interactive information from described association request frame, according to described DHCP message interactive information from described DHCP Obtain configuration parameter at server, and described configuration parameter is filled to association response frame;Access point the 3rd processing module, uses In comprising the described association response frame of described configuration parameter to described client feedback, so that described client is rung from described association Answer and frame extracts described configuration parameter, and carry out DHCP configuration based on described configuration parameter.
Therefore, a kind of DHCP collocation method, client and the access point that embodiment of the present invention provides, can be visitor Family end is set up with access point during associating, and fills DHCP message interactive information in association request frame.So, access point is just Configuration parameter can be obtained at Dynamic Host Configuration Protocol server according to described DHCP message interactive information.Thus without client with connect Access point the most independently carries out the configuration process of DHCP after setting up association, thus improves the efficiency of DHCP configuration, and then improves The experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly that embodiment of the present invention or technical scheme of the prior art, below will be to embodiment Or the required accompanying drawing used is introduced the most simply in description of the prior art, it should be apparent that, the accompanying drawing in describing below is Some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, also Other accompanying drawing can be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of DHCP collocation method that Fig. 1 provides for embodiment of the present invention;
The schematic flow sheet of a kind of DHCP collocation method that Fig. 2 provides for another embodiment of the present invention;
The functional block diagram of a kind of client that Fig. 3 provides for embodiment of the present invention;
The functional block diagram of a kind of server that Fig. 4 provides for embodiment of the present invention.
Detailed description of the invention
For making the purpose of embodiment of the present invention, technical scheme and advantage clearer, implement below in conjunction with the present invention Accompanying drawing in mode, is clearly and completely described the technical scheme in embodiment of the present invention, it is clear that described reality The mode of executing is a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, ability The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, broadly falls into the present invention The scope of protection.
Embodiment of the present invention provides a kind of DHCP collocation method.Referring to Fig. 1, described method can include following step Rapid:
Step S1: client sends the association request frame comprising DHCP message interactive information to access point.
In the present embodiment, described client can include that mobile terminal, computer (include desk computer and notes This computer), panel computer, intelligence wearable device etc..Described access point can launch WIFI signal, when described client is swept After retouching the SSID of the WIFI signal that described access point is launched, one of them SSID can be selected to set up and to connect.
In the present embodiment, described client can send association request (Association to described access point Request) frame.In described association request frame, can add optional preset field, described preset field can be such as to supply Answer business's special information element (Vendor Specific Information Element, Vendor Specific IE).Described DHCP message interactive information may be used for configuration parameter required during Dynamic Host Configuration Protocol server obtains DHCP configuration.Specifically, Described DHCP message interactive information can be that DHCP finds (DHCP discovery) message content.Therefore, in present embodiment In, the Vendor Specific IE field of described association request frame just can be filled described DHCP and find message content.
Step S2: described access point receives described association request frame, and whether arranges DHCP clothes in judging described access point Business device;
Step S3: according to the result judged, described access point obtains configuration parameter at described Dynamic Host Configuration Protocol server, and by institute State configuration parameter to fill to the preset field of association response frame.
In the present embodiment, DHCP message interactive information is comprised when what described access point received that described client sends Association request frame time, it can be determined that whether be provided with Dynamic Host Configuration Protocol server in described access point.
According to different judged results, configuration parameter can be obtained in different ways from described Dynamic Host Configuration Protocol server.
Specifically, referring to Fig. 1, when described access point is built-in with Dynamic Host Configuration Protocol server, described access point can be by interior Portion's process and described Dynamic Host Configuration Protocol server carry out data communication.Described access point just can be directly mutual with described Dynamic Host Configuration Protocol server, Such that it is able to obtain the configuration parameter that Dynamic Host Configuration Protocol server provides.Described configuration parameter can include IP address that client uses, Son closes mask, the IP address of Dynamic Host Configuration Protocol server and IP lease time etc..So, Dynamic Host Configuration Protocol server is received when described access point After the configuration parameter provided, that can fill described configuration parameter to associated response (Association Response) frame is pre- If in field, described preset field is equally Vendor Specific IE.So, described access point just can construct bag Association response frame containing described configuration parameter.
Referring to Fig. 2, when being not provided with Dynamic Host Configuration Protocol server in described access point, Dynamic Host Configuration Protocol server can be with described access Point is positioned in same LAN (LAN).So, it is accomplished by by message between described access point and described Dynamic Host Configuration Protocol server Form carries out data transmission.
Specifically, described access point can resolve the DHCP message interactive information in described association request frame, and based on institute State DHCP message interactive information and assemble DHCP discovery message.Resolve the side of DHCP message interactive information in described association request frame Formula can include extracting described DHCP message interactive information from described preset field.In described DHCP message interactive information permissible Including source address, source port, destination address and target port.Described source address can be configured to 0.0.0.0, described source port Can be UDP68 port, described destination address can be 255.255.255.255, and described target port can be UDP67 end Mouthful.
After resolving the parameters obtaining in described DHCP message interactive information, just can assemble according to these parameters DHCP finds message.Specifically, the filling of above-mentioned source address, source port, destination address and target port can be sent out to DHCP In each corresponding field of existing message, thus form effective DHCP and find message.
After assembling obtains DHCP discovery message, described DHCP can be found that message broadcasting is to local by described access point At the Dynamic Host Configuration Protocol server arranged in net.It should be noted that in the present embodiment, the quantity of described Dynamic Host Configuration Protocol server can not Only one, owing to described DHCP finds that message is to broadcast in a local network, therefore each Dynamic Host Configuration Protocol server all can receive Message is found to this DHCP.
After DHCP finds that message is received by Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server can return to described access point DHCP provides (offer) message.Specifically, after Dynamic Host Configuration Protocol server receives Discover message, will be in the address pool configured Middle lookup suitable IP address, adds corresponding lease time limit and other configuration informations (such as gateway, dns server etc.), structure DHCP offer message, is sent to access point, informs that this Dynamic Host Configuration Protocol server of access point can be that it provides IP address.Namely Say, described DHCP offer message can include spendable IP address.IP address in described IP address set can be Dynamic Host Configuration Protocol server screens from IP pond and to obtain.In described DHCP offer message, the MAC ground of Dynamic Host Configuration Protocol server can be included The parameters such as location, the spendable IP address of Dynamic Host Configuration Protocol server offer, sub-pass mask, default gateway.
After described access point receives described DHCP offer message, one can be selected from spendable IP address Individual IP address, and send DHCP request message to Dynamic Host Configuration Protocol server.Described DHCP request message just can include the IP selected Address.Such as, described access point can use 0.0.0.0 as source address, uses UDP68 port as source port, uses 255.255.255.255 as destination address, UDP67 port is used as target port by this DHCP request message broadcasting extremely At Dynamic Host Configuration Protocol server.
After Dynamic Host Configuration Protocol server receives this DHCP request message, just can be responded the form of (ACK) message by DHCP Confirmation is sent, in this DHCP ACK message, IP address and this IP that access point selects can be included to access point The configuration parameters such as the lease time of location.So, after described access point receives this DHCP ACK message, can be from described DHCP ACK message extracts described configuration parameter, and the described configuration parameter extracted is filled to associated response (Association Response), in the preset field of frame, described preset field is equally Vendor Specific IE.So, connect described in Access point just can construct the association response frame comprising described configuration parameter.
Step S4: described access point comprises the described association response frame of described configuration parameter to described client feedback;
Step S5: described client extracts described configuration parameter from described association response frame, and based on described configuration ginseng Number carries out DHCP configuration.
In the present embodiment, after described access point constructs the association response frame comprising described configuration parameter, just The described association response frame of described configuration parameter can be comprised to described client feedback.So, described client receives institute After stating association response frame, just can extract described configuration parameter from described association response frame, and based on described configuration parameter Carry out DHCP configuration.Specifically, described client can extract spendable IP address, Zi Guan from described association response frame Then these are joined by mask, default gateway, the IP address of Dynamic Host Configuration Protocol server and can use the parameter such as lease time of IP address Number is configured in client, and so, client just can access the Internet by described access point.
Refer to Fig. 3.Embodiment of the present invention provides a kind of client, and described client includes:
Client the first processing module 100, for sending the association request comprising DHCP message interactive information to access point Frame, described DHCP message interactive information for obtaining the configuration parameter of DHCP configuration to Dynamic Host Configuration Protocol server;
Client the second processing module 200, is used for when receiving the described DHCP message interactive information from access point, To access point feedback configuration parameter, so that described configuration parameter is filled to association response frame by access point;
Client the 3rd processing module 300, for when receiving comprising described in described configuration parameter from access point During association response frame, from described association response frame, extract described configuration parameter, and carry out DHCP based on described configuration parameter and join Put.
Described DHCP message interactive information is filled in the vendor specific information element field of described association request frame, described DHCP message interactive information includes that DHCP finds message content;The configuration parameter obtained at described Dynamic Host Configuration Protocol server is filled in described The vendor specific information element field of association response frame, described configuration parameter includes that IP address that client uses, Zi Guan cover Code, the IP address of Dynamic Host Configuration Protocol server and IP lease time.
Described client the second processing module, for when receiving the described DHCP message interactive information from access point Time, to access point feedback configuration parameter, including: if being provided with Dynamic Host Configuration Protocol server in described access point, then when receiving access When point finds message content by the DHCP that internal process sends, to access point feedback configuration parameter;If in described access point Setting does not has Dynamic Host Configuration Protocol server, then when receiving the DHCP discovery message content that access point is sent in a local network by broadcast Time, returning DHCP to described access point and message is provided, described DHCP provides message to include the IP of spendable Dynamic Host Configuration Protocol server Address;When receiving the DHCP request message that access point sends, return the DHCP comprising configuration parameter to access point and respond report Literary composition.
Refer to Fig. 4.One embodiment of the present invention also provides for a kind of access point, and described access point includes:
Access point the first processing module 400, comprises DHCP message interactive information for receiving from what client sent Association request frame, described DHCP message interactive information for obtaining the configuration parameter of DHCP configuration to Dynamic Host Configuration Protocol server;
Access point the second processing module 500, for obtaining DHCP message interactive information from described association request frame, according to Described DHCP message interactive information obtains configuration parameter at described Dynamic Host Configuration Protocol server, and fills described configuration parameter to association In response frame;
Access point the 3rd processing module 600, for comprising the described association of described configuration parameter to described client feedback Response frame, so that described client extracts described configuration parameter from described association response frame, and enters based on described configuration parameter Row DHCP configures.
Described access point also includes arranging module (not shown), for filling described DHCP message interactive information to described The vendor specific information element field of association request frame, described DHCP message interactive information includes that DHCP finds message content; And fill the vendor specific information to described association response frame for the configuration parameter of acquisition at described Dynamic Host Configuration Protocol server Element field, described configuration parameter includes IP address, sub-pass mask, the IP address of Dynamic Host Configuration Protocol server and the IP that client uses Lease time.
Described access point the second processing module, for obtaining DHCP message interactive information, root from described association request frame At described Dynamic Host Configuration Protocol server, configuration parameter is obtained according to described DHCP message interactive information, including: in judging described access point it is No it is provided with Dynamic Host Configuration Protocol server;If it is determined that be provided with Dynamic Host Configuration Protocol server in described access point, the most described access point is by inside The DHCP obtained from described association request frame is found that message content is sent to Dynamic Host Configuration Protocol server to take from described DHCP by process Configuration parameter is obtained at business device;If it is determined that described access point in arrange there is no Dynamic Host Configuration Protocol server, the most described access point based on from The DHCP obtained in described association request frame finds that message content assembles DHCP and finds message;Described DHCP is sent out by described access point Existing message broadcasting is at the Dynamic Host Configuration Protocol server arranged in LAN;Described Dynamic Host Configuration Protocol server receives described DHCP and finds message After, returning DHCP to described access point and message is provided, described DHCP provides message to include the IP of spendable Dynamic Host Configuration Protocol server Address;After described access point receives described DHCP offer message, from spendable IP address, select an IP address, and to choosing Dynamic Host Configuration Protocol server corresponding to the described IP address selected sends DHCP request message;Described Dynamic Host Configuration Protocol server receives described DHCP please After seeking message, return the DHCP back message comprising configuration parameter to described access point;Described access point is responded from described DHCP Message extracts described configuration parameter.
The concrete ins and outs that above-mentioned client relates to access point are similar with in DHCP collocation method, therefore no longer Specifically repeat.
Therefore, a kind of DHCP collocation method, client and the access point that embodiment of the present invention provides, can be visitor Family end is set up with access point during associating, and fills DHCP message interactive information in association request frame.So, access point is just Configuration parameter can be obtained at Dynamic Host Configuration Protocol server according to described DHCP message interactive information.Thus without client with connect Access point the most independently carries out the configuration process of DHCP after setting up association, thus improves the efficiency of DHCP configuration, and then improves The experience of user.
Each embodiment in this specification all uses the mode gone forward one by one to describe, identical similar between each embodiment Part see mutually, what each embodiment stressed is the difference with other embodiments.
Last it is noted that above the describing of various embodiments of the present invention is supplied to ability with the purpose described Field technique personnel.It is not intended to exhaustive or is not intended to limit the invention to single disclosed embodiment.As above institute Stating, various replacements and the change of the present invention will be apparent from for above-mentioned technology one of ordinary skill in the art.Therefore, Although specifically discuss the embodiment of some alternatives, but other embodiment will be apparent from, or ability Field technique personnel relatively easily draw.It is contemplated that be included in all replacements of this present invention discussed, amendment and Change, and other embodiment in the spirit and scope of above-mentioned application that falls.

Claims (10)

1. a DHCP collocation method, it is characterised in that described method is applied in the association process of client and access point, bag Include:
Access point receives the association request frame comprising DHCP message interactive information sent from client, and described DHCP message is handed over Mutual information for obtaining the configuration parameter of DHCP configuration to Dynamic Host Configuration Protocol server;
Described access point obtains DHCP message interactive information from described association request frame, according to described DHCP message interactive information At described Dynamic Host Configuration Protocol server, obtain configuration parameter, and described configuration parameter is filled to association response frame;
Described access point comprises the described association response frame of described configuration parameter to described client feedback, so that described client From described association response frame, extract described configuration parameter, and carry out DHCP configuration based on described configuration parameter.
DHCP collocation method the most according to claim 1, it is characterised in that described method also includes:
Described DHCP message interactive information is filled the vendor specific information element field to described association request frame by access point, Described DHCP message interactive information includes that DHCP finds message content;
The configuration parameter obtained at described Dynamic Host Configuration Protocol server is filled specific to the supplier of described association response frame by access point Information element field, described configuration parameter include IP address that client uses, sub-pass mask, Dynamic Host Configuration Protocol server IP address with And IP lease time.
DHCP collocation method the most according to claim 2, it is characterised in that described according to described DHCP message interactive information Configuration parameter is obtained at described Dynamic Host Configuration Protocol server, including:
Whether it is provided with Dynamic Host Configuration Protocol server in judging described access point;
If it is determined that be provided with Dynamic Host Configuration Protocol server in described access point, the most described access point will be from described association by internal process The DHCP obtained in claim frame finds that message content is sent to Dynamic Host Configuration Protocol server to obtain configuration ginseng at described Dynamic Host Configuration Protocol server Number.
DHCP collocation method the most according to claim 2, it is characterised in that described according to described DHCP message interactive information Configuration parameter is obtained at described Dynamic Host Configuration Protocol server, including:
Whether it is provided with Dynamic Host Configuration Protocol server in judging described access point;
Not having Dynamic Host Configuration Protocol server if it is determined that arrange in described access point, the most described access point is based on from described association request frame The DHCP obtained finds that message content assembles DHCP and finds message;
At the Dynamic Host Configuration Protocol server that described access point will be arranged in described DHCP discovery message broadcasting to LAN;
After described Dynamic Host Configuration Protocol server receives described DHCP discovery message, return DHCP to described access point and message is provided, described DHCP provides message to include the IP address of spendable Dynamic Host Configuration Protocol server;
After described access point receives described DHCP offer message, from spendable IP address, select an IP address, and to choosing Dynamic Host Configuration Protocol server corresponding to the described IP address selected sends DHCP request message;
After described Dynamic Host Configuration Protocol server receives described DHCP request message, return the DHCP comprising configuration parameter to described access point Back message;
Described access point extracts described configuration parameter from described DHCP back message.
5. the client being applied to DHCP configuration, it is characterised in that including:
Client the first processing module, for sending the association request frame comprising DHCP message interactive information to access point, described DHCP message interactive information for obtaining the configuration parameter of DHCP configuration to Dynamic Host Configuration Protocol server;
Client the second processing module, for when receiving the described DHCP message interactive information from access point, to access Point feedback configuration parameter, so that described configuration parameter is filled to association response frame by access point;
Client the 3rd processing module, for when receiving the described associated response comprising described configuration parameter from access point During frame, from described association response frame, extract described configuration parameter, and carry out DHCP configuration based on described configuration parameter.
Client the most according to claim 5, it is characterised in that described DHCP message interactive information is filled in described association The vendor specific information element field of claim frame, described DHCP message interactive information includes that DHCP finds message content;
The configuration parameter obtained at described Dynamic Host Configuration Protocol server is filled in the vendor specific information element word of described association response frame Section, when described configuration parameter includes IP address, sub-pass mask, the IP address of Dynamic Host Configuration Protocol server and the IP lease that client uses Between.
Client the most according to claim 6, it is characterised in that described client the second processing module, for when receiving To during from the described DHCP message interactive information of access point, to access point feedback configuration parameter, including:
If being provided with Dynamic Host Configuration Protocol server in described access point, then send out when receiving the DHCP that access point sent by internal process During existing message content, to access point feedback configuration parameter;
If described access point in arrange there is no Dynamic Host Configuration Protocol server, then when receive access point by broadcast send in a local network DHCP find message content time, to described access point return DHCP provide message, described DHCP provide message include making The IP address of Dynamic Host Configuration Protocol server;When receiving the DHCP request message that access point sends, return to comprise to access point and join Put the DHCP back message of parameter.
8. the access point being applied to DHCP configuration, it is characterised in that including:
Access point the first processing module, for receiving the association request comprising DHCP message interactive information sent from client Frame, described DHCP message interactive information for obtaining the configuration parameter of DHCP configuration to Dynamic Host Configuration Protocol server;
Access point the second processing module, for obtaining DHCP message interactive information, according to described from described association request frame DHCP message interactive information obtains configuration parameter at described Dynamic Host Configuration Protocol server, and fills described configuration parameter to associated response In frame;
Access point the 3rd processing module, for comprising the described association response frame of described configuration parameter to described client feedback, So that described client extracts described configuration parameter from described association response frame, and carry out DHCP based on described configuration parameter and join Put.
Access point the most according to claim 8, it is characterised in that described access point also includes arranging module, for by institute Stating DHCP message interactive information and fill the vendor specific information element field to described association request frame, described DHCP message is handed over Mutual information includes that DHCP finds message content;And fill to described for the configuration parameter of acquisition at described Dynamic Host Configuration Protocol server The vendor specific information element field of association response frame, described configuration parameter includes that IP address that client uses, Zi Guan cover Code, the IP address of Dynamic Host Configuration Protocol server and IP lease time.
Access point the most according to claim 9, it is characterised in that described access point the second processing module, for from described Association request frame obtains DHCP message interactive information, obtains at described Dynamic Host Configuration Protocol server according to described DHCP message interactive information Take configuration parameter, including:
Whether it is provided with Dynamic Host Configuration Protocol server in judging described access point;
If it is determined that be provided with Dynamic Host Configuration Protocol server in described access point, the most described access point will be from described association by internal process The DHCP obtained in claim frame finds that message content is sent to Dynamic Host Configuration Protocol server to obtain configuration ginseng at described Dynamic Host Configuration Protocol server Number;
Not having Dynamic Host Configuration Protocol server if it is determined that arrange in described access point, the most described access point is based on from described association request frame The DHCP obtained finds that message content assembles DHCP and finds message;Described DHCP is found that message broadcasting is to local by described access point At the Dynamic Host Configuration Protocol server arranged in net;After described Dynamic Host Configuration Protocol server receives described DHCP discovery message, return to described access point Returning DHCP and provide message, described DHCP provides message to include the IP address of spendable Dynamic Host Configuration Protocol server;Described access point connects After described DHCP offer message is provided, from spendable IP address, select an IP address, and to the described IP address pair selected The Dynamic Host Configuration Protocol server answered sends DHCP request message;After described Dynamic Host Configuration Protocol server receives described DHCP request message, to described Access point returns the DHCP back message comprising configuration parameter;Described access point is joined described in extracting from described DHCP back message Put parameter.
CN201610756192.8A 2016-08-29 2016-08-29 A kind of DHCP collocation method, client and access point Pending CN106231005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610756192.8A CN106231005A (en) 2016-08-29 2016-08-29 A kind of DHCP collocation method, client and access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610756192.8A CN106231005A (en) 2016-08-29 2016-08-29 A kind of DHCP collocation method, client and access point

Publications (1)

Publication Number Publication Date
CN106231005A true CN106231005A (en) 2016-12-14

Family

ID=58071565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610756192.8A Pending CN106231005A (en) 2016-08-29 2016-08-29 A kind of DHCP collocation method, client and access point

Country Status (1)

Country Link
CN (1) CN106231005A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212463A (en) * 2006-12-26 2008-07-02 联想(北京)有限公司 Dynamic IP address allocation method, system, mobile node, and access point
CN102238527A (en) * 2010-04-22 2011-11-09 杭州华三通信技术有限公司 Method, system and access point for wireless roaming user to access network
US20150016415A1 (en) * 2013-07-15 2015-01-15 Qualcomm Incorporated System and method to assign an internet protocol address to a mobile device during a handoff
CN105142189A (en) * 2015-08-11 2015-12-09 深圳市华讯方舟科技有限公司 Method and device for roaming control of site

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212463A (en) * 2006-12-26 2008-07-02 联想(北京)有限公司 Dynamic IP address allocation method, system, mobile node, and access point
CN102238527A (en) * 2010-04-22 2011-11-09 杭州华三通信技术有限公司 Method, system and access point for wireless roaming user to access network
US20150016415A1 (en) * 2013-07-15 2015-01-15 Qualcomm Incorporated System and method to assign an internet protocol address to a mobile device during a handoff
CN105142189A (en) * 2015-08-11 2015-12-09 深圳市华讯方舟科技有限公司 Method and device for roaming control of site

Similar Documents

Publication Publication Date Title
US9712383B2 (en) Device abstraction in autonomous wireless local area networks
CN101056310B (en) Communication equipment
CN102572830B (en) Method and customer premise equipment (CPE) for terminal access authentication
US9131473B2 (en) Method, device, and communication system for establishing connection with network management system
CN104767666B (en) Virtual expansible local area network tunneling termination establishes tunnel approach and equipment
CN102404416B (en) A kind of method obtaining DNS and tunnel gateway equipment
CN101635628B (en) Method and device for preventing ARP attacks
CN104506807A (en) Equipment automatic configuration method in wide area network video monitoring system
CN110266537A (en) Equipment distribution method, apparatus, system, to distribution net equipment and terminal
CN105743684B (en) The configuration method and router of router under a kind of ap mode
CN103858387A (en) Architecture for virtualized home IP service delivery
CN106302839A (en) The distribution method of internet protocol address and device
CN107592209A (en) A kind of multi-network card server automatically configures the method and system of IP address information
CN104521189B (en) The network terminal obtains method, equipment, the system of business
CN103581248A (en) Method and device for providing content distribution network CDN service
CN104902532A (en) A method and system for automatically accessing wireless local area network
CN103581351B (en) The method and apparatus of network access
CN109819498A (en) A kind of smart machine, the automatic distribution method and system of smart machine
CN110366011A (en) The method and communication device of access service network
CN106255089A (en) A kind of method and apparatus of radio three layer roaming
CN110493366A (en) The method and device of network management is added in a kind of access point
CN106027302A (en) Parameter configuration method and system
CN105188047A (en) Wifi wireless roaming Internet access method and mobile terminal
CN104253980A (en) Method and device for connecting front-end equipment with background media equipment
CN105049404A (en) Dynamic IP addressing method and system for home gateway equipment

Legal Events

Date Code Title Description
C06 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20161214