CN115549757B - Satellite communication software online upgrading method - Google Patents
Satellite communication software online upgrading method Download PDFInfo
- Publication number
- CN115549757B CN115549757B CN202211107603.2A CN202211107603A CN115549757B CN 115549757 B CN115549757 B CN 115549757B CN 202211107603 A CN202211107603 A CN 202211107603A CN 115549757 B CN115549757 B CN 115549757B
- Authority
- CN
- China
- Prior art keywords
- file
- transmission
- client
- server
- breakpoint
- 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 27
- 230000005540 biological transmission Effects 0.000 claims abstract description 87
- 238000012545 processing Methods 0.000 claims abstract description 9
- 239000012634 fragment Substances 0.000 claims description 28
- 238000009432 framing Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 12
- 238000012423 maintenance Methods 0.000 abstract description 3
- 230000006835 compression Effects 0.000 abstract description 2
- 238000007906 compression Methods 0.000 abstract description 2
- 230000005856 abnormality Effects 0.000 abstract 1
- 238000013467 fragmentation Methods 0.000 abstract 1
- 238000006062 fragmentation reaction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/1851—Systems using a satellite or space-based relay
- H04B7/18519—Operations control, administration or maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- 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
- 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]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Aviation & Aerospace Engineering (AREA)
- Astronomy & Astrophysics (AREA)
- Radio Relay Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an online upgrading method of satellite communication software, which solves the problems of difficult expansion of bandwidth, precious channel resources and transmission stability in the satellite communication field; comprising the following steps: performing differential processing on the upgrading file of the server to generate a differential file, and performing compression processing and intelligent fragmentation processing on the upgrading file or the differential file; in the transmission process, the accuracy of online upgrade transmission is ensured, and file transmission abnormality caused by packet loss, disorder and chain breakage in the transmission process is eliminated; recombining, decompressing and recovering the transmission file acquired by the client into an upgrade file; and recovering the original state when the client software is upgraded and fails to upgrade. The invention has the characteristics of cross-platform, strong stability, high transmission efficiency and the like. The invention improves the software upgrading maintenance efficiency, stability and reliability in the satellite communication field, reduces the channel occupancy rate, saves the manpower resources and time, and greatly reduces the software maintenance cost.
Description
Technical Field
The invention relates to the field of satellite communication, in particular to software online upgrade of remote satellite communication equipment.
Background
In practice, software for satellite communication devices often requires maintenance upgrades. The local loading of the software upgrade can only update the program version stored locally in the equipment, if the version outside the local storage needs to be updated, the local upgrade needs to be manually carried out, the time and the space are greatly limited, in addition, in the upgrading process, the case is often required to be disassembled, a specific environment is built, specific equipment is carried and complex operation is carried out, and personnel are required to have higher quality, so that the project cost is increased. The on-line upgrade of the satellite channel can avoid manual to on-site upgrade, save manpower resources and provide real-time and flexibility of software upgrade. The invention aims to solve the problem, and develops an online upgrade method of satellite communication software aiming at the characteristics of difficult expansion of bandwidth, less channel resources, transmission stability and the like in the satellite communication field. The background and meaning of the method are shown in fig. 1, and the schematic diagram of the control interface is shown in fig. 2.
Disclosure of Invention
The invention solves the problem of the cost of time, space, manpower and financial resources of the software upgrading and maintaining, can upgrade and maintain the software of the satellite communication equipment in a short time, has high degree of automation, greatly improves the working efficiency and reduces the software maintenance cost.
The invention adopts the technical scheme that:
An online upgrade method for satellite communication software comprises the following steps:
The processing procedure of the server is as follows:
The method comprises the steps that a server side obtains upgrade file information, an updating mode is automatically selected according to the obtained upgrade file information, incremental updating is selected when a current version and an upgrade file exist, a bsdiff algorithm is utilized to convert a source file into a difference file to serve as a transmission file, full updating is selected when only the upgrade file exists, and the source file is compressed to generate the transmission file by utilizing a lzo algorithm;
Fragmenting a transmission file according to the channel bandwidth, the current service rate and the channel quality acquired from the client;
transmitting the fragmented files to the client, searching whether a breakpoint file exists according to the file name in the transmission process, transmitting the file name and breakpoint information to the client when the breakpoint file exists, and transmitting the file name only to the client when the breakpoint file does not exist;
When a retransmission instruction returned by the client is received, reading a transmission file and transmitting the transmission file in fragments, when a continuous transmission instruction returned by the client is received, reading the length of the transmitted file in the transmission file, moving a pointer to a corresponding position, transmitting the remaining files to be transmitted in fragments, and sending the file transmission progress and the current fragment framing to the client; when receiving an ending instruction returned by the client, deleting the breakpoint file and ending transmission;
The processing procedure of the client is as follows:
The client retrieves whether a breakpoint file exists locally according to the file name transmitted by the server, when the breakpoint file exists, the client breakpoint file information and the server breakpoint file information are checked, after the check is passed, the file transmission progress and the continuous transmission instruction are returned to the server, and when the check is failed or the client does not exist, the retransmission instruction is directly returned;
the method comprises the steps of storing the received fragment content of the server, reading the file transmission progress, updating the breakpoint file and the file transmission progress, and returning the updated file transmission progress to the server; when the number of fragments of the breakpoint file is the last number of fragments and the transmission file progress is the transmission file length, deleting the breakpoint file and sending an ending instruction to the server; deleting the breakpoint file and the stored fragment content when the fragment number is the last fragment number and the transmission file progress is not equal to the file length, and sending a retransmission instruction to the server;
After the transmission of the fragmented files is finished, the fragmented files are recombined into the transmission files, when the updating mode is full updating, the transmission files are decompressed into the updating files by utilizing lzo, when the updating mode is incremental updating, the transmission files are restored into the updating files by utilizing bspatch, and the updating files are moved to the appointed position to start updating.
The server side is a server or a certain client side is used as a server side.
Compared with the background technology, the invention has the following advantages:
1. The invention has simple operation in the upgrading process, and can finish the upgrading without professional training.
2. The invention has flexible upgrade mode and can select increment update or full update.
3. The invention designs the incremental updating, compressing and slicing method aiming at the characteristics of difficult expansion of bandwidth, less channel resources, transmission stability and the like in the satellite communication field, greatly reduces the size of a transmission file and improves the transmission efficiency.
4. The invention improves the breakpoint continuous transmission method, ensures the transmission accuracy and improves the transmission efficiency.
5. The invention greatly reduces financial cost caused by time, space and manpower cost.
6. By adopting the self-adaptive selection updating mode and the self-adaptive slicing, the upgrading efficiency of the satellite communication terminal software is greatly improved.
7. The code can realize cross-platform and is suitable for windows and linux platforms.
8. The invention utilizes the advantages of long communication distance, stable and reliable communication line, difficult influence by environmental conditions and the like in the satellite communication field, and solves the problems that the upgrade of satellite communication software in actual work requires the field maintenance of developers, the operation is complex, the upgrade efficiency is low, and the time, the manpower and the financial resources are wasted.
9. The invention adopts bsdiff differential algorithm and lzo compression algorithm to greatly reduce the size of the transmission file; the method for adaptively selecting the updating mode and adaptively adjusting the size of the fragments is designed, so that the software upgrading efficiency is improved; the transmission mode of breakpoint continuous transmission is improved, and the transmission efficiency is improved while the transmission accuracy is ensured; the software upgrading module is designed to have the capability of software upgrading and version recovering.
Drawings
FIG. 1 is a schematic diagram of the background, meaning of the present invention.
FIG. 2 is a schematic diagram of a control interface of the present invention.
FIG. 3 is a flow chart of an online upgrade of software of the present invention.
Fig. 4 is a breakpoint continuous flow chart of the present invention.
Detailed Description
The invention is further described below with reference to the drawings and detailed description.
The invention has the following functions:
And opening the control interface schematic diagram of the figure 2, establishing connection between the server and the client, inputting a file name, acquiring information of the upgrade file, and completing preparation work.
The upgrade process is shown in fig. 3 (fig. 4 is a breakpoint continuous transmission process, wherein 1-a, 2-a and 3-a are instructions sent by a server, 1-b, 2-b and 3-b are response instructions replied after receiving 1-a, 2-a and 3-a by a client), and the specific process is as follows:
The processing procedure of the server is as follows:
The method comprises the steps that a server side obtains upgrade file information, an updating mode is automatically selected according to the obtained upgrade file information, incremental updating is selected when a current version and an upgrade file exist, a bsdiff algorithm is utilized to convert a source file into a difference file to serve as a transmission file, full updating is selected when only the upgrade file exists, and the source file is compressed to generate the transmission file by utilizing a lzo algorithm;
Fragmenting a transmission file according to the channel bandwidth, the current service rate and the channel quality acquired from the client;
transmitting the fragmented files to the client, searching whether a breakpoint file exists according to the file name in the transmission process, transmitting the file name and breakpoint information to the client when the breakpoint file exists, and transmitting the file name only to the client when the breakpoint file does not exist;
When a retransmission instruction returned by the client is received, reading a transmission file and transmitting the transmission file in fragments, when a continuous transmission instruction returned by the client is received, reading the length of the transmitted file in the transmission file, moving a pointer to a corresponding position, transmitting the remaining files to be transmitted in fragments, and sending the file transmission progress and the current fragment framing to the client; when receiving an ending instruction returned by the client, deleting the breakpoint file and ending transmission;
The processing procedure of the client is as follows:
The client retrieves whether a breakpoint file exists locally according to the file name transmitted by the server, when the breakpoint file exists, the client breakpoint file information and the server breakpoint file information are checked, after the check is passed, the file transmission progress and the continuous transmission instruction are returned to the server, and when the check is failed or the client does not exist, the retransmission instruction is directly returned;
The method comprises the steps of storing the received fragment content of the server, reading the file transmission progress, updating the breakpoint file and the file transmission progress, and returning the updated file transmission progress to the server; when the number of fragments of the breakpoint file is the last number of fragments and the transmission file progress is the transmission file length, deleting the breakpoint file and sending an ending instruction to the server; deleting the power-off file and the stored fragment content when the fragment number is the last fragment number and the transmission file progress is not equal to the file length, and sending a retransmission instruction to the server;
After the transmission of the fragmented files is finished, the fragmented files are recombined into the transmission files, when the updating mode is full updating, the transmission files are decompressed into the updating files by utilizing lzo, when the updating mode is incremental updating, the transmission files are restored into the updating files by utilizing bspatch, and the updating files are moved to the appointed position to start updating.
Claims (2)
1. The online upgrading method of the satellite communication software is characterized by comprising the following steps of:
The processing procedure of the server is as follows:
The method comprises the steps that a server side obtains upgrade file information, an updating mode is automatically selected according to the obtained upgrade file information, incremental updating is selected when a current version and an upgrade file exist, a bsdiff algorithm is utilized to convert a source file into a difference file to serve as a transmission file, full updating is selected when only the upgrade file exists, and the source file is compressed to generate the transmission file by utilizing a lzo algorithm;
Fragmenting a transmission file according to the channel bandwidth, the current service rate and the channel quality acquired from the client;
transmitting the fragmented files to the client, searching whether a breakpoint file exists according to the file name in the transmission process, transmitting the file name and breakpoint information to the client when the breakpoint file exists, and transmitting the file name only to the client when the breakpoint file does not exist;
When a retransmission instruction returned by the client is received, reading a transmission file and transmitting the transmission file in fragments, when a continuous transmission instruction returned by the client is received, reading the length of the transmitted file in the transmission file, moving a pointer to a corresponding position, transmitting the remaining files to be transmitted in fragments, and sending the file transmission progress and the current fragment framing to the client; when receiving an ending instruction returned by the client, deleting the breakpoint file and ending transmission;
The processing procedure of the client is as follows:
The client retrieves whether a breakpoint file exists locally according to the file name transmitted by the server, when the breakpoint file exists, the client breakpoint file information and the server breakpoint file information are checked, after the check is passed, the file transmission progress and the continuous transmission instruction are returned to the server, and when the check is failed or the client does not exist, the retransmission instruction is directly returned;
The method comprises the steps of storing the received fragment content of the server, reading the file transmission progress, updating the breakpoint file and the file transmission progress, and returning the updated file transmission progress to the server; when the number of fragments of the breakpoint file is the last number of fragments and the file transmission progress is the transmission file length, deleting the breakpoint file and sending an ending instruction to the server; deleting the breakpoint file and the stored fragment content when the fragment number is the last fragment number and the file transmission progress is not equal to the transmission file length, and sending a retransmission instruction to the server;
After the transmission of the fragmented files is finished, the fragmented files are recombined into transmission files, when the updating mode is full updating, the transmission files are decompressed into upgrading files by utilizing a lzo algorithm, when the updating mode is incremental updating, the transmission files are restored into upgrading files by utilizing a bspatch algorithm, and the upgrading files are moved to the designated positions to start upgrading.
2. The online upgrade method of satellite communication software according to claim 1, wherein the server is a server or a client is used as the server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211107603.2A CN115549757B (en) | 2022-09-13 | 2022-09-13 | Satellite communication software online upgrading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211107603.2A CN115549757B (en) | 2022-09-13 | 2022-09-13 | Satellite communication software online upgrading method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115549757A CN115549757A (en) | 2022-12-30 |
CN115549757B true CN115549757B (en) | 2024-05-07 |
Family
ID=84725434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211107603.2A Active CN115549757B (en) | 2022-09-13 | 2022-09-13 | Satellite communication software online upgrading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115549757B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116974614A (en) * | 2023-09-15 | 2023-10-31 | 北京国电高科科技有限公司 | Remote upgrade method and device for satellite terminal, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8121874B1 (en) * | 1999-05-27 | 2012-02-21 | Accenture Global Services Limited | Phase delivery of components of a system required for implementation technology |
CN106130771A (en) * | 2016-06-28 | 2016-11-16 | 杭州初灵信息技术股份有限公司 | A kind of based on the method for Ethernet online upgrading FLASH in band |
CN106775808A (en) * | 2016-11-15 | 2017-05-31 | 中国电子科技集团公司第二十八研究所 | C/S Framework Softwares based on remote verification algorithm automatically update upgrade method |
CN108401012A (en) * | 2018-01-31 | 2018-08-14 | 山东汇贸电子口岸有限公司 | A kind of document breakpoint transmission method |
CN112527370A (en) * | 2020-12-04 | 2021-03-19 | 成都中科慧源科技有限公司 | Method for remotely and differentially upgrading Internet of things equipment |
CN114189442A (en) * | 2021-11-30 | 2022-03-15 | 深圳市国电科技通信有限公司 | Remote upgrading of edge equipment and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060082353A (en) * | 2005-01-12 | 2006-07-18 | 와이더댄 주식회사 | System and method for providing and handling executable web content |
-
2022
- 2022-09-13 CN CN202211107603.2A patent/CN115549757B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8121874B1 (en) * | 1999-05-27 | 2012-02-21 | Accenture Global Services Limited | Phase delivery of components of a system required for implementation technology |
CN106130771A (en) * | 2016-06-28 | 2016-11-16 | 杭州初灵信息技术股份有限公司 | A kind of based on the method for Ethernet online upgrading FLASH in band |
CN106775808A (en) * | 2016-11-15 | 2017-05-31 | 中国电子科技集团公司第二十八研究所 | C/S Framework Softwares based on remote verification algorithm automatically update upgrade method |
CN108401012A (en) * | 2018-01-31 | 2018-08-14 | 山东汇贸电子口岸有限公司 | A kind of document breakpoint transmission method |
CN112527370A (en) * | 2020-12-04 | 2021-03-19 | 成都中科慧源科技有限公司 | Method for remotely and differentially upgrading Internet of things equipment |
CN114189442A (en) * | 2021-11-30 | 2022-03-15 | 深圳市国电科技通信有限公司 | Remote upgrading of edge equipment and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115549757A (en) | 2022-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10725772B2 (en) | Electric control device for vehicles, program updating method, and server apparatus | |
CN113946358B (en) | Automatic driving vehicle software remote upgrading method based on vehicle management system | |
CN109347659B (en) | Intelligent terminal equipment and module remote upgrading method based on NB-IOT | |
CN115549757B (en) | Satellite communication software online upgrading method | |
CN104391728A (en) | Software upgrading delta pack acquiring method, corresponding upgrading method and device | |
KR20070120447A (en) | Device and method for upgrading program of system | |
CN102510409A (en) | Method and system for quickly and remotely updating program of mobile terminal by using wireless network | |
CN1953376A (en) | A system and method for updating remote software of wireless terminal equipment | |
CN112527370A (en) | Method for remotely and differentially upgrading Internet of things equipment | |
US12019517B2 (en) | Method for remote upgrade and rollback of unmanned aerial vehicle (UAV) software | |
US10191825B2 (en) | System and method for testing a device using a light weight device validation protocol | |
CN112256315A (en) | Upgrading method, device, equipment and storage medium | |
CN111240713A (en) | Method for detecting remote breakpoint continuous transmission through power utilization | |
CN102915249A (en) | Method and device for remotely realizing firmware updating | |
CN114880002B (en) | OTA data flashing method and system | |
CN1241437C (en) | Local program downloading method and device for distributed PHS base station system | |
CN115129574A (en) | Code testing method and device | |
CN110557563B (en) | Remote communication method and system for network camera | |
CN111970161B (en) | Internet of things application differential upgrading method based on address prediction | |
CN110162416B (en) | Control method, system, adapter and readable storage medium of industrial control equipment | |
CN109684341B (en) | Real-time synchronization system and method for service data | |
KR20180039387A (en) | Reprogramming apparatus, electronic control unit, and reprogramming method using thereof | |
CN114924761B (en) | Method and system for upgrading equipment of Internet of things | |
CN115580534B (en) | Data acquisition and transmission method, system, equipment and gateway | |
CN114567416B (en) | TCP-based data transmission verification-free method and system |
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 |