Detailed description of the invention
In terminology used in the present invention merely for the sake of describing the purpose of specific embodiment, and the unrestricted present invention.This
" a kind of ", " described " and " being somebody's turn to do " of singulative used in bright and claims is also intended to include majority form, unless
Context clearly shows that other implication.It is also understood that term "and/or" used herein refers to comprise one or more
Any or all of the project of listing being associated may combination.
Although should be appreciated that in the present invention possible employing term first, second, third, etc. to describe various information, but this
A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.Such as, without departing from
In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depend on linguistic context, additionally, the word used " if " can be construed to " ... time " or " when ... "
Or " in response to determining ".
Proposing a kind of method for updating edition in the embodiment of the present invention, the method can apply to include AC's and multiple AP
In WLAN, and each AP each means thin AP.In one example, when needs are for AP more redaction, then config update version on AC
Presents, this more new edition file is for the version of the AP that upgrades.Such as, each AP is currently in use version 1, if desired by version 1
Upgrade to version 2, then the more new edition file of configuration version 2 on AC, and based on this more new edition file by the version 1 of each AP
Upgrade to version 2.
In one example, the AP of same model can use identical more new edition file to upgrade, and different shaped
Number AP different more new edition file can be used to upgrade.In the subsequent process of the embodiment of the present invention, equal with all AP
It is the AP of same model, and uses a more new edition file to illustrate as a example by all AP are upgraded.For multiple more
The escalation process of new edition file, the escalation process of each more new edition file is identical, follow-up repeats no more.
Shown in Figure 1, for the flow chart of method for updating edition, the method can be applied on AC.
Step 101, is divided into more new edition file N number of burst, and this N number of burst is distributed at least two multicast group
Address, wherein, the burst that each multicast group address is corresponding is different, and this more new edition file is the more new edition for same type AP
Presents, and N is the positive integer more than 1.
Step 102, determines the multicast group address that the more new edition file of AP to be updated is corresponding, and notifies that this AP to be updated adds
Enter the multicast group that the multicast group address determined is corresponding.
Step 103, sends, with multicast mode, the burst that the multicast group address determined is corresponding, so that AP to be updated is to from determining
The burst received on the multicast group address gone out updates the version file of this AP after recombinating.
For step 101, for the process of " more new edition file is divided into N number of burst ", can be according to actual needs
Divide.In one example, owing to transmitting the total length of message between AC and AP, it is impossible to more than transmitting road between AC and AP
The MTU (Maximum Transmission Unit, MTU) in footpath, therefore, this more new edition file is being divided by AC
During for N number of burst, need the total length ensureing to carry the multicast message of the burst length less than this MTU, i.e. burst with heading
Degree sum is less than this MTU, and based on this strategy, this more new edition file is divided into N number of burst.
For the process of " N number of burst is distributed at least two multicast group address ", AC is upper can be pre-configured with multicast ground
Pond, location, can comprise multiple multicast group address in this multicast address pond, and AC can select at least two in multicast address pond
Multicast group address, and N number of burst is distributed to this at least two multicast group address, corresponding one or many of each multicast group address
Individual burst, and burst quantity corresponding to different multicast group address can be identical, it is also possible to different, and each multicast group address pair
The burst answered is different.Such as, as a example by N is 20, burst 1-burst 10 is distributed to multicast group address 1, by burst 11-burst 20
Distribute to multicast group address 2.Or, burst 1-burst 8, burst 10 are distributed to multicast group address 1, by burst 9, burst 11-
Burst 20 distributes to multicast group address 2.Aforesaid way is two examples of the method for salary distribution, can be as required in actual application
Arbitrarily select the method for salary distribution, this method of salary distribution is not limited by the embodiment of the present invention.
In one example, when there is multiple more new edition file on AC, and need to use this multiple more new edition file
During for AP upgraded version, then the multicast group address specified for each more new edition file has uniqueness, the most different more new editions
The multicast group address that presents is corresponding is different.Such as, at least two multicast group address of more new edition file 1, Ke Yiwei
Multicast group address 1 and multicast group address 2, at least two multicast group address of more new edition file 2, can be multicast group ground
Location 3, multicast group address 4 and multicast group address 5.
For step 102, for AP to be updated, refer to need the AP of more new edition file, and due in step 101
N number of burst that this more new edition file divides is distributed at least two multicast group address, hence, it can be determined that AP to be updated
The multicast group address that more new edition file is corresponding.
For the process of " notifying that this AP to be updated adds the multicast group that the multicast group address determined is corresponding ", AC can be by really
Fixed each multicast group address is sent to AP to be updated, as multicast group address 1 and multicast group address 2 are sent to AP to be updated.
AP to be updated, after receiving multicast group address 1 and multicast group address 2, joins the multicast group of multicast group address 1 correspondence, and adds
Enter the multicast group to multicast group address 2 correspondence.
For step 103, for the process of " sending the burst that the multicast group address determined is corresponding with multicast mode ", permissible
Including: each burst that multicast group address for determining is corresponding generates a multicast message, the destination address of each multicast message
For the multicast group address that the burst carried is corresponding, the length of this multicast message is not less than the MTU in transmission path;Employing cycles through
Mode, is sent as the multicast message that each burst generates successively.
Such as, AC is followed successively by burst 1-burst 10 and generates multicast message, and obtains multicast message 1-multicast message 10, these
The destination address of multicast message is multicast group address 1, and source address is the IP address of AC, and carries in multicast message 1 point
Sheet 1, carries burst 2, by that analogy in multicast message 2.Further, AC can use multicast mode to send multicast message 1, treats
After multicast message 1 is sent completely, uses multicast mode to send multicast message 2, by that analogy, treat that multicast message 10 is sent completely
After, AC continues to use multicast mode to send multicast message 1, i.e. loops back multicast message 1 and continues to send, by that analogy.
In one example, after the multicast group address determined is sent to AP to be updated by AC, AP to be updated can receive
Multicast group address, and add the multicast group that multicast group address is corresponding.Owing to AP to be updated adds the group that multicast group address is corresponding
Broadcasting group, therefore, when AC sends burst corresponding to this multicast group address with multicast mode, AP just can receive this multicast group ground
The burst that location is corresponding.Further, AP to be updated is after receiving all bursts, it is possible to the burst received carries out weight
Group, and update the version file of this AP.
During the burst received is recombinated by AP to be updated, owing to AP to be updated needs to receive more new edition
After N number of burst of presents, just this more new edition file of this N number of IP fragmentation and reassembly can be utilized, then, in order to make AP to be updated obtain
Know and self have been received by N number of burst, then can be in the following way:
Mode one, AC are after the multicast group address that the more new edition file determining AP to be updated is corresponding, in the group determined
Broadcast the mark recording AP to be updated in the AP list to be updated that group address is corresponding, and by burst corresponding for the multicast group address that determines
Segmental identification be sent to AP to be updated so that AP to be updated utilizes the segmental identification that receives, determine that self has connect
Receive the burst that all segmental identification are corresponding, if it is, AP to be updated can be by IP fragmentation and reassembly corresponding for all segmental identification
Become more new edition file.
In this mode, AC can record AP's to be updated in the AP list to be updated that the multicast group address determined is corresponding
Mark (such as serial number), and the mapping relations table shown in Maintenance Table 1, in table 1 as a example by AP to be updated is as AP1-AP5.And, AC
It is the mark that there is AP in the AP list to be updated that multicast group address is corresponding, just sends this multicast group address pair with multicast mode
The burst answered.As shown in table 1, owing to the AP list to be updated of multicast group address 1 correspondence existing the mark of AP, therefore, AC with
Multicast mode sends the burst of this multicast group address 1 correspondence.Owing to there is AP in the AP list to be updated of multicast group address 2 correspondence
Mark, therefore, AC sends the burst of this multicast group address 2 correspondence with multicast mode.
Table 1
Multicast group address |
AP list to be updated |
Multicast group address 1 |
The serial number of AP1, the serial number of AP2, the serial number of AP3, the serial number of AP4, the serial number of AP5 |
Multicast group address 2 |
The serial number of AP1, the serial number of AP2, the serial number of AP3, the serial number of AP4, the serial number of AP5 |
In this mode, AC needs each multicast group address, the segmental identification of burst that each multicast group address is corresponding
It is sent to AP to be updated.Such as, burst 1-burst 10 is distributed to multicast group address 1 by AC, and burst 11-burst 20 is distributed to group
Broadcast group address 2, then can be sent to treat more by the first corresponding relation of multicast group address 1, the segmental identification of burst 1-burst 10
New AP, and the second corresponding relation of multicast group address 2, the segmental identification of burst 11-burst 20 is sent to AP to be updated.Its
In, above-mentioned first corresponding relation and the second corresponding relation can be transmitted by same message, it is also possible to by different
Message is transmitted.
In this mode, for each multicast group address, AP to be updated is utilizing burst that this multicast group address is corresponding
Segmental identification, determines after self having been received by all bursts that this multicast group address is corresponding, it is also possible to sends to AC and carries this
Multicast group address finish receiving message.AC disappears receiving the finishing receiving of this multicast group address of carrying from AP to be updated
During breath, then from the AP list to be updated that this multicast group address is corresponding, delete the mark of this AP to be updated.Further, AC is really
When making the mark that there is not AP in the AP list to be updated that multicast group address is corresponding, stop sending multicast group ground with multicast mode
The burst that location is corresponding.
Such as, after AP to be updated receives burst 1-burst 10, it is also possible to send to AC and carry connecing of multicast group address 1
Receive completion message.Assume that AP to be updated is AP1, then AC is after receiving and finishing receiving message, can be corresponding from multicast group address 1
AP list to be updated in delete the mark of AP1, obtain the mapping relations table shown in table 2.The most such as, AC receive from
AP1-AP5 carry multicast group address 1 finish receiving message, carry finishing receiving of multicast group address 2 from AP1-AP3
After message, the mapping relations table shown in table 3 can be obtained.Found out by table 3, the AP list to be updated of multicast group address 1 correspondence
In there is not the mark of AP, then AC stops sending the burst of this multicast group address 1 correspondence with multicast mode.
Table 2
Multicast group address |
AP list to be updated |
Multicast group address 1 |
The serial number of AP2, the serial number of AP3, the serial number of AP4, the serial number of AP5 |
Multicast group address 2 |
The serial number of AP1, the serial number of AP2, the serial number of AP3, the serial number of AP4, the serial number of AP5 |
Table 3
Multicast group address |
AP list to be updated |
Multicast group address 1 |
|
Multicast group address 2 |
The serial number of AP4, the serial number of AP5 |
Mode two, AC need not the segmental identification of burst corresponding for each multicast group address is sent to AP to be updated, and
It is by AP to be updated after obtaining each burst, the segmental identification of this burst is sent to AC.AC utilizes AP to be updated to return
Segmental identification, determines whether AP to be updated has been received by the burst that all segmental identification are corresponding, if it is, send out to AP to be updated
Sending notification message, this notification message represents that AP to be updated has been received by the burst that all segmental identification are corresponding, by AP to be updated
Recombinate more new edition file.
Owing to AC uses multicast mode to send multicast message 1-multicast message 10, therefore, AP to be updated can receive successively
To multicast message 1-multicast message 10, from multicast message 1, parse burst 1, and the segmental identification of burst 1 be sent to AC,
By that analogy, from multicast message 10, parse burst 10, and the segmental identification of burst 10 is sent to AC.In like manner, to be updated
The segmental identification of burst 11-burst 20 is sent to AC by AP respectively.AC is after receiving these segmental identification, it is possible to know
This AP to be updated has been received by the burst that all segmental identification are corresponding, and sends a notification message to AP to be updated.
In this mode, for each multicast group address, AC is utilizing the burst mark of burst that this multicast group address is corresponding
Know, after determining that AP to be updated has been received by all bursts that this multicast group address is corresponding, it is also possible to from this multicast group address pair
The AP list to be updated answered is deleted the mark of this AP to be updated.Further, for each multicast group address, if this multicast group
There is not the mark of AP in the AP list to be updated that address is corresponding, then AC stops sending this multicast group address correspondence with multicast mode
Burst.
In one example, AC is upper can exist a transmission port or at least two transmission port, this transmission port
Refer to: on AC, need to send the port of multicast message to AP.If having one to send port, then for each multicast group address,
If there is the mark of AP in the AP list to be updated that this multicast group address is corresponding, then AC sends this multicast group address with multicast mode
Corresponding burst;If the AP list to be updated that this multicast group address is corresponding does not exist the mark of AP, then stop with multicast mode
Send the burst that this multicast group address is corresponding.
If there is at least two to send port, in one example, AC does not also differentiate between transmitting terminal mouth, for each multicast group
Address, if there is the mark of AP in AP list to be updated corresponding to this multicast group address, then AC sends port in this at least two
On, all send, with multicast mode, the burst that this multicast group address is corresponding;If in the AP list to be updated that this multicast group address is corresponding
There is not the mark of AP, then send on port in this at least two, AC all stops sending this multicast group address pair with multicast mode
The burst answered.
In another example, AC can also distinguish between transmission port, if in AP list to be updated corresponding to multicast group address
There is the mark of AP to be updated, then from AC, determine the transmission port associated with this AP to be updated;On this transmission port, with
Multicast mode sends the burst that this multicast group address is corresponding.
Additionally, after deleting the mark of AP to be updated in the AP list to be updated corresponding from multicast group address, AC determine with
The transmission port of this AP to be updated association, and judge in the AP list to be updated that this multicast group address is corresponding, if exist and be somebody's turn to do
Send the mark of other AP of port association;If not existing, then on this transmission port, stop sending this multicast with multicast mode
The burst that group address is corresponding.
Based on technique scheme, in the embodiment of the present invention, when a large amount of AP need more redaction, AC need not in a large number
AP sends more new edition file, but uses multicast mode to send more new edition file, reduces the transmission number of more new edition file
Amount, improves the process performance of AC, saves the network bandwidth between AC and AP.And, when the AP quantity of simultaneously more redaction exceedes
During the concurrent capability of AC, AP is no longer necessary to wait the more new edition file of other AP to be transmitted, it is possible to obtain more redaction literary composition
Part, improves the efficiency of transmission of more new edition file, reduces the version updating time, improves version updating speed, improves edition upgrading
Efficiency.And, by N number of burst of more new edition file being divided at least two multicast group address, then can be by least
Two multicast group send the multicast message carrying burst simultaneously, and the multicast message of each multicast group address sends alone, thus
Improve version updating speed further, and reduce the version updating time further.
Shown in Figure 2, for the flow chart of method for updating edition, the method can be applied on AP.
Step 201, receives the multicast group address that AC sends.
Wherein, this multicast group address is AC to be sent when AP needs more new edition file determining, the more redaction of AP
File is divided into N number of burst by AC, and is assigned at least two multicast group address, and the burst that each multicast group address is corresponding
Difference, N is the positive integer more than 1.
Step 202, adds the multicast group that this multicast group address is corresponding, and receives this multicast group that AC sends with multicast mode
The burst that address is corresponding.
Step 203, after recombinating the burst received, updates the version file of this AP.
In one example, AP can also receive the segmental identification of burst corresponding to this multicast group address that AC sends.Base
In this, the process that the burst received is recombinated by AP, may include that and utilizing the burst of burst that multicast group address is corresponding
Mark, determines after self having been received by the burst that all segmental identification are corresponding, is carried out by burst corresponding for all segmental identification
Restructuring.
In one example, AP is after determining and self having been received by all bursts that multicast group address is corresponding, it is also possible to
Send to AC carry multicast group address finish receiving message.
Based on technique scheme, in the embodiment of the present invention, when a large amount of AP need more redaction, AC need not in a large number
AP sends more new edition file, but uses multicast mode to send more new edition file, reduces the transmission number of more new edition file
Amount, improves the process performance of AC, saves the network bandwidth between AC and AP.And, when the AP quantity of simultaneously more redaction exceedes
During the concurrent capability of AC, AP is no longer necessary to wait the more new edition file of other AP to be transmitted, it is possible to obtain more redaction literary composition
Part, improves the efficiency of transmission of more new edition file, reduces the version updating time, improves version updating speed, improves edition upgrading
Efficiency.And, by N number of burst of more new edition file being divided at least two multicast group address, then can be by least
Two multicast group send the multicast message carrying burst simultaneously, and the multicast message of each multicast group address sends alone, thus
Improve version updating speed further, and reduce the version updating time further.
Below in conjunction with the application scenarios shown in Fig. 3 A and Fig. 3 B, technique scheme is described in detail.Fig. 3 A's should
By the processing mode of scene, similar with the processing mode of the application scenarios of Fig. 3 B, its difference is: in Fig. 3 A, AC only exists one
Individual transmission port, AC, when sending multicast message, does not differentiates between transmission port.In Fig. 3 B, AC exists two and sends port, and AC is sending out
When sending multicast message, transmission port can be distinguished, it is also possible to do not differentiate between transmission port.Follow-up with the application scenarios shown in Fig. 3 B it is
Example illustrates.
Step 1, more new edition file 1 is divided into 30 bursts by AC, and the segmental identification of these 30 bursts is respectively burst
1-burst 30, concrete partitioning standards can be MTU, repeats no more this dividing mode.
Step 2, as a example by the burst of multicast group address correspondence equal number, then burst 1-burst 10 can be distributed to by AC
Multicast group address 230.1.1.1, and burst 11-burst 20 is distributed to multicast group address 230.1.1.2, and burst 21-is divided
Sheet 30 distributes to multicast group address 230.1.1.3, repeats no more this method of salary distribution.
Step 3, when AP1, AP2, AP3 reach the standard grade, if AC determines that AP1, AP2, AP3 need more new edition file 1, then exists
The AP list to be updated that each multicast group address is corresponding records the mark of AP.
In one example, AC can only comprise multicast with the mapping relations table shown in Maintenance Table 4 in this mapping relations table
Group address and AP list to be updated.In contrast to this, in another example, AC can close with the mapping shown in Maintenance Table 5
Being table, except multicast group address and AP list to be updated in this mapping relations table, also include sending port, this transmission port refers to
The transmission port associated with AP.It can be seen that AP1, AP2, AP3 are linked into the port 1 of AC from Fig. 3 B, therefore port 1 be with
The transmission port of AP1, AP2, AP3 association.In table 4 and table 5, as a example by the serial number being designated AP of AP.
Table 4
Multicast group address |
AP list to be updated |
230.1.1.1 |
The serial number of AP1, the serial number of AP2, the serial number of AP3 |
230.1.1.2 |
The serial number of AP1, the serial number of AP2, the serial number of AP3 |
230.1.1.3 |
The serial number of AP1, the serial number of AP2, the serial number of AP3 |
Table 5
Multicast group address |
Send port |
AP list to be updated |
230.1.1.1 |
Port 1 |
The serial number of AP1, the serial number of AP2, the serial number of AP3 |
230.1.1.2 |
Port 1 |
The serial number of AP1, the serial number of AP2, the serial number of AP3 |
230.1.1.3 |
Port 1 |
The serial number of AP1, the serial number of AP2, the serial number of AP3 |
Step 4, AC the corresponding relation of multicast group address 230.1.1.1 and burst 1-burst 10 is sent to AP1, AP2,
AP3, is sent to AP1, AP2, AP3, by multicast group by the corresponding relation of multicast group address 230.1.1.2 and burst 11-burst 20
The corresponding relation of address 230.1.1.3 and burst 21-burst 30 is sent to AP1, AP2, AP3.Process due to AP1, AP2, AP3
Mode is identical, follow-up illustrates as a example by AP1.
Step 5, AP1 joins multicast group 1 corresponding for multicast group address 230.1.1.1, joins multicast group address
230.1.1.2 corresponding multicast group 2, joins multicast group 3 corresponding for multicast group address 230.1.1.3.
As shown in Figure 3 B, the process of multicast group 1 corresponding for multicast group address 230.1.1.1, AP1 meeting are joined for AP1
Sending one to the network equipment 1 to join message, this carries this multicast group address 230.1.1.1 in joining message, and the network equipment 1 exists
Receiving after this joins message by the port 1 of self, can safeguard a forwarding-table item, this forwarding-table item is used for recording group
Broadcast group address and go out the mapping relations of port, this multicast group address be exactly join message in the multicast group address that carries
230.1.1.1, this goes out port is exactly that present networks equipment 1 receives this port 1 joined message, as shown in table 6.In like manner, AP1 meeting
Send and carry joining message and sending the addition report carrying multicast group address 230.1.1.3 of multicast group address 230.1.1.2
Literary composition, AP2 and AP3 all can send and carry joining message of multicast group address, joins message based on these and receives addition report
The port of literary composition, the forwarding-table item that the network equipment 1 is safeguarded, can be as shown in table 7.
Table 6
Multicast group address |
Go out port |
230.1.1.1 |
Port 1 |
Table 7
Step 6, based on table 4 or table 5, for multicast group address 230.1.1.1, for the port 1 on AC, owing to treating more
New AP list exists the mark of the AP associated with this port 1, i.e. the mark of AP1, AP2 and AP3, therefore, AC on port 1 with
Multicast mode sends burst 1-burst 10.For the port 2 on AC, close with this port 2 owing to AP list to be updated not existing
The mark of the AP of connection, therefore, AC does not send burst 1-burst 10 on port 2.In like manner, AC sends out on port 1 with multicast mode
Sending burst 11-burst 20, and AC does not sends burst 11-burst 20 on port 2, AC sends on port 1 with multicast mode point
Sheet 21-burst 30, and AC transmission burst 21-burst 30 on port 2.
In one example, for the process with multicast mode transmission burst 1-burst 30, AC is followed successively by burst 1-burst
10 generate multicast message, obtain multicast message 1-multicast message 10, and the destination address of multicast message is 230.1.1.1, multicast
Message 1 carries burst 1, and multicast message 2 carries burst 2, by that analogy.AC sends multicast message 1, and multicast message 1 is sent completely
After, send multicast message 2, by that analogy, after multicast message 10 is sent completely, continue to send multicast message 1.In like manner, AC depends on
Secondary generate multicast message for burst 11-burst 20, obtain multicast message 11-multicast message 20, and use and cycle through mode and depend on
Secondary transmission multicast message 11-multicast message 20.AC is followed successively by burst 21-burst 30 and generates multicast message, obtains multicast message 21-
Multicast message 30, and use and cycle through mode and send multicast message 21-multicast message 30 successively.
Step 7, the network equipment 1, after receiving multicast message, utilizes the forwarding-table item forwarding multicasting message shown in table 7.
Such as, after receiving multicast message 1-multicast message 10, owing to these multicast messages carrying multicast group address
230.1.1.1, therefore can pass through port 1, port 2, port 3 send these multicast messages.In like manner, the network equipment 1 can be by end
Mouth 1, port 2, port 3 send multicast message 11-multicast message 30.
For step 6, in another example, AC can also be without paying close attention to the information of port, but in AP list to be updated
Middle there is the mark of AP1, the mark of AP2 and AP3 mark time, on port 1, port 2, send burst with multicast mode, and not
Port 1 and port 2 can be distinguished.For the process with multicast mode transmission burst 1-burst 30, AC is equal on port 1 and port 2
Send multicast message 1-multicast message 30.
When AC sends multicast message 1-multicast message 30 by port 1, for step 7, the network equipment 1 is receiving group
After reporting literary composition, utilize the forwarding-table item shown in table 7 to forward these multicast messages, do not repeat them here.When AC is sent by port 2
During multicast message 1-multicast message 30, for step 7, the network equipment 2 is after receiving multicast message, owing to this locality does not exist
(i.e. the network equipment 2 is not received by joining message from AP4, AP5 and AP6 to corresponding forwarding-table item, turns thus without setting up
Forwarding list item), therefore, the network equipment 2 will not forward these multicast messages, and these multicast messages can be abandoned by the network equipment 2.
Step 8, AP1 can be sequentially received multicast message 1-multicast message 10, and parse burst from multicast message 1
1, by that analogy, from multicast message 10, parse burst 10.In like manner, AP1 can be sequentially received multicast message 11-multicast report
Literary composition 30, and parse burst from these multicast messages.
AP1 is receiving multicast message 1-multicast message 10, and after parsing burst 1-burst 10, can send to AC and take
Message is finished receiving with multicast group address 230.1.1.1.AC is receiving after this finishes receiving message, then from multicast group address
230.1.1.1 corresponding AP list to be updated is deleted the mark of AP1.
In like manner, AP1 can also send to AC and carry finishing receiving message and carrying multicast of multicast group address 230.1.1.2
Group address 230.1.1.3 finish receiving message, this process is repeated the most in detail.
Step 9, burst 1-burst 30, after obtaining burst 1-burst 30, is reassembled into more new edition file 1, and profit by AP
The version of this AP1 is updated by this more new edition file 1.
Step 10, for multicast group address 230.1.1.1, if there is not the mark of AP in AP list to be updated, then stops
Send burst 1-burst 10.For multicast group address 230.1.1.2, if AP list to be updated does not exist the mark of AP, then stop
Only send burst 11-burst 20.For multicast group address 230.1.1.2, if AP list to be updated not existing the mark of AP, then
Stop sending burst 21-burst 30.
Based on the inventive concept as said method, the embodiment of the present invention additionally provides a kind of version updating device,
This version updating device is applied on AC.This version updating device can be realized by software, it is also possible to by hardware or soft
The mode of combination of hardware realizes.As a example by implemented in software, as the device on a logical meaning, it is the AC by its place
Processor, computer program instructions corresponding in reading non-volatile storage is formed.For hardware view, such as Fig. 4 institute
Show, for a kind of hardware structure diagram of AC at the version updating device place that the present invention proposes, except the processor shown in Fig. 4, non-
Outside volatile memory, AC can also include other hardware, such as network interface, internal memory etc..
As it is shown in figure 5, the structure chart of the version updating device proposed for the present invention, described device includes:
Distribution module 11, for more new edition file is divided into N number of burst, and distributes to described N number of burst at least
Two multicast group address, wherein, the burst that each multicast group address is corresponding is different, and described more new edition file is for same class
The more new edition file of type AP, N is the positive integer more than 1;
Processing module 12, for determining the multicast group address that the more new edition file of AP to be updated is corresponding, and notifies described
AP to be updated adds the multicast group that the multicast group address determined is corresponding;
Sending module 13, for sending, with multicast mode, the burst that the multicast group address that determines is corresponding so that described in treat more
New AP updates the version file of this AP after recombinating the burst received on the multicast group address determined.
In one example, described sending module 13, specifically for sending the multicast group address determined with multicast mode
During corresponding burst, determine the transmission port associated on described AC with described AP to be updated;
On described transmission port, send, with multicast mode, the burst that the multicast group address determined is corresponding.
In one example, described processing module 12, it is additionally operable to the more new edition file determining AP to be updated corresponding
After multicast group address, the AP list to be updated that the multicast group address determined is corresponding records the mark of described AP to be updated,
And the segmental identification of burst corresponding for the multicast group address determined is sent to described AP to be updated, so that described AP to be updated is sharp
By the segmental identification received, determine whether self has been received by the burst that all segmental identification are corresponding;Receive from
Described AP to be updated carries when finishing receiving message of multicast group address, from the AP to be updated row that described multicast group address is corresponding
Table is deleted the mark of described AP to be updated;Wherein, finishing receiving message described in is that described AP to be updated utilizes the institute received
State the segmental identification of burst corresponding to multicast group address, determine self have been received by that described multicast group address is corresponding all points
Send after sheet;
Described sending module 13, is additionally operable to not exist in determining the AP list to be updated that described multicast group address is corresponding
During the mark of AP, stop sending, with multicast mode, the burst that described multicast group address is corresponding.
In one example, described processing module 12, it is additionally operable to stopping with the multicast mode described multicast group address of transmission
Before corresponding burst, after deleting the mark of described AP to be updated from the AP list to be updated that described multicast group address is corresponding,
Determine the transmission port associated with described AP to be updated, and judge in the AP list to be updated that described multicast group address is corresponding, be
The mark of other AP of no existence and described transmission port association;
Described sending module 13, specifically for stopping the burst corresponding with the multicast mode described multicast group address of transmission
During, if AP list to be updated corresponding to described multicast group address does not exist other AP's with described transmission port association
Mark, then, on described transmission port, stop sending, with multicast mode, the burst that described multicast group address is corresponding.
In one example, described sending module 13, specifically for sending the multicast group address determined with multicast mode
During corresponding burst, each burst that multicast group address for determining is corresponding generates a multicast message, each multicast
The destination address of message is the multicast group address that the burst carried is corresponding, and the length of described multicast message is not less than transmission path
MTU MTU;Employing cycles through mode, is sent as the multicast message that each burst generates successively.
Based on the inventive concept as said method, the embodiment of the present invention additionally provides a kind of version updating device,
This version updating device is applied on AP.This version updating device can be realized by software, it is also possible to by hardware or soft
The mode of combination of hardware realizes.As a example by implemented in software, as the device on a logical meaning, it is the AP by its place
Processor, computer program instructions corresponding in reading non-volatile storage is formed.For hardware view, such as Fig. 6 institute
Show, for a kind of hardware structure diagram of AP at the version updating device place that the present invention proposes, except the processor shown in Fig. 6, non-
Outside volatile memory, AP can also include other hardware, such as network interface, internal memory etc..
As it is shown in fig. 7, the structure chart of the version updating device proposed for the present invention, described device includes:
Receiver module 21, for receiving the multicast group address that AC sends;Wherein, described multicast group address is that described AC is really
Making and send when described AP needs more new edition file, the more new edition file of described AP is divided into N number of burst by described AC,
And it being assigned at least two multicast group address, and the burst difference that each multicast group address is corresponding, N is the positive integer more than 1;
Add the multicast group that described multicast group address is corresponding, and receive the described multicast group address correspondence that described AC sends with multicast mode
Burst;
More new module 22, after recombinating the burst received, updates the version file of described AP.
In one example, described receiver module 21, it is additionally operable to receive the described multicast group address correspondence that described AC sends
The segmental identification of burst;Described more new module 22, specifically for during recombinating to the burst received, in profit
By the segmental identification of burst corresponding to described multicast group address, determine and self have been received by the burst that all segmental identification are corresponding
After, burst corresponding for all segmental identification is recombinated;
In one example, described version updating device also includes (not embodying in the drawings):
Sending module, for after determining and self having been received by all bursts that described multicast group address is corresponding, to institute
State AC send carry described multicast group address finish receiving message.
Through the above description of the embodiments, those skilled in the art is it can be understood that can be by the present invention
Software adds the mode of required general hardware platform and realizes, naturally it is also possible to by hardware, but a lot of in the case of the former is more
Good embodiment.Based on such understanding, prior art is contributed by technical scheme the most in other words
Part can embody with the form of software product, and this computer software product is stored in a storage medium, if including
Dry instruction is with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs this
Method described in each embodiment bright.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment,
Module or flow process in accompanying drawing are not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in embodiment can describe according to embodiment to carry out point
It is distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.On
The module stating embodiment can merge into a module, it is possible to is further split into multiple submodule.The invention described above embodiment
Sequence number, just to describing, does not represent the quality of embodiment.
The several specific embodiments being only the present invention disclosed above, but, the present invention is not limited to this, any ability
What the technical staff in territory can think change all should fall into protection scope of the present invention.