CN107483224A - Wireless routing version upgrading method based on DR election - Google Patents
Wireless routing version upgrading method based on DR election Download PDFInfo
- Publication number
- CN107483224A CN107483224A CN201710344370.0A CN201710344370A CN107483224A CN 107483224 A CN107483224 A CN 107483224A CN 201710344370 A CN201710344370 A CN 201710344370A CN 107483224 A CN107483224 A CN 107483224A
- Authority
- CN
- China
- Prior art keywords
- wireless routing
- election
- equipment
- upgrading method
- version 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0846—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/085—Retrieval of network configuration; Tracking network configuration history
- H04L41/0853—Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/30—Decision processes by autonomous network management units using voting and bidding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Abstract
The invention discloses the wireless routing version upgrading method based on DR election, and it downloads more new file in a collision domain by the DR elected, and other equipment to be upgraded propagate more new file into collision domain.The program can realize that AP carries out batch upgrade in local area network within a set time, is effectively utilized LAN bandwidth resources, alleviates the bandwidth pressure of Cloud Server.
Description
Technical field
The present invention relates to wireless communication technology, and in particular to the edition upgrading technology of Wireless Telecom Equipment.
Background technology
The edition upgrading of current BDCOM radio AP route apparatus is to be judged whether by http request Cloud Server under needs
Redaction is carried, every AP device upgrade is required for asking to download more new file to Cloud Server.The Cloud Server within the same time
Bandwidth ability determine AP upgrading scale.
Thus, existing radio AP route apparatus edition upgrading scheme in view of in the same time Cloud Server bandwidth ability
Can not within a set time in local area network AP carry out batch upgrade.
The content of the invention
Explanation of nouns:
DR-Designated Router, designed router (dr);
Drother-DR other, non-designed router (dr);
AP-Access Point, node is accessed, herein refers to wireless router;
Hello-Hello messages, found for the neighbours in collision domain;
Seen DR-Seen DR hello packet, it have received the hello packet of DR transmissions;
DR gone- designed router (dr) aging lost contacts;
DelayTimer- delay timers;
WaitTimer- waiting timers;
DOWN- closed modes;
INIT- init states;
WAIT- waits timeout mode.
For the problems of existing wireless routing edition upgrading technology, it is necessary to a kind of version that can realize batch upgrade
This upgrading scheme.
Therefore, the technical problems to be solved by the invention are to provide a kind of wireless routing edition upgrading side based on DR election
Method.
In order to solve the above-mentioned technical problem, the wireless routing version upgrading method provided by the invention based on DR election,
More new file is downloaded by the DR elected in one collision domain, and other equipment to be upgraded propagate renewal text into collision domain
Part.
In this programme, to belong in same collision domain and more one group of new file MD5 values identical rises without circuit as one
Level subdomain, DR election progress wireless routing edition upgrading is based respectively in each upgrading subdomain.
In this programme, more new file is transmitted using Transmission Control Protocol.
In this programme, MD5 file consistence checkings are carried out before wireless routing device renewal.
In this programme, DR is elected based on the random sequence number value generated after every device power startup.
In this programme, the equipment election maximum using random sequence number value is used as DR.
In this programme, DR election strategy is:Priority facility>Equipment random sequence number value>Equipment Wan mouth IP address.
In this programme, DR election process is as follows:
(1) original state is DOWN states after wireless routing device starts, while produces a random sequence number seq, and
Regularly to Cloud Server request version information;
(2) after the response of Cloud Server is received, wireless routing device enters INIT state, starts simultaneously
DelayTimer;
(3) enter WAIT states after DelayTimer time-out, start Wait timers in this condition;
(4) DR election is carried out after WaitTimer time-out, unsuccessful equipment turns into Drother.
In this programme, when entering WAIT states startup Wait timers, while also start HelloTimer timers week
Phase is sent out multicast hello packet.
In this programme, after DR election, the equipment in INIT state is automatic after the hello packet of DR transmissions is received
As Drother.
In this programme, if Drother is not received by DR message within the predetermined Hello cycles, aging is deleted
DR, the DR election that WAIT states carry out next round is reentered afterwards.
It can realize that AP carries out batch upgrade in local area network within a set time based on scheme provided by the invention,
LAN bandwidth resources are effectively utilized, alleviate the bandwidth pressure of Cloud Server.
Furthermore this programme is transmitted in LAN more new file using Transmission Control Protocol, and MD5 files are employed before renewal of the equipment
Consistency checking, ensure the whole machine during upgrading that will not delay.
Brief description of the drawings
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Fig. 1 is upgrade-system view in present example;
Fig. 2 is that version file distributes schematic diagram in present example.
Embodiment
In order that the technical means, the inventive features, the objects and the advantages of the present invention are easy to understand, tie below
Conjunction is specifically illustrating, and the present invention is expanded on further.
This example approach proposes the download scenarios based on DR election on BDCOM wireless platform, then by DR to originally
The wireless device edition upgrading scheme of other AP transmission version files (i.e. more new file) in collision domain.The program is realized same
AP under one collision domain only needs to download file (such as more new file), can be with afterwards by being transmitted again inside LAN
Cloud Server bandwidth pressure is effectively reduced, so as to solve the problems, such as that high-volume AP upgrades within the set time.
The specific implementation process of detailed description below once this example approach.
1.DR is elected.
DR is the key player in AP edition upgradings, and this programme downloads more new file by DR to Cloud Server, to other
Drother propagate more new file.
The random sequence number value that is generated after every device power starts is based primarily upon in this programme to elect DR.
Wherein, every AP device power can all generate a random sequence number value seq after starting, in this example approach with
The maximum AP equipment of seq values is used as DR.Here DR is elected using random seq values, every equipment is likely to select
Act turns into DR, also ensure that after DR fails, the possibility of DR Counterchange roles.
On this basis, for needing to specify certain equipment to turn into permanent DR under some occasions, this example approach further increases
Oil (gas) filling device priority value, for priority facility value here by setting manually, its priority is higher than random sequence number.It is excellent based on equipment
The priority level of first level value is higher than random sequence number value, can preferentially elect as DR.
In the case, DR election strategy is in this example approach:Priority facility (need to be set) manually>Equipment is random
Sequence number>Equipment Wan mouth IP address.
2. isolated in collision domain between distinct device.
If the AP more new files in a collision domain are identicals, the above-mentioned version liter based on DR election can be directly utilized
Level scheme, by the DR that elects to Cloud Server download version upgrade file in the collision domain, then into this collision domain
Other Drother propagate more new file.
If the AP equipment of different model in a collision domain be present, their more new file is inconsistent, in this case will
The above-mentioned edition upgrading scheme based on DR election can not directly be utilized.
On the other hand, this programme proposes a kind of subfield scheme, to isolating between distinct device in collision domain, pass through base respectively
Batch upgrade is carried out to the AP equipment in subdomain in the edition upgrading scheme of DR election.
The subdomain is particularly belonged in same collision domain and more new file MD5 values are the set of one group of AP equipment of identical.
That is, this programme is to belong in same collision domain and more one group of new file MD5 values identical rises without circuit as one
Level subdomain, and the AP equipment in subdomain is criticized with the edition upgrading scheme based on DR election respectively in each upgrading subdomain
Amount upgrading.
It follows that in same collision domain, DR is the role conception in subdomain, and the number of subdomain is individual equal to DR
Number.
File isolating problem in a collision domain between distinct device is efficiently solved by setting subdomain.
Carry out illustratively implementation process of this programme based on DR election progress edition upgrading below by way of a specific example.
Referring to Fig. 1 and Fig. 2, BDCOM wireless platforms AP upgrade-systems view and version text in this example are shown
Part distributes schematic diagram.As seen from the figure, the process of whole AP edition upgradings is as follows:
(1) as shown in figure 1, original state is DOWN after AP equipment starts, while a random sequence number seq is produced.And
Information of the equipment every 15 minutes latest editions by Http agreement request Cloud Servers.
(2) if cloud server end is provided with edition upgrading information, corresponding A P equipment ends will receive Http responses, including
Version number, md5 values and the download link of upgrade file, now AP equipment enters INIT state, while starts DelayTimer
(default timeout be 1000 seconds), other AP that delay timer ensures within this period can know the letter of latest edition
Breath.
(3) WAIT states are entered after DelayTimer time-out, AP equipment starts 60 seconds Wait timers in this condition, together
When also start and there are HelloTimer timer periods to be sent out multicast hello packet (default cycles 15 seconds).Because each AP is set
The standby time for entering INIT state is different, and this example regulation state after the AP of INIT state receives hello packet switchs to
WAIT, it is possible thereby to ensure that all AP equipment can carry out DR election at the same moment.
(4) DR election is carried out after WaitTimer time-out, unsuccessful AP equipment turns into Drother.The strategy of election is:If
Standby priority (need to manually set, be defaulted as 1)>Equipment random sequence number>Equipment Wan mouth IP address.
When carrying out DR election, the big equipment of priority turns into DR, if priority is consistent, the big equipment of random sequence number number
As DR, priority is consistent with random sequence number, then the big equipment of IP address turns into DR.
DR no longer changes easily Yi Dan elected successfully, and the equipment in INIT state is receiving the Hello of DR transmissions
Drother is automatically become after message.Only DR equipment ends lost contact (such as suspension or equipment fault), Drother is in 4 Hello
DR message is not received by cycle, then deletes the DR of aging, reenters the DR choosings that WAIT states carry out next round afterwards
Lift.
(5) DR equipment ends indicate BIN_OK in hello packet after download to Cloud Server download version
Position.Receive interior to DR sides request version file in the random interval of [0-15] second with Drother ends after BIN_OK messages.
Drother equipment ends detect version uniformity after asking, and carry out edition upgrading operation after being verified at once.DR ends are to institute
Some Drother neighbours also carry out edition upgrading operation (as shown in Figure 2) at once after sending version.
So far, all AP equipment in subdomain have been fully completed edition upgrading operation.
From upper example, DR election process experience DOWN->INIT->WAIT->Tetra- kinds of states of DR.In one subdomain
All AP upgradings only need DR to download once more new file, reasonably using the bandwidth resources in LAN, greatly reduce cloud clothes
The bandwidth pressure of business device, accelerates overall renewal speed.Meanwhile effectively solve the difference in a collision domain by subdomain and set
File isolating problem between standby.
General principle, principal character and the advantages of the present invention of the present invention has been shown and described above.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the simply explanation described in above-described embodiment and specification is originally
The principle of invention, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.
Claims (10)
1. the wireless routing version upgrading method based on DR election, it is characterised in that by electing in a collision domain
DR download more new file, and other equipment to be upgraded propagate more new files into collision domain.
2. wireless routing version upgrading method according to claim 1, it is characterised in that to belong in same collision domain
And more one group of new file MD5 values identical is a upgrading subdomain without circuit, and DR election is based respectively in each upgrading subdomain
Carry out wireless routing edition upgrading.
3. wireless routing version upgrading method according to claim 1, it is characterised in that transmitted and updated using Transmission Control Protocol
File.
4. wireless routing version upgrading method according to claim 1, it is characterised in that wireless routing device renewal is advanced
Row MD5 file consistences are verified.
5. wireless routing version upgrading method according to claim 1, it is characterised in that started based on every device power
The random sequence number value that generates afterwards elects DR.
6. wireless routing version upgrading method according to claim 5, it is characterised in that DR election strategy is:Equipment
Priority>Equipment random sequence number value>Equipment Wan mouth IP address.
7. wireless routing version upgrading method according to claim 5, it is characterised in that DR election process is as follows:
(1) original state is off-state after wireless routing device starts, while produces a random sequence number seq, and timing
To Cloud Server request version information;
(2) after the response of Cloud Server is received, wireless routing device enters init state, starts simultaneously
DelayTimer;
(3) enter after DelayTimer time-out and wait timeout mode, start Wait timers in this condition;
(4) DR election is carried out after WaitTimer time-out, unsuccessful equipment turns into Drother.
8. wireless routing version upgrading method according to claim 7, it is characterised in that wait timeout mode to open entering
During dynamic Wait timers, while also start HelloTimer timer periods and be sent out multicast hello packet.
9. wireless routing version upgrading method according to claim 8, it is characterised in that after DR election, in initial
The equipment of change state automatically becomes Drother after the hello packet of DR transmissions is received.
10. wireless routing version upgrading method according to claim 9, it is characterised in that if Drother is predetermined
DR message is not received by the Hello cycles, then deletes the DR of aging, reenters wait timeout mode progress next afterwards
The DR election of wheel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710344370.0A CN107483224B (en) | 2017-05-16 | 2017-05-16 | Wireless routing version upgrading method based on DR election |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710344370.0A CN107483224B (en) | 2017-05-16 | 2017-05-16 | Wireless routing version upgrading method based on DR election |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107483224A true CN107483224A (en) | 2017-12-15 |
CN107483224B CN107483224B (en) | 2021-01-19 |
Family
ID=60593558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710344370.0A Active CN107483224B (en) | 2017-05-16 | 2017-05-16 | Wireless routing version upgrading method based on DR election |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107483224B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111245660A (en) * | 2020-02-24 | 2020-06-05 | 重庆金美通信有限责任公司 | Network-based equipment upgrading self-adaptive transmission method |
CN113382065A (en) * | 2021-06-08 | 2021-09-10 | 京东方科技集团股份有限公司 | File downloading method, device, system, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761492A (en) * | 2012-07-25 | 2012-10-31 | 杭州华三通信技术有限公司 | Routing relearning method and device based on OSPF (Open Shortest Path First) protocol |
CN102932259A (en) * | 2012-11-20 | 2013-02-13 | 华为技术有限公司 | Neighborhood relation processing method and routing equipment |
US20130336434A1 (en) * | 2011-06-30 | 2013-12-19 | Huawei Technologies Co., Ltd. | Method and device for establishing router neighbor |
CN103744699A (en) * | 2013-12-26 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Method and device for software upgrading of intelligent electric equipment |
CN104486223A (en) * | 2014-12-17 | 2015-04-01 | 上海斐讯数据通信技术有限公司 | GR method and system based on OSPF protocol |
CN105337904A (en) * | 2014-08-05 | 2016-02-17 | 杭州华三通信技术有限公司 | Controller cluster upgrading method and device |
CN105406981A (en) * | 2015-10-20 | 2016-03-16 | 上海斐讯数据通信技术有限公司 | System and method used for upgrading router |
CN105743948A (en) * | 2014-12-11 | 2016-07-06 | 中兴通讯股份有限公司 | Network version upgrading method and apparatus |
-
2017
- 2017-05-16 CN CN201710344370.0A patent/CN107483224B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130336434A1 (en) * | 2011-06-30 | 2013-12-19 | Huawei Technologies Co., Ltd. | Method and device for establishing router neighbor |
CN102761492A (en) * | 2012-07-25 | 2012-10-31 | 杭州华三通信技术有限公司 | Routing relearning method and device based on OSPF (Open Shortest Path First) protocol |
CN102932259A (en) * | 2012-11-20 | 2013-02-13 | 华为技术有限公司 | Neighborhood relation processing method and routing equipment |
CN103744699A (en) * | 2013-12-26 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Method and device for software upgrading of intelligent electric equipment |
CN105337904A (en) * | 2014-08-05 | 2016-02-17 | 杭州华三通信技术有限公司 | Controller cluster upgrading method and device |
CN105743948A (en) * | 2014-12-11 | 2016-07-06 | 中兴通讯股份有限公司 | Network version upgrading method and apparatus |
CN104486223A (en) * | 2014-12-17 | 2015-04-01 | 上海斐讯数据通信技术有限公司 | GR method and system based on OSPF protocol |
CN105406981A (en) * | 2015-10-20 | 2016-03-16 | 上海斐讯数据通信技术有限公司 | System and method used for upgrading router |
Non-Patent Citations (3)
Title |
---|
关翔宇: ""OSPF路由协议算法的研究与仿真"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
张成: ""软件定义网络的研究及应用"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
李彦林: ""基于OSPFv3协议的不间断路由的分析与设计"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111245660A (en) * | 2020-02-24 | 2020-06-05 | 重庆金美通信有限责任公司 | Network-based equipment upgrading self-adaptive transmission method |
CN111245660B (en) * | 2020-02-24 | 2022-08-12 | 重庆金美通信有限责任公司 | Network-based equipment upgrading self-adaptive transmission method |
CN113382065A (en) * | 2021-06-08 | 2021-09-10 | 京东方科技集团股份有限公司 | File downloading method, device, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107483224B (en) | 2021-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109729505B (en) | Service processing method and network equipment | |
CN104412640B (en) | High layer compression is carried out using low layer signaling | |
CN111786893B (en) | method and device for synchronizing software versions of wireless routers in mesh networking | |
CN104679528B (en) | The newer method and apparatus of application program remote | |
US20200383111A1 (en) | Method, device and system for controlling air interface resource | |
CN106201586B (en) | System upgrading method, terminal and system based on OTA | |
CN110855496B (en) | SIG MESH-based OTA (over-the-air technology) upgrading method | |
CN107645746B (en) | Context updating method, system and equipment | |
EP2485449A1 (en) | Method and apparatus for determining gateway and method and system for sending message | |
CN103152231A (en) | Relay device and activation method of electronic device | |
CN111565122A (en) | Internet of things equipment firmware upgrading method, device and system | |
CN107483224A (en) | Wireless routing version upgrading method based on DR election | |
CN104468506A (en) | Session state detection method and device | |
JP5190543B2 (en) | Method for updating network element software in a communication network | |
CN108012294B (en) | Network switching method and device | |
KR20090053505A (en) | Connection identifier synchronization system and method in a communication system | |
CN101227335A (en) | Method for upgrading software version of network cell device | |
EP2824952B1 (en) | Method, apparatus and system for transmitting gateway address | |
CN104159289A (en) | Authentication registration method and device of home terminal | |
CN107517493A (en) | Connection method, device and the terminal of radio resource control RRC | |
CN112243139B (en) | Program distribution synchronization method and system of multimedia terminal | |
CN103634936B (en) | Document down loading method, apparatus and system | |
CN107872822B (en) | Service bearing method and device | |
CN107786607B (en) | Message retransmission method, message retransmission server and user equipment | |
CN116938712A (en) | Device upgrade method, device upgrade apparatus, and computer-readable storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |