CN104834540A - Software upgrade method based on flooding mechanism - Google Patents

Software upgrade method based on flooding mechanism Download PDF

Info

Publication number
CN104834540A
CN104834540A CN201510135363.0A CN201510135363A CN104834540A CN 104834540 A CN104834540 A CN 104834540A CN 201510135363 A CN201510135363 A CN 201510135363A CN 104834540 A CN104834540 A CN 104834540A
Authority
CN
China
Prior art keywords
node
message
software
upgrading
upgrade
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.)
Pending
Application number
CN201510135363.0A
Other languages
Chinese (zh)
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 CN201510135363.0A priority Critical patent/CN104834540A/en
Publication of CN104834540A publication Critical patent/CN104834540A/en
Pending legal-status Critical Current

Links

Landscapes

  • Radio Relay Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a software upgrade method based on a flooding mechanism. The method comprises the following steps: finishing software upgrade in an area through a basic flooding algorithm, returning satellite channel notification messages to an upgrade source node by nodes connected with a satellite, and selecting a node which returns firstly for forwarding upgrade files to other regions by the source node in order to ensure that only one node forwards messages to a satellite channel in the regions; and when the nodes are started, comparing software versions between the started nodes and adjacent nodes, requesting the upgrade files from higher-version nodes by lower-version nodes, and issuing the upgrade files to the lower-version nodes by the higher-version nodes. The method supports a cross-regional network equipment software upgrade function. An IP (Internet Protocol) message can be transmitted normally through a physical link without depending on nearby direct upgrade or route remote upgrade, so that the resources of a narrow-band satellite broadcast channel can be saved to the maximum extent; whole-network sharing of the upgrade file is realized; and the software versions of all nodes are kept consistent.

Description

A kind of method for upgrading software based on flooding mechanism
Technical field
The present invention relates to a kind of method for upgrading software based on flooding mechanism, be applicable to the dedicated network comprising arrowband broadcasting-satellite channel.Background technology
The software upgrading mode that this dedicated network uses at present comprises directly upgrading and two kinds of modes of indirectly upgrading.When network is initially opened, can only rely on the mode of directly upgrading, directly upgrading requires that personnel are together with equipment, updating apparatus be upgraded equipment and be directly connected.Indirect upgrading completes when route is led to, long-range connection upgrading.The cost of direct upgrading is too high, needs personnel to scene, and upgrading is unreliable indirectly, because route is often unstable, causes upgrading unsuccessful.
Be badly in need of a kind of method and when network physical link is communicated with, can realize the software upgrading of the whole network.Due to satellite broadcasting link in arrowband may be comprised in network, the overhead issues of software upgrading function on channel must be considered, reduce upgrading message as far as possible to the use of broadcast channel.The method does not rely on network route, only needs physical link to be communicated with, and supports transmit IP message.
Summary of the invention
The invention provides a kind of method for upgrading software based on flooding mechanism, reducing upgrading message taking arrowband broadcasting-satellite channel by carrying out flooding mechanism improving.The method comprises:
The basic algorithm that floods is used to carry out software upgrading in wired interconnected region, the node connecting satellite initiates satellite channel notification message to upgrading source node, select the node of replying at first to do to satellite channel upgrade node by source node, by satellite channel, upgrade file is sent to other regions.Software upgrading is completed according to the basic algorithm that floods at other intra-zones.
Upgrade file is uploaded to the route exchange device of connection by software upgrading personnel at a certain node.Route exchange device to flood a software upgrading request message to the whole network, and each node adopts the basic algorithm reflecting software update request message in region that floods.Source node, the version information of upgrade file, the length of upgrade file, the overall check information of upgrade file of initiating upgrading is comprised in software upgrading request message.The content of each nodes records software upgrading request message, wait-receiving mode upgrade file.
Message is when network flood, and each nodes records receives the interface of source node message, is formed and knows path, and when to be forwarded to destination node be the message of this node next time, use and know that path forwards, minimizing message floods to the expense of channel.Meanwhile, each node judges according to message content, and do not E-Packet receiving interface, no longer forwards identical message to this interface, avoid the formation of loop from same interface to identical message.
Be connected to satellite channel and the ready node of satellite channel, send satellite channel notification message to upgrading source node, this node of notification source node is connected to satellite channel.Selected the node returned at first as the node continuing to forward to satellite channel upgrade file by source node, source node sends satellite channel upgrading message to this node.Satellite channel notification message and satellite channel upgrading message specify the destination node received, and after other nodes receive message, adopt and know that path forwards.By specified node to satellite channel forwarding messages, the multiple nodes avoided in the same area send a message to satellite channel, waste channel resource.
Software upgrading request message does not receive satellite channel notification message after sending 5 seconds, or after sending satellite channel upgrading message 5 seconds, starts to send upgrade file message.Upgrading source node is divided into the message of 1400 bytes after being compressed by upgrade file, encapsulated message head forms upgrade file message.The School Affairs of transmission source node, the sequence number of message, tail of file mark, message content, message is comprised in upgrade file message.
Upgrade file message floods by each node in network, and satellite channel upgrade node forwards upgrade file message to satellite channel.After node receives upgrade file message, verify the upgrading message in message content, verification effectively then stores.After tail of file mark is set, all upgrading depacketize are become upgrade file, the length of whole file and verification are verified.When single message checking is incorrect, dropping packets, uses the identical message from other interface.If the message that total interface receives is all incorrect, then think that this node upgrade file takes defeat.
Receive the node of upgrade file, upgrade file is stored into backup region, then try this file out, normal operation replaces original file.
When node starts, initiate to neighbours the software version that software version request message carries this node, if the non-uniformity of software versions of neighbor node, then reply software version response message.After receiving software version response message, the node that software version is low initiates upgrade file request message to the node that software version is high, and highest version node sends upgrade file to requesting node.
Advantageous Effects of the present invention is: the method adopts the flooding mechanism improved to realize the software upgrading function of dedicated network, support trans-regional network device software upgrading, only need meet physical link normally to connect, support IP message transmissions, no longer rely on and directly upgrade and rely on route remote upgrade.The method can save the resource of arrowband broadcasting-satellite channel to greatest extent, realizes upgrade file sharing at the whole network, ensures that all node software versions are consistent.
Accompanying drawing explanation
Fig. 1, network topology schematic diagram;
Fig. 2, message medium process;
Fig. 3, message encapsulation format.
Embodiment
In order to realize the software upgrading function of dedicated network, need the content of following three aspects of process.
Flood the realization of algorithm and improvement, reduces the resource that the message that floods takies arrowband broadcasting-satellite channel.Concrete steps are implemented as follows:
1. the node in wired connection region adopts the basic algorithm that floods to neighbor node forwarding messages
2. connect satellite channel and the normal node of channel and send satellite channel notification message to software upgrading source node
3. the software upgrading source node node selecting to receive satellite channel notification message is at first as to satellite channel upgrade node
4. software upgrading source node sends satellite channel upgrading message to satellite channel upgrade node
5. receive the node of satellite channel upgrading message, to satellite channel forwarding messages
6. receive the node of message from satellite channel, in the region of wired connection, adopt the basic algorithm that floods to forward upgrading message
The process of upgrade file:
1. upgrade file is uploaded to the route exchange device of connection by the source node of software upgrading
2., after upgrade file compresses by route exchange device, be divided into upgrading depacketize message externally to send
3. the legal upgrading depacketize received is become upgrade file by each node, is stored into backup region after verification is correct
4. equipment trial run upgrade file, trial run is normal, replaces original file
The treatment scheme of device start:
1. during device start, initiate software version request message to neighbours, carry the software version of oneself
2. receive the node of software version request message, if non-uniformity of software versions replys software version response message
3., after receiving software version response message, the node of lowest version initiates upgrade file request message to the node of highest version
4. the node receiving upgrade file request message sends upgrade file to requesting node.

Claims (6)

1. based on a method for upgrading software for flooding mechanism, it is characterized in that: in region, complete software upgrading by the algorithm that substantially floods, adopt the algorithm that floods improved to complete software upgrading by arrowband broadcasting-satellite channel between zones; Node start time and neighbor node comparison software version, during non-uniformity of software versions, lowest version node is to highest version node request upgrade file, and highest version node issues upgrade file to lowest version node.
2. method for upgrading software according to claim 1, is characterized in that:
1) the basic algorithm that floods is adopted to complete software upgrading in region, the message that floods between node uses IP multicast mode to send, after node receives the message that floods, judge whether to need to continue forward and be forwarded to which interface according to message content, anti-loops produces;
2) by connecting satellite channel in region and the normal node of channel informs upgrading source node, upgrading source node selects the node returned at first as satellite channel upgrade node;
3) when node starts, with neighbor node comparison software version;
4), during non-uniformity of software versions, lowest version node is to highest version node request upgrade file, and highest version node issues upgrade file to lowest version node;
5) upgrade and be divided into the message of 1400 bytes after upgrade file compresses by source node, be packaged into upgrade file message and externally flood, checking prediction message after other nodes receive, is then assembled into upgrade file, is stored in backup region;
6) node trial run upgrade file, trial run is normal replaces original file.
3. method for upgrading software according to claim 2, it is characterized in that: in step 1), physical link is only needed to be communicated with, support transmit IP message, can be flooded between node message, identical message is no longer forwarded to receiving interface by the interface receiving message, and no longer forwarding messages is to the interface receiving identical message, avoids loop to produce.
4. method for upgrading software according to claim 2, it is characterized in that: step 2) in, the node connecting satellite does not first forward the message to satellite channel, satellite channel notification message is sent to software upgrading source node, select the node of replying at first as satellite channel upgrade node by upgrading source node, by satellite channel to other region forwarding messages, avoid the multiple node of the same area to send message to satellite channel and cause the wasting of resources.
5. method for upgrading software according to claim 2, it is characterized in that: in step 3), when node starts, software version request message is initiated to neighbor node, the software version of this node is carried in message, reply software version response message when the node software version received is inconsistent, reduce message amount on broadcasting-satellite channel.
6. method for upgrading software according to claim 2, is characterized in that: in step 4), during non-uniformity of software versions, selects, from one of them highest version node request upgrade file, to avoid many highest versions node to issue upgrade file simultaneously.
CN201510135363.0A 2015-03-26 2015-03-26 Software upgrade method based on flooding mechanism Pending CN104834540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510135363.0A CN104834540A (en) 2015-03-26 2015-03-26 Software upgrade method based on flooding mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510135363.0A CN104834540A (en) 2015-03-26 2015-03-26 Software upgrade method based on flooding mechanism

Publications (1)

Publication Number Publication Date
CN104834540A true CN104834540A (en) 2015-08-12

Family

ID=53812449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510135363.0A Pending CN104834540A (en) 2015-03-26 2015-03-26 Software upgrade method based on flooding mechanism

Country Status (1)

Country Link
CN (1) CN104834540A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713047A (en) * 2017-01-12 2017-05-24 泰凌微电子(上海)有限公司 Node upgrading method and system in mesh network
CN111245660A (en) * 2020-02-24 2020-06-05 重庆金美通信有限责任公司 Network-based equipment upgrading self-adaptive transmission method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010026537A1 (en) * 2000-02-24 2001-10-04 Michael Massey Satellite internet backbone network system using virtual onboard switching
CN103259588A (en) * 2013-05-28 2013-08-21 南京凯瑞得信息科技有限公司 VSAT satellite communication subnet transient partition method based on public broadcast channel
CN103532922A (en) * 2012-09-29 2014-01-22 深圳市友讯达科技发展有限公司 Software version upgrade method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010026537A1 (en) * 2000-02-24 2001-10-04 Michael Massey Satellite internet backbone network system using virtual onboard switching
CN103532922A (en) * 2012-09-29 2014-01-22 深圳市友讯达科技发展有限公司 Software version upgrade method, device and system
CN103259588A (en) * 2013-05-28 2013-08-21 南京凯瑞得信息科技有限公司 VSAT satellite communication subnet transient partition method based on public broadcast channel

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713047A (en) * 2017-01-12 2017-05-24 泰凌微电子(上海)有限公司 Node upgrading method and system in mesh network
WO2018130071A1 (en) * 2017-01-12 2018-07-19 Telink Semiconductor (Shanghai) Co., Ltd. Node upgrading method and system in mesh network
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

Similar Documents

Publication Publication Date Title
CN107864228B (en) Connection establishment method and system in content distribution network
WO2019100937A1 (en) Method and apparatus for data transmission
CN101848171B (en) Data transmission method based on GRE tunnel, device and system
KR20220152243A (en) Data packet transmission method and device, communication node, and storage medium
CN105120439A (en) Beidou long message communication method
KR20080046100A (en) Method and apparatus receiving system information block in a mobile communication system
JP2017518670A (en) Method and apparatus for reducing packet storm time length in a wireless mesh network
CN105282803A (en) Communication interface and information transfer method and system based on the same
CN101286867A (en) Software updating method and system of network equipment
US9686733B2 (en) Communication method in a wireless telecommunications network, associated computer program and wireless communication node
CN105471725A (en) Routing method and routing device for traversing autonomous system
WO2015021799A1 (en) Data link detection method, apparatus, system, controller, and gateway
CN111510419A (en) Data compression method and base station
US20080165692A1 (en) Method and system for opportunistic data communication
CN106302213A (en) A kind of method and device of data transmission
US10630594B2 (en) System, device, and method for communicating data over a mesh network
CN101374348A (en) Handover method and apparatus in a wireless telecommunications network
CN104834540A (en) Software upgrade method based on flooding mechanism
CN108449267B (en) Reliable routing algorithm based on link quality estimation
JP4944115B2 (en) Connection setting using hash value in wireless communication system
WO2016039039A1 (en) Communication apparatus, control method therefor, communication system, and program
JP5921506B2 (en) Communication apparatus and communication method
JP7149328B2 (en) Coupling redirect method and apparatus
CN110661550B (en) Method, device, storage medium and electronic equipment for forwarding message in HPLC communication link
CN104811401B (en) A kind of parameter distribution method based on flooding mechanism

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150812

WD01 Invention patent application deemed withdrawn after publication