CN111245660A - Network-based equipment upgrading self-adaptive transmission method - Google Patents

Network-based equipment upgrading self-adaptive transmission method Download PDF

Info

Publication number
CN111245660A
CN111245660A CN202010111087.5A CN202010111087A CN111245660A CN 111245660 A CN111245660 A CN 111245660A CN 202010111087 A CN202010111087 A CN 202010111087A CN 111245660 A CN111245660 A CN 111245660A
Authority
CN
China
Prior art keywords
equipment
upgraded
upgrading
unicast
network
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
CN202010111087.5A
Other languages
Chinese (zh)
Other versions
CN111245660B (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.)
Chongqing Jinmei Communication Co Ltd
Original Assignee
Chongqing Jinmei Communication 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 Chongqing Jinmei Communication Co Ltd filed Critical Chongqing Jinmei Communication Co Ltd
Priority to CN202010111087.5A priority Critical patent/CN111245660B/en
Publication of CN111245660A publication Critical patent/CN111245660A/en
Application granted granted Critical
Publication of CN111245660B publication Critical patent/CN111245660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication

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 broadcast domain which sends the upgrade file in a unicast mode can effectively avoid the problems of whole network forwarding, resource waste, easy stealing and damage, difficult control and the like of the upgrade file caused by the flooding of the upgrade file; 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

Network-based equipment upgrading self-adaptive transmission method
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 broadcast domain which sends the upgrade file in a unicast mode can effectively avoid the problems of whole network forwarding, resource waste, easy stealing and damage, difficult control and the like of the upgrade file caused by the flooding of the upgrade file; 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 consists of reporting self state of the device to be upgraded, automatically dividing the device broadcast domain in the network by the device upgrade server, completing the selection of the device to be upgraded in the broadcast domain, sending the device to be upgraded in unicast to each broadcast domain remotely by the device upgrade server, upgrading other devices in the broadcast domain by the device upgraded in unicast, wherein the upgrade processing module is added in the device in the network to realize the upgrade function of the device, the device discovery module realizes the receiving and forwarding function of the device discovery message, the broadcast multicast processing module realizes the receiving and processing and forwarding function of the upgrade self-adaptive protocol multicast, the unicast processing module realizes the receiving and processing and forwarding function of the upgrade self-adaptive protocol unicast, the method effectively avoids the problems of bandwidth occupation and long upgrading time consumption of two upgrading methods in the background technology, and comprises the following main 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 in the network domain through broadcasting.
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 feeding back the successful event to the equipment sending the broadcast upgrading instruction through the equipment which is successfully broadcast upgraded, and sending the successful upgrading event of the holy grail upgraded by the collecting agent to the equipment upgrading server through the equipment which is upgraded by unicast.
CN202010111087.5A 2020-02-24 2020-02-24 Network-based equipment upgrading self-adaptive transmission method Active CN111245660B (en)

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 true CN111245660A (en) 2020-06-05
CN111245660B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726235A (en) * 2020-06-16 2020-09-29 四川九州电子科技股份有限公司 Automatic batch upgrading method and system for data communication terminal based on multicast protocol
CN114339723A (en) * 2020-10-10 2022-04-12 深圳长城开发科技股份有限公司 Air upgrading method and system based on LoRa

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731760A (en) * 2005-08-05 2006-02-08 武汉理工大学 Ad Hoc network routing method based on flooding mechanism
CN102480770A (en) * 2010-11-22 2012-05-30 中国科学院沈阳自动化研究所 Autonomous networking method for wireless meter-reading system of electric energy meter
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731760A (en) * 2005-08-05 2006-02-08 武汉理工大学 Ad Hoc network routing method based on flooding mechanism
CN102480770A (en) * 2010-11-22 2012-05-30 中国科学院沈阳自动化研究所 Autonomous networking method for wireless meter-reading system of electric energy meter
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726235A (en) * 2020-06-16 2020-09-29 四川九州电子科技股份有限公司 Automatic batch upgrading method and system for data communication terminal based on multicast protocol
CN111726235B (en) * 2020-06-16 2022-04-12 四川九州电子科技股份有限公司 Automatic batch upgrading method and system for data communication terminal based on multicast protocol
CN114339723A (en) * 2020-10-10 2022-04-12 深圳长城开发科技股份有限公司 Air upgrading method and system based on LoRa
CN114339723B (en) * 2020-10-10 2024-01-26 深圳长城开发科技股份有限公司 Air upgrading method and system based on LoRa

Also Published As

Publication number Publication date
CN111245660B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN102202104B (en) Managing distributed address pools within network devices
KR100766586B1 (en) Element management system in wireless telecommunication network
US6009274A (en) Method and apparatus for automatically updating software components on end systems over a network
US7756953B2 (en) Method and apparatus for monitoring responses of configuration commands
US6633909B1 (en) Notification method that guarantees a system manager discovers an SNMP agent
CN111245660B (en) Network-based equipment upgrading self-adaptive transmission method
US20040019668A1 (en) System and method for scalable management of computing devices
CN113132155B (en) Virtual switch distributed escape method and device and storage medium
CN112769602A (en) System and method for unified configuration management of white box switch and network operating system
CN106357542A (en) Method for providing multicast service and software defined network controller
WO2008020722A1 (en) Expandable element management system in wireless communication network
CN107786441B (en) Communication method, OpenFlow switch and communication system
CN112217649B (en) Terminal equipment management method, server and terminal equipment
CN101753330B (en) Method for managing equipment based on VRF interface
CN101632261B (en) Full mesh rates transaction in a network
CN101102231B (en) An automatic discovery method and device of PPP link routing device
CN110601989A (en) Network traffic balancing method and device
CN115942411A (en) Multi-card multi-mode communication system control method and device of power acquisition terminal
CN114189485A (en) Network port management method and system of switch and computer readable storage medium
Cisco Release Notes for Catalyst 5000 Family Software Release 6.x
García et al. A new transparent bridge protocol for lan internetworking using topologies with active loops
CN114051030A (en) Communication method, communication device, smart community system and storage medium
CN107248935B (en) System and method for network management to discover and monitor network elements
CN111953786A (en) System, method and device for recording messages in whole network, network equipment and storage medium
CN101645840A (en) Method, system and routing equipment for retransmitting message

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