CN106254440A - The upgrade method of a kind of AP and device - Google Patents

The upgrade method of a kind of AP and device Download PDF

Info

Publication number
CN106254440A
CN106254440A CN201610613605.7A CN201610613605A CN106254440A CN 106254440 A CN106254440 A CN 106254440A CN 201610613605 A CN201610613605 A CN 201610613605A CN 106254440 A CN106254440 A CN 106254440A
Authority
CN
China
Prior art keywords
upgraded
data block
upgrade file
concordance list
upgrading
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.)
Granted
Application number
CN201610613605.7A
Other languages
Chinese (zh)
Other versions
CN106254440B (en
Inventor
余忠益
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201610613605.7A priority Critical patent/CN106254440B/en
Publication of CN106254440A publication Critical patent/CN106254440A/en
Application granted granted Critical
Publication of CN106254440B publication Critical patent/CN106254440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Abstract

The application supplies upgrade method and the device of a kind of AP, and described method includes: AP to be upgraded receives the data block concordance list corresponding with upgrade file that AC issues;Described upgrade file is split into some data blocks by described AC, and distribution is stored in the different AP of upgrading;Described data block concordance list includes the mapping relations between described some data blocks and the IP of the AP that upgrades that stores described some data blocks;Based on described data block concordance list, from AP downloading data block of respectively having upgraded;Data block download obtained is spliced into described upgrade file, and the described upgrade file obtained based on splicing is upgraded.Due in the embodiment of the present application, AP to be upgraded obtains upgrade file from the AP that upgrades, and instead of in prior art and obtains upgrade file from AC so that the time of AP upgrading becomes logarithm from linear increase and increases, along with the increase of AP quantity, save considerably the time of AP upgrading.

Description

The upgrade method of a kind of AP and device
Technical field
The application relates to communication technical field, particularly to upgrade method and the device of a kind of AP.
Background technology
AC (Wireless Access Point, wireless access points) is a kind of network equipment, for centralization control Wireless aps (Wireless Access Point, wireless access points), is the core of a wireless network, is responsible for nothing All wireless apss in gauze network, include AP management: issue configuration, revise relevant configured parameter, radio frequency and can only manage, access Security control etc..CAPWAP(Control And Provision of Wireless Access Points Protocol Specification, the control of WAP and configuration protocol) define how AP obtains software version from AC.Concrete next Say, when AC finds that AP can issue upgrade command when reflection version does not mates.Subsequently, AP can receive image file fragment group successively Dress up complete upgrade file, finally complete upgrading.Owing to bandwidth and the disposal ability of AC are limited, the same time can only support one The AP upgrading of determined number.Remaining AP can only add waiting list, just can upgrade until AP upgrading above is complete, this The time that kind upgrading flow process is spent is linear increase.When the quantity of AP is a lot, update time can be caused long.
Summary of the invention
In view of this, the application provides upgrade method and the device of a kind of AP, in order to solve when the quantity of AP is a lot, rises The problem of level overlong time.
Specifically, the application is achieved by the following technical solution:
The upgrade method of a kind of AP, is applied to AP to be upgraded, including:
Receive the data block concordance list corresponding with upgrade file that AC issues;If described upgrade file is split into by described AC Do data block, and distribution is stored in the different AP of upgrading;Described data block concordance list includes described some data blocks and storage Mapping relations between the IP of the AP that upgrades of described some data blocks;
Based on described data block concordance list, from AP downloading data block of respectively having upgraded;
Data block download obtained is spliced into described upgrade file, and the described upgrade file obtained based on splicing is carried out Upgrading.
In the upgrade method of described AP, also include:
Receive the size of the described upgrade file that described AC issues and based on described upgrade file calculated hash value;
The described described upgrade file obtained based on splicing is upgraded, including:
The described upgrading literary composition that the hash value of size based on described upgrade file and described upgrade file obtains for splicing Part carries out completeness check;
When completeness check passes through, the described upgrade file obtained based on splicing is upgraded, and after upgrading successfully, The back message upgraded successfully is sent to described AC.
In the upgrade method of described AP, also include:
When arbitrary data block failed download upgraded on AP, download this data block from described AC.
The upgrade method of a kind of AP, is applied to AC, including:
Split upgrade file and become some data blocks, and described some data blocks are stored in the different AP of upgrading;
Generate the data block concordance list corresponding with described upgrade file;Described data block concordance list includes described some data Mapping relations between block and the IP of the AP that upgrades that stores described some data blocks;
Issue described data block concordance list extremely AP to be upgraded.
In the upgrade method of described AP, also include:
After receiving the back message upgraded successfully that AP to be upgraded sends, again by the described upgrade file some one-tenth of partition Data block is assigned to each and has upgraded on AP, updates described data block concordance list.
The update device of a kind of AP, is applied to AP to be upgraded, including:
Receive unit, for receiving the data block concordance list corresponding with upgrade file that AC issues;Described upgrade file by Described AC splits into some data blocks, and distribution is stored in the different AP of upgrading;If described data block concordance list includes described Mapping relations between dry data block and the IP of the AP that upgrades that stores described some data blocks;
Download unit, for based on described data block concordance list, from AP downloading data block of respectively having upgraded;
Upgrade unit, the data block for download being obtained is spliced into described upgrade file, and the institute obtained based on splicing State upgrade file to upgrade.
In the update device of described AP, also include:
Described reception unit, is further used for receiving the size of the described upgrade file that described AC issues and based on described liter Level file calculated hash value;
Described upgrade unit, is further used for the hash value pin of size based on described upgrade file and described upgrade file The described upgrade file obtaining splicing carries out completeness check;When completeness check passes through, based on splicing obtain described in Upgrade file is upgraded, and after upgrading successfully, sends the back message upgraded successfully to described AC.
In the update device of described AP, described download unit, it is further used for:
When arbitrary data block failed download upgraded on AP, download this data block from described AC.
The update device of a kind of AP, is applied to AC, including:
Split cells, is used for splitting upgrade file and becomes some data blocks, and be stored in different by described some data blocks Upgraded AP;
Signal generating unit, for generating the data block concordance list corresponding with described upgrade file;Described data block concordance list bag Include the mapping relations between described some data blocks and the IP of the AP that upgrades that stores described some data blocks;
Issue unit, be used for issuing described data block concordance list extremely AP to be upgraded.
In the update device of described AP, described split cells, it is further used for:
After receiving the back message upgraded successfully that AP to be upgraded sends, again by the described upgrade file some one-tenth of partition Data block is assigned to each and has upgraded on AP, updates described data block concordance list.
The technical scheme provided from above embodiments herein, AP to be upgraded receives the data block index that AC issues Table, according to described data block concordance list, to AP downloading data block of upgrading.AP to be upgraded, according to the data block received, is spliced into Upgrade file, and complete upgrading according to described upgrade file.Along with the increase of AP quantity to be upgraded, the advantage meeting of this technical scheme Becoming apparent from, the work transmitting data block is completed by the ever-increasing AP that upgraded of quantity, efficiently solves the number as AP When measuring a lot, the problem that update time is long.
Accompanying drawing explanation
Figure 1A is the flow chart of the upgrade method of a kind of AP shown in the application;
Figure 1B is the flow chart of the upgrade method of the another kind of AP shown in the application;
Fig. 2 is the logic diagram of the update device of a kind of AP shown in the application;
Fig. 3 is the hardware structure diagram of the update device of a kind of AP shown in the application;
Fig. 4 is the logic diagram of the update device of the another kind of AP shown in the application;
Fig. 5 is the hardware structure diagram of the update device of the another kind of AP shown in the application.
Detailed description of the invention
For the technical scheme making those skilled in the art be more fully understood that in the embodiment of the present invention, and make the embodiment of the present invention Above-mentioned purpose, feature and advantage can become apparent from understandable, below in conjunction with the accompanying drawings to the technical scheme in the embodiment of the present invention It is described in further detail.
CAPWAP agreement defines the mode of AP upgrading.One is to associate the AC stage at AP, and AC sends Join Response report Civilian to AP.By the FileVersion triggering AP in Join Response message to the request of AC response download upgrade file, and according to Upgrade file is upgraded.Two is after AP association AC, when user feels the need to upgrade certain AP, then on AC Determine this AP of upgrading, so that AC sends upgrade command (Configuration Update Request message) to this AP, triggering This AP responds the request downloading upgrade file to AC, and upgrades according to upgrade file.In two ways, AP be all directly to AC downloads upgrade file.Owing to bandwidth and the disposal ability of AC are limited, the same time can only support that a number of AP upgrades.Surplus Under AP join waiting list, until AP upgrading above complete just can be upgraded.This upgrading flow process is spent Time is linear increase, and when AP quantity is a lot, update time can be long.
For solving the problems referred to above, in the technical scheme of the embodiment of the present application, upgrade file is divided into some data by AC Block, and AP that above-mentioned data block is assigned to upgrade.AP to be upgraded no longer directly obtains upgrade file from AC, but from upgrading AP downloading data block is spliced into upgrade file, upgrades further according to this upgrade file.Thus, extensive AP upgrading is the most limited Bandwidth and disposal ability in AC.
Seeing Figure 1A, for the flow chart of the upgrade method of a kind of AP shown in the application, this flow chart is from AP side to be upgraded It is described;Said method comprising the steps of:
Step 101: receive the data block concordance list corresponding with upgrade file that AC issues;Described upgrade file is by described AC Split into some data blocks, and distribution is stored in the different AP of upgrading;Described data block concordance list includes described some data Mapping relations between block and the IP of the AP that upgrades that stores described some data blocks;
Step 102: based on described data block concordance list, from AP downloading data block of respectively having upgraded;
Step 103: data block download obtained is spliced into described upgrade file, and the described upgrading obtained based on splicing File is upgraded.
Corresponding with the flow chart of the upgrade method of the above-mentioned AP described from AP side to be upgraded, see Figure 1B, the application illustrates The flow chart of upgrade method of another kind of AP, this flow chart is described from AC side;Said method comprising the steps of:
Step 111: split upgrade file and become some data blocks, and described some data blocks are stored in different upgradings AP;
Step 112: generate the data block concordance list corresponding with described upgrade file;Described data block concordance list includes described Mapping relations between some data blocks and the IP of the AP that upgrades that stores described some data blocks;
Step 113: issue described data block concordance list extremely AP to be upgraded.
In the present embodiment, AC splits into some data blocks upgrade file, and carries out the storage position of each data block Planning, is stored respectively in each data block on the different AP of upgrading, and AP to be upgraded the most directly will download upgrade file from AC, and It is to download upgrade file from the AP that upgrades.So, along with the increase of AP quantity, AP to be upgraded is gradually increased from quantity The speed obtaining upgrade file on upgrading AP can be obviously improved.
Specifically, upgrade file can be split into some data blocks based on default strategy by AC, and is stored respectively in The different AP of upgrading.
Wherein, above-mentioned default strategy can set, according to applied environment, the strategy rising stage efficiency most helpful in AP.Example As: in a kind of embodiment shown in, above-mentioned default strategy may is that upgrade file is split into some data blocks by AC, And the some data blocks split out are distributed equally, it is respectively stored on the different AP of upgrading so that each rises On level AP, the quantity of the data block of storage keeps consistent, makes AP to be upgraded download upgrading concomitantly respectively to the AP that upgrades with this During file, efficiency balance on every download path.
After upgrade file has split, above-mentioned some data blocks are stored in the different AP of upgrading by AC, and create State the mapping relations between some data blocks and the IP of the AP that upgrades that stores above-mentioned some data blocks.For ease of recording above-mentioned reflecting Penetrating relation, AC adds mark or sequence number can to the some data blocks split out, and the most above-mentioned mapping relations can be data block Mark or sequence number correspondence store the IP of the AP that upgrades of this data block.AC is by creating above-mentioned mapping relations, thus incites somebody to action original The work of the reception AP download upgrade file being defined in this locality is assigned to respectively upgrade on AP.AC generates corresponding with upgrade file Above-mentioned mapping relations are included by data block concordance list.
After above-mentioned configuration work completes, AP to be upgraded can send upgrade request to AC in both cases: one is to treat Upgrading AP associates the AC stage, and AC sends Join Response message extremely AP to be upgraded.By the literary composition in Join Response message Part version triggers AP to be upgraded and responds upgrade request to AC;Two is after AP to be upgraded association AC, when user feels the need to Upgrade AP to be upgraded, then determine upgrading AP to be upgraded on AC, so that AC transmission upgrade command is to AP to be upgraded, triggers to be upgraded AP responds upgrade request to AC.
In this example, after AC receives the upgrade request that AP to be upgraded sends, the above-mentioned data corresponding with upgrade file are issued Block concordance list to AP to be upgraded, with by AP to be upgraded according to above-mentioned data block concordance list from AP downloading data block of respectively having upgraded.Treat Upgrading AP concomitantly to the data of AP request upgrade file of upgrading, drastically increases efficiency by data block concordance list.
Specifically, AP to be upgraded can be as described below from the process of AP downloading data block of upgrading: AP to be upgraded travels through Each in data block concordance list has been upgraded the IP of AP and the mark of data block or sequence number, adds up all data blocks corresponding to each IP Mark or sequence number.After completing statistics, AP to be upgraded sends mark or the sequence number of all data blocks of its correspondence to each IP, with The mark of corresponding all data blocks or sequence number is utilized to return data block by the AP that respectively upgraded.
Or, AP to be upgraded can also be as described below from the process of AP downloading data block of upgrading: AP to be upgraded travels through number According to each list item of block concordance list, the IP of the AP that upgraded in list item sends mark or the sequence number of corresponding data block, with by respectively The AP that upgraded utilizes the mark of data block or sequence number to return data block.
In actual applications, can select above two mode applies preferably one according to applied environment and application apparatus Kind.
In this example, when following two situation occur, AP to be upgraded cannot download to data block from the AP that upgrades: one is During data block is stored the AP of upgrading planned by AC, there occurs packet loss.In this case, the AP that upgraded does not has Local data block corresponding for IP in storage data block index list item, the mark of AP to be upgraded transmission data block or sequence number are to upgrading AP, in the back message of reception, the value of data block is empty.Two is that AP storage of having upgraded has in data block index list item local IP pair The data block answered, the AP operation irregularity but this has been upgraded, cannot respond to after receiving the download request that AP to be upgraded sends.
For ensureing that AP to be upgraded obtains the successful of upgrade file, when AP to be upgraded cannot obtain from the AP that upgrades further When obtaining corresponding data block, AP to be upgraded directly can download this data block from AC according to the mark of data block or sequence number.
In this example, owing to AP to be upgraded is the data block downloaded from least one AP that upgraded and obtain upgrade file, Therefore, in the downloading process of data block, download the data block obtained and likely split out based on above-mentioned upgrade file is actual with AC Data block, there are differences;Or, in the downloading process of data block, it may occur however that the loss of data block.
For evading this situation, after AC receives the upgrade request that AP to be upgraded sends, it is also possible to issue for for upgrading File carries out the checking information of integrity verification.
In a kind of embodiment illustrated, AC can issue the size of above-mentioned upgrade file and based on above-mentioned upgrade file Calculated hash value extremely AP to be upgraded.
In the present embodiment, the data block splicing of download is obtained upgrade file by AP to be upgraded, can issue for AC Above-mentioned checking information, the upgrade file obtaining splicing carries out completeness check.
Such as: AP to be upgraded can be first according to the size of upgrade file, and the upgrade file that checking splicing obtains, with original Upgrade file, the most consistent, to confirm whether the data block received has disappearance;If it is big to receive upgrade file Upgrade file that is little and that be spliced into is in the same size, can calculate the hash value of the upgrade file of stitching portion further, by this hash The hash value of this upgrade file that value issues with AC is the most consistent;If consistent, show that this upgrade file of stitching portion has passed through Whole property verifies, and this upgrade file that can normally utilize splicing to obtain carries out updating operation.
In the verification for integrity by rear, AP to be upgraded can upgrade based on the upgrade file that splicing obtains.
In the present embodiment, AP to be upgraded, after completing upgrading, becomes the AP that upgrades, and to returning that AC transmission upgrades successfully Answer message.After AC receives back message, the AP that this upgraded joins in the queue of the AP that upgrades.AC is based on default strategy Upgrade file is split as some data blocks, again the storage position of each data block is planned, each data block is stored in On the different AP of upgrading.So this AP that upgraded completing upgrading before this also can provide above-mentioned upgrading for follow-up AP to be upgraded The data block of file.
As can be seen here, in the embodiment of the present application, along with the increase of the quantity of the AP that upgrades, AP to be upgraded can be from increasingly Obtain the data of upgrade file on many AP that upgrades concomitantly, compared to existing technology, rise stage efficiency and be obviously improved.
Rise AP in stage efficiency and prior art rise stage efficiency for more intuitively contrasting in the embodiment of the present application AP, described below One concrete upgrading efficiency calculation example:
The upper limit assuming the transfer rate of each AP is a bps, and the upper limit of the transfer rate of AC is also a bps, The size of upgrade file is K bit, and the sum of AP is N.
The AP update time of prior art is all data volumes actual transfer rate b divided by AC, it may be assumed that
Time1=K/b*N the second
The update time of the embodiment of the present application:
Owing to first time upgrade file only exists AC, therefore upgrading AP1Time be the K/a second.
During second time upgrading, AP2Can be to AP1Asking all of data block, therefore the time of second time upgrading is the K/a second.
During third time upgrading, AP3Can be to AP1The data block of request half, to AP2Also ask the data block of half, again because AP3To AP1And AP2Request concurrently carry out, so third time upgrading time be the K/2a second.
By that analogy, the time of i & lt upgrading is K/ (i-1) a second.So total update time is:
Time2=K/a+K/a+K/2a+K/3a+ ... ,+K/ (N-1) a
=K/a+K/a* (1+1/2+1/3+ ... ,+1/ (N-1))
=K/a+K/a* (ln (N)+r)
=K/a* (ln (N)+r+1) second, r is Euler's constant, approximates 0.5772156649.
The AP update time of prior art is linearly increasing, and the update time of the embodiment of the present invention is logarithm growth, Along with the increase of N, the update time of embodiment of the present invention update time compared to existing technology can be much smaller, and gap is increasingly Greatly.
Corresponding with the embodiment of the upgrade method of the application AP, present invention also provides for performing said method enforcement The embodiment of the device of example.
Seeing Fig. 2, for the logic diagram of the update device of a kind of AP shown in the application, this device is applied to be upgraded AP。
As in figure 2 it is shown, the update device 20 of this AP includes:
Receive unit 210, for receiving the data block concordance list corresponding with upgrade file that AC issues;Described upgrade file Split into some data blocks by described AC, and distribution is stored in the different AP of upgrading;Described data block concordance list includes described Mapping relations between some data blocks and the IP of the AP that upgrades that stores described some data blocks.
Download unit 220, for based on described data block concordance list, from AP downloading data block of respectively having upgraded.
Upgrade unit 230, is spliced into described upgrade file for the data block that download obtained, and obtain based on splicing Described upgrade file is upgraded.
In this example:
Described reception unit 210, is further used for receiving the size of the described upgrade file that described AC issues and based on institute State upgrade file calculated hash value.
Described upgrade unit 230, is further used for size based on described upgrade file and the hash of described upgrade file The described upgrade file that value obtains for splicing carries out completeness check;When completeness check passes through, obtain based on splicing Described upgrade file is upgraded, and after upgrading successfully, sends the back message upgraded successfully to described AC.
In this example, described download unit 220, it is further used for when arbitrary data block failed download upgraded on AP Time, download this data block from described AC.
The embodiment of the update device of the application AP can be applied on AP.Device embodiment can be realized by software, Can also realize by the way of hardware or software and hardware combining.As a example by implemented in software, as the dress on a logical meaning Put, be that computer program instructions corresponding in nonvolatile memory is read fortune in internal memory by the processor by its place AP Row is formed.For hardware view, as it is shown on figure 3, be a kind of hardware structure diagram of the update device place AP of the application AP, In addition to the processor shown in Fig. 3, internal memory, network interface and nonvolatile memory, the AP at device place in embodiment Actual functional capability generally according to the update device of this AP, it is also possible to include other hardware, this is repeated no more.
Seeing Fig. 4, for the logic diagram of the update device of a kind of AP shown in the application, this device is applied to AC.
As shown in Figure 4, the update device 40 of this AP includes:
Split cells 410, is used for splitting upgrade file and becomes some data blocks, and described some data blocks are stored in difference The AP of upgrading.
Signal generating unit 420, for generating the data block concordance list corresponding with described upgrade file;Described data block concordance list Including the mapping relations between described some data blocks and the IP of the AP that upgrades storing described some data blocks.
Issue unit 430, be used for issuing described data block concordance list extremely AP to be upgraded.
In this example, described split cells 410, it is further used for receiving the response upgraded successfully that AP to be upgraded sends After message, again the some one-tenth data blocks of described upgrade file partition are assigned to each and have upgraded on AP, update described data block Concordance list.
The embodiment of the update device of the application AP can be applied on AC.Device embodiment can be realized by software, Can also realize by the way of hardware or software and hardware combining.As a example by implemented in software, as the dress on a logical meaning Put, be that computer program instructions corresponding in nonvolatile memory is read fortune in internal memory by the processor by its place AC Row is formed.For hardware view, as it is shown in figure 5, be a kind of hardware structure diagram of the update device place AC of the application AP, In addition to the processor shown in Fig. 5, internal memory, network interface and nonvolatile memory, the AC at device place in embodiment Actual functional capability generally according to the update device of this AP, it is also possible to include other hardware, this is repeated no more.
In said apparatus, the function of unit and the process that realizes of effect specifically refer to corresponding step in said method Realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees method in fact The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality Need to select some or all of module therein to realize the purpose of the application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, i.e. it is appreciated that and implements.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvement etc. done, should be included within the scope of the application protection.

Claims (10)

1. a upgrade method of AP, is applied to AP to be upgraded, it is characterised in that including:
Receive the data block concordance list corresponding with upgrade file that AC issues;Described upgrade file is split into some numbers by described AC According to block, and distribution is stored in the different AP of upgrading;Described data block concordance list includes described some data blocks and stores institute Mapping relations between the IP of the AP that upgrades stating some data blocks;
Based on described data block concordance list, from AP downloading data block of respectively having upgraded;
Data block download obtained is spliced into described upgrade file, and the described upgrade file obtained based on splicing rises Level.
Method the most according to claim 1, it is characterised in that described method also includes:
Receive the size of the described upgrade file that described AC issues and based on described upgrade file calculated hash value;
The described described upgrade file obtained based on splicing is upgraded, including:
The described upgrade file that the hash value of size based on described upgrade file and described upgrade file obtains for splicing enters Row completeness check;
When completeness check passes through, the described upgrade file obtained based on splicing is upgraded, and after upgrading successfully, to institute State AC and send the back message upgraded successfully.
Method the most according to claim 1, it is characterised in that described method also includes:
When arbitrary data block failed download upgraded on AP, download this data block from described AC.
4. a upgrade method of AP, is applied to AC, it is characterised in that including:
Split upgrade file and become some data blocks, and described some data blocks are stored in the different AP of upgrading;
Generate the data block concordance list corresponding with described upgrade file;Described data block concordance list include described some data blocks with Mapping relations between the IP of the AP that upgrades storing described some data blocks;
Issue described data block concordance list extremely AP to be upgraded.
Method the most according to claim 4, it is characterised in that described method also includes:
After receiving the back message upgraded successfully that AP to be upgraded sends, again by the described upgrade file some one-tenth data of partition Block is assigned to each and has upgraded on AP, updates described data block concordance list.
6. a update device of AP, is applied to AP to be upgraded, it is characterised in that including:
Receive unit, for receiving the data block concordance list corresponding with upgrade file that AC issues;Described upgrade file is by described AC splits into some data blocks, and distribution is stored in the different AP of upgrading;Described data block concordance list includes described some numbers According to the mapping relations between block and the IP of the AP that upgrades storing described some data blocks;
Download unit, for based on described data block concordance list, from AP downloading data block of respectively having upgraded;
Upgrade unit, the data block for download being obtained is spliced into described upgrade file, and the described liter obtained based on splicing Level file is upgraded.
Device the most according to claim 6, it is characterised in that described device also includes:
Described reception unit, is further used for receiving the size of the described upgrade file that described AC issues and based on described upgrading literary composition Part calculated hash value;
Described upgrade unit, is further used for the hash value of size based on described upgrade file and described upgrade file for spelling Connect the described upgrade file obtained and carry out completeness check;When completeness check passes through, the described upgrading obtained based on splicing File is upgraded, and after upgrading successfully, sends the back message upgraded successfully to described AC.
Device the most according to claim 6, it is characterised in that described download unit, is further used for:
When arbitrary data block failed download upgraded on AP, download this data block from described AC.
9. a update device of AP, is applied to AC, it is characterised in that including:
Split cells, is used for splitting upgrade file and becomes some data blocks, and described some data blocks are stored in different liters Level AP;
Signal generating unit, for generating the data block concordance list corresponding with described upgrade file;Described data block concordance list includes institute State the mapping relations between some data blocks and the IP of the AP that upgrades that stores described some data blocks;
Issue unit, be used for issuing described data block concordance list extremely AP to be upgraded.
Device the most according to claim 9, it is characterised in that described split cells, is further used for:
After receiving the back message upgraded successfully that AP to be upgraded sends, again by the described upgrade file some one-tenth data of partition Block is assigned to each and has upgraded on AP, updates described data block concordance list.
CN201610613605.7A 2016-07-29 2016-07-29 AP upgrading method and device Active CN106254440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610613605.7A CN106254440B (en) 2016-07-29 2016-07-29 AP upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610613605.7A CN106254440B (en) 2016-07-29 2016-07-29 AP upgrading method and device

Publications (2)

Publication Number Publication Date
CN106254440A true CN106254440A (en) 2016-12-21
CN106254440B CN106254440B (en) 2019-12-06

Family

ID=57606723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610613605.7A Active CN106254440B (en) 2016-07-29 2016-07-29 AP upgrading method and device

Country Status (1)

Country Link
CN (1) CN106254440B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882277A (en) * 2018-05-28 2018-11-23 新华三技术有限公司 A kind of method and device of edition upgrading
CN112035147A (en) * 2020-09-14 2020-12-04 上海仙塔智能科技有限公司 Upgrade time management method, upgrade time management system, and computer storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447884A (en) * 2007-11-26 2009-06-03 华为技术有限公司 Method for achieving software upgrade by cooperation among network elements, equipment and system therefor
CN101478446A (en) * 2008-12-30 2009-07-08 华为技术有限公司 Network appliance version loading method, apparatus and system
CN101668041A (en) * 2009-09-10 2010-03-10 杭州华三通信技术有限公司 Method for downloading distributed AP and device
CN101715199A (en) * 2009-11-16 2010-05-26 中兴通讯股份有限公司 Method and device for upgrading access point
CN101801110A (en) * 2010-03-10 2010-08-11 北京傲天动联技术有限公司 Wireless local area network upgrading method based on thin AP architecture
CN102055785A (en) * 2009-11-09 2011-05-11 杭州华三通信技术有限公司 Online upgrade method for distributed system, distributed system and equipment
CN102298527A (en) * 2011-06-21 2011-12-28 中兴通讯股份有限公司 Method and implementation system for upgrading CPE (customer premises equipment) versions in parallel
CN102413185A (en) * 2011-11-25 2012-04-11 广州杰赛科技股份有限公司 Cloud platform automatic updating system based on BT technology
CN102647436A (en) * 2011-02-21 2012-08-22 腾讯科技(深圳)有限公司 File releasing method and system based on point-to-point
CN103200596A (en) * 2013-03-25 2013-07-10 福建三元达通讯股份有限公司 Method for fast batch update of access points (AP) in thin AP framework wireless local area network (WLAN) network
CN103906087A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Access point upgrading method, device and system
CN104283933A (en) * 2013-07-12 2015-01-14 腾讯科技(深圳)有限公司 Data downloading method, client-side and system
CN105389191A (en) * 2015-12-11 2016-03-09 北京奇虎科技有限公司 Software upgrading method, apparatus and system based on local area network

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447884A (en) * 2007-11-26 2009-06-03 华为技术有限公司 Method for achieving software upgrade by cooperation among network elements, equipment and system therefor
CN101478446A (en) * 2008-12-30 2009-07-08 华为技术有限公司 Network appliance version loading method, apparatus and system
CN101668041A (en) * 2009-09-10 2010-03-10 杭州华三通信技术有限公司 Method for downloading distributed AP and device
CN102055785A (en) * 2009-11-09 2011-05-11 杭州华三通信技术有限公司 Online upgrade method for distributed system, distributed system and equipment
CN101715199A (en) * 2009-11-16 2010-05-26 中兴通讯股份有限公司 Method and device for upgrading access point
CN101801110A (en) * 2010-03-10 2010-08-11 北京傲天动联技术有限公司 Wireless local area network upgrading method based on thin AP architecture
CN102647436A (en) * 2011-02-21 2012-08-22 腾讯科技(深圳)有限公司 File releasing method and system based on point-to-point
CN102298527A (en) * 2011-06-21 2011-12-28 中兴通讯股份有限公司 Method and implementation system for upgrading CPE (customer premises equipment) versions in parallel
CN102413185A (en) * 2011-11-25 2012-04-11 广州杰赛科技股份有限公司 Cloud platform automatic updating system based on BT technology
CN103906087A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Access point upgrading method, device and system
CN103200596A (en) * 2013-03-25 2013-07-10 福建三元达通讯股份有限公司 Method for fast batch update of access points (AP) in thin AP framework wireless local area network (WLAN) network
CN104283933A (en) * 2013-07-12 2015-01-14 腾讯科技(深圳)有限公司 Data downloading method, client-side and system
CN105389191A (en) * 2015-12-11 2016-03-09 北京奇虎科技有限公司 Software upgrading method, apparatus and system based on local area network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882277A (en) * 2018-05-28 2018-11-23 新华三技术有限公司 A kind of method and device of edition upgrading
CN108882277B (en) * 2018-05-28 2022-04-26 新华三技术有限公司 Version upgrading method and device
CN112035147A (en) * 2020-09-14 2020-12-04 上海仙塔智能科技有限公司 Upgrade time management method, upgrade time management system, and computer storage medium

Also Published As

Publication number Publication date
CN106254440B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN106528224A (en) Content updating method and system for Docker container, and server
CN103475682B (en) File transfer method and file transfer equipment
US8880651B2 (en) Method and system for efficient download of data package
CN110875850B (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN109886693B (en) Consensus realization method, device, equipment and medium for block chain system
CN106843978A (en) A kind of SDK cut-in methods and system
US11018931B2 (en) Data driven user interface for configuring device settings
CN110535954B (en) Door lock firmware upgrading method, upgrading system, intelligent gateway and storage medium
CN105897911A (en) File downloading method and device and user terminal
CN108207008A (en) A kind of management method and device for virtualizing network element
CN113064600B (en) Method and device for deploying application
KR20180005542A (en) Apparatus and method for verifing data integrity
CN109120444A (en) cloud resource management method, processor and storage medium
CN107844306A (en) Restorative procedure, device, storage medium and the terminal of application program
CN116257438A (en) Updating method of interface test case and related equipment
CN102880478B (en) Oftware updating method
CN111683114A (en) Method and device for upgrading equipment program, terminal equipment and storage medium
WO2016028534A1 (en) Method and apparatus for localized management of feature licenses
CN106254440A (en) The upgrade method of a kind of AP and device
CN107741853A (en) A kind of method, system and the information management platform of deployment services device
CN106302642A (en) A kind of method and apparatus of synchrodata
CN104570967A (en) Android system based remote control method and system
CN106664637A (en) Routing information configuration method and apparatus
CN115480910A (en) Multi-cluster resource management method and device and electronic equipment
CN102891888A (en) Data access method, related apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant after: Hangzhou Dipu Polytron Technologies Inc

Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant before: Hangzhou Dipu Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant