CN109587288A - A kind of mailing address requesting method, terminal and Wireless Fidelity controller - Google Patents
A kind of mailing address requesting method, terminal and Wireless Fidelity controller Download PDFInfo
- Publication number
- CN109587288A CN109587288A CN201811632376.9A CN201811632376A CN109587288A CN 109587288 A CN109587288 A CN 109587288A CN 201811632376 A CN201811632376 A CN 201811632376A CN 109587288 A CN109587288 A CN 109587288A
- Authority
- CN
- China
- Prior art keywords
- message
- address
- destinations traffic
- terminal
- occupied
- 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/5046—Resolving address allocation conflicts; Testing of addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Abstract
The application provides a kind of mailing address requesting method, terminal and Wireless Fidelity controller, this method comprises: receiving the first message for request target mailing address that terminal is sent;Judge whether the destinations traffic address is occupied according to first message;If the destinations traffic address is occupied, the second message that destinations traffic address has occupied is sent to the unicast media accessing to control address of the terminal.In this way, Wireless Fidelity controller receives after the first message for request target mailing address of terminal transmission, if it is judged that destinations traffic address is occupied, then the second message that destinations traffic address has occupied can be sent to the unicast media accessing to control address of terminal.That is the second message is unicast message, will not cause to flood in network, not will lead to Wireless Fidelity interface-free resources occupancy, promotes communication quality.
Description
Technical field
This application involves field of communication technology more particularly to a kind of mailing address requesting methods, terminal and Wireless Fidelity
Controller.
Background technique
Internet protocol the 6th edition (Internet Protocol Version 6, IPv6) network is in the 5th third-generation mobile communication
Network (5G) epoch are the core networks of mainstream.With Internet protocol the 4th edition (Internet Protocol Version 4,
IPv4) the difference lies in that IPv6 address space extension is big, can provide and fill for numerous internet of things nodes and communication terminal
The mailing address of foot.
In view of safety factor, terminal can periodically change itself address IPv6, avoid maliciously being forged and being attacked.It is wireless to protect
Very (WIreless-FIdelity, WIFI) system also supports IPv6 terminal to access, and evolves to the IPv6WIFI epoch.Due to WIFI
System is eated dishes without rice or wine intrinsic feature, under IPv6 address allocation scheme, it is easier to by security threat, such as extensive aggression etc..I.e.
Make under normal IPv6 address allocation scheme, the message that floods will also result in WIFI interface-free resources occupancy, and communication is caused to degrade.
Summary of the invention
This application provides a kind of mailing address requesting method, terminal and Wireless Fidelity controllers, to solve existing skill
The problem of in art, the message that floods will cause WIFI interface-free resources occupancy, and communication is caused to degrade.
On the one hand, the application provides a kind of mailing address requesting method, is applied to Wireless Fidelity controller, comprising:
Receive the first message for request target mailing address that terminal is sent;
Judge whether the destinations traffic address is occupied according to first message;
If the destinations traffic address is occupied, target is sent to the unicast media accessing to control address of the terminal
The second message that mailing address has occupied.
Optionally, it is described according to first message judge the destinations traffic address whether occupied step it
Before, the method also includes:
Judge whether first message meets message and receive speed limit condition;
If first message meets the message and receives speed limit condition, execute described according to first message judgement
The destinations traffic address whether occupied step;
If first message does not meet the message and receives speed limit condition, the terminal for sending first message is saved
Media access control address.
Optionally, judge whether the destinations traffic address is occupied according to first message, comprising:
Judge whether the destinations traffic address is recorded in target list according to first message, wherein the mesh
Entitling list includes the mailing address currently occupied by other terminals;
If the destinations traffic address is not recorded in the target list, it is determined that the destinations traffic address is not occupied
With, and the destinations traffic address is added in the target list;
If the destinations traffic address has been recorded in the target list, it is determined that the destinations traffic address is occupied
With.
Optionally, it is described the destinations traffic address is added to the step in the target list after, the side
Method further include:
Judge whether the ageing time of target list item corresponding with the destinations traffic address target list Nei expires;
Unicast media access if the ageing time of the target list item expires, to the terminal for sending first message
It controls address and sends third message;
The 4th message that the terminal of first message is returned according to the third message is sent if receiving, is updated
The ageing time of the target list item;
Otherwise, the destinations traffic address being recorded in the target list is removed.
On the other hand, the application also provides another mailing address requesting method, is applied to terminal, which comprises
The first message for being used for request target mailing address is sent to Wireless Fidelity controller, so that the Wireless Fidelity control
Device processed judges whether the destinations traffic address is occupied according to first message;
The Wireless Fidelity controller, which is received, by the unicast media accessing to control address of the terminal judges the mesh
Mark mailing address the second message transmitted when occupied.
Optionally, the method also includes:
The third report that the Wireless Fidelity controller is sent is received by the unicast media accessing to control address of the terminal
Text, wherein after the third message is added to target list by the Wireless Fidelity controller for the destinations traffic address,
The Wireless Fidelity controller judges the aging of target list item corresponding with the destinations traffic address target list Nei
Transmitted message when time expires, the target list include the mailing address currently occupied by other terminals;
According to the third message, Xiang Suoshu Wireless Fidelity controller sends the 4th message, so that the Wireless Fidelity control
Device processed updates the ageing time of the target list item according to the 4th message.
On the other hand, the application also provides a kind of Wireless Fidelity controller, comprising:
Receiving module, for receiving the first message for request target mailing address of terminal transmission;
First judgment module, for judging whether the destinations traffic address is occupied according to first message;
First sending module is visited if occupied for the destinations traffic address to the unicast media of the terminal
Ask that control address sends the second message that destinations traffic address has occupied.
Optionally, the Wireless Fidelity controller further include:
Second judgment module receives speed limit condition for judging whether first message meets message;
Execution module executes described according to institute if meeting the message for first message receives speed limit condition
It states the first message and judges the destinations traffic address whether occupied step;
Preserving module saves described in transmission if not meeting the message for first message receives speed limit condition
The media access control address of the terminal of first message.
Optionally, the first judgment module includes:
Judging submodule, for judging whether the destinations traffic address is recorded in target list according to first message
It is interior, wherein the target list includes the mailing address currently occupied by other terminals;
First determines submodule, if not being recorded in the target list for the destinations traffic address, it is determined that institute
It is unoccupied to state destinations traffic address, and the destinations traffic address is added in the target list;
Second determines submodule, if being recorded in the target list for the destinations traffic address, it is determined that institute
It is occupied to state destinations traffic address.
Optionally, the Wireless Fidelity controller further include:
Third judgment module, for judging target list item corresponding with the destinations traffic address in the target list
Whether ageing time expires;
Second sending module, if the ageing time for the target list item expires, to transmission first message
The unicast media accessing to control address of terminal sends third message;
Update module, if for receiving send that the terminal of first message returned according to the third message
Four messages then update the ageing time of the target list item;
Otherwise, module is removed, for removing the destinations traffic address being recorded in the target list.
From the above technical scheme, the application provides a kind of mailing address requesting method, terminal and Wireless Fidelity control
Device processed, which comprises receive the first message for request target mailing address that terminal is sent;According to first report
Text judges whether the destinations traffic address is occupied;If the destinations traffic address is occupied, to the terminal
Unicast media accessing to control address sends the second message that destinations traffic address has occupied.In this way, Wireless Fidelity controller receives
After the first message for request target mailing address sent to terminal, if it is judged that destinations traffic address is occupied
With the second message that can have then been occupied to the unicast media accessing to control address of terminal transmission destinations traffic address.I.e. second
Message is unicast message, will not cause to flood in network, not will lead to Wireless Fidelity interface-free resources occupancy, promotes communication matter
Amount.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below
Singly introduce, it should be apparent that, for those of ordinary skills, without creative efforts, also
Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is a kind of flow chart of mailing address requesting method provided by the present application;
Fig. 2 is the flow chart of another mailing address requesting method provided by the present application;
Fig. 3 is the process of another mailing address requesting method provided by the present application;
Fig. 4 is the flow chart of another mailing address requesting method provided by the present application;
Fig. 5 is a kind of structure chart of Wireless Fidelity controller provided by the present application;
Fig. 6 is the structure chart of another Wireless Fidelity controller provided by the present application;
Fig. 7 is the structure chart of another Wireless Fidelity controller provided by the present application;
Fig. 8 is the structure chart of another Wireless Fidelity controller provided by the present application.
Specific embodiment
Embodiment will be illustrated in detail below, the example is illustrated in the accompanying drawings.In the following description when referring to the accompanying drawings,
Unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Implement described in following embodiment
Mode does not represent all embodiments consistent with the application.It is only and be described in detail in claims, the application
The example of the consistent system and method for some aspects.
It is a kind of flow chart of mailing address requesting method provided by the present application referring to Fig. 1, Fig. 1, is applied to Wireless Fidelity
Controller.As shown in Figure 1, comprising the following steps:
Step 101 receives the first message for request target mailing address that terminal is sent.
In a step 101, Wireless Fidelity controller can receive for request target mailing address of terminal transmission
One message, i.e. Wireless Fidelity controller can receive the neighbor request for request target mailing address of terminal transmission
(Neighbor Solicitation, NS) message.It should be noted that due to the online terminal of WIFI controller mutually it
Between be all two layers of isolation, so the NS message that terminal is sent, other terminals are not received.In this way, will not cause in network
It floods, not will lead to Wireless Fidelity interface-free resources occupancy, promote communication quality.
Step 102 judges whether the destinations traffic address is occupied according to first message.
In a step 102, Wireless Fidelity controller can judge that destinations traffic address is according to the first message received
It is no occupied.For example, Wireless Fidelity controller can be in a complete online legal terminal list of internal build, i.e. target
List.The target list includes the mailing address currently occupied by other terminals.Further, which may include
It is address media access control (Media Access Control, MAC) of each online terminal, speed limit specification, requested logical
Believe address and sends the time of mailing address request.
Wireless Fidelity controller can judge whether destinations traffic address is recorded in target list according to the first message.Such as
Fruit destinations traffic address is not recorded in target list, then can determine that destinations traffic address is unoccupied, and can be by mesh
Mark mailing address is added in target list.Further, the MAC Address of the terminal of the first message will can be sent, speed limit is advised
Lattice and the time for sending the first message are added in target list.
If destinations traffic address has been recorded in target list, it can determine that destinations traffic address is occupied.I.e.
The terminal for sending the first message passes through what duplicate address detection (Duplicate Address Detection, DAD) preparation used
Destinations traffic address is clashed with some occupied mailing address of online terminal.
If step 103, the destinations traffic address are occupied, to the unicast media accessing to control address of the terminal
Send the second message that destinations traffic address has occupied.
It in step 103, can be to terminal if Wireless Fidelity controller judges that destinations traffic address is occupied
Unicast media accessing to control address send the second message for having occupied of destinations traffic address.I.e. Wireless Fidelity controller can be with structure
It makes and has occupied (Neighbor Advertisement, NA) message response to just in the terminal of DAD detection.The NA message of construction
Target MAC (Media Access Control) address is the unicast mac address for initiating the terminal of DAD request, rather than purpose multicast IP described in RFC4861 is raw
At multicast mac address.NA message loopback process can be prevented by L 2 broadcast in this way.
Mailing address requesting method provided by the present application is applied to Wireless Fidelity controller.Receive being used for for terminal transmission
First message of request target mailing address;Judge whether the destinations traffic address is occupied according to first message;
If the destinations traffic address is occupied, destinations traffic address is sent to the unicast media accessing to control address of the terminal
The second message occupied.Wireless Fidelity controller receives the first message for request target mailing address of terminal transmission
Later, if it is judged that destinations traffic address is occupied, then mesh can be sent to the unicast media accessing to control address of terminal
The second message that mark mailing address has occupied.That is the second message is unicast message, will not cause to flood in network, not will lead to
Wireless Fidelity interface-free resources occupy, and promote communication quality.
Referring to fig. 2, Fig. 2 is the flow chart of another mailing address requesting method provided by the present application, is applied to wireless protect
True controller.As shown in Figure 2, comprising the following steps:
Step 201 receives the first message for request target mailing address that terminal is sent.
In step 201, Wireless Fidelity controller can receive for request target mailing address of terminal transmission
One message, i.e. Wireless Fidelity controller can receive the NS message for request target mailing address of terminal transmission.It needs
It is bright, due to being all two layers of isolation between each other in the online terminal of WIFI controller, so the NS message that terminal is sent,
Other terminals do not receive.In this way, will not cause to flood in network, it not will lead to Wireless Fidelity interface-free resources occupancy, promoted
Communication quality.
Step 202 judges whether first message meets message and receive speed limit condition.
It in step 202, can after Wireless Fidelity controller receives the first message for request target mailing address
Speed limit condition is received to judge whether the first message meets message.It should be noted that WIFI controller is according to being supported most
Big online number of terminals, can calculate under normal circumstances, WIFI controller receives NS message/NA message rate.Therefore, may be used
An empirical value is arranged.If the NS message/NA message rate received is significantly more than this empirical value, so that it may determine
There are malicious peers to carry out NS/NA extensive aggression.Reception limit can be carried out to these messages on the interface for receiving message
Speed protects WIFI controller.
After WIFI controller gets the message that online terminal is sent, the source MAC of message is authentic and valid and is and end
End is one-to-one, can carry out speed limit to NS message/NA message according to source MAC, and can be by the end more than speed limit threshold values
The MAC information at end is notified to administrator.It can be only to allow to receive present count within a preset time that message, which receives speed limit condition,
The message of amount.For example, it can be only to allow to receive a message in 1 second that message, which receives speed limit condition,.If at one second
A message is received in the time of clock, then the quantity that the message received is allowed within the one second time becomes 0.
I.e. at this time if receiving second message again within the one second time, second message received is not meet
Message receives speed limit condition.
If step 203, first message, which meet the message, receives speed limit condition, judged according to first message
Whether the destinations traffic address is occupied.
It in step 203, can be with if the first message that WIFI controller receives meets message and receives speed limit condition
Judge whether destinations traffic address is occupied according to the first message.
Optionally, judge whether the destinations traffic address is occupied according to first message, comprising:
Judge whether the destinations traffic address is recorded in target list according to first message, wherein the mesh
Entitling list includes the mailing address currently occupied by other terminals;
If the destinations traffic address is not recorded in the target list, it is determined that the destinations traffic address is not occupied
With, and the destinations traffic address is added in the target list;
If the destinations traffic address has been recorded in the target list, it is determined that the destinations traffic address is occupied
With.
For example, Wireless Fidelity controller can be in a complete online legal terminal list of internal build, i.e. destination name
It is single.The target list includes the mailing address currently occupied by other terminals.Further, which may include often
MAC Address, speed limit specification, requested mailing address and the time for sending mailing address request of a online terminal.
Wireless Fidelity controller can judge whether destinations traffic address is recorded in target list according to the first message.Such as
Fruit destinations traffic address is not recorded in target list, then can determine that destinations traffic address is unoccupied, and can be by mesh
Mark mailing address is added in target list.Further, the MAC Address of the terminal of the first message will can be sent, speed limit is advised
Lattice and the time for sending the first message are added in target list.
If destinations traffic address has been recorded in target list, it can determine that destinations traffic address is occupied.I.e.
The terminal for sending the first message prepares the destinations traffic address used by DAD detection and some online terminal is occupied logical
Letter address clashes.
Optionally, it is described the destinations traffic address is added to the step in the target list after, the side
Method further include:
Judge whether the ageing time of target list item corresponding with the destinations traffic address target list Nei expires;
Unicast media access if the ageing time of the target list item expires, to the terminal for sending first message
It controls address and sends third message;
The 4th message that the terminal of first message is returned according to the third message is sent if receiving, is updated
The ageing time of the target list item;
Otherwise, the destinations traffic address being recorded in the target list is removed.
WIFI controller can establish aging mechanism for destination name list.When terminal access network, the message of transmission can refresh
The ageing time of list item in target list.When terminal is for a long time without sending message, then this terminal is in target list
The ageing time of list item cannot will refresh for a long time.When the ageing time of list item differ by more than with the current time in system it is pre-
If when threshold value, the ageing time for being considered as the list item of this terminal expires.
After destinations traffic address is added in target list, WIFI controller may determine that in target list and mesh
Whether the ageing time of the corresponding target list item of mark mailing address expires.
It, can be to the unicast mac address hair for the terminal for sending the first message if the ageing time of target list item expires
Third message is sent, i.e. WIFI controller actively can return to unicast message to the terminal for sending the first message.If WIFI is controlled
Device, which receives, sends the 4th message that the terminal of the first message is returned according to third message, then can update the old of target list item
Change the time, it can from the new time-count cycle for initially entering target list item at the time of receiving four messages.If WIFI is controlled
Device processed, which is not received by, sends the message that the terminal of the first message is returned, then can remove the target being recorded in target list
Mailing address.It should be noted that if WIFI controller, which is not received by, sends the message that the terminal of the first message is returned,
Illustrate that the owner for sending the terminal of the first message at this time may be there is no using terminal.Therefore, can by destinations traffic address from
It is removed in target list, carries out resource release, make other terminals that the destinations traffic address can be used.
If step 204, first message do not meet the message and receive speed limit condition, saves and send first report
The media access control address of the terminal of text.
It in step 204, can if the first message that WIFI controller receives does not meet message and receives speed limit condition
To save the MAC Address for the terminal for sending the first message.This can be had sent and not meet message receives speed limit condition first
The MAC information of the terminal of message notifies the message for making administrator know which terminal is sent to administrator not meet message and connect
Receive speed limit condition.
If step 205, the destinations traffic address are occupied, to the unicast media accessing to control address of the terminal
Send the second message that destinations traffic address has occupied.
It in step 205, can be to terminal if Wireless Fidelity controller judges that destinations traffic address is occupied
Unicast media accessing to control address send the second message for having occupied of destinations traffic address.I.e. Wireless Fidelity controller can be with structure
NA message is made response to just in the terminal of DAD detection.The target MAC (Media Access Control) address of the NA message of construction is the terminal for initiating DAD request
Unicast mac address, rather than purpose multicast IP described in RFC4861 generate multicast mac address.In this way may be used
To prevent NA message loopback process by L 2 broadcast.
Mailing address requesting method provided by the present application is applied to Wireless Fidelity controller.Wireless Fidelity controller receives
After the first message for request target mailing address sent to terminal, it can be determined that whether the first message, which meets message, connects
Receive speed limit condition.If the first message does not meet message and receives speed limit condition, the terminal for sending the first message can be saved
MAC Address.The MAC information that this can be had sent to the terminal for not meeting the first message that message receives speed limit condition is notified to pipe
Reason person, the message for making administrator know which terminal is sent did not met message and receive speed limit condition.If the first message meets
Message receives speed limit condition, then can judge whether destinations traffic address is occupied according to the first message.If it is judged that mesh
Mark mailing address is occupied, then can send what destinations traffic address occupy to the unicast media accessing to control address of terminal
Second message.That is the second message is unicast message, will not cause to flood in network, not will lead to Wireless Fidelity interface-free resources and account for
With promotion communication quality.
It is the flow chart of another mailing address requesting method provided by the present application referring to Fig. 3, Fig. 3, is applied to terminal.Such as
Shown in Fig. 3, comprising the following steps:
Step 301 sends the first message for being used for request target mailing address to Wireless Fidelity controller, so that the nothing
Line fidelity controller judges whether the destinations traffic address is occupied according to first message.
In step 301, terminal can send the first report for request target mailing address to Wireless Fidelity controller
Text, i.e. terminal can send the NS message for being used for request target mailing address to Wireless Fidelity controller, so that Wireless Fidelity control
Device processed judges whether destinations traffic address is occupied according to the first message.It should be noted that due in WIFI controller
The terminal of line is all two layers of isolation between each other, so the NS message that terminal is sent, other terminals do not receive.In this way, not
It can cause to flood in network, not will lead to Wireless Fidelity interface-free resources occupancy, promote communication quality.
Wireless Fidelity controller receives after the first message for request target mailing address, it can be determined that the first report
Whether text, which meets message, receives speed limit condition.It should be noted that WIFI controller is according to the online number of terminals of maximum supported,
It can calculate under normal circumstances, WIFI controller receives NS message/NA message rate.Therefore, a warp can be set
Test value.If the NS message/NA message rate received is significantly more than this empirical value, so that it may determine that there are malicious peers
Carrying out NS/NA extensive aggression.Reception speed limit, protection WIFI control can be carried out to these messages on the interface for receiving message
Device processed.
After WIFI controller gets the message that online terminal is sent, the source MAC of message is authentic and valid and is and end
End is one-to-one, can carry out speed limit to NS message/NA message according to source MAC, and can be by the end more than speed limit threshold values
The MAC information at end is notified to administrator.It can be only to allow to receive present count within a preset time that message, which receives speed limit condition,
The message of amount.For example, it can be only to allow to receive a message in 1 second that message, which receives speed limit condition,.If at one second
A message is received in the time of clock, then the quantity that the message received is allowed within the one second time becomes 0.
I.e. at this time if receiving second message again within the one second time, second message received is not meet
Message receives speed limit condition.
If the first message that WIFI controller receives, which meets message, receives speed limit condition, can be according to the first message
Judge whether destinations traffic address is occupied.For example, Wireless Fidelity controller can be a complete online in internal build
Legal terminal list, i.e. target list.The target list includes the mailing address currently occupied by other terminals.Further
, which may include MAC Address, speed limit specification, requested mailing address and the transmission of each online terminal
The time of mailing address request.Wireless Fidelity controller can judge whether destinations traffic address is recorded in mesh according to the first message
In entitling list.If destinations traffic address is not recorded in target list, it can determine that destinations traffic address is unoccupied, and
And destinations traffic address can be added in target list.Further, with can will sending the MAC of the terminal of the first message
The time of the first message of location, speed limit specification and transmission is added in target list.If destinations traffic address has been recorded in
In target list, then it can determine that destinations traffic address is occupied.The terminal for sending the first message is detected by DAD to be prepared
The destinations traffic address used is clashed with some occupied mailing address of online terminal.
If the first message that WIFI controller receives does not meet message and receives speed limit condition, transmission the can be saved
The MAC Address of the terminal of one message.This can be had sent to the terminal for not meeting the first message that message receives speed limit condition
MAC information notifies the message for making administrator know which terminal is sent to administrator not meet message and receive speed limit condition.
Step 302 receives the Wireless Fidelity controller judgement by the unicast media accessing to control address of the terminal
The second transmitted message when the destinations traffic address is occupied out.
It in step 302, can be to terminal if Wireless Fidelity controller judges that destinations traffic address is occupied
Unicast media accessing to control address send the second message for having occupied of destinations traffic address.I.e. Wireless Fidelity controller can be with structure
NA message is made response to just in the terminal of DAD detection.The target MAC (Media Access Control) address of the NA message of construction is the terminal for initiating DAD request
Unicast mac address, rather than purpose multicast IP described in RFC4861 generate multicast mac address.In this way may be used
To prevent NA message loopback process by L 2 broadcast.Wireless Fidelity can be received by the unicast media accessing to control address of terminal
Controller judges the second message transmitted when destinations traffic address is occupied.
Optionally, the method also includes:
The third report that the Wireless Fidelity controller is sent is received by the unicast media accessing to control address of the terminal
Text, wherein after the third message is added to target list by the Wireless Fidelity controller for the destinations traffic address,
The Wireless Fidelity controller judges the aging of target list item corresponding with the destinations traffic address target list Nei
Transmitted message when time expires, the target list include the mailing address currently occupied by other terminals;
According to the third message, Xiang Suoshu Wireless Fidelity controller sends the 4th message, so that the Wireless Fidelity control
Device processed updates the ageing time of the target list item according to the 4th message.
It should be noted that WIFI controller can establish aging mechanism for destination name list.When terminal access network, send
Message can refresh the ageing time of the list item in target list.When terminal is for a long time without sending message, then this terminal
The ageing time of list item in target list cannot will refresh for a long time.When the ageing time of list item and system are current
Between when differing by more than preset threshold, the ageing time for being considered as the list item of this terminal expires.It is added by destinations traffic address
After in target list, WIFI controller may determine that the old of the interior target list item corresponding with destinations traffic address of target list
Change whether the time expires.It, can be to the unicast MAC for the terminal for sending the first message if the ageing time of target list item expires
Address sends third message, i.e. WIFI controller actively can return to unicast message to the terminal for sending the first message.
The third message that Wireless Fidelity controller is sent can be received by the unicast media accessing to control address of terminal,
In, third message is after destinations traffic address is added to target list by Wireless Fidelity controller, and Wireless Fidelity controller is sentenced
Transmitted message when the ageing time of target list item corresponding with destinations traffic address expires in disconnected target list out.Destination name
Single mailing address comprising currently having been occupied by other terminals.Next, terminal can be according to third message, to Wireless Fidelity control
Device processed sends the 4th message, so that Wireless Fidelity controller updates the ageing time of target list item according to the 4th message.
If WIFI controller, which receives, sends the 4th message that the terminal of the first message is returned according to third message,
The ageing time of target list item can be updated, it can from initially entering the new of target list item at the time of receiving four messages
Time-count cycle.If WIFI controller, which is not received by, sends the message that the terminal of the first message is returned, note can be removed
It records in the destinations traffic address in target list.It should be noted that if WIFI controller is not received by the first report of transmission
The message that the terminal of text is returned illustrates that the owner for sending the terminal of the first message at this time may be there is no using terminal.Therefore,
Destinations traffic address can be removed out of target list, carry out resource release, make other terminals that the destinations traffic can be used
Address.
Mailing address requesting method provided by the present application is applied to terminal.Terminal can be sent to Wireless Fidelity controller
For the first message of request target mailing address, if destinations traffic address is occupied, the unicast of terminal can be passed through
Media access control address receives Wireless Fidelity controller and judges the second report transmitted when destinations traffic address is occupied
Text.That is the second message is unicast message, will not cause to flood in network, not will lead to Wireless Fidelity interface-free resources occupancy, mentions
Rise communication quality.
Referring to fig. 4, Fig. 4 is the flow chart of another mailing address requesting method provided by the present application.In fig. 4 it is shown that
Terminal, access points (Access Point, AP) and WIFI controller.As shown in Figure 4, comprising the following steps:
Step 401, terminal send the first message for being used for request target mailing address to WIFI controller, i.e. terminal can be with
The NS message for being used for request target mailing address is sent to Wireless Fidelity controller.
After step 402, Wireless Fidelity controller receive the first message for request target mailing address, it can sentence
Whether disconnected first message, which meets message, receives speed limit condition.
If the first message that step 403, WIFI controller receive, which meets message, receives speed limit condition, can basis
First message judges whether destinations traffic address is occupied, it can the terminal that judgement sends the first message is detected by DAD
Whether the destinations traffic address for preparing to use clashes with some occupied mailing address of online terminal.
It, can be to the list of terminal if step 404, Wireless Fidelity controller judge that destinations traffic address is occupied
It broadcasts media access control address and sends the second message that destinations traffic address has occupied.I.e. Wireless Fidelity controller can construct NA
Message is response to just in the terminal of DAD detection.Terminal can recalculate mailing address, and then re-initiate NS request.
It, can be by destinations traffic if step 405, Wireless Fidelity controller judge that destinations traffic address is unoccupied
Address is added in target list.
Step 406, WIFI controller may determine that the old of the interior target list item corresponding with destinations traffic address of target list
Change whether the time expires.
It, can be to the unicast for the terminal for sending the first message if the ageing time of step 407, target list item expires
MAC Address sends third message, i.e. WIFI controller actively can return to unicast message to the terminal for sending the first message.
Step 408, terminal can send the 4th message to Wireless Fidelity controller according to third message.
If step 409, WIFI controller, which receive, sends the terminal of the first message is returned according to third message the
Four messages can then update the ageing time of target list item.
Mailing address requesting method provided by the present application.Wireless Fidelity controller receive terminal transmission for requesting mesh
After the first message for marking mailing address, it can be determined that whether the first message, which meets message, receives speed limit condition.If the first report
Text does not meet message and receives speed limit condition, then can save the MAC Address for sending the terminal of the first message.This can be had sent
The MAC information for not meeting the terminal of the first message of message reception speed limit condition notifies to make which administrator knows to administrator
The message that terminal is sent did not met message and receives speed limit condition.If the first message, which meets message, receives speed limit condition, can
To judge whether destinations traffic address is occupied according to the first message.If it is judged that destinations traffic address is occupied, then
The second message that destinations traffic address has occupied can be sent to the unicast media accessing to control address of terminal.I.e. the second message is
Unicast message will not cause to flood in network, not will lead to Wireless Fidelity interface-free resources occupancy, promote communication quality.
It is a kind of structure chart of Wireless Fidelity controller provided by the present application referring to Fig. 5, Fig. 5.As shown in figure 5, wireless protect
True controller 500 includes receiving module 501, first judgment module 502 and the first sending module 503, in which:
Receiving module 501, for receiving the first message for request target mailing address of terminal transmission;
First judgment module 502, for judging whether the destinations traffic address is occupied according to first message;
First sending module 503, if occupied for the destinations traffic address, to the unicast media of the terminal
Accessing to control address sends the second message that destinations traffic address has occupied.
Optionally, as shown in fig. 6, the Wireless Fidelity controller further include:
Second judgment module 504 receives speed limit condition for judging whether first message meets message;
Execution module 505 executes the basis if meeting the message for first message receives speed limit condition
Whether first message judges the destinations traffic address occupied step;
Preserving module 506 saves if not meeting the message for first message receives speed limit condition and sends institute
State the media access control address of the terminal of the first message.
Optionally, as shown in fig. 7, the first judgment module 502 includes:
Judging submodule 5021, for judging whether the destinations traffic address is recorded in target according to first message
In list, wherein the target list includes the mailing address currently occupied by other terminals;
First determines submodule 5022, if not being recorded in the target list for the destinations traffic address, really
The fixed destinations traffic address is unoccupied, and the destinations traffic address is added in the target list;
Second determines submodule 5023, if being recorded in the target list for the destinations traffic address, really
The fixed destinations traffic address is occupied.
Optionally, as shown in figure 8, the Wireless Fidelity controller further include:
Third judgment module 507, for judging object table corresponding with the destinations traffic address in the target list
Whether the ageing time of item expires;
Second sending module 508, if the ageing time for the target list item expires, to transmission first message
Terminal unicast media accessing to control address send third message;
Update module 509, if sending the terminal of first message for receiving and being returned according to the third message
The 4th message, then update the ageing time of the target list item;
Otherwise, module 5010 is removed, for removing the destinations traffic address being recorded in the target list.
Wireless Fidelity controller 500 can be realized Wireless Fidelity controller in the embodiment of the method for Fig. 1-Fig. 4 realize it is each
A process, to avoid repeating, which is not described herein again.And Wireless Fidelity controller 500 may be implemented to receive the use of terminal transmission
After the first message of request target mailing address, it can be determined that whether the first message, which meets message, receives speed limit condition.Such as
The first message of fruit does not meet message and receives speed limit condition, then can save the MAC Address for sending the terminal of the first message.It can incite somebody to action
The MAC information for having sent the terminal for not meeting the first message that message receives speed limit condition notifies to make administrator to administrator
Know that the message which terminal is sent did not met message reception speed limit condition.If the first message, which meets message, receives speed limit item
Part can then judge whether destinations traffic address is occupied according to the first message.If it is judged that destinations traffic address by
It occupies, then can send the second message that destinations traffic address has occupied to the unicast media accessing to control address of terminal.I.e.
Two messages are unicast message, will not cause to flood in network, not will lead to Wireless Fidelity interface-free resources occupancy, promote communication matter
Amount.
Similar portion cross-reference between embodiment provided by the present application, specific embodiment provided above is only
It is several examples under the total design of the application, does not constitute the restriction of the application protection scope.For those skilled in the art
For member, any other embodiment expanded without creative efforts according to application scheme all belongs to
In the protection scope of the application.
Claims (10)
1. a kind of mailing address requesting method is applied to Wireless Fidelity controller, which is characterized in that the described method includes:
Receive the first message for request target mailing address that terminal is sent;
Judge whether the destinations traffic address is occupied according to first message;
If the destinations traffic address is occupied, destinations traffic is sent to the unicast media accessing to control address of the terminal
The second message that address has occupied.
2. the method as described in claim 1, which is characterized in that judge the destinations traffic according to first message described
Whether address before occupied step, the method also includes:
Judge whether first message meets message and receive speed limit condition;
If first message, which meets the message, receives speed limit condition, execute described according to first message judgement
Destinations traffic address whether occupied step;
If first message does not meet the message and receives speed limit condition, the matchmaker for sending the terminal of first message is saved
Body accessing to control address.
3. method according to claim 2, which is characterized in that judge that the destinations traffic address is according to first message
It is no occupied, comprising:
Judge whether the destinations traffic address is recorded in target list according to first message, wherein the destination name
Single mailing address comprising currently having been occupied by other terminals;
If the destinations traffic address is not recorded in the target list, it is determined that the destinations traffic address is unoccupied,
And the destinations traffic address is added in the target list;
If the destinations traffic address has been recorded in the target list, it is determined that the destinations traffic address is occupied.
4. method as claimed in claim 3, which is characterized in that the destinations traffic address is added to the target described
After step in list, the method also includes:
Judge whether the ageing time of target list item corresponding with the destinations traffic address target list Nei expires;
If the ageing time of the target list item expires, to the unicast media access control for the terminal for sending first message
Address sends third message;
The 4th message that the terminal of first message is returned according to the third message is sent if receiving, described in update
The ageing time of target list item;
Otherwise, the destinations traffic address being recorded in the target list is removed.
5. a kind of mailing address requesting method is applied to terminal, which is characterized in that the described method includes:
The first message for being used for request target mailing address is sent to Wireless Fidelity controller, so that the Wireless Fidelity controller
Judge whether the destinations traffic address is occupied according to first message;
The Wireless Fidelity controller, which is received, by the unicast media accessing to control address of the terminal judges that the target is logical
Believe the second message transmitted when address is occupied.
6. method as claimed in claim 5, which is characterized in that the method also includes:
The third message that the Wireless Fidelity controller is sent is received by the unicast media accessing to control address of the terminal,
In, it is described after the third message is added to target list by the Wireless Fidelity controller for the destinations traffic address
Wireless Fidelity controller judges the ageing time of target list item corresponding with the destinations traffic address target list Nei
Transmitted message when expiring, the target list include the mailing address currently occupied by other terminals;
According to the third message, Xiang Suoshu Wireless Fidelity controller sends the 4th message, so that the Wireless Fidelity controller
The ageing time of the target list item is updated according to the 4th message.
7. a kind of Wireless Fidelity controller, comprising:
Receiving module, for receiving the first message for request target mailing address of terminal transmission;
First judgment module, for judging whether the destinations traffic address is occupied according to first message;
First sending module is accessed to the unicast media of the terminal and is controlled if occupied for the destinations traffic address
Address processed sends the second message that destinations traffic address has occupied.
8. Wireless Fidelity controller as claimed in claim 7, which is characterized in that the Wireless Fidelity controller further include:
Second judgment module receives speed limit condition for judging whether first message meets message;
Execution module executes described according to described the if meeting the message for first message receives speed limit condition
Whether one message judges the destinations traffic address occupied step;
Preserving module saves transmission described first if not meeting the message for first message receives speed limit condition
The media access control address of the terminal of message.
9. Wireless Fidelity controller as claimed in claim 8, which is characterized in that the first judgment module includes:
Judging submodule, for judging whether the destinations traffic address is recorded in target list according to first message,
Wherein, the target list includes the mailing address currently occupied by other terminals;
First determines submodule, if not being recorded in the target list for the destinations traffic address, it is determined that the mesh
It is unoccupied to mark mailing address, and the destinations traffic address is added in the target list;
Second determines submodule, if being recorded in the target list for the destinations traffic address, it is determined that the mesh
It is occupied to mark mailing address.
10. Wireless Fidelity controller as claimed in claim 9, which is characterized in that the Wireless Fidelity controller further include:
Third judgment module, for judging the aging of target list item corresponding with the destinations traffic address in the target list
Whether the time expires;
Second sending module, if the ageing time for the target list item expires, to the terminal for sending first message
Unicast media accessing to control address send third message;
Update module, if for receiving the 4th report for sending the terminal of first message and being returned according to the third message
Text then updates the ageing time of the target list item;
Otherwise, module is removed, for removing the destinations traffic address being recorded in the target list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811632376.9A CN109587288A (en) | 2018-12-29 | 2018-12-29 | A kind of mailing address requesting method, terminal and Wireless Fidelity controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811632376.9A CN109587288A (en) | 2018-12-29 | 2018-12-29 | A kind of mailing address requesting method, terminal and Wireless Fidelity controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109587288A true CN109587288A (en) | 2019-04-05 |
Family
ID=65932429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811632376.9A Pending CN109587288A (en) | 2018-12-29 | 2018-12-29 | A kind of mailing address requesting method, terminal and Wireless Fidelity controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587288A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112217918A (en) * | 2020-10-23 | 2021-01-12 | 新华三信息安全技术有限公司 | IPv6 address conflict detection method and device in SDN network |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020080800A1 (en) * | 2000-12-23 | 2002-06-27 | Lg Electronics Inc. | VLAN data switching method using ARP packet |
CN101656641A (en) * | 2009-09-23 | 2010-02-24 | 中兴通讯股份有限公司 | Method and device for detecting repeated addresses |
CN101917733A (en) * | 2010-08-06 | 2010-12-15 | 深圳市兆讯达科技实业有限公司 | Method for detecting flooding attack by wireless self-organizing network route query |
CN102014109A (en) * | 2009-09-08 | 2011-04-13 | 华为技术有限公司 | Flood attack prevention method and device |
CN102598635A (en) * | 2009-07-20 | 2012-07-18 | 爱立信电讯公司 | Network address allocation method |
CN104579718A (en) * | 2013-10-10 | 2015-04-29 | 杭州迪普科技有限公司 | Device and method for optimizing ARP aging mechanism |
CN106102122A (en) * | 2016-05-16 | 2016-11-09 | 杭州华三通信技术有限公司 | MAC Address list item update method and device |
-
2018
- 2018-12-29 CN CN201811632376.9A patent/CN109587288A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020080800A1 (en) * | 2000-12-23 | 2002-06-27 | Lg Electronics Inc. | VLAN data switching method using ARP packet |
CN102598635A (en) * | 2009-07-20 | 2012-07-18 | 爱立信电讯公司 | Network address allocation method |
CN102014109A (en) * | 2009-09-08 | 2011-04-13 | 华为技术有限公司 | Flood attack prevention method and device |
CN101656641A (en) * | 2009-09-23 | 2010-02-24 | 中兴通讯股份有限公司 | Method and device for detecting repeated addresses |
CN101917733A (en) * | 2010-08-06 | 2010-12-15 | 深圳市兆讯达科技实业有限公司 | Method for detecting flooding attack by wireless self-organizing network route query |
CN104579718A (en) * | 2013-10-10 | 2015-04-29 | 杭州迪普科技有限公司 | Device and method for optimizing ARP aging mechanism |
CN106102122A (en) * | 2016-05-16 | 2016-11-09 | 杭州华三通信技术有限公司 | MAC Address list item update method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112217918A (en) * | 2020-10-23 | 2021-01-12 | 新华三信息安全技术有限公司 | IPv6 address conflict detection method and device in SDN network |
CN112217918B (en) * | 2020-10-23 | 2022-05-24 | 新华三信息安全技术有限公司 | IPv6 address conflict detection method and device in SDN network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7835332B2 (en) | Method and apparatus for scheduling in WLAN mesh communication system | |
CN102118837B (en) | Configuration acquiring method, zero configuration access point and neighbor access point | |
EP2161880A1 (en) | A method for processing ether rig net message and an ether rig net protection system using the method | |
CN103259740B (en) | A kind of load balance process method and device | |
CN103856578B (en) | The automatic acquisition station address approach of Modbus RTU slave stations and slave station | |
CN105721328B (en) | VRRP load balancing method, device and router | |
CN101483571A (en) | RRPP configuring method, system and device | |
CN106888450A (en) | Information processing method and device | |
CN102347903B (en) | Data message forwarding method as well as device and system | |
CN112203261A (en) | Charging pile management method and device, electronic equipment and readable storage medium | |
CN102710500A (en) | Method for processing conflict of identifiers of device groups in network, and route bridge | |
CN109587288A (en) | A kind of mailing address requesting method, terminal and Wireless Fidelity controller | |
CN108134986A (en) | Message transmitting method and device | |
CN101141409A (en) | Method and equipment for implementing 6to4 relay routing device backup | |
CN111464370B (en) | Network distribution device, Internet of things control system and network distribution method thereof | |
CN111698154B (en) | Method and device for inhibiting frequent migration of host route | |
US8514876B2 (en) | Method and apparatus for sequencing operations for an incoming interface check in data center ethernet | |
CN106713142B (en) | Method for transmitting IP message on CAN bus and IP local area network constructed by CAN bus network | |
CN103780437A (en) | Information synchronization method and device | |
CN107592261A (en) | Message processing method, device and router | |
CN108092841B (en) | Method, device and system for maintaining gateway routing information | |
CN107172229A (en) | The collocation method and device of router | |
CN111542029B (en) | Node binding method of Bluetooth Mesh, TTL value optimization method and system thereof, and computer readable storage medium | |
CN100421509C (en) | Method for equalizing hometown agent load in mobile network | |
CN102655473A (en) | Communication method, equipment 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190405 |