CN111245660B - Network-based equipment upgrading self-adaptive transmission method - Google Patents
Network-based equipment upgrading self-adaptive transmission method Download PDFInfo
- Publication number
- CN111245660B CN111245660B CN202010111087.5A CN202010111087A CN111245660B CN 111245660 B CN111245660 B CN 111245660B CN 202010111087 A CN202010111087 A CN 202010111087A CN 111245660 B CN111245660 B CN 111245660B
- Authority
- CN
- China
- Prior art keywords
- equipment
- upgrading
- upgraded
- unicast
- broadcast
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 title claims abstract description 16
- 230000003044 adaptive effect Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 abstract description 16
- 239000002699 waste material Substances 0.000 abstract description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000000694 effects Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 1
Images
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
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5069—Address allocation for group communication, multicast communication or broadcast communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a network-based equipment upgrading self-adaptive transmission method, which mainly relates to a selective upgrading method for realizing rationalization self-adaptation in a communication network, mainly characterized in that equipment broadcast domains are automatically discovered, election of equipment to be unicast upgraded in the broadcast domains is completed, equipment to be unicast upgraded in each broadcast domain is remotely sent through an equipment upgrading server, and other equipment in the broadcast domain is upgraded by utilizing the equipment to be unicast. The beneficial technical effects of the invention are as follows: the upgrade files are sent to each broadcast domain in a unicast mode, so that the problems of whole network forwarding, resource waste, easy stealing and damage, difficult control and the like of the upgrade files caused by the flooding of the upgrade files can be effectively avoided; the problems of resource waste and long upgrading time caused by repeated data transmission in the backbone link due to whole network unicast of the upgrading file can be avoided.
Description
Technical Field
The invention relates to a device upgrading method, in particular to a network-based device upgrading self-adaptive transmission method.
Background
The communication network is a link for physically connecting each isolated device to realize information exchange between people, between people and computers, and between computers, so as to achieve the purposes of resource efficiency and communication. Modern communication networks are systems organically built by professional organizations with communication devices and software, which are the sum of various communication services provided to individuals, organizations and society.
With the continuous iteration upgrading of the communication network, such as fast iteration from 2G to 5G, the basic network equipment is continuously improved. In the process of upgrading the device, the large communication jitter and other influences are caused to the network when the communication network is upgraded on a large scale due to the fact that the upgrading file size of the device is large, the upgrading mode adopts unicast and the like. Especially in heterogeneous networks where satellites, microwaves and even ultrashort wave radio stations exist, the burden of communication upgrade has a great impact on the network, and a solution is needed to achieve as little upgrade cost as possible.
The existing common equipment upgrading schemes can be roughly classified into two types, namely, the first point-to-point unicast upgrading mode is that upgrading messages are sequentially sent to equipment of the whole network, the upgrading time is long, the data sending quantity is large, and the network is influenced; the second one is multicast type upgrade of the whole network, the upgrade mode is to rely on a specific multicast upgrade protocol supported by the equipment to execute a similar flooding strategy in the whole network, the upgrade time is short, the data forwarding amount is large, and the influence on the network is caused.
Disclosure of Invention
In view of the problems raised by the background art, the invention designs a network-based device upgrade self-adaptive transmission method, it mainly relates to a selective upgrade method for realizing rationalization and self-adaptation in communication network, which is mainly characterized in that the device to be upgraded reports its own state, the device upgrade server automatically divides the device broadcast domain in the network and completes the election of the device to be unicast upgraded in the broadcast domain, the equipment upgrading server remotely sends unicast upgrading equipment to be unicast upgraded in each broadcast domain, the equipment upgraded by unicast utilizes other equipment in the broadcast domain where the equipment upgraded by unicast is located, wherein, four upgrading module components of an upgrading processing module, an equipment discovery module, a broadcast multicast processing module and a unicast processing module are added in the equipment in the network, the method effectively avoids the problems of bandwidth occupation and long upgrading time consumption of two upgrading methods in the background technology. The method effectively avoids the problems of bandwidth occupation and long upgrading time consumption of two upgrading methods in the background technology.
The method mainly comprises the following steps:
a, an equipment upgrading server finds equipment to be upgraded in a network by searching broadcast messages or manually configuring equipment in the network, and sends an instruction to be upgraded to each equipment through a unicast message;
b, when the device to be upgraded receives the instruction to be upgraded sent by the upgrade server through the unicast processing module, sending a neighbor discovery message to the broadcast domain through the broadcast multicast processing module of the device, wherein the destination address of the message is set as the broadcast address of the IP section of the device; after the neighbor discovery task is completed, the equipment to be upgraded reports all the neighbor IP addresses received by the equipment to the equipment upgrading server;
and step C, the equipment upgrading server receives the information returned by all the equipment to be upgraded and calculates an independent network domain group according to the neighbor information of each piece of equipment, the equipment upgrading server elects the equipment to be unicast upgraded and the equipment to be broadcast upgraded in the network domain group, meanwhile, the equipment to be unicast upgraded is upgraded, and the equipment which is successful in unicast upgrade is used for upgrading the equipment to be broadcast upgraded in the network domain through broadcasting.
The beneficial technical effects of the invention are as follows: the upgrade files are sent to each broadcast domain in a unicast mode, so that the problems of whole network forwarding, resource waste, easy stealing and damage, difficult control and the like of the upgrade files caused by the flooding of the upgrade files can be effectively avoided; the problems of resource waste and long upgrading time caused by repeated data transmission in the backbone link due to whole network unicast of the upgrading file can be avoided.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention, and in which:
FIG. 1 is a diagram of an exemplary network topology according to an embodiment of the present invention;
FIG. 2 is a flow diagram of an equipment upgrade according to an embodiment of the present invention;
FIG. 3 is a block diagram of a critical module for upgrading a device according to an embodiment of the present invention.
Detailed Description
In an embodiment of the invention, a network-based device upgrade adaptive transmission method is included, it mainly relates to a selective upgrade method for realizing rationalization and self-adaptation in communication network, which is mainly characterized in that the device to be upgraded reports its own state, the device upgrade server automatically divides the device broadcast domain in the network and completes the election of the device to be unicast upgraded in the broadcast domain, the equipment upgrading server remotely sends unicast upgrading equipment to be unicast upgraded in each broadcast domain, the equipment upgraded by unicast utilizes other equipment in the broadcast domain where the equipment upgraded by unicast is located, wherein, four upgrading module components of an upgrading processing module, an equipment discovery module, a broadcast multicast processing module and a unicast processing module are added in the equipment in the network, the method effectively avoids the problems of bandwidth occupation and long upgrading time consumption of two upgrading methods in the background technology.
The unicast referred by the invention is an IP message sent to a designated IP address (non-multicast address) through a UDP/TCP protocol; the broadcast is referred to as an IP packet sent to a multicast address (typically 224.0.0.0 to 239.255.255.255) via UDP/TCP.
A typical network topology diagram of an embodiment of the present invention is shown in fig. 1, and is used to represent a typical application scenario of the present invention, in the diagram, the entire communication system includes a switch, a device, and a device upgrade server, where the device upgrade server is physically connected to other devices to be upgraded after accessing a network. In the figure, devices A, B, C all access the same switch, and this access method is commonly used in networks, and in this connection, device a and device B, C are in a network broadcast domain, and are links with each other, such as optical fiber, cable, satellite, etc., with a communication transmission rate of 1Mdps or more. Device a and device D, E, F are connected by a network of other devices of the communication system, which are not typically in a broadcast domain, and may have narrowband links with each other.
The device upgrading process of the embodiment of the invention is shown in the attached figure 2, except for the software design of the device upgrading server, the invention adds an upgrading processing module, a device discovery module, a broadcast multicast processing module and a unicast processing module in the device in the network to respectively complete the upgrading function of the device, the receiving and forwarding function of the discovery message of the user, the receiving and processing and forwarding function of the upgrade self-adaptive protocol multicast and the receiving and processing and forwarding function of the upgrade self-adaptive protocol unicast.
The equipment upgrading process of the embodiment of the invention is shown in the attached figure 3, the equipment upgrading mainly comprises three processes, and the specific execution process under each process is as follows:
and A, discovering the devices in the network through device broadcasting or manual configuration, and sending an instruction to be upgraded to each device through unicast. The first step of the equipment upgrading mode is to complete the collection of equipment information to accurately master the equipment information to be upgraded, and the invention designs two modes to discover the equipment in the communication system, wherein the mode is that a user manually inputs the IP address of the equipment to be upgraded through a user interface; and the second mode is that each device responds to the multicast by sending a full-network multicast form through software to discover the devices in the network, and the implementation of the mode depends on a multicast processing module in the device, and after receiving a device discovery message, the module sends the version, the upgrading time and the device electric quantity information of the module to a device upgrading server through an IP unicast message.
And after the terminal is found, the equipment upgrading server sends an instruction to be upgraded to each equipment to be upgraded, wherein the instruction comprises the neighbor discovery timeout time.
And B, when the equipment to be upgraded receives the instruction to be upgraded sent by the equipment upgrading server through the unicast processing module, sending a neighbor discovery message through the broadcast multicast processing module, wherein the destination address of the message is set as the broadcast address of the IP section of the equipment to be upgraded.
The equipment to be upgraded monitors the broadcast address all the time through the broadcast multicast processing module, records the IP address when receiving neighbor discovery messages sent by other neighbor equipment, finally sets a timeout operation mechanism according to the timeout time sent by the upgrade server, and reports all the received neighbor IP addresses to the equipment upgrade server after the timeout.
And C, the device upgrade server receives the information returned by all the devices to be upgraded and calculates independent network domain groups according to the neighbor information of each device, such as that the device A, B, C is in one domain and the device D, E, F is in one domain in FIG. 1. And electing a random device of each network domain group as a device to be sent with an upgrade file, after the election is completed, the device upgrade server sends the upgrade file to each device to be sent with the upgrade file in a unicast mode, and sends a piece of unicast information after the upgrade file is sent, wherein the unicast information comprises an instruction for entrusting the device to send the upgrade file to a neighbor device by broadcasting, and the instruction for entrusting the upgrade cannot be sent under the condition that only one device exists in the network domain.
When the equipment to be upgraded by unicast receives the upgrade file sent by the equipment upgrade server, the software of the equipment is upgraded by the upgrade processing module, and after the order of entrusting upgrade is received, the broadcast multicast processing module directly sends out the latest upgrade file of the equipment through the broadcast IP address. Under the condition, the neighbor nodes can receive the upgrade file and carry out normal upgrade.
The equipment upgraded by unicast sends an upgrade success instruction to the equipment upgrade server, the equipment receiving the upgrade file by broadcast upgrade sends an upgrade success instruction to the equipment sending broadcast, and the equipment receiving the upgrade success instruction sent by the neighbor forwards the instruction to the equipment upgrade server.
Claims (7)
1. A network-based device upgrade adaptive transmission method is characterized in that: the method mainly includes that equipment to be upgraded reports self state, an equipment upgrading server automatically divides equipment broadcast domains in the network and completes election of the equipment to be unicast upgraded in the broadcast domains, the equipment upgrading server remotely sends unicast to upgrade equipment to be unicast in each broadcast domain, the equipment upgraded by unicast utilizes other equipment in the broadcast domain to upgrade by broadcast, wherein an upgrading processing module is added in the equipment in the network to realize upgrading function of the equipment; the device discovery module is used for realizing the receiving and forwarding functions of the device discovery message; the broadcast multicast processing module realizes the receiving, processing and forwarding functions of the upgraded self-adaptive protocol multicast; the unicast processing module is used for realizing the receiving, processing and forwarding functions of the upgrade self-adaptive protocol unicast; the method mainly comprises the following steps:
step 1.1, the equipment upgrading server finds equipment to be upgraded in the network by searching broadcast messages or manually configuring equipment in the network, and sends an instruction to be upgraded to each equipment through a unicast message;
step 1.2, when the device to be upgraded receives a command to be upgraded sent by an upgrade server through a unicast processing module, sending a neighbor discovery message to a local broadcast domain through a broadcast multicast processing module of the device, setting the destination address of the message as the broadcast address of an IP (Internet protocol) segment of the device, and after a neighbor discovery task is completed, reporting all neighbor IP addresses received by the device to be upgraded to the device upgrade server;
and step 1.3, the equipment upgrading server receives the information returned by all the equipment to be upgraded and calculates an independent network domain group according to the neighbor information of each piece of equipment, the equipment upgrading server elects the equipment to be unicast upgraded and the equipment to be broadcast upgraded in the network domain group, and simultaneously upgrades the equipment to be unicast upgraded and enables the equipment which is successful in unicast upgrade to upgrade the equipment to be broadcast upgraded in the network domain in a broadcast upgrading mode.
2. The network-based device scalable adaptive transmission method of claim 1, wherein: the equipment to be upgraded monitors the broadcast address all the time through the broadcast multicast processing module, records the IP address when receiving neighbor discovery messages sent by other neighbor equipment, sets a timeout operation mechanism according to the timeout time sent by the equipment server, and reports all the received IP addresses to the equipment upgrading server after the timeout.
3. The network-based device scalable adaptive transmission method of claim 1, wherein: the device server divides the devices directly or indirectly contained in the neighbor information reported by all the devices into a broadcast domain, then selects the device containing the most devices in each domain as the device to be upgraded by unicast, identifies the devices in other domains as the devices to be upgraded by broadcast, and proxies the devices to the device to be upgraded by unicast.
4. The network-based device scalable adaptive transmission method of claim 1, wherein: the device upgrade server will send a command to be upgraded to each device to be upgraded, which contains the neighbor discovery timeout time.
5. The network-based device scalable adaptive transmission method of claim 1, wherein: the equipment upgrading server sends the upgrading file to each equipment to be sent in a unicast mode, and sends a piece of unicast information after the upgrading file is sent, wherein the unicast information comprises an instruction for entrusting the equipment to send the upgrading file to neighbor equipment by broadcasting, and the instruction for entrusting upgrading cannot be sent under the condition that only one equipment exists in a network domain.
6. The network-based device scalable adaptive transmission method of claim 1, wherein: when the unicast upgrading equipment receives the upgrading file sent by the equipment upgrading server, the software of the equipment is upgraded through the upgrading processing module, after the order of entrusting upgrading is received, the broadcast multicast processing module directly sends out the latest upgrading file of the equipment through the broadcast IP address, and under the condition, the neighbor nodes can receive the upgrading file and carry out upgrading normally.
7. The network-based device scalable adaptive transmission method of claim 1, wherein: and the equipment which succeeds in broadcast upgrading feeds back the successful event to the equipment which sends the broadcast upgrading instruction to the equipment, and the equipment which succeeds in upgrading by the agent collects the upgrading successful event of the equipment which succeeds in upgrading by the agent and sends the event to the equipment upgrading server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010111087.5A CN111245660B (en) | 2020-02-24 | 2020-02-24 | Network-based equipment upgrading self-adaptive transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010111087.5A CN111245660B (en) | 2020-02-24 | 2020-02-24 | Network-based equipment upgrading self-adaptive transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111245660A CN111245660A (en) | 2020-06-05 |
CN111245660B true CN111245660B (en) | 2022-08-12 |
Family
ID=70865960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010111087.5A Active CN111245660B (en) | 2020-02-24 | 2020-02-24 | Network-based equipment upgrading self-adaptive transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111245660B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726235B (en) * | 2020-06-16 | 2022-04-12 | 四川九州电子科技股份有限公司 | Automatic batch upgrading method and system for data communication terminal based on multicast protocol |
CN114339723B (en) * | 2020-10-10 | 2024-01-26 | 深圳长城开发科技股份有限公司 | Air upgrading method and system based on LoRa |
CN115314504A (en) * | 2022-08-08 | 2022-11-08 | 重庆物奇科技有限公司 | Data transmission method and firmware upgrading method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731760A (en) * | 2005-08-05 | 2006-02-08 | 武汉理工大学 | A Routing Method of Ad Hoc Network Based on Flooding Mechanism |
CN102480770A (en) * | 2010-11-22 | 2012-05-30 | 中国科学院沈阳自动化研究所 | Autonomous Networking Method for Electric Energy Meter Wireless Meter Reading System |
CN103227817A (en) * | 2013-03-28 | 2013-07-31 | 广东省电信规划设计院有限公司 | Super node selecting method and system based on P2P (peer-to-peer) network |
CN104834540A (en) * | 2015-03-26 | 2015-08-12 | 重庆金美通信有限责任公司 | Software upgrade method based on flooding mechanism |
CN107301054A (en) * | 2017-07-14 | 2017-10-27 | 杭州敦崇科技股份有限公司 | A kind of Oftware updating method based on MANET |
CN107483224A (en) * | 2017-05-16 | 2017-12-15 | 上海博达数据通信有限公司 | Wireless routing version upgrading method based on DR election |
-
2020
- 2020-02-24 CN CN202010111087.5A patent/CN111245660B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731760A (en) * | 2005-08-05 | 2006-02-08 | 武汉理工大学 | A Routing Method of Ad Hoc Network Based on Flooding Mechanism |
CN102480770A (en) * | 2010-11-22 | 2012-05-30 | 中国科学院沈阳自动化研究所 | Autonomous Networking Method for Electric Energy Meter Wireless Meter Reading System |
CN103227817A (en) * | 2013-03-28 | 2013-07-31 | 广东省电信规划设计院有限公司 | Super node selecting method and system based on P2P (peer-to-peer) network |
CN104834540A (en) * | 2015-03-26 | 2015-08-12 | 重庆金美通信有限责任公司 | Software upgrade method based on flooding mechanism |
CN107483224A (en) * | 2017-05-16 | 2017-12-15 | 上海博达数据通信有限公司 | Wireless routing version upgrading method based on DR election |
CN107301054A (en) * | 2017-07-14 | 2017-10-27 | 杭州敦崇科技股份有限公司 | A kind of Oftware updating method based on MANET |
Also Published As
Publication number | Publication date |
---|---|
CN111245660A (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102202104B (en) | Managing distributed address pools within network devices | |
US7756953B2 (en) | Method and apparatus for monitoring responses of configuration commands | |
CN111245660B (en) | Network-based equipment upgrading self-adaptive transmission method | |
KR100766586B1 (en) | Component Management System of Wireless Communication Network | |
US6009274A (en) | Method and apparatus for automatically updating software components on end systems over a network | |
US20040019668A1 (en) | System and method for scalable management of computing devices | |
JP2011041251A (en) | Architecture using inexpensively managed radio switching point for distribution of large scale wireless lan | |
US20050076112A1 (en) | System and method for management of remote devices in a network | |
WO2008020722A1 (en) | Expandable element management system in wireless communication network | |
CN112769602A (en) | System and method for unified configuration management of white box switch and network operating system | |
CN114268938A (en) | Method, device, equipment and storage medium for managing user front equipment | |
CN107786441B (en) | Communication method, OpenFlow switch and communication system | |
US20090193408A1 (en) | Interface and method for interfacing element management server in wireless telecommunication system | |
CN101753330B (en) | Method for managing equipment based on VRF interface | |
García et al. | A new transparent bridge protocol for lan internetworking using topologies with active loops | |
Cisco | Release Notes for Catalyst 5000 Family Software Release 6.x | |
CN114051030A (en) | Communication method, communication device, smart community system and storage medium | |
CN111953786A (en) | System, method and device for recording messages in whole network, network equipment and storage medium | |
US7110364B1 (en) | Optical link adjacency discovery protocol and an optical network therefor | |
CN116112560B (en) | Data uplink and proxy method and system based on Reactive mechanism | |
KR20010058738A (en) | Method for group polling in a simple network management protocol | |
US20240056814A1 (en) | Supporting computer networking device connections to controllers using different connection protocols | |
CN115065649B (en) | Method, device, equipment and storage medium for determining service message forwarding mode | |
Noh et al. | Flexible communication-bus architecture for distributed multimedia service in cloud computing platform | |
KR100474358B1 (en) | Method and apparatus for implementation function of remote network monitoring in high speed router, and storage medium for recording program thereof |
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 |